irstlm/src/htable.h File Reference

#include <iostream>

Go to the source code of this file.

Classes

struct  ENTRY
class  htable
 Hash Table for strings. More...

Defines

#define Prime1   37
#define Prime2   1048583
#define BlockSize   100

Typedefs

typedef struct ENTRY entry
typedef unsigned int address

Enumerations

enum  HT_ACTION { HT_FIND, HT_ENTER, HT_INIT, HT_CONT }
enum  HTYPE { STR, STRPTR, INT, INTPTR }


Define Documentation

#define BlockSize   100

Definition at line 30 of file htable.h.

Referenced by htable::htable().

#define Prime1   37

Definition at line 28 of file htable.h.

Referenced by htable::HashStr().

#define Prime2   1048583

Definition at line 29 of file htable.h.

Referenced by htable::HashStr().


Typedef Documentation

typedef unsigned int address

Definition at line 41 of file htable.h.

typedef struct ENTRY entry


Enumeration Type Documentation

enum HT_ACTION

Enumerator:
HT_FIND  search: find an entry
HT_ENTER  search: enter an entry
HT_INIT  scan: start scan
HT_CONT  scan: continue scan

Definition at line 43 of file htable.h.

enum HTYPE

Enumerator:
STR  string
STRPTR  pointer to string
INT  pointer to int
INTPTR  pointer to pointer to int

Definition at line 49 of file htable.h.


Generated on Fri Apr 15 13:04:15 2011 for Moses by  doxygen 1.5.9