kanjiCode.h File Reference
`#include <string>`

Go to the source code of this file.

## Namespaces

namespace | osl
namespace | osl::record
| 棋譜関係

## Macros

#define | K_BLACK_SIGN "\xA2\xA5"
| Define Kanji characters by using EUC-JP codes.
#define | K_WHITE_SIGN "\xA2\xA4"
#define | K_SPACE "\xA1\xA1"
#define | K_NAKAGURO "\xA1\xA6"
#define | K_COLON "\xA1\xA7"
#define | K_R1 "\xA3\xB1"
#define | K_R2 "\xA3\xB2"
#define | K_R3 "\xA3\xB3"
#define | K_R4 "\xA3\xB4"
#define | K_R5 "\xA3\xB5"
#define | K_R6 "\xA3\xB6"
#define | K_R7 "\xA3\xB7"
#define | K_R8 "\xA3\xB8"
#define | K_R9 "\xA3\xB9"
#define | K_K1 "\xB0\xEC"
#define | K_K2 "\xC6\xF3"
#define | K_K3 "\xBB\xB0"
#define | K_K4 "\xBB\xCD"
#define | K_K5 "\xB8\xDE"
#define | K_K6 "\xCF\xBB"
#define | K_K7 "\xBC\xB7"
#define | K_K8 "\xC8\xAC"
#define | K_K9 "\xB6\xE5"
#define | K_K10 "\xBD\xBD"
#define | K_K11 "\xBD\xBD\xA3\xB1"
#define | K_K12 "\xBD\xBD\xA3\xB2"
#define | K_K13 "\xBD\xBD\xBB\xB0"
#define | K_K14 "\xBD\xBD\xBB\xCD"
#define | K_K15 "\xBD\xBD\xB8\xDE"
#define | K_K16 "\xBD\xBD\xCF\xBB"
#define | K_K17 "\xBD\xBD\xBC\xB7"
#define | K_K18 "\xBD\xBD\xC8\xAC"
#define | K_MIGI "\xB1\xA6"
#define | K_HIDARI "\xBA\xB8"
#define | K_UE "\xBE\xE5"
#define | K_SHITA "\xB2\xBC"
#define | K_SUGU "\xC4\xBE"
#define | K_YORU "\xB4\xF3"
#define | K_HIKU "\xB0\xFA"
#define | K_YUKU "\xB9\xD4"
#define | K_ONAZI "\xC6\xB1"
#define | K_NARU "\xC0\xAE"
#define | K_FUNARI "\xC9\xD4" K_NARU
#define | K_UTSU "\xC2\xC7"
#define | K_PAWN "\xCA\xE2"
#define | K_PAWN_R "\xA7\xAE"
#define | K_PPAWN "\xA4\xC8"
#define | K_PPAWN_R "\xA7\xAF"
#define | K_LANCE "\xB9\xE1"
#define | K_LANCE_R "\xA7\xAC"
#define | K_PLANCE "\xB0\xC9"
#define | K_PLANCE_R "\xA7\xAD"
#define | K_PLANCE_D K_NARU "\xB9\xE1"
#define | K_KNIGHT "\xB7\xCB"
#define | K_KNIGHT_R "\xA7\xAA"
#define | K_PKNIGHT "\xB7\xBD"
#define | K_PKNIGHT_R "\xA7\xAB"
#define | K_PKNIGHT_D K_NARU "\xB7\xCB"
#define | K_SILVER "\xB6\xE4"
#define | K_SILVER_R "\xA7\xA8"
#define | K_PSILVER "\xC1\xB4"
#define | K_PSILVER_R "\xA7\xA9"
#define | K_PSILVER_D K_NARU "\xB6\xE4"
#define | K_GOLD "\xB6\xE2"
#define | K_GOLD_R "\xA7\xA7"
#define | K_BISHOP "\xB3\xD1"
#define | K_BISHOP_R "\xA7\xA4"
#define | K_PBISHOP "\xC7\xCF"
#define | K_PBISHOP_R "\xA7\xA5"
#define | K_ROOK "\xC8\xF4"
#define | K_ROOK_R "\xA7\xA2"
#define | K_PROOK "\xCE\xB6"
#define | K_PROOK2 "\xCE\xB5"
#define | K_PROOK_R "\xA7\xA3"
#define | K_KING "\xB6\xCC"
#define | K_KING2 "\xB2\xA6"
#define | K_KING_R "\xA7\xA1"
#define | K_BLACK "\xC0\xE8\xBC\xEA"
#define | K_WHITE "\xB8\xE5\xBC\xEA"
#define | K_MOCHIGOMA "\xBB\xFD\xB6\xF0"
#define | K_BLACK_STAND K_BLACK K_MOCHIGOMA
#define | K_WHITE_STAND K_WHITE K_MOCHIGOMA
#define | K_TEAIWARI "\xBC\xEA\xB9\xE7\xB3\xE4"
#define | K_PASS "\xA5\xD1\xA5\xB9"
#define | K_SENKEI "\xC0\xEF\xB7\xBF"
#define | K_TORYO "\xc5\xea\xce\xbb"
#define | K_HENKA "\xca\xd1\xb2\xbd"
#define | K_KI "\xb4\xfd"
#define | K_KISEN K_KI "\xc0\xef"
#define | K_KIFU K_KI "\xc9\xe8"
#define | K_TSUMERO "\xb5\xcd\xa4\xe1\xa4\xed"
#define | K_KAISHI "\xb3\xab\xbb\xcf"
#define | K_NICHIJI "\xc6\xfc\xbb\xfe"
#define | K_TESUU "\xbc\xea\xbf\xf4"
#define | K_NASHI "\xa4\xca\xa4\xb7"
#define | K_DAN "\xc3\xca"
#define | K_KANMURI "\xb4\xa7"
#define | K_KURAI "\xb0\xcc"
#define | K_SHOU "\xbe\xad"
#define | K_SEI "\xc0\xbb"
#define | K_ZA "\xba\xc2"
#define | K_MEIJIN "\xcc\xbe\xbf\xcd"
#define | K_JORYUU "\xbd\xf7\xce\xae"
#define | K_RESIGN "\xc5\xea\xce\xbb"

