class TMHashTableImp

More...

Definition#include <classlib/include/classlib/hashimp.h>
Template formTMHashTableImp<class T>
InheritsTMInternalHashImp [private ]
Inherited byTHashTableImp
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members

Private Types

Private Methods


Detailed Description

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.

typedef TMInternalHashImp< T,TMListImp > Parent

Parent

[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]

void  Flush ()

Flush

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.