All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
osl::record::KisenIpxWriter Class Reference

「.ipx」という拡張子を持つ棋泉形式ファイル. More...

#include <kisen.h>

List of all members.

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

Detailed Description

「.ipx」という拡張子を持つ棋泉形式ファイル.

対局者に関する情報(「プレイヤー名」,「レーティング」) が分かっている.書かれるのは分かっている部分のみ。 勝敗情報は不完全。千日手や持将棋の情報が Record にないため。

Definition at line 146 of file kisen.h.


Constructor & Destructor Documentation

osl::record::KisenIpxWriter::KisenIpxWriter ( std::ostream &  ostream) [inline]

Definition at line 149 of file kisen.h.


Member Function Documentation

void osl::record::KisenIpxWriter::save ( const Record record,
int  black_rating,
int  white_rating,
const std::string &  black_title,
const std::string &  white_title 
)
void osl::record::KisenIpxWriter::writeRating ( int  rating) [private]

Definition at line 365 of file kisen.cc.

void osl::record::KisenIpxWriter::writeStartDate ( int  year,
int  month,
int  day,
int  hour,
int  min 
) [private]

Definition at line 373 of file kisen.cc.

void osl::record::KisenIpxWriter::writeString ( const std::string &  name,
size_t  length 
) [private]

Definition at line 349 of file kisen.cc.

References length.


Member Data Documentation

std::ostream& osl::record::KisenIpxWriter::os [private]

Definition at line 158 of file kisen.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines