WvMap< TKey, TData, Comparator, BackendHash > Class Template Reference

Inheritance diagram for WvMap< TKey, TData, Comparator, BackendHash >:
[legend]

List of all members.


Detailed Description

template<typename TKey, typename TData, template< class > class Comparator = OpEqComp, template< class, class, class, template< class > class > class BackendHash = WvHashTable>
class WvMap< TKey, TData, Comparator, BackendHash >

Definition at line 358 of file wvhashtable.h.


Public Types

typedef MyHashTable::Iter Iter

Public Member Functions

 WvMap (int s)
TData * find (const TKey &key) const
MyPairfind_pair (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 autofree=false)
void add (const TKey &key, const TData &data, bool autofree=false)
void remove (const TKey &key)
void zap ()

Static Public Member Functions

static 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

MyPairfind_helper (const TKey &key) const
 WvMap (const WvMap &m)

Protected Attributes

MyPairlast_accessed

The documentation for this class was generated from the following file:
Generated on Fri Oct 5 18:20:39 2007 for WvStreams by  doxygen 1.5.3