Items in hash tables. More...
#include <ogdf/lib/abacus/hash.h>
Inheritance diagram for abacus::AbaHashItem< KeyType, ItemType >:Public Member Functions | |
| AbaHashItem (const KeyType &key, const ItemType &item) | |
| The constructor. | |
| AbaHashItem< KeyType, ItemType > * | next () |
| Returns a pointer to the next hash-item stored in the linked list corresponding to the slot of this item. | |
| 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. | |
Public Member Functions inherited from abacus::AbacusRoot | |
| virtual | ~AbacusRoot () |
| The destructor. | |
Private Attributes | |
| ItemType | item_ |
| KeyType | key_ |
| AbaHashItem< KeyType, ItemType > * | next_ |
Friends | |
| class | AbaHash< KeyType, ItemType > |
| std::ostream & | operator<< (std::ostream &, const AbaHashItem< KeyType, ItemType > &) |
| The output operator writes the key and the value of the item on the stream out. | |
Additional Inherited Members | |
Static Public Member Functions inherited from abacus::AbacusRoot | |
| static bool | ascii2bool (const string &str) |
| Converts the string str to a boolean value. | |
| static bool | endsWith (const string &str, const string &end) |
| Returns true if str ends with end, false otherwise. | |
| static double | fracPart (double x) |
| Returns the absolute value of the fractional part of x. | |
| static const char * | onOff (bool value) |
| Converts a boolean variable to the strings "on" and "off". | |
Items in hash tables.
| abacus::AbaHashItem< KeyType, ItemType >::AbaHashItem | ( | const KeyType & | key, |
| const ItemType & | item | ||
| ) |
The constructor.
| key | The key of the item. |
| item | The value of the item. |
| AbaHashItem< KeyType, ItemType > * abacus::AbaHashItem< KeyType, ItemType >::next | ( | ) |
Returns a pointer to the next hash-item stored in the linked list corresponding to the slot of this item.
| const AbaHashItem< KeyType, ItemType > * abacus::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.
|
friend |
The output operator writes the key and the value of the item on the stream out.
|
private |
|
private |
|
private |