|
My Project
|
#include <csaRecord.h>
Public Member Functions | |
| CsaFile (std::istream &is) | |
| CsaFile (const std::string &filename) | |
| ~CsaFile () | |
| Public Member Functions inherited from osl::record::RecordFile | |
| virtual | ~RecordFile () |
| Record | load () const |
| const NumEffectState | initialState () const |
| const std::vector< Move > | moves () const |
Static Public Member Functions | |
| static SearchInfo | makeInfo (const SimpleState &initial, const std::string &line, Move last_move) |
| static void | parseLine (SimpleState &, Record &, std::string element, bool parse_move_comment=true) |
Private Member Functions | |
| void | read (std::istream &) |
Additional Inherited Members | |
| Protected Attributes inherited from osl::record::RecordFile | |
| Record | record |
Definition at line 10 of file csaRecord.h.
| osl::record::CsaFile::CsaFile | ( | std::istream & | is | ) |
Definition at line 152 of file csaRecord.cc.
References read().
| osl::record::CsaFile::CsaFile | ( | const std::string & | filename | ) |
Definition at line 140 of file csaRecord.cc.
References read().
| osl::record::CsaFile::~CsaFile | ( | ) |
Definition at line 158 of file csaRecord.cc.
|
static |
Definition at line 18 of file csaRecord.cc.
References osl::alt(), osl::NumEffectState::inCheck(), osl::Move::INVALID(), osl::Move::isNormal(), osl::Move::isPass(), osl::SimpleState::isValidMove(), osl::NumEffectState::makeMove(), osl::record::SearchInfo::moves, osl::Move::PASS(), osl::csa::show(), osl::usi::show(), osl::csa::strToMove(), osl::usi::strToMove(), osl::SimpleState::turn(), and osl::record::SearchInfo::value.
Referenced by parseLine().
|
static |
Definition at line 69 of file csaRecord.cc.
References osl::record::Record::addWithNewLine(), osl::BLACK, osl::record::Record::BlackWin, osl::csa::charToPlayer(), osl::record::Record::JiShogi, makeInfo(), osl::record::RecordFile::record, osl::record::Record::Sennnichite, osl::SimpleState::turn(), and osl::record::Record::WhiteWin.
Referenced by read().
|
private |
Definition at line 163 of file csaRecord.cc.
References osl::CArray< T, Capacity >::begin(), osl::CArray< T, Capacity >::end(), osl::SimpleState::init(), osl::OslConfig::inUnitTest(), osl::CsaFileMinimal::parseLine(), parseLine(), and osl::record::RecordFile::record.