クラス osl::game_playing::CsaLogger

εϿ [詳細]

#include <csaLogger.h>

すべてのメンバ一覧

Public メソッド

 CsaLogger (std::ostream &os)
 ~CsaLogger ()
void init (const char *black, const char *white, const state::SimpleState &state)
void pushMove (const Move &move, int seconds)
void pushMove (const MoveWithComment &move, int seconds)
void popMove ()
void showTimeLeft (const TimeKeeper &)
void writeComment (const char *comment)
void resign (Player resigned)
void inputError (const char *)
void breakGame ()
void endByRepetition (const Sennichite &)
void endByDeclaration (Player declarer)

Private メソッド

void writeLine (const char *line)
void writeWinner (Player winner)
void writeCurrentDate ()

Private 変数

std::ostream & output


説明

εϿ

csaLogger.h23 行で定義されています。


コンストラクタとデストラクタ

osl::game_playing::CsaLogger::CsaLogger ( std::ostream &  os  )  [explicit]

csaLogger.cc14 行で定義されています。

osl::game_playing::CsaLogger::~CsaLogger (  ) 

csaLogger.cc19 行で定義されています。


関数

void osl::game_playing::CsaLogger::init ( const char *  black,
const char *  white,
const state::SimpleState state 
)

csaLogger.cc24 行で定義されています。

参照先 output, と writeCurrentDate().

void osl::game_playing::CsaLogger::pushMove ( const Move move,
int  seconds 
)

csaLogger.cc34 行で定義されています。

参照先 osl::csaShow(), と output.

参照元 pushMove().

void osl::game_playing::CsaLogger::pushMove ( const MoveWithComment move,
int  seconds 
)

void osl::game_playing::CsaLogger::popMove (  ) 

csaLogger.cc55 行で定義されています。

参照先 writeLine().

void osl::game_playing::CsaLogger::showTimeLeft ( const TimeKeeper keeper  ) 

csaLogger.cc61 行で定義されています。

参照先 osl::BLACK, output, osl::game_playing::TimeKeeper::timeLeft(), と osl::WHITE.

void osl::game_playing::CsaLogger::writeComment ( const char *  comment  ) 

csaLogger.cc74 行で定義されています。

参照先 output.

参照元 endByRepetition().

void osl::game_playing::CsaLogger::resign ( Player  resigned  ) 

csaLogger.cc88 行で定義されています。

参照先 osl::alt(), output, writeCurrentDate(), と writeWinner().

void osl::game_playing::CsaLogger::inputError ( const char *  message  ) 

csaLogger.cc96 行で定義されています。

参照先 output.

void osl::game_playing::CsaLogger::breakGame (  ) 

csaLogger.cc102 行で定義されています。

参照先 output.

void osl::game_playing::CsaLogger::endByRepetition ( const Sennichite result  ) 

void osl::game_playing::CsaLogger::endByDeclaration ( Player  declarer  ) 

csaLogger.cc121 行で定義されています。

参照先 output, と writeCurrentDate().

void osl::game_playing::CsaLogger::writeLine ( const char *  line  )  [private]

csaLogger.cc68 行で定義されています。

参照先 output.

参照元 popMove().

void osl::game_playing::CsaLogger::writeWinner ( Player  winner  )  [private]

csaLogger.cc129 行で定義されています。

参照先 output.

参照元 endByRepetition(), と resign().

void osl::game_playing::CsaLogger::writeCurrentDate (  )  [private]

csaLogger.cc80 行で定義されています。

参照先 output.

参照元 endByDeclaration(), endByRepetition(), init(), と resign().


変数

std::ostream& osl::game_playing::CsaLogger::output [private]


このクラスの説明は次のファイルから生成されました:

Thu Oct 8 05:01:16 2009に生成されました。  doxygen 1.5.6