Main Page | Namespace List | Class Hierarchy | Class List | Class Members | Related Pages

ranab::img::gif::GifImage::GifHash Class Reference

Collaboration diagram for ranab::img::gif::GifImage::GifHash:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GifHash ()
void reset ()
int findMatch (short codePrefix, byte charValue)
CodeEntry getCodeEntry (int index)

Detailed Description

code entry hashtable


Constructor & Destructor Documentation

ranab::img::gif::GifImage::GifHash::GifHash  )  [inline]
 

Initialize the array


Member Function Documentation

int ranab::img::gif::GifImage::GifHash::findMatch short  codePrefix,
byte  charValue
[inline]
 

Hashing routine. It tries to find a match for the prefix + char string in the string table. If found, returns the index, else returns the first available index.

CodeEntry ranab::img::gif::GifImage::GifHash::getCodeEntry int  index  )  [inline]
 

Get code entry object

void ranab::img::gif::GifImage::GifHash::reset  )  [inline]
 

Reset the array


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 17:03:05 2005 by  doxygen 1.3.9.1