Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Hash Class Reference

#include <Hash.h>

Inheritance diagram for Hash:


Collaboration diagram for Hash:

List of all members.

Public Members

 Hash (Int n = 0)
Void SetVoidItem (StrConst s, Void *data)
VoidGetVoidItem (StrConst s)
Bool ItemExists (StrConst s)
Void DeleteItem (StrConst s)
Void Iterate (HashIter &iter)
HashEntryFind (StrConst s)
Int Init (Int n)
virtual Void FreeData (Void *data)
Void FreeKey (Char *key)
Void FreeTable ()
ULong CalcHash (StrConst s)

Protected Members

Int numDeleted
Bool copyKey

Detailed Description

Definition at line 31 of file Hash.h.

Constructor & Destructor Documentation

Hash::Hash (Int n = 0)

Definition at line 35 of file

Member Function Documentation

ULong Hash::CalcHash (StrConst s)

Definition at line 101 of file

Void Hash::DeleteItem (StrConst s)

Definition at line 210 of file

HashEntry * Hash::Find (StrConst s)

Definition at line 114 of file

Void Hash::FreeData (Void * data) [virtual]

Reimplemented in IntHash.

Definition at line 237 of file

Void Hash::FreeKey (Char * key)

Definition at line 241 of file

Void Hash::FreeTable ()

Definition at line 248 of file

Void * Hash::GetVoidItem (StrConst s) [inline]

Definition at line 37 of file Hash.h.

Int Hash::Init (Int n)

Bool Hash::ItemExists (StrConst s) [inline]

Definition at line 45 of file Hash.h.

Void Hash::Iterate (HashIter & iter)

Definition at line 228 of file

Void Hash::SetVoidItem (StrConst s, Void * data)

Definition at line 191 of file

Member Data Documentation

Bool Hash::copyKey [protected]

Definition at line 79 of file Hash.h.

Int Hash::numDeleted [protected]

Definition at line 78 of file Hash.h.

Array<HashEntry> Hash::table [protected]

Definition at line 77 of file Hash.h.

The documentation for this class was generated from the following files:
Generated at Sat Aug 5 00:16:33 2000 for Class Library by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000