#include <hash.h>
Inheritance diagram for ABA_HASHITEM< KeyType, ItemType >:
Public Member Functions | |
ABA_HASHITEM (const KeyType &key, const ItemType &item) | |
ABA_HASHITEM< KeyType, ItemType > * | next () |
Returns a pointer to the next hash-item stored in the linked list corresponding to the slot of this item. | |
Private Attributes | |
KeyType | key_ |
ItemType | item_ |
ABA_HASHITEM< KeyType, ItemType > * | next_ |
Friends | |
class | ABA_HASH< KeyType, ItemType > |
ostream & | operator<< (ostream &out, const ABA_HASHITEM< KeyType, ItemType > &rhs) |
Definition at line 95 of file hash.h.
ABA_HASHITEM< KeyType, ItemType >::ABA_HASHITEM | ( | const KeyType & | key, | |
const ItemType & | item | |||
) |
The constructor.
key | The key of the item. | |
item | The value of the item. |
ABA_HASHITEM<KeyType, ItemType>* ABA_HASHITEM< KeyType, ItemType >::next | ( | ) |
Returns a pointer to the next hash-item stored in the linked list corresponding to the slot of this item.
friend class ABA_HASH< KeyType, ItemType > [friend] |
ostream& operator<< | ( | ostream & | out, | |
const ABA_HASHITEM< KeyType, ItemType > & | rhs | |||
) | [friend] |
The output operator writes the key and the value of the item on the stream out.
KeyType ABA_HASHITEM< KeyType, ItemType >::key_ [private] |
ItemType ABA_HASHITEM< KeyType, ItemType >::item_ [private] |
ABA_HASHITEM<KeyType, ItemType>* ABA_HASHITEM< KeyType, ItemType >::next_ [private] |