#include <wvhashtable.h>
Collaboration diagram for WvMap< TKey, TData, Comparator, BackendHash >:
Public Types | |
typedef MyHashTable::Iter | Iter |
Public Member Functions | |
WvMap (int s) | |
TData * | find (const TKey &key) const |
TData & | operator[] (const TKey &key) const |
bool | exists (const TKey &key) const |
void | set (const TKey &key, const TData &data, bool auto_free=false) |
void | add (const TKey &key, const TData &data, bool auto_free=false) |
void | remove (const TKey &key) |
Static Public Member Functions | |
const TKey * | get_key (const MyPair *obj) |
Protected Types | |
typedef WvMapPair< TKey, TData > | MyPair |
typedef WvMap< TKey, TData, Comparator, BackendHash > | MyMap |
typedef BackendHash< MyPair, TKey, MyMap, Comparator > | MyHashTable |
Protected Member Functions | |
MyPair * | find_helper (const TKey &key) const |
WvMap (const WvMap &m) | |
Protected Attributes | |
MyPair * | last_accessed |
|
Definition at line 383 of file wvhashtable.h. |
|
Definition at line 335 of file wvhashtable.h. Referenced by WvMap< TKey, TData, Comparator, BackendHash >::WvMap(). |
|
Definition at line 334 of file wvhashtable.h. |
|
|
|
|
Definition at line 356 of file wvhashtable.h. References WvMap< TKey, TData, Comparator, BackendHash >::MyHashTable. |
|
Definition at line 376 of file wvhashtable.h. References WvMap< TKey, TData, Comparator, BackendHash >::MyPair. |
|
Definition at line 368 of file wvhashtable.h. |
|
Definition at line 357 of file wvhashtable.h. References WvMapPair< TKey, _TData >::data, and WvMap< TKey, TData, Comparator, BackendHash >::MyPair. |
|
Definition at line 340 of file wvhashtable.h. References WvMap< TKey, TData, Comparator, BackendHash >::MyPair. |
|
Definition at line 353 of file wvhashtable.h. References WvMapPair< TKey, _TData >::key, and WvMap< TKey, TData, Comparator, BackendHash >::MyPair. |
|
Definition at line 362 of file wvhashtable.h. References WvMapPair< TKey, _TData >::data, and WvMap< TKey, TData, Comparator, BackendHash >::MyPair. |
|
Definition at line 378 of file wvhashtable.h. |
|
Definition at line 370 of file wvhashtable.h. References WvHashTable< T, K, Accessor, Comparator >::add(), and WvHashTable< T, K, Accessor, Comparator >::remove(). |
|
Definition at line 339 of file wvhashtable.h. |