#include <SimpleHashTable.h>
Inheritance diagram for SimpleHashTable::

Public Methods | |
| SimpleHashTable (const char *nameBuff="Unnamed") | |
| Constructor, which specifies the name for the hash table. | |
| SimpleHashTable (size_type init_size, const char *nameBuff="Unnamed") | |
| Constructor, which specifies the size and name for the hash table. | |
The SimpleHashTable class is derived from AbstractHashtable, which defines the basic operations of the hash table. This particular instantiation of hash tables uses a simple data type for the key, and no auxillary data is associated with the key. This greatly simplifies the definition of the hash table, but it assumes that copying the key is relatively inexpensive (e.g. no memory allocation/deallocation is required).
This template class can be instantiated with a data type for which the following methods are defined: