ABA_HASHITEM< KeyType, ItemType > Class Template Reference

see also class ABA_HASH More...

#include <hash.h>

Inheritance diagram for ABA_HASHITEM< KeyType, ItemType >:

ABA_ABACUSROOT List of all members.

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)

Detailed Description

template<class KeyType, class ItemType>
class ABA_HASHITEM< KeyType, ItemType >

see also class ABA_HASH

Definition at line 95 of file hash.h.


Constructor & Destructor Documentation

template<class KeyType, class ItemType>
ABA_HASHITEM< KeyType, ItemType >::ABA_HASHITEM ( const KeyType &  key,
const ItemType &  item 
)

The constructor.

Parameters:
key The key of the item.
item The value of the item.


Member Function Documentation

template<class KeyType, class ItemType>
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.


Friends And Related Function Documentation

template<class KeyType, class ItemType>
friend class ABA_HASH< KeyType, ItemType > [friend]

Definition at line 96 of file hash.h.

template<class KeyType, class ItemType>
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.

Returns:
A reference to the output stream.


Member Data Documentation

template<class KeyType, class ItemType>
KeyType ABA_HASHITEM< KeyType, ItemType >::key_ [private]

Definition at line 130 of file hash.h.

template<class KeyType, class ItemType>
ItemType ABA_HASHITEM< KeyType, ItemType >::item_ [private]

Definition at line 131 of file hash.h.

template<class KeyType, class ItemType>
ABA_HASHITEM<KeyType, ItemType>* ABA_HASHITEM< KeyType, ItemType >::next_ [private]

Definition at line 132 of file hash.h.


The documentation for this class was generated from the following file:
Generated on Tue Aug 14 18:09:57 2007 for ABACUS by  doxygen 1.5.1