#include <hashtable.h>
Public Member Functions | |
| HashTable (int size) | |
| ~HashTable () | |
| void | Add (StrNode *n) |
| StrNode * | Find (const string &str) const |
Private Attributes | |
| int | htable_size |
| StrList * | htable |
| HashTable::HashTable | ( | int | size | ) | [inline] |
Constructor.
| HashTable::~HashTable | ( | ) | [inline] |
Destructor.
| void HashTable::Add | ( | StrNode * | n | ) | [inline] |
Adds an entry to the hashtable.
| StrNode * HashTable::Find | ( | const string & | str | ) | const [inline] |
Searches Hash table for entry.
int HashTable::htable_size [private] |
StrList* HashTable::htable [private] |
1.5.3