CSA形式.
[詳細]
説明
CSA形式.
CSA形式の定義 http://www.computer-shogi.org/wcsc12/record.html
関数
const std::string osl::csa::fancyShow |
( |
Move |
move |
) |
|
const std::string osl::csa::show |
( |
Ptype |
ptype, |
|
|
std::string & |
buf, |
|
|
size_t |
offset = 0 | |
|
) |
| | |
const std::string osl::csa::show |
( |
Square |
pos, |
|
|
std::string & |
buf, |
|
|
size_t |
offset = 0 | |
|
) |
| | |
const std::string osl::csa::show |
( |
Move |
move |
) |
|
const std::string osl::csa::show |
( |
const Move * |
first, |
|
|
const Move * |
last | |
|
) |
| | |
const std::string osl::csa::show |
( |
Ptype |
ptype |
) |
|
const std::string osl::csa::show |
( |
Piece |
piece |
) |
|
csa.cc の 175 行で定義されています。
参照先 osl::PieceTable::getPtypeOf(), osl::Piece::isEdge(), osl::Piece::isEmpty(), osl::isPiece(), osl::Piece::isPiece(), osl::Piece::number(), osl::Piece::owner(), osl::Piece_Table, osl::Piece::ptype(), show(), と osl::unpromote().
const std::string osl::csa::show |
( |
Player |
player |
) |
|
const std::string osl::csa::show |
( |
Square |
position |
) |
|
const std::string osl::csa::show |
( |
Move |
move, |
|
|
std::string & |
buf | |
|
) |
| | |
const std::string osl::csa::show |
( |
Player |
player, |
|
|
std::string & |
buf, |
|
|
size_t |
offset = 0 | |
|
) |
| | |
const osl::Move osl::csa::strToMove |
( |
const std::string & |
s, |
|
|
const SimpleState & |
st | |
|
) |
| | |
csa.cc の 48 行で定義されています。
参照先 charToPlayer(), osl::Move::DeclareWin(), osl::Move::INVALID(), osl::isPromoted(), osl::Move::PASS(), osl::SimpleState::pieceAt(), osl::Piece::ptype(), osl::Square::STAND(), strToPos(), strToPtype(), osl::SimpleState::turn(), と osl::unpromote().
参照元 main(), osl::record::CsaFile::makeInfo(), と osl::csa::CsaFileMinimal::parseLine().
const osl::Square osl::csa::strToPos |
( |
const std::string & |
s |
) |
|
osl::Ptype osl::csa::strToPtype |
( |
const std::string & |
s |
) |
|