/disk4/html/www/moses/doxygen/irstlm/trunk/src/htable.h File Reference

#include <iostream>
#include <string>
#include <cstring>
#include "mempool.h"

Go to the source code of this file.

Classes

struct  entry< T >
class  htable< T >
 T is the type of the key and should be (int*) or (char*). More...

Defines

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

Typedefs

typedef unsigned int address

Enumerations

enum  HT_ACTION { HT_FIND, HT_ENTER, HT_INIT, HT_CONT }


Define Documentation

#define BlockSize   100

Definition at line 35 of file htable.h.

Referenced by htable< T >::htable().

#define Prime1   37

Definition at line 33 of file htable.h.

Referenced by htable< T >::Hash().

#define Prime2   1048583

Definition at line 34 of file htable.h.

Referenced by htable< T >::Hash().


Typedef Documentation

typedef unsigned int address

Definition at line 37 of file htable.h.


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 49 of file htable.h.


Generated on Thu Jul 6 00:31:23 2017 for Moses by  doxygen 1.5.9