|
Mount Fuji Engine
0.8b
|
Hash List. More...
Public Member Functions | |
| const T * | operator[] (const char *pHashString) const |
| Operator overload for the offset operator to index the hash list by string. More... | |
| T * | operator[] (const char *pHashString) |
| Const operator overload for the offset operator to index the hash list by string. More... | |
| void | Init (const char *pGroupName, uint32 maxElements) |
| Initialise a hash list. More... | |
| void | Deinit () |
| Deinitialise a hash list. More... | |
| T * | Create (T *pItem, const char *pHashBuffer, int len=-1) |
| Add an item to the list. More... | |
| void | Destroy (const char *pHashBuffer, int len=-1) |
| Destroy an item in the list. More... | |
| void | Destroy (uint32 hash) |
| Destroy an item in the list. More... | |
| void | DestroyItem (T *pItem) |
| Destroy an item in the list by item pointer. More... | |
| T * | Find (const char *pHashBuffer, int len=-1) |
| Get an item in the list. More... | |
| void | Clear () |
| Clear the list. More... | |
| int | GetNumItems () |
| Get the number of items in the list. More... | |
| int | GetMaxItems () |
| Get the maximum length of the list. More... | |
| bool | IsFull () |
| Check if the list is full. More... | |
| bool | IsEmpty () |
| Check if the list is empty. More... | |
Maintains a hashed list of pointers to objects.
1.8.5