Facebook Twitter YouTube

class HashTableElement

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

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.
Constructor

HashTableElement();

Description
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

HashTable