ネームスペース osl::record::psn
gnushogi で使われるフォーマット.
[詳細]
説明
gnushogi で使われるフォーマット.
何種類かある.
関数
osl::Ptype osl::record::psn::charToPtype |
( |
char |
c |
) |
|
char osl::record::psn::show |
( |
Ptype |
ptype |
) |
|
const std::string osl::record::psn::show |
( |
Position |
pos |
) |
|
const std::string osl::record::psn::show |
( |
Move |
m |
) |
|
const std::string osl::record::psn::showXP |
( |
Move |
m |
) |
|
decorate capture by 'x', promote by '+', and unpromote by '='
psn.cc の 56 行で定義されています。
参照先 osl::Position::canPromote(), osl::canPromote(), osl::Move::capturePtype(), osl::Move::from(), osl::Move::isInvalid(), osl::Move::isPass(), osl::Position::isPieceStand(), osl::Move::isPromote(), osl::Move::player(), osl::Move::ptype(), osl::PTYPE_EMPTY, result, show(), と osl::Move::to().
const Move osl::record::psn::strToMove |
( |
const std::string & |
, |
|
|
const state::SimpleState & |
| |
|
) |
| | |
const osl::Position osl::record::psn::strToPos |
( |
const std::string & |
str |
) |
|