Public Methods
- int Add ( const T& t )
- int Detach ( const T& t )
- TMHashTableImp ( unsigned size = DEFAULT_HASH_TABLE_SIZE )
- void ForEach ( IterFunc iter, void *args )
- T * FirstThat ( CondFunc cond, void *args ) const
- T * LastThat ( CondFunc cond, void *args ) const
- T * Find ( const T& t ) const
- void Flush ()
Public Members
Private Types
- typedef TMInternalHashImp< T,TMListImp > Parent
Private Methods
- unsigned GetHashValue ( const T& t ) const
- template
int Add ( const T& t )
- template
int Detach ( const T& t )
- template
void ForEach ( IterFunc iter, void *args )
- template
T * FirstThat ( CondFunc cond, void *args ) const
- template
T * LastThat ( CondFunc cond, void *args ) const
- template
T * Find ( const T& t ) const
- template void Flush ()
template class TMHashTableImp
template class TMHashTableIteratorImp
Implements a managed hash table of objects of type T, using storage
storage allocator A. Assumes that T has meaningful copy and ==
semantics as well as a default constructor.
[private]
friend class TMHashTableIteratorImp
| TMHashTableIteratorImp |
typedef void (*IterFunc) (T&, void *)
| (*IterFunc) |
typedef int (*CondFunc) (const T &, void *)
| (*CondFunc) |
int Add ( const T& t )
| Add |
int Detach ( const T& t )
| Detach |
TMHashTableImp ( unsigned size = DEFAULT_HASH_TABLE_SIZE )
| TMHashTableImp |
void ForEach ( IterFunc iter, void *args )
| ForEach |
T * FirstThat ( CondFunc cond, void *args )
| FirstThat |
[const]
T * LastThat ( CondFunc cond, void *args )
| LastThat |
[const]
T * Find ( const T& t )
| Find |
[const]
unsigned GetHashValue ( const T& t )
| GetHashValue |
[private const]
Reimplemented from TMInternalHashImp.
template
int Add ( const T& t )
| Add |
[private]
template
int Detach ( const T& t )
| Detach |
[private]
template
void ForEach ( IterFunc iter, void *args )
| ForEach |
[private]
template
T * FirstThat ( CondFunc cond, void *args )
| FirstThat |
[private const]
template
T * LastThat ( CondFunc cond, void *args )
| LastThat |
[private const]
template
T * Find ( const T& t )
| Find |
[private const]
template void Flush ()
| Flush |
[private]
Generated by: nicola on gulliver.wadahome.it on Sun May 25 13:54:34 2003, using kdoc 2.0a53. |