構成 | 関数

ネームスペース osl::csa

CSA形式. [詳細]

構成

struct  CsaIOError
class  CsaFileMinimal
class  CsaString

関数

const Move strToMove (const std::string &s, const SimpleState &st)
Player charToPlayer (char c)
const Square strToPos (const std::string &s)
Ptype strToPtype (const std::string &s)
const std::string show (Move)
const std::string fancyShow (Move)
const std::string show (Square)
const std::string show (Ptype)
const std::string show (Piece)
const std::string show (Player)
const std::string show (const Move *first, const Move *last)
const std::string show (Move, std::string &buf)
const std::string show (Square, std::string &buf, size_t offset=0)
const std::string show (Ptype, std::string &buf, size_t offset=0)
const std::string show (Player, std::string &buf, size_t offset=0)

説明

CSA形式.

CSA形式の定義 http://www.computer-shogi.org/wcsc12/record.html


関数

osl::Player osl::csa::charToPlayer ( char  c  ) 

csa.cc18 行で定義されています。

参照元 osl::record::CsaFile::parseLine(), osl::csa::CsaFileMinimal::parseLine(), と strToMove().

const std::string osl::csa::fancyShow ( Move  move  ) 

csa.cc141 行で定義されています。

参照先 osl::Move::capturePtype(), osl::Move::isNormal(), osl::Move::isPromotion(), と show().

const std::string osl::csa::show ( Ptype  ptype,
std::string &  buf,
size_t  offset = 0 
)

csa.cc123 行で定義されています。

参照先 osl::PtypeTable::getCsaName(), と osl::Ptype_Table.

const std::string osl::csa::show ( Square  pos,
std::string &  buf,
size_t  offset = 0 
)

csa.cc106 行で定義されています。

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

const std::string osl::csa::show ( Move  move  ) 
const std::string osl::csa::show ( const Move *  first,
const Move *  last 
)

csa.cc189 行で定義されています。

参照先 osl::Move::isInvalid(), と show().

const std::string osl::csa::show ( Ptype  ptype  ) 

csa.cc168 行で定義されています。

参照先 show().

const std::string osl::csa::show ( Piece  piece  ) 
const std::string osl::csa::show ( Player  player  ) 

csa.cc154 行で定義されています。

参照先 show().

const std::string osl::csa::show ( Square  position  ) 

csa.cc161 行で定義されています。

参照先 show().

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 
)

csa.cc80 行で定義されています。

const osl::Move osl::csa::strToMove ( const std::string &  s,
const SimpleState &  st 
)
const osl::Square osl::csa::strToPos ( const std::string &  s  ) 

csa.cc28 行で定義されています。

参照先 osl::Square::STAND().

参照元 osl::csa::CsaFileMinimal::parseLine(), と strToMove().

osl::Ptype osl::csa::strToPtype ( const std::string &  s  ) 

csa.cc38 行で定義されています。

参照先 osl::PtypeTable::getCsaName(), と osl::Ptype_Table.

参照元 osl::csa::CsaFileMinimal::parseLine(), と strToMove().

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