局面を漢字でカラーで表示する. More...
#include <kanjiPrint.h>

| Public Member Functions | |
| KanjiPrint (std::ostream &os, const boost::shared_ptr< Characters > pieces=boost::shared_ptr< Characters >(new StandardCharacters())) | |
| ~KanjiPrint () | |
| void | print (const state::SimpleState &state, const Move *last_move=NULL) const | 
| 出力  More... | |
| void | setBlackColor (const Color &c) | 
| void | setWhiteColor (const Color &c) | 
| void | setLastMoveColor (const Color &c) | 
| Private Attributes | |
| std::ostream & | os | 
| const boost::shared_ptr < Characters > | pieces | 
| Color | black_color | 
| Color | white_color | 
| Color | last_move_color | 
局面を漢字でカラーで表示する.
Definition at line 185 of file kanjiPrint.h.
| 
 | inlineexplicit | 
Definition at line 195 of file kanjiPrint.h.
| 
 | inline | 
Definition at line 201 of file kanjiPrint.h.
| void osl::record::KanjiPrint::print | ( | const state::SimpleState & | state, | 
| const Move * | last_move = NULL | ||
| ) | const | 
出力
| state | a state to show. | 
| last_move | a color last_move is available unless it is null. | 
Definition at line 181 of file kanjiPrint.cc.
References osl::BLACK, count, osl::state::SimpleState::countPiecesOnStand(), osl::misc::eucToLang(), osl::getOwner(), osl::Move::isInvalid(), osl::isPiece(), K_BLACK_STAND, K_WHITE_STAND, osl::newPtypeO(), osl::PieceStand::order, osl::state::SimpleState::pieceOnBoard(), osl::Piece::ptypeO(), osl::Move::to(), osl::state::SimpleState::turn(), and osl::WHITE.
Referenced by doMain(), show(), showInfoOfState(), and usiMovesToPositionString().
| 
 | inline | 
Definition at line 211 of file kanjiPrint.h.
References black_color.
| 
 | inline | 
Definition at line 213 of file kanjiPrint.h.
References last_move_color.
| 
 | inline | 
Definition at line 212 of file kanjiPrint.h.
References white_color.
| 
 | private | 
Definition at line 190 of file kanjiPrint.h.
Referenced by setBlackColor().
| 
 | private | 
Definition at line 192 of file kanjiPrint.h.
Referenced by setLastMoveColor().
| 
 | private | 
Definition at line 188 of file kanjiPrint.h.
| 
 | private | 
Definition at line 189 of file kanjiPrint.h.
| 
 | private | 
Definition at line 191 of file kanjiPrint.h.
Referenced by setWhiteColor().
 1.8.4
 1.8.4