駒の文字を管理するAbstract class。 More...
#include <kanjiPrint.h>


| Public Member Functions | |
| virtual | ~Characters () | 
| virtual const std::string & | getDan (const size_t index) const =0 | 
| 段数の文字を返す  More... | |
| virtual const std::string & | getSuji (const size_t index) const =0 | 
| 筋の文字を返す。駒の文字幅に合わせる必要がある。  More... | |
| virtual const std::string & | getPiece (const size_t index) const =0 | 
| 盤面上の駒を返す  More... | |
| const std::string & | getStand (const size_t index) const | 
| 持ち駒の漢字文字を返す。1文字を期待する  More... | |
| 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 misc::CArray < std::string, 32 > | stand | 
| Private Member Functions | |
| size_t | piece_index (const PtypeO &ptypeo) const | 
駒の文字を管理するAbstract class。
Definition at line 98 of file kanjiPrint.h.
| 
 | virtual | 
Definition at line 101 of file kanjiPrint.cc.
| 
 | pure virtual | 
段数の文字を返す
Implemented in osl::record::KIFCharacters, osl::record::RussianCharacters, and osl::record::StandardCharacters.
| 
 | pure virtual | 
盤面上の駒を返す
Implemented in osl::record::KIFCharacters, osl::record::RussianCharacters, and osl::record::StandardCharacters.
Referenced by kanji().
| 
 | inline | 
持ち駒の漢字文字を返す。1文字を期待する
Definition at line 113 of file kanjiPrint.h.
References stand.
Referenced by stand_kanji().
| 
 | pure virtual | 
筋の文字を返す。駒の文字幅に合わせる必要がある。
Implemented in osl::record::KIFCharacters, osl::record::RussianCharacters, and osl::record::StandardCharacters.
| 
 | inline | 
Definition at line 123 of file kanjiPrint.h.
References getPiece(), and piece_index().
Referenced by osl::record::ki2::show().
| 
 | inline | 
Definition at line 127 of file kanjiPrint.h.
References osl::BLACK, getPiece(), and osl::newPtypeO().
| 
 | inlineprivate | 
Definition at line 132 of file kanjiPrint.h.
References osl::PTYPEO_MAX, and osl::PTYPEO_MIN.
Referenced by kanji(), and stand_kanji().
| 
 | inline | 
Definition at line 118 of file kanjiPrint.h.
References getStand(), and piece_index().
| 
 | static | 
Definition at line 101 of file kanjiPrint.h.
Referenced by getStand().
 1.8.4
 1.8.4