クラス テンプレート osl::container::GeneralSimpleHashTable< Record >

Ū hash table Ȥꤢ g++ (SGI STL) hash_map ȤäƼ [詳細]

#include <generalSimpleHashTable.h>

osl::container::GeneralSimpleHashTable< Record >に対する継承グラフ

Inheritance graph
[凡例]

すべてのメンバ一覧

Public 型

typedef hash::HashKey HashKey

Public メソッド

 GeneralSimpleHashTable (unsigned int capacity=100000)
 ~GeneralSimpleHashTable ()
void clear ()
Record * allocate (const HashKey &key)
 ɽõϿƤʤпȥϿ
Record * find (const HashKey &key)
 ɽõϿϤʤ
const Record * find (const HashKey &key) const
unsigned int size () const
unsigned int capacity () const
int numCacheHit () const
int numRecordAfterFull () const
bool isVerbose () const
int divSize () const
 lock contention 򲼤뤿ʬ䤷礭

Protected 変数

boost::scoped_ptr< Tabletable

構成

struct  Table


説明

template<typename Record>
class osl::container::GeneralSimpleHashTable< Record >

Ū hash table Ȥꤢ g++ (SGI STL) hash_map ȤäƼ

ǽ:

ٴŪʵǽ顤ʬǼʤۤbetter hash_map Ǥ GC뤳ȤϺȻפ뤿

find, allocate ݥ󥿤֤ᡤǤɲäƤ⡤¸Ǥ ɥ쥹Ѳʤǡ¤Ѥɬפ롥

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


型定義

template<typename Record>
typedef hash::HashKey osl::container::GeneralSimpleHashTable< Record >::HashKey

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


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

template<typename Record>
osl::container::GeneralSimpleHashTable< Record >::GeneralSimpleHashTable ( unsigned int  capacity = 100000  )  [inline, explicit]

引数:
capacity ɽݻ

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

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

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


関数

template<typename Record>
void osl::container::GeneralSimpleHashTable< Record >::clear (  )  [inline]

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

ɽõϿƤʤпȥϿ

戻り値:
ơ֥뤬äѤ ǤʤdzݤؤΥݥ (ְäƤ delete ʤ)
例外:
TableFull 

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

参照先 osl::container::GeneralSimpleHashTable< Record >::table.

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

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

template<typename Record>
unsigned int osl::container::GeneralSimpleHashTable< Record >::size (  )  const [inline]

template<typename Record>
unsigned int osl::container::GeneralSimpleHashTable< Record >::capacity (  )  const [inline]

template<typename Record>
int osl::container::GeneralSimpleHashTable< Record >::numCacheHit (  )  const [inline]

template<typename Record>
int osl::container::GeneralSimpleHashTable< Record >::numRecordAfterFull (  )  const [inline]

template<typename Record>
bool osl::container::GeneralSimpleHashTable< Record >::isVerbose (  )  const

osl::search::SimpleHashTableで再定義されています。

template<typename Record>
int osl::container::GeneralSimpleHashTable< Record >::divSize (  )  const [inline]

lock contention 򲼤뤿ʬ䤷礭

osl::search::SimpleHashTableで再定義されています。

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

参照先 osl::container::GeneralSimpleHashTable< Record >::Table::DIVSIZE.


変数

template<typename Record>
boost::scoped_ptr<Table> osl::container::GeneralSimpleHashTable< Record >::table [protected]


このクラスの説明は次のファイルから生成されました:

Thu Oct 8 05:01:16 2009に生成されました。  doxygen 1.5.6