C4 Engine
C4 Engine API Documentation

class HashTableElement

Defined in:  TSHash.h
Objects inherit from the HashTableElement class so that they can be stored in a hash table.

template <class type> class HashTableElement : public HashTableElementBase

Template Parameters
type The type of the class that can be stored in a hash table. This parameter should be the type of the class that inherits directly from the HashTableElement class.


The HashTableElement class should be declared as a base class for objects that need to be stored in a hash table. The type template parameter should match the class type of such objects, and these objects can be stored in a HashTable container declared with the same type template parameter.
Base Classes
HashTableElementBase Used internally to encapsulate common functionality that is independent of the template parameter.
See Also