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

TinkerHash.H File Reference

#include <string.h>

Go to the source code of this file.

Compounds

class  hashtable
class  hashtable_element

Defines

#define TINKERHASH_DEBUG
#define DEFAULT_HASHTABLE_SIZE   (10)

Typedefs

typedef void * tinkerhash_pvoid

Enumerations

enum  tinkerhash_types {
  THT_EMPTY, THT_CHAR, THT_INT, THT_DOUBLE,
  THT_POINTER
}

Functions

int hashfunc (char *key, int modder)


Define Documentation

#define DEFAULT_HASHTABLE_SIZE   (10)
 

Definition at line 21 of file src/TinkerHash.H.

#define TINKERHASH_DEBUG
 

Definition at line 9 of file src/TinkerHash.H.


Typedef Documentation

typedef void* tinkerhash_pvoid
 

Definition at line 18 of file src/TinkerHash.H.


Enumeration Type Documentation

enum tinkerhash_types
 

Enumeration values:
THT_EMPTY 
THT_CHAR 
THT_INT 
THT_DOUBLE 
THT_POINTER 

Definition at line 19 of file src/TinkerHash.H.


Function Documentation

int hashfunc char *  key,
int  modder
[static]
 

Definition at line 55 of file src/TinkerHash.H.

References i, and strlen().

Referenced by hashtable::Delete(), hashtable::Lookup(), hashtable::Set(), and hashtable::TypeOf().


Generated on Mon Jul 21 20:30:39 2003 for TINKER LEGO DOC by doxygen 1.3.2