Public メソッド | Static Public メソッド | Private 型 | Private メソッド | Private 変数

クラス osl::book::BookInMemory

#include <bookInMemory.h>

すべてのメンバ一覧

Public メソッド

 ~BookInMemory ()
void find (const HashKey &key, MoveVector &out) const
size_t size () const

Static Public メソッド

static const BookInMemoryinstance (const std::string &filename="")

Private 型

typedef CArray< Move, 8 > moves_t
typedef std::unordered_map
< HashKey, moves_t, std::hash
< HashKey > > 
table_t

Private メソッド

 BookInMemory (const std::string &filename)
void readAll (const std::string &filename)
int readRecursive (const HashKey &key, int index, WeightedBook &book, int, int)

Private 変数

table_t table

説明

bookInMemory.h14 行で定義されています。


型定義

bookInMemory.h16 行で定義されています。

typedef std::unordered_map<HashKey,moves_t,std::hash<HashKey> > osl::book::BookInMemory::table_t [private]

bookInMemory.h17 行で定義されています。


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

osl::book::BookInMemory::~BookInMemory (  ) 

bookInMemory.cc17 行で定義されています。

osl::book::BookInMemory::BookInMemory ( const std::string &  filename  )  [explicit, private]

bookInMemory.cc11 行で定義されています。

参照先 readAll().

参照元 instance().


関数

void osl::book::BookInMemory::find ( const HashKey &  key,
MoveVector out 
) const
const osl::book::BookInMemory & osl::book::BookInMemory::instance ( const std::string &  filename = ""  )  [static]

bookInMemory.cc77 行で定義されています。

参照先 BookInMemory(), と table.

void osl::book::BookInMemory::readAll ( const std::string &  filename  )  [private]
int osl::book::BookInMemory::readRecursive ( const HashKey &  key,
int  index,
WeightedBook book,
int  depth,
int   
) [private]
size_t osl::book::BookInMemory::size (  )  const [inline]

bookInMemory.h23 行で定義されています。

参照先 table.


変数

bookInMemory.h18 行で定義されています。

参照元 find(), instance(), readRecursive(), と size().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義