|
Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
|
#include <HashTable.h>
Public Member Functions | |
| HashItem () | |
| ~HashItem () | |
| int | GetKey () const |
| void | SetKey (int k) |
| T | GetObject () |
| void | SetObj (T obj) |
| bool | operator== (const HashItem &item) |
| HashItem & | operator= (const HashItem &item) |
Represents a key-value pair for entry in a HashTable. The key is of type int and the value is of type T.
|
inline |
HashItem constructor.
|
inline |
HashItem destructor.
|
inline |
Returns the key of the key-value pair.
|
inline |
Returns a copy of the value.
|
inline |
Sets the key and value of this HashItem equal to the input item's.
|
inline |
Checks if the two HashItem keys are equal.
|
inline |
Set the key of the key-value pair.
|
inline |
Stores a copy of the value.