クラス osl::record::KisenIpxFile

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

#include <kisen.h>

すべてのメンバ一覧

Public 型

enum  {
  BY_PARITY = 0, BLACK_WIN = 1, WHITE_WIN = 2, SENNNICHITE = 3,
  JISHOGI = 4, BLACK_WIN_256 = 5, WHITE_WIN_256 = 6, SENNNICHITE_256 = 7,
  JISHOGI_256 = 8
}

Public メソッド

 KisenIpxFile (std::string const &fileName)
 ~KisenIpxFile ()
size_t size () const
const std::string getPlayer (size_t index, Player pl)
const std::string getTitle (size_t index, Player pl)
unsigned int getRating (size_t index, Player pl)
unsigned int getResult (size_t index)
const std::string & getFileName () const

Private 変数

std::ifstream ifs
size_t numberOfGames
const std::string file_name

説明

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

対局者に関する情報(「プレイヤー名」,「レーティング」) が分かっている.

kisen.h61 行で定義されています。


列挙型

anonymous enum
列挙型の値:
BY_PARITY 
BLACK_WIN 
WHITE_WIN 
SENNNICHITE 
JISHOGI 
BLACK_WIN_256 
WHITE_WIN_256 
SENNNICHITE_256 
JISHOGI_256 

kisen.h66 行で定義されています。


コンストラクタとデストラクタ

osl::record::KisenIpxFile::KisenIpxFile ( std::string const &  fileName  )  [explicit]

kisen.cc134 行で定義されています。

参照先 ifs, と numberOfGames.

osl::record::KisenIpxFile::~KisenIpxFile (  ) 

kisen.cc268 行で定義されています。


関数

const std::string& osl::record::KisenIpxFile::getFileName (  )  const [inline]

kisen.h85 行で定義されています。

参照先 file_name.

const std::string osl::record::KisenIpxFile::getPlayer ( size_t  index,
Player  pl 
)

kisen.cc143 行で定義されています。

参照先 ifs, moves, size(), と osl::WHITE.

unsigned int osl::record::KisenIpxFile::getRating ( size_t  index,
Player  pl 
)

kisen.cc157 行で定義されています。

参照先 ifs, moves, size(), と osl::WHITE.

unsigned int osl::record::KisenIpxFile::getResult ( size_t  index  ) 

kisen.cc168 行で定義されています。

参照先 ifs, と size().

const std::string osl::record::KisenIpxFile::getTitle ( size_t  index,
Player  pl 
)

kisen.cc176 行で定義されています。

参照先 ifs, moves, size(), と osl::WHITE.

size_t osl::record::KisenIpxFile::size (  )  const [inline]

kisen.h80 行で定義されています。

参照先 numberOfGames.

参照元 getPlayer(), getRating(), getResult(), と getTitle().


変数

const std::string osl::record::KisenIpxFile::file_name [private]

kisen.h64 行で定義されています。

参照元 getFileName().

std::ifstream osl::record::KisenIpxFile::ifs [private]

kisen.h62 行で定義されています。

参照元 getPlayer(), getRating(), getResult(), getTitle(), と KisenIpxFile().

kisen.h63 行で定義されています。

参照元 KisenIpxFile(), と size().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:58:46 2010に生成されました。  doxygen 1.6.3