## Macro Definition Documentation

## K_BISHOP

#define K_BISHOP "\xB3\xD1"

Definition at line 79 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_BISHOP_R

#define K_BISHOP_R "\xA7\xA4"

Definition at line 80 of file kanjiCode.h.

## K_BLACK

#define K_BLACK "\xC0\xE8\xBC\xEA"

Definition at line 92 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine(), and osl::ki2::Ki2File::parseLine().

## K_BLACK_SIGN

#define K_BLACK_SIGN "\xA2\xA5"

Define Kanji characters by using EUC-JP codes.

Definition at line 13 of file kanjiCode.h.

Referenced by osl::ki2::Ki2File::parseLine(), osl::ki2::show(), and osl::record::KanjiMove::strToMove().

## K_BLACK_STAND

#define K_BLACK_STAND K_BLACK K_MOCHIGOMA

Definition at line 95 of file kanjiCode.h.

Referenced by osl::record::KanjiPrint::print().

## K_COLON

#define K_COLON "\xA1\xA7"

Definition at line 17 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine(), and osl::ki2::Ki2File::parseLine().

## K_DAN

#define K_DAN "\xc3\xca"

Definition at line 110 of file kanjiCode.h.

## K_FUNARI

#define K_FUNARI "\xC9\xD4" K_NARU

Definition at line 55 of file kanjiCode.h.

Referenced by osl::ki2::showPromote(), and osl::record::KanjiMove::strToMove().

## K_GOLD

#define K_GOLD "\xB6\xE2"

Definition at line 77 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_GOLD_R

#define K_GOLD_R "\xA7\xA7"

Definition at line 78 of file kanjiCode.h.

## K_HENKA

#define K_HENKA "\xca\xd1\xb2\xbd"

Definition at line 101 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::KakinokiFile().

## K_HIDARI

#define K_HIDARI "\xBA\xB8"

Definition at line 46 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::selectCandidates(), and osl::ki2::show().

## K_HIKU

#define K_HIKU "\xB0\xFA"

Definition at line 51 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::selectCandidates(), and osl::ki2::show().

## K_JORYUU

#define K_JORYUU "\xbd\xf7\xce\xae"

Definition at line 117 of file kanjiCode.h.

## K_K1

