class TMIHashTableImp

More...

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

Public Methods

Public Members

Private Types

Private Methods


Detailed Description

template class TMIHashTableImp template class TMIHashTableIteratorImp

Implements a managed hash table of pointers to objects of type T, using the storage storage allocator A.

typedef TMInternalHashImp<TVoidPointer,TMIListImp > Parent

Parent

[private]

friend class TMIHashTableIteratorImp

TMIHashTableIteratorImp

typedef void  (*IterFunc) (T&, void *)

(*IterFunc)

typedef int  (*CondFunc) (const T &, void *)

(*CondFunc)

 TMIHashTableImp ( unsigned size = DEFAULT_HASH_TABLE_SIZE )

TMIHashTableImp

 ~TMIHashTableImp ()

~TMIHashTableImp

[virtual]

int  Add ( T *t )

Add

int  Detach ( T *t, int del = 0 )

Detach

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 ( int del = 0 )

Flush

unsigned  GetHashValue ( const TVoidPointer& t )

GetHashValue

[private const]

Reimplemented from TMInternalHashImp.

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 int  Add ( T *t )

Add

[private]

template int  Detach ( T *t, int del )

Detach

[private]

template void  Flush ( int del )

Flush

[private]


Generated by: nicola on gulliver.wadahome.it on Sun May 25 13:54:34 2003, using kdoc 2.0a53.