構造体 osl::container::GeneralSimpleHashTable< Record >::Table

osl::container::GeneralSimpleHashTable< Record >::Tableのコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

Public 型

typedef hash_map< HashKey, Record > table_t
typedef table_t::const_iterator const_iterator

Public メソッド

 Table (size_t c)
 ~Table ()
void clear ()
size_t size () const
Record * find (const HashKey &key)
Record * allocate (const HashKey &key)

Public 変数

CArray< table_t, DIVSIZEtables
const size_t capacity
 icc のhash_map がcapacity を持っていなかった気がするので自分で持つ
int num_cache_hit
int num_record_after_full

Static Public 変数

static const unsigned int DIVSIZE = 1

Private メソッド

Record * findInLock (const HashKey &key, int i)

Static Private メソッド

static int keyToIndex (const HashKey &key)

説明

template<typename Record>
struct osl::container::GeneralSimpleHashTable< Record >::Table

generalSimpleHashTable.tcc17 行で定義されています。


型定義

template<typename Record>
typedef table_t::const_iterator osl::container::GeneralSimpleHashTable< Record >::Table::const_iterator

generalSimpleHashTable.tcc31 行で定義されています。

template<typename Record>
typedef hash_map<HashKey, Record > osl::container::GeneralSimpleHashTable< Record >::Table::table_t

generalSimpleHashTable.tcc30 行で定義されています。


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

template<typename Record>
osl::container::GeneralSimpleHashTable< Record >::Table::Table ( size_t  c  )  [inline]

generalSimpleHashTable.tcc51 行で定義されています。

参照先 osl::eval::min().

template<typename Record>
osl::container::GeneralSimpleHashTable< Record >::Table::~Table (  )  [inline]

generalSimpleHashTable.tcc59 行で定義されています。


関数

template<typename Record>
Record* osl::container::GeneralSimpleHashTable< Record >::Table::allocate ( const HashKey key  )  [inline]
template<typename Record>
void osl::container::GeneralSimpleHashTable< Record >::Table::clear (  )  [inline]

generalSimpleHashTable.tcc62 行で定義されています。

template<typename Record>
Record* osl::container::GeneralSimpleHashTable< Record >::Table::find ( const HashKey key  )  [inline]

generalSimpleHashTable.tcc107 行で定義されています。

参照先 SCOPED_LOCK.

template<typename Record>
Record* osl::container::GeneralSimpleHashTable< Record >::Table::findInLock ( const HashKey key,
int  i 
) [inline, private]
template<typename Record>
static int osl::container::GeneralSimpleHashTable< Record >::Table::keyToIndex ( const HashKey key  )  [inline, static, private]
template<typename Record>
size_t osl::container::GeneralSimpleHashTable< Record >::Table::size (  )  const [inline]

変数

template<typename Record>
const size_t osl::container::GeneralSimpleHashTable< Record >::Table::capacity

icc のhash_map がcapacity を持っていなかった気がするので自分で持つ

generalSimpleHashTable.tcc48 行で定義されています。

template<typename Record>
const unsigned int osl::container::GeneralSimpleHashTable< Record >::Table::DIVSIZE = 1 [static]
template<typename Record>
int osl::container::GeneralSimpleHashTable< Record >::Table::num_cache_hit

generalSimpleHashTable.tcc49 行で定義されています。

template<typename Record>
int osl::container::GeneralSimpleHashTable< Record >::Table::num_record_after_full

generalSimpleHashTable.tcc49 行で定義されています。

template<typename Record>
CArray<table_t,DIVSIZE> osl::container::GeneralSimpleHashTable< Record >::Table::tables

generalSimpleHashTable.tcc45 行で定義されています。


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