「.ipx」という拡張子を持つ棋泉形式ファイル.
[詳細]
#include <kisen.h>
すべてのメンバ一覧
Public メソッド |
| KisenIpxWriter (std::ostream &ostream) |
void | save (const Record &, int black_rating, int white_rating, const std::string &black_title, const std::string &white_title) |
Private メソッド |
void | writeString (const std::string &name, size_t length) |
void | writeRating (int rating) |
void | writeStartDate (int year, int month, int day, int hour, int min) |
Private 変数 |
std::ostream & | os |
説明
「.ipx」という拡張子を持つ棋泉形式ファイル.
対局者に関する情報(「プレイヤー名」,「レーティング」) が分かっている.書かれるのは分かっている部分のみ。 勝敗情報は不完全。千日手や持将棋の情報が Record にないため。
kisen.h の 130 行で定義されています。
コンストラクタとデストラクタ
osl::record::KisenIpxWriter::KisenIpxWriter |
( |
std::ostream & |
ostream |
) |
[inline] |
関数
void osl::record::KisenIpxWriter::save |
( |
const Record & |
record, |
|
|
int |
black_rating, |
|
|
int |
white_rating, |
|
|
const std::string & |
black_title, |
|
|
const std::string & |
white_title | |
|
) |
| | |
kisen.cc の 365 行で定義されています。
参照先 osl::BLACK, osl::eval::convert(), osl::record::Record::moves(), os, osl::record::Record::player, osl::record::Record::start_date, osl::record::Record::times, osl::WHITE, osl::record::KisenIpxFile::WHITE_WIN, osl::record::KisenIpxFile::WHITE_WIN_256, writeRating(), writeStartDate(), と writeString().
void osl::record::KisenIpxWriter::writeRating |
( |
int |
rating |
) |
[private] |
void osl::record::KisenIpxWriter::writeStartDate |
( |
int |
year, |
|
|
int |
month, |
|
|
int |
day, |
|
|
int |
hour, |
|
|
int |
min | |
|
) |
| | [private] |
void osl::record::KisenIpxWriter::writeString |
( |
const std::string & |
name, |
|
|
size_t |
length | |
|
) |
| | [private] |
変数
このクラスの説明は次のファイルから生成されました: