柿木形式(KIF)。頭にv More...
#include <kanjiPrint.h>
Public Member Functions | |
const std::string & | getDan (const size_t index) const |
段数の文字を返す | |
const std::string & | getSuji (const size_t index) const |
筋の文字を返す。駒の文字幅に合わせる必要がある。 | |
const std::string & | getPiece (const size_t index) const |
盤面上の駒を返す | |
Static Public Attributes | |
static const misc::CArray < std::string, 10 > | dan |
static const misc::CArray < std::string, 10 > | suji |
static const misc::CArray < std::string, 32 > | pieces |
柿木形式(KIF)。頭にv
Definition at line 171 of file kanjiPrint.h.
const std::string& osl::record::KIFCharacters::getDan | ( | const size_t | index | ) | const [inline, virtual] |
段数の文字を返す
Implements osl::record::Characters.
Definition at line 177 of file kanjiPrint.h.
References dan.
const std::string& osl::record::KIFCharacters::getPiece | ( | const size_t | index | ) | const [inline, virtual] |
盤面上の駒を返す
Implements osl::record::Characters.
Definition at line 179 of file kanjiPrint.h.
References pieces.
const std::string& osl::record::KIFCharacters::getSuji | ( | const size_t | index | ) | const [inline, virtual] |
筋の文字を返す。駒の文字幅に合わせる必要がある。
Implements osl::record::Characters.
Definition at line 178 of file kanjiPrint.h.
References suji.
const osl::misc::CArray< std::string, 10 > osl::record::KIFCharacters::dan [static] |
Definition at line 173 of file kanjiPrint.h.
Referenced by getDan().
const osl::misc::CArray< std::string, 32 > osl::record::KIFCharacters::pieces [static] |
{{ " " K_NAKAGURO, "+E", "v" K_PPAWN, "v" K_PLANCE, "v" K_PKNIGHT, "v" K_PSILVER, "v" K_PBISHOP, "v" K_PROOK, "v" K_KING, "v" K_GOLD, "v" K_PAWN, "v" K_LANCE, "v" K_KNIGHT, "v" K_SILVER, "v" K_BISHOP, "v" K_ROOK, " " K_NAKAGURO, "+E", " " K_PPAWN, " " K_PLANCE, " " K_PKNIGHT, " " K_PSILVER, " " K_PBISHOP, " " K_PROOK, " " K_KING, " " K_GOLD, " " K_PAWN, " " K_LANCE, " " K_KNIGHT, " " K_SILVER, " " K_BISHOP, " " K_ROOK }}
Definition at line 175 of file kanjiPrint.h.
Referenced by getPiece().
const osl::misc::CArray< std::string, 10 > osl::record::KIFCharacters::suji [static] |