「.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 386 of file kisen.cc.
References osl::BLACK, BLACK_WIN, osl::eval::convert(), osl::record::Record::getDate(), osl::record::Record::getMoves(), osl::record::Record::getPlayer(), moves, osl::WHITE, and WHITE_WIN.
| 
 | private | 
| 
 | private | 
| 
 | private | 
 1.8.4
 1.8.4