osl::KisenIpxWriter Class Reference

「.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

## Detailed Description

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

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

Definition at line 130 of file kisen.h.

## Constructor & Destructor Documentation

## KisenIpxWriter()

osl::record::KisenIpxWriter::KisenIpxWriter | ( | std::ostream & | ostream | ) |

inline

Definition at line 133 of file kisen.h.

## Member Function Documentation

## save()

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.

## writeRating()

void osl::record::KisenIpxWriter::writeRating | ( | int | rating | ) |

private

Definition at line 343 of file kisen.cc.

## writeStartDate()

void osl::record::KisenIpxWriter::writeStartDate | ( | int | year,
|  | int | month,
|  | int | day,
|  | int | hour,
|  | int | min )

private

Definition at line 351 of file kisen.cc.

## writeString()

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

private

Definition at line 327 of file kisen.cc.

## Member Data Documentation

## os

std::ostream& osl::record::KisenIpxWriter::os

private

Definition at line 142 of file kisen.h.

The documentation for this class was generated from the following files:

- kisen.h
- kisen.cc