Items in hash tables.
More...
#include <ogdf/lib/abacus/hash.h>
|
| AbaHashItem (const KeyType &key, const ItemType &item) |
| The constructor. More...
|
|
AbaHashItem< KeyType, ItemType > * | next () |
| Returns a pointer to the next hash-item stored in the linked list corresponding to the slot of this item. More...
|
|
const AbaHashItem< KeyType, ItemType > * | next () const |
| Returns a const pointer to the next hash-item stored in the linked list corresponding to the slot of this item. More...
|
|
template<class KeyType, class ItemType>
class abacus::AbaHashItem< KeyType, ItemType >
Items in hash tables.
Definition at line 41 of file hash.h.
◆ AbaHashItem()
template<class KeyType , class ItemType >
The constructor.
- Parameters
-
key | The key of the item. |
item | The value of the item. |
◆ next() [1/2]
template<class KeyType , class ItemType >
Returns a pointer to the next hash-item stored in the linked list corresponding to the slot of this item.
◆ next() [2/2]
template<class KeyType , class ItemType >
Returns a const pointer to the next hash-item stored in the linked list corresponding to the slot of this item.
◆ AbaHash< KeyType, ItemType >
template<class KeyType , class ItemType >
friend class AbaHash< KeyType, ItemType > |
|
friend |
◆ operator<<
template<class KeyType , class ItemType >
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
const AbaHashItem< KeyType, ItemType > & |
|
|
) |
| |
|
friend |
The output operator writes the key and the value of the item on the stream out.
- Returns
- A reference to the output stream.
◆ item_
template<class KeyType , class ItemType >
◆ key_
template<class KeyType , class ItemType >
◆ next_
template<class KeyType , class ItemType >
The documentation for this class was generated from the following file:
- include/ogdf/lib/abacus/hash.h