Public Member Functions | Private Member Functions | Private Attributes
OpeningBookConverter Class Reference

#include <openingBookConverter.h>

List of all members.

Public Member Functions

 OpeningBookConverter (const char *filename)
 ~OpeningBookConverter ()
void write (const char *filename)
void writeInNewFormat (const char *filename)
void writeInNewEditFormat (const char *filename)

Private Member Functions

int readInt (std::ifstream &ifs)
void writeInt (std::ofstream &ofs, int n)
void writeInNewFormat (std::ofstream &ofs)

Private Attributes

osl::vector< OBStatestates
osl::vector
< osl::record::opening::OBMove
moves

Detailed Description

Definition at line 23 of file openingBookConverter.h.


Constructor & Destructor Documentation

OpeningBookConverter::OpeningBookConverter ( const char *  filename)

Definition at line 29 of file openingBookConverter.h.


Member Function Documentation

int OpeningBookConverter::readInt ( std::ifstream &  ifs) [private]

Referenced by OpeningBookConverter().

void OpeningBookConverter::write ( const char *  filename)

Definition at line 33 of file openingBookConverter.cc.

References moves, states, and writeInt().

void OpeningBookConverter::writeInNewEditFormat ( const char *  filename)
void OpeningBookConverter::writeInNewFormat ( const char *  filename)

Definition at line 104 of file openingBookConverter.cc.

Referenced by writeInNewEditFormat().

void OpeningBookConverter::writeInNewFormat ( std::ofstream &  ofs) [private]
void OpeningBookConverter::writeInt ( std::ofstream &  ofs,
int  n 
) [private]

Referenced by write(), and writeInNewFormat().


Member Data Documentation

osl::vector<OBState> OpeningBookConverter::states [private]

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