List of all members.
Public Member Functions |
| | HashElement (size_t hashValue, const K &key, const I &info) |
| | Creates a hash element with given hash value, key, and information.
|
| HashElement< K, I > * | next () const |
| | Returns the successor element in the list.
|
| const K & | key () const |
| | Returns the key value.
|
| const I & | info () const |
| | Returns the information value.
|
| I & | info () |
| | Returns a refeence to the information value.
|
| void * | operator new (size_t nBytes) |
| void * | operator new (size_t, void *p) |
| void | operator delete (void *p, size_t nBytes) |
Private Attributes |
| K | m_key |
| | The key value.
|
| I | m_info |
| | The information value.
|
Detailed Description
template<class K, class I>
class ogdf::HashElement< K, I >
Representation of elements in a hash table.
This class adds key and information members to HashElementBase. The two template parameters are K for the type of keys and I for the type of information.
Definition at line 212 of file Hashing.h.
Constructor & Destructor Documentation
template<class K, class I>
Creates a hash element with given hash value, key, and information.
Definition at line 219 of file Hashing.h.
Member Function Documentation
template<class K, class I>
Returns the information value.
Definition at line 231 of file Hashing.h.
template<class K, class I>
Returns a refeence to the information value.
Definition at line 234 of file Hashing.h.
template<class K, class I>
Returns the key value.
Definition at line 228 of file Hashing.h.
template<class K, class I>
template<class K, class I>
template<class K, class I>
template<class K, class I>
Member Data Documentation
template<class K, class I>
The information value.
Definition at line 215 of file Hashing.h.
template<class K, class I>
The documentation for this class was generated from the following file: