#include <Wm4THashTable.h>
Public Member Functions | |
THashTable (int iTableSize) | |
~THashTable () | |
int | GetQuantity () const |
bool | Insert (const TKEY &rtKey, const TVALUE &rtValue) |
TVALUE * | Find (const TKEY &rtKey) const |
bool | Remove (const TKEY &rtKey) |
void | RemoveAll () |
TVALUE * | GetFirst (TKEY *ptKey) const |
TVALUE * | GetNext (TKEY *ptKey) const |
Public Attributes | |
int(* | UserHashFunction )(const TKEY &) |
Classes | |
class | HashItem |
Wm4::THashTable< TKEY, TVALUE >::THashTable | ( | int | iTableSize | ) |
Wm4::THashTable< TKEY, TVALUE >::~THashTable | ( | ) |
int Wm4::THashTable< TKEY, TVALUE >::GetQuantity | ( | ) | const |
bool Wm4::THashTable< TKEY, TVALUE >::Insert | ( | const TKEY & | rtKey, | |
const TVALUE & | rtValue | |||
) |
TVALUE * Wm4::THashTable< TKEY, TVALUE >::Find | ( | const TKEY & | rtKey | ) | const |
bool Wm4::THashTable< TKEY, TVALUE >::Remove | ( | const TKEY & | rtKey | ) |
void Wm4::THashTable< TKEY, TVALUE >::RemoveAll | ( | ) |
TVALUE * Wm4::THashTable< TKEY, TVALUE >::GetFirst | ( | TKEY * | ptKey | ) | const |
TVALUE * Wm4::THashTable< TKEY, TVALUE >::GetNext | ( | TKEY * | ptKey | ) | const |
int(* Wm4::THashTable< TKEY, TVALUE >::UserHashFunction)(const TKEY &) |