クラス 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 search::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.h26 行で定義されています。


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

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

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

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

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


関数

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

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

参照先 output.

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

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

参照先 output, と writeCurrentDate().

void osl::game_playing::CsaLogger::endByRepetition ( const Sennichite result  ) 
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::inputError ( const char *  message  ) 

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

参照先 output.

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

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

参照先 writeLine().

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

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

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

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

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

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

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

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

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

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

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

参照先 output.

参照元 endByRepetition().

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

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

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

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

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

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

参照先 output.

参照元 popMove().

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

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

参照先 output.

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


変数

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

このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:58:18 2010に生成されました。  doxygen 1.6.3