#define K_K1 "\xB0\xEC"

Definition at line 27 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber(), and osl::kakinoki::KakinokiFile::parseLine().

## K_K10

#define K_K10 "\xBD\xBD"

Definition at line 36 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber(), and osl::kakinoki::KakinokiFile::parseLine().

## K_K11

#define K_K11 "\xBD\xBD\xA3\xB1"

Definition at line 37 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber().

## K_K12

#define K_K12 "\xBD\xBD\xA3\xB2"

Definition at line 38 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber().

## K_K13

#define K_K13 "\xBD\xBD\xBB\xB0"

Definition at line 39 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber().

## K_K14

#define K_K14 "\xBD\xBD\xBB\xCD"

Definition at line 40 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber().

## K_K15

#define K_K15 "\xBD\xBD\xB8\xDE"

Definition at line 41 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber().

## K_K16

#define K_K16 "\xBD\xBD\xCF\xBB"

Definition at line 42 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber().

## K_K17

#define K_K17 "\xBD\xBD\xBC\xB7"

Definition at line 43 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber().

## K_K18

#define K_K18 "\xBD\xBD\xC8\xAC"

Definition at line 44 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber().

## K_K2

#define K_K2 "\xC6\xF3"

Definition at line 28 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber(), and osl::kakinoki::KakinokiFile::parseLine().

## K_K3

#define K_K3 "\xBB\xB0"

Definition at line 29 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber(), and osl::kakinoki::KakinokiFile::parseLine().

## K_K4

#define K_K4 "\xBB\xCD"

Definition at line 30 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber(), and osl::kakinoki::KakinokiFile::parseLine().

## K_K5

#define K_K5 "\xB8\xDE"

Definition at line 31 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber(), and osl::kakinoki::KakinokiFile::parseLine().

## K_K6

#define K_K6 "\xCF\xBB"

Definition at line 32 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber(), and osl::kakinoki::KakinokiFile::parseLine().

## K_K7

#define K_K7 "\xBC\xB7"

Definition at line 33 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber(), and osl::kakinoki::KakinokiFile::parseLine().

## K_K8

#define K_K8 "\xC8\xAC"

Definition at line 34 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber(), and osl::kakinoki::KakinokiFile::parseLine().

## K_K9

#define K_K9 "\xB6\xE5"

Definition at line 35 of file kanjiCode.h.

Referenced by osl::record::kanjiNumber(), and osl::kakinoki::KakinokiFile::parseLine().

## K_KAISHI

#define K_KAISHI "\xb3\xab\xbb\xcf"

Definition at line 106 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine(), and osl::ki2::Ki2File::parseLine().

## K_KANMURI

#define K_KANMURI "\xb4\xa7"

Definition at line 111 of file kanjiCode.h.

## K_KI

#define K_KI "\xb4\xfd"

Definition at line 102 of file kanjiCode.h.

## K_KIFU

#define K_KIFU K_KI "\xc9\xe8"

Definition at line 104 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::isKakinokiFile().

## K_KING

#define K_KING "\xB6\xCC"

Definition at line 88 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_KING2

#define K_KING2 "\xB2\xA6"

Definition at line 89 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_KING_R

#define K_KING_R "\xA7\xA1"

Definition at line 90 of file kanjiCode.h.

## K_KISEN

#define K_KISEN K_KI "\xc0\xef"

Definition at line 103 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine(), and osl::ki2::Ki2File::parseLine().

## K_KNIGHT

#define K_KNIGHT "\xB7\xCB"

Definition at line 67 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_KNIGHT_R

#define K_KNIGHT_R "\xA7\xAA"

Definition at line 68 of file kanjiCode.h.

## K_KURAI

#define K_KURAI "\xb0\xcc"

Definition at line 112 of file kanjiCode.h.

## K_LANCE

#define K_LANCE "\xB9\xE1"

Definition at line 62 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_LANCE_R

#define K_LANCE_R "\xA7\xAC"

Definition at line 63 of file kanjiCode.h.

## K_MEIJIN

#define K_MEIJIN "\xcc\xbe\xbf\xcd"

Definition at line 116 of file kanjiCode.h.

## K_MIGI

#define K_MIGI "\xB1\xA6"

Definition at line 45 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::selectCandidates(), and osl::ki2::show().

## K_MOCHIGOMA

#define K_MOCHIGOMA "\xBB\xFD\xB6\xF0"

Definition at line 94 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine().

## K_NAKAGURO

#define K_NAKAGURO "\xA1\xA6"

Definition at line 16 of file kanjiCode.h.

## K_NARU

#define K_NARU "\xC0\xAE"

Definition at line 54 of file kanjiCode.h.

Referenced by osl::ki2::show(), osl::ki2::showPromote(), osl::kakinoki::strToMove(), and osl::record::KanjiMove::strToMove().

## K_NASHI

#define K_NASHI "\xa4\xca\xa4\xb7"

Definition at line 109 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine().

## K_NICHIJI

#define K_NICHIJI "\xc6\xfc\xbb\xfe"

Definition at line 107 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine(), and osl::ki2::Ki2File::parseLine().

## K_ONAZI

#define K_ONAZI "\xC6\xB1"

Definition at line 53 of file kanjiCode.h.

Referenced by osl::ki2::show(), osl::ki2::show(), osl::kakinoki::strToMove(), and osl::record::KanjiMove::strToMove().

## K_PASS

#define K_PASS "\xA5\xD1\xA5\xB9"

Definition at line 98 of file kanjiCode.h.

Referenced by osl::ki2::show().

## K_PAWN

#define K_PAWN "\xCA\xE2"

Definition at line 58 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PAWN_R

#define K_PAWN_R "\xA7\xAE"

Definition at line 59 of file kanjiCode.h.

## K_PBISHOP

#define K_PBISHOP "\xC7\xCF"

Definition at line 81 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PBISHOP_R

#define K_PBISHOP_R "\xA7\xA5"

Definition at line 82 of file kanjiCode.h.

## K_PKNIGHT

#define K_PKNIGHT "\xB7\xBD"

Definition at line 69 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PKNIGHT_D

#define K_PKNIGHT_D K_NARU "\xB7\xCB"

Definition at line 71 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PKNIGHT_R

#define K_PKNIGHT_R "\xA7\xAB"

Definition at line 70 of file kanjiCode.h.

## K_PLANCE

#define K_PLANCE "\xB0\xC9"

Definition at line 64 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PLANCE_D

#define K_PLANCE_D K_NARU "\xB9\xE1"

Definition at line 66 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PLANCE_R

#define K_PLANCE_R "\xA7\xAD"

Definition at line 65 of file kanjiCode.h.

## K_PPAWN

#define K_PPAWN "\xA4\xC8"

Definition at line 60 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PPAWN_R

#define K_PPAWN_R "\xA7\xAF"

Definition at line 61 of file kanjiCode.h.

## K_PROOK

#define K_PROOK "\xCE\xB6"

Definition at line 85 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PROOK2

#define K_PROOK2 "\xCE\xB5"

Definition at line 86 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PROOK_R

#define K_PROOK_R "\xA7\xA3"

Definition at line 87 of file kanjiCode.h.

## K_PSILVER

#define K_PSILVER "\xC1\xB4"

Definition at line 74 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PSILVER_D

#define K_PSILVER_D K_NARU "\xB6\xE4"

Definition at line 76 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_PSILVER_R

#define K_PSILVER_R "\xA7\xA9"

Definition at line 75 of file kanjiCode.h.

## K_R1

#define K_R1 "\xA3\xB1"

Definition at line 18 of file kanjiCode.h.

Referenced by osl::record::Record::setDate().

## K_R2

#define K_R2 "\xA3\xB2"

Definition at line 19 of file kanjiCode.h.

Referenced by osl::record::Record::setDate().

## K_R3

#define K_R3 "\xA3\xB3"

Definition at line 20 of file kanjiCode.h.

Referenced by osl::record::Record::setDate().

## K_R4

#define K_R4 "\xA3\xB4"

Definition at line 21 of file kanjiCode.h.

Referenced by osl::record::Record::setDate().

## K_R5

#define K_R5 "\xA3\xB5"

Definition at line 22 of file kanjiCode.h.

Referenced by osl::record::Record::setDate().

## K_R6

#define K_R6 "\xA3\xB6"

Definition at line 23 of file kanjiCode.h.

Referenced by osl::record::Record::setDate().

## K_R7

#define K_R7 "\xA3\xB7"

Definition at line 24 of file kanjiCode.h.

Referenced by osl::record::Record::setDate().

## K_R8

#define K_R8 "\xA3\xB8"

Definition at line 25 of file kanjiCode.h.

Referenced by osl::record::Record::setDate().

## K_R9

#define K_R9 "\xA3\xB9"

Definition at line 26 of file kanjiCode.h.

Referenced by osl::record::Record::setDate().

## K_RESIGN

#define K_RESIGN "\xc5\xea\xce\xbb"

Definition at line 118 of file kanjiCode.h.

Referenced by osl::ki2::Ki2File::parseLine(), and osl::record::KanjiMove::strToMove().

## K_ROOK

#define K_ROOK "\xC8\xF4"

Definition at line 83 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_ROOK_R

#define K_ROOK_R "\xA7\xA2"

Definition at line 84 of file kanjiCode.h.

## K_SEI

#define K_SEI "\xc0\xbb"

Definition at line 114 of file kanjiCode.h.

## K_SENKEI

#define K_SENKEI "\xC0\xEF\xB7\xBF"

Definition at line 99 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::isKakinokiFile().

## K_SHITA

#define K_SHITA "\xB2\xBC"

Definition at line 48 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::selectCandidates().

## K_SHOU

#define K_SHOU "\xbe\xad"

Definition at line 113 of file kanjiCode.h.

## K_SILVER

#define K_SILVER "\xB6\xE4"

Definition at line 72 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::KanjiMove().

## K_SILVER_R

#define K_SILVER_R "\xA7\xA8"

Definition at line 73 of file kanjiCode.h.

## K_SPACE

#define K_SPACE "\xA1\xA1"

Definition at line 15 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine(), osl::ki2::Ki2File::parseLine(), and osl::record::KanjiMove::strToMove().

## K_SUGU

#define K_SUGU "\xC4\xBE"

Definition at line 49 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::selectCandidates(), and osl::ki2::show().

## K_TEAIWARI

#define K_TEAIWARI "\xBC\xEA\xB9\xE7\xB3\xE4"

Definition at line 97 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::isKakinokiFile(), and osl::ki2::Ki2File::parseLine().

## K_TESUU

#define K_TESUU "\xbc\xea\xbf\xf4"

Definition at line 108 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine().

## K_TORYO

#define K_TORYO "\xc5\xea\xce\xbb"

Definition at line 100 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine().

## K_TSUMERO

#define K_TSUMERO "\xb5\xcd\xa4\xe1\xa4\xed"

Definition at line 105 of file kanjiCode.h.

Referenced by osl::ki2::show().

## K_UE

#define K_UE "\xBE\xE5"

Definition at line 47 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::selectCandidates(), and osl::ki2::show().

## K_UTSU

#define K_UTSU "\xC2\xC7"

Definition at line 56 of file kanjiCode.h.

Referenced by osl::ki2::show(), osl::kakinoki::strToMove(), and osl::record::KanjiMove::strToMove().

## K_WHITE

#define K_WHITE "\xB8\xE5\xBC\xEA"

Definition at line 93 of file kanjiCode.h.

Referenced by osl::kakinoki::KakinokiFile::parseLine(), and osl::ki2::Ki2File::parseLine().

## K_WHITE_SIGN

#define K_WHITE_SIGN "\xA2\xA4"

Definition at line 14 of file kanjiCode.h.

Referenced by osl::ki2::Ki2File::parseLine(), and osl::ki2::show().

## K_WHITE_STAND

#define K_WHITE_STAND K_WHITE K_MOCHIGOMA

Definition at line 96 of file kanjiCode.h.

Referenced by osl::record::KanjiPrint::print().

## K_YORU

#define K_YORU "\xB4\xF3"

Definition at line 50 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::selectCandidates(), and osl::ki2::show().

## K_YUKU

#define K_YUKU "\xB9\xD4"

Definition at line 52 of file kanjiCode.h.

Referenced by osl::record::KanjiMove::selectCandidates().

## K_ZA

#define K_ZA "\xba\xc2"

Definition at line 115 of file kanjiCode.h.