My Project
|
駒の文字を管理するAbstract class。 More...
#include <kanjiPrint.h>
Public Member Functions | |
virtual | ~Characters () |
virtual const std::string & | getDan (const size_t index) const =0 |
段数の文字を返す | |
virtual const std::string & | getSuji (const size_t index) const =0 |
筋の文字を返す。駒の文字幅に合わせる必要がある。 | |
virtual const std::string & | getPiece (const size_t index) const =0 |
盤面上の駒を返す | |
const std::string & | getStand (const size_t index) const |
持ち駒の漢字文字を返す。1文字を期待する | |
const std::string & | stand_kanji (const PtypeO &ptypeo) const |
const std::string & | kanji (const PtypeO &ptypeo) const |
const std::string & | kanji (Ptype ptype) const |
Static Public Attributes | |
static const CArray< std::string, 32 > | stand |
Private Member Functions | |
size_t | piece_index (const PtypeO &ptypeo) const |
駒の文字を管理するAbstract class。
Definition at line 97 of file kanjiPrint.h.
|
virtual |
Definition at line 96 of file kanjiPrint.cc.
|
pure virtual |
段数の文字を返す
Implemented in osl::record::StandardCharacters, osl::record::RussianCharacters, and osl::record::KIFCharacters.
|
pure virtual |
盤面上の駒を返す
Implemented in osl::record::StandardCharacters, osl::record::RussianCharacters, and osl::record::KIFCharacters.
Referenced by kanji().
|
inline |
|
pure virtual |
筋の文字を返す。駒の文字幅に合わせる必要がある。
Implemented in osl::record::StandardCharacters, osl::record::RussianCharacters, and osl::record::KIFCharacters.
|
inline |
Definition at line 122 of file kanjiPrint.h.
References getPiece(), and piece_index().
|
inline |
Definition at line 126 of file kanjiPrint.h.
|
inlineprivate |
Definition at line 131 of file kanjiPrint.h.
References osl::PTYPEO_MAX, and osl::PTYPEO_MIN.
Referenced by kanji(), and stand_kanji().
|
inline |
Definition at line 117 of file kanjiPrint.h.
References getStand(), and piece_index().
|
static |
Definition at line 100 of file kanjiPrint.h.