|
My Project
|
「.ipx」という拡張子を持つ棋泉形式ファイル. More...
#include <kisen.h>
Public Member Functions | |
| 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 Member Functions | |
| 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 Attributes | |
| std::ostream & | os |
「.ipx」という拡張子を持つ棋泉形式ファイル.
対局者に関する情報(「プレイヤー名」,「レーティング」) が分かっている.書かれるのは分かっている部分のみ。 勝敗情報は不完全。千日手や持将棋の情報が Record にないため。
|
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 ) |
Definition at line 364 of file kisen.cc.
References osl::BLACK, osl::record::KisenIpxFile::BLACK_WIN, osl::record::KisenIpxFile::BLACK_WIN_256, osl::IconvConvert::convert(), os, osl::WHITE, osl::record::KisenIpxFile::WHITE_WIN, osl::record::KisenIpxFile::WHITE_WIN_256, writeRating(), writeStartDate(), and writeString().
|
private |
|
private |
|
private |
|
private |
Definition at line 142 of file kisen.h.
Referenced by KisenIpxWriter(), save(), and writeString().