irstlm/src/htable.h File Reference

#include <iostream>

Include dependency graph for htable.h:

This graph shows which files directly or indirectly include this file:

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

Referenced by htable::htable().

#define Prime1   37

Referenced by htable::HashStr().

#define Prime2   1048583

Referenced by htable::HashStr().


Typedef Documentation

typedef unsigned int address

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

enum HTYPE

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


Generated on Fri Jul 30 20:05:14 2010 for Moses by  doxygen 1.5.9