クラス osl::record::Record
#include <record.h>
すべてのメンバ一覧
Public 型 |
enum | ResultType {
UNKNOWN = 0,
BLACK_WIN = 1,
WHITE_WIN = 2,
SENNNICHITE = 3,
JISHOGI = 4
} |
Public メソッド |
| Record () |
void | init () |
void | setVersion (const std::string &str) |
const std::string | getVersion () const |
void | addInitialComment (const std::string &comment) |
const std::string | getInitialComment () const |
void | setPlayer (Player player, const std::string &str) |
const std::string & | getPlayer (Player player) const |
void | setInitialState (const SimpleState &state) |
const NumEffectState | getInitialState () const |
int | addNodeRecord () |
int | addMoveRecord (const MoveRecord &moveRecord) |
NodeRecord * | nodeOf (int index) |
NodeRecord & | operator[] (int index) |
MoveRecord * | moveOf (int index) |
void | load (IRecordStream &) |
void | save (ORecordStream &) |
const vector< Move > | getMoves () const |
void | getMoves (vector< Move > &, vector< int > &) const |
void | getMoves (vector< Move > &, vector< int > &, vector< std::string > &, vector< SearchInfo > &) const |
const NodeRecord * | nodeOf (int index) const |
const MoveRecord * | moveOf (int index) const |
void | setResult (ResultType new_result) |
ResultType | getResult () const |
void | setTounamentName (const std::string &name) |
const std::string & | tounamentName () const |
Private 変数 |
SimpleState | initialState |
std::string | version |
std::string | initial_comment |
std::string | tounament_name |
CArray< std::string, 2 > | playerNames |
vector< NodeRecord > | nrs |
vector< MoveRecord > | mrs |
ResultType | result |
説明
record.h の 87 行で定義されています。
列挙型
- 列挙型の値:
UNKNOWN |
|
BLACK_WIN |
|
WHITE_WIN |
|
SENNNICHITE |
|
JISHOGI |
|
record.h の 93 行で定義されています。
コンストラクタとデストラクタ
osl::record::Record::Record |
( |
|
) |
|
関数
void osl::record::Record::addInitialComment |
( |
const std::string & |
comment |
) |
[inline] |
int osl::record::Record::addMoveRecord |
( |
const MoveRecord & |
moveRecord |
) |
|
int osl::record::Record::addNodeRecord |
( |
|
) |
|
const std::string osl::record::Record::getInitialComment |
( |
|
) |
const [inline] |
const NumEffectState osl::record::Record::getInitialState |
( |
|
) |
const |
void osl::record::Record::getMoves |
( |
vector< Move > & |
moves, |
|
|
vector< int > & |
times, |
|
|
vector< std::string > & |
comments, |
|
|
vector< SearchInfo > & |
info | |
|
) |
| | const |
void osl::record::Record::getMoves |
( |
vector< Move > & |
moves, |
|
|
vector< int > & |
times | |
|
) |
| | const |
const vector< Move > osl::record::Record::getMoves |
( |
|
) |
const |
const std::string & osl::record::Record::getPlayer |
( |
Player |
player |
) |
const |
ResultType osl::record::Record::getResult |
( |
|
) |
const [inline] |
const std::string osl::record::Record::getVersion |
( |
|
) |
const [inline] |
void osl::record::Record::init |
( |
|
) |
|
const MoveRecord * osl::record::Record::moveOf |
( |
int |
index |
) |
const |
MoveRecord * osl::record::Record::moveOf |
( |
int |
index |
) |
|
const NodeRecord * osl::record::Record::nodeOf |
( |
int |
index |
) |
const |
NodeRecord * osl::record::Record::nodeOf |
( |
int |
index |
) |
|
NodeRecord & osl::record::Record::operator[] |
( |
int |
index |
) |
|
void osl::record::Record::setInitialState |
( |
const SimpleState & |
state |
) |
|
void osl::record::Record::setPlayer |
( |
Player |
player, |
|
|
const std::string & |
str | |
|
) |
| | |
void osl::record::Record::setResult |
( |
ResultType |
new_result |
) |
[inline] |
void osl::record::Record::setTounamentName |
( |
const std::string & |
name |
) |
[inline] |
void osl::record::Record::setVersion |
( |
const std::string & |
str |
) |
|
const std::string& osl::record::Record::tounamentName |
( |
|
) |
const [inline] |
変数
このクラスの説明は次のファイルから生成されました: