「.ipx」という拡張子を持つ棋泉形式ファイル. [詳細]
#include <kisen.h>
Public 型 | |
enum | { BY_PARITY = 0, BLACK_WIN = 1, WHITE_WIN = 2, SENNNICHITE = 3, JISHOGI = 4, BLACK_WIN_256 = 5, WHITE_WIN_256 = 6, SENNNICHITE_256 = 7, JISHOGI_256 = 8 } |
Public メソッド | |
KisenIpxFile (std::string const &fileName) | |
~KisenIpxFile () | |
size_t | size () const |
const std::string | getPlayer (size_t index, Player pl) |
const std::string | getTitle (size_t index, Player pl) |
unsigned int | getRating (size_t index, Player pl) |
unsigned int | getResult (size_t index) |
const std::string & | getFileName () const |
Private 変数 | |
std::ifstream | ifs |
size_t | numberOfGames |
const std::string | file_name |
「.ipx」という拡張子を持つ棋泉形式ファイル.
対局者に関する情報(「プレイヤー名」,「レーティング」) が分かっている.
anonymous enum |
osl::record::KisenIpxFile::KisenIpxFile | ( | std::string const & | fileName | ) | [explicit] |
参照先 ifs, と numberOfGames.
const std::string& osl::record::KisenIpxFile::getFileName | ( | ) | const [inline] |
const std::string osl::record::KisenIpxFile::getPlayer | ( | size_t | index, | |
Player | pl | |||
) |
unsigned int osl::record::KisenIpxFile::getRating | ( | size_t | index, | |
Player | pl | |||
) |
unsigned int osl::record::KisenIpxFile::getResult | ( | size_t | index | ) |
const std::string osl::record::KisenIpxFile::getTitle | ( | size_t | index, | |
Player | pl | |||
) |
size_t osl::record::KisenIpxFile::size | ( | ) | const [inline] |
参照先 numberOfGames.
参照元 getPlayer(), getRating(), getResult(), と getTitle().
const std::string osl::record::KisenIpxFile::file_name [private] |
参照元 getFileName().
std::ifstream osl::record::KisenIpxFile::ifs [private] |
参照元 getPlayer(), getRating(), getResult(), getTitle(), と KisenIpxFile().
size_t osl::record::KisenIpxFile::numberOfGames [private] |
参照元 KisenIpxFile(), と size().