gHashGeneric Class Reference

#include <ghash.h>

Inheritance diagram for gHashGeneric:

gStorage gTop gHash gHashTriple List of all members.

Public Member Functions

virtual ~gHashGeneric ()
virtual unsigned N ()
virtual bool IsEmpty ()
virtual bool IsValidIndex (unsigned idx)
gListGetHash (unsigned idx)
virtual bool FindKey (gKey &hKey)=0
virtual unsigned Delete ()
virtual gStorageNewObject ()
virtual t_ucharToString (t_uchar *uBuf)
virtual bool SaveGuts (FILE *f)
virtual bool RestoreGuts (FILE *f)

Protected Member Functions

 gHashGeneric (eStorage aKind, unsigned hashSize)
void thisPreAllocate (unsigned toSize)
unsigned thisDelete ()
unsigned thisInsertElement ()

Protected Attributes

unsigned size
gListpLst

Constructor & Destructor Documentation

gHashGeneric::~gHashGeneric  )  [virtual]
 

Definition at line 327 of file ghash.cpp.

gHashGeneric::gHashGeneric eStorage  aKind,
unsigned  hashSize
[protected]
 

Definition at line 318 of file ghash.cpp.


Member Function Documentation

unsigned gHashGeneric::Delete  )  [virtual]
 

Definition at line 344 of file ghash.cpp.

virtual bool gHashGeneric::FindKey gKey hKey  )  [pure virtual]
 

Implemented in gHash, and gHashTriple.

gList * gHashGeneric::GetHash unsigned  idx  ) 
 

Definition at line 337 of file ghash.cpp.

Referenced by gHashTriple::Find(), gHashTriple::GetTriple(), gHash::Show(), gHash::thisAddElem(), and gHash::thisFindKey().

virtual bool gHashGeneric::IsEmpty  )  [inline, virtual]
 

Definition at line 123 of file ghash.h.

bool gHashGeneric::IsValidIndex unsigned  idx  )  [virtual]
 

Definition at line 332 of file ghash.cpp.

Referenced by GetHash().

virtual unsigned gHashGeneric::N  )  [inline, virtual]
 

Definition at line 120 of file ghash.h.

gStorage * gHashGeneric::NewObject  )  [virtual]
 

Implements gStorage.

Definition at line 351 of file ghash.cpp.

bool gHashGeneric::RestoreGuts FILE *  f  )  [virtual]
 

Implements gStorage.

Reimplemented in gHash.

Definition at line 375 of file ghash.cpp.

Referenced by gHash::RestoreGuts().

bool gHashGeneric::SaveGuts FILE *  f  )  [virtual]
 

Implements gStorage.

Reimplemented in gHash.

Definition at line 370 of file ghash.cpp.

Referenced by gHash::SaveGuts().

unsigned gHashGeneric::thisDelete  )  [protected]
 

Definition at line 388 of file ghash.cpp.

Referenced by Delete(), and ~gHashGeneric().

unsigned gHashGeneric::thisInsertElement  )  [inline, protected]
 

Definition at line 147 of file ghash.h.

Referenced by gHash::thisAddElem().

void gHashGeneric::thisPreAllocate unsigned  toSize  )  [protected]
 

Definition at line 380 of file ghash.cpp.

Referenced by Delete(), and gHashGeneric().

t_uchar * gHashGeneric::ToString t_uchar uBuf  )  [virtual]
 

Implements gStorage.

Reimplemented in gHash.

Definition at line 357 of file ghash.cpp.

Referenced by gHash::ToString().


Member Data Documentation

gList* gHashGeneric::pLst [protected]
 

Definition at line 143 of file ghash.h.

Referenced by GetHash(), thisDelete(), and thisPreAllocate().

unsigned gHashGeneric::size [protected]
 

Definition at line 142 of file ghash.h.

Referenced by gHash::Add(), gHashTriple::AddTriple(), Delete(), gHashTriple::Find(), IsValidIndex(), N(), gHash::Show(), thisDelete(), gHash::thisFindKey(), and thisPreAllocate().


The documentation for this class was generated from the following files:
Generated on Sat Aug 18 02:41:07 2007 for xpfweb_v2x lib by  doxygen 1.4.2