All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
osl::record::KanjiPrint Class Reference

局面を漢字でカラーで表示する. More...

#include <kanjiPrint.h>

Collaboration diagram for osl::record::KanjiPrint:
Collaboration graph
[legend]

List of all members.

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
 出力
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

Detailed Description

局面を漢字でカラーで表示する.

Definition at line 185 of file kanjiPrint.h.


Constructor & Destructor Documentation

osl::record::KanjiPrint::KanjiPrint ( std::ostream &  os,
const boost::shared_ptr< Characters pieces = boost::shared_ptr<Characters>(new StandardCharacters()) 
) [inline, explicit]

Definition at line 195 of file kanjiPrint.h.

Definition at line 201 of file kanjiPrint.h.


Member Function Documentation

void osl::record::KanjiPrint::print ( const state::SimpleState state,
const Move last_move = NULL 
) const
void osl::record::KanjiPrint::setBlackColor ( const Color c) [inline]

Definition at line 211 of file kanjiPrint.h.

References black_color.

void osl::record::KanjiPrint::setLastMoveColor ( const Color c) [inline]

Definition at line 213 of file kanjiPrint.h.

References last_move_color.

void osl::record::KanjiPrint::setWhiteColor ( const Color c) [inline]

Definition at line 212 of file kanjiPrint.h.

References white_color.


Member Data Documentation

Definition at line 190 of file kanjiPrint.h.

Referenced by setBlackColor().

Definition at line 192 of file kanjiPrint.h.

Referenced by setLastMoveColor().

std::ostream& osl::record::KanjiPrint::os [private]

Definition at line 188 of file kanjiPrint.h.

const boost::shared_ptr<Characters> osl::record::KanjiPrint::pieces [private]

Definition at line 189 of file kanjiPrint.h.

Definition at line 191 of file kanjiPrint.h.

Referenced by setWhiteColor().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines