#include <Wm4THashTable.h>
Public Member Functions | |
TVALUE * | Find (const TKEY &rtKey) const |
TVALUE * | GetFirst (TKEY *ptKey) const |
TVALUE * | GetNext (TKEY *ptKey) const |
int | GetQuantity () const |
bool | Insert (const TKEY &rtKey, const TVALUE &rtValue) |
bool | Remove (const TKEY &rtKey) |
void | RemoveAll () |
THashTable (int iTableSize) | |
~THashTable () | |
Public Attributes | |
int(* | UserHashFunction )(const TKEY &) |
Definition at line 45 of file Wm4THashTable.h.
Wm4::THashTable< TKEY, TVALUE >::THashTable | ( | int | iTableSize | ) | [inline] |
Definition at line 21 of file Wm4THashTable.inl.
References Wm4::THashTable< TKEY, TVALUE >::UserHashFunction, and WM4_NEW.
Wm4::THashTable< TKEY, TVALUE >::~THashTable | ( | ) | [inline] |
Definition at line 35 of file Wm4THashTable.inl.
References Wm4::THashTable< TKEY, TVALUE >::RemoveAll(), and WM4_DELETE.
TVALUE * Wm4::THashTable< TKEY, TVALUE >::Find | ( | const TKEY & | rtKey | ) | const [inline] |
Definition at line 78 of file Wm4THashTable.inl.
TVALUE * Wm4::THashTable< TKEY, TVALUE >::GetFirst | ( | TKEY * | ptKey | ) | const [inline] |
Definition at line 163 of file Wm4THashTable.inl.
TVALUE * Wm4::THashTable< TKEY, TVALUE >::GetNext | ( | TKEY * | ptKey | ) | const [inline] |
Definition at line 182 of file Wm4THashTable.inl.
int Wm4::THashTable< TKEY, TVALUE >::GetQuantity | ( | ) | const [inline] |
Definition at line 42 of file Wm4THashTable.inl.
bool Wm4::THashTable< TKEY, TVALUE >::Insert | ( | const TKEY & | rtKey, | |
const TVALUE & | rtValue | |||
) | [inline] |
Definition at line 48 of file Wm4THashTable.inl.
References WM4_NEW.
bool Wm4::THashTable< TKEY, TVALUE >::Remove | ( | const TKEY & | rtKey | ) | [inline] |
Definition at line 99 of file Wm4THashTable.inl.
References WM4_DELETE.
void Wm4::THashTable< TKEY, TVALUE >::RemoveAll | ( | ) | [inline] |
Definition at line 142 of file Wm4THashTable.inl.
References WM4_DELETE.
Referenced by Wm4::THashTable< TKEY, TVALUE >::~THashTable().
int(* Wm4::THashTable< TKEY, TVALUE >::UserHashFunction)(const TKEY &) |
Referenced by Wm4::THashTable< TKEY, TVALUE >::THashTable().