構成 | 関数

ネームスペース osl::psn

gnushogi で使われるフォーマット. [詳細]

構成

class  ParseError

関数

const Move strToMove (const std::string &, const SimpleState &)
const Square strToPos (const std::string &)
Ptype charToPtype (char)
const std::string show (Move)
const std::string show (Square)
char show (Ptype)
const std::string showXP (Move)
 decorate capture by 'x', promote by '+', and unpromote by '='

説明

gnushogi で使われるフォーマット.

何種類かある.


関数

osl::Ptype osl::psn::charToPtype ( char  c  ) 

usi.cc126 行で定義されています。

参照元 osl::usi::charToPtypeO(), と strToMove().

const std::string osl::psn::show ( Move  m  ) 
const std::string osl::psn::show ( Square  pos  ) 

usi.cc9 行で定義されています。

参照先 osl::Square::x(), と osl::Square::y().

char osl::psn::show ( Ptype  ptype  ) 

usi.cc20 行で定義されています。

参照先 osl::BISHOP, osl::GOLD, osl::KING, osl::KNIGHT, osl::LANCE, osl::PAWN, osl::ROOK, と osl::SILVER.

const std::string osl::psn::showXP ( Move  m  ) 
const osl::Move osl::psn::strToMove ( const std::string &  str,
const SimpleState &  s 
)
const osl::Square osl::psn::strToPos ( const std::string &  str  ) 

usi.cc115 行で定義されています。

参照元 strToMove().

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義