ACE  6.3.3
Public Member Functions | Public Attributes | List of all members
ACE_Hash_Map_Entry< EXT_ID, INT_ID > Class Template Reference

Define an entry in the hash table. More...

#include <Hash_Map_Manager_T.h>

Collaboration diagram for ACE_Hash_Map_Entry< EXT_ID, INT_ID >:
Collaboration graph
[legend]

Public Member Functions

 ACE_Hash_Map_Entry (const EXT_ID &ext_id, const INT_ID &int_id, ACE_Hash_Map_Entry< EXT_ID, INT_ID > *next=0, ACE_Hash_Map_Entry< EXT_ID, INT_ID > *prev=0)
 Constructor. More...
 
 ACE_Hash_Map_Entry (ACE_Hash_Map_Entry< EXT_ID, INT_ID > *next, ACE_Hash_Map_Entry< EXT_ID, INT_ID > *prev)
 Constructor. More...
 
 ~ACE_Hash_Map_Entry (void)
 Destructor. More...
 
EXT_ID & key (void)
 Key accessor. More...
 
const EXT_ID & key (void) const
 Read-only key accessor. More...
 
INT_ID & item (void)
 Item accessor. More...
 
const INT_ID & item (void) const
 Read-only item accessor. More...
 
void dump (void) const
 Dump the state of an object. More...
 

Public Attributes

EXT_ID ext_id_
 
INT_ID int_id_
 
ACE_Hash_Map_Entry< EXT_ID, INT_ID > * next_
 Pointer to the next item in the bucket of overflow nodes. More...
 
ACE_Hash_Map_Entry< EXT_ID, INT_ID > * prev_
 Pointer to the prev item in the bucket of overflow nodes. More...
 

Detailed Description

template<class EXT_ID, class INT_ID>
class ACE_Hash_Map_Entry< EXT_ID, INT_ID >

Define an entry in the hash table.

Constructor & Destructor Documentation

template<class EXT_ID, class INT_ID>
ACE_Hash_Map_Entry< EXT_ID, INT_ID >::ACE_Hash_Map_Entry ( const EXT_ID &  ext_id,
const INT_ID &  int_id,
ACE_Hash_Map_Entry< EXT_ID, INT_ID > *  next = 0,
ACE_Hash_Map_Entry< EXT_ID, INT_ID > *  prev = 0 
)

Constructor.

template<class EXT_ID, class INT_ID>
ACE_Hash_Map_Entry< EXT_ID, INT_ID >::ACE_Hash_Map_Entry ( ACE_Hash_Map_Entry< EXT_ID, INT_ID > *  next,
ACE_Hash_Map_Entry< EXT_ID, INT_ID > *  prev 
)

Constructor.

template<class EXT_ID , class INT_ID >
ACE_Hash_Map_Entry< EXT_ID, INT_ID >::~ACE_Hash_Map_Entry ( void  )

Destructor.

Member Function Documentation

template<class EXT_ID , class INT_ID >
void ACE_Hash_Map_Entry< EXT_ID, INT_ID >::dump ( void  ) const

Dump the state of an object.

template<class EXT_ID , class INT_ID >
const INT_ID & ACE_Hash_Map_Entry< EXT_ID, INT_ID >::item ( void  )

Item accessor.

template<class EXT_ID, class INT_ID>
const INT_ID& ACE_Hash_Map_Entry< EXT_ID, INT_ID >::item ( void  ) const

Read-only item accessor.

template<class EXT_ID , class INT_ID >
const EXT_ID & ACE_Hash_Map_Entry< EXT_ID, INT_ID >::key ( void  )

Key accessor.

template<class EXT_ID, class INT_ID>
const EXT_ID& ACE_Hash_Map_Entry< EXT_ID, INT_ID >::key ( void  ) const

Read-only key accessor.

Member Data Documentation

template<class EXT_ID, class INT_ID>
EXT_ID ACE_Hash_Map_Entry< EXT_ID, INT_ID >::ext_id_

Key used to look up an entry.

Deprecated:
Use key()
template<class EXT_ID, class INT_ID>
INT_ID ACE_Hash_Map_Entry< EXT_ID, INT_ID >::int_id_

The contents of the entry itself.

Deprecated:
Use item()
template<class EXT_ID, class INT_ID>
ACE_Hash_Map_Entry<EXT_ID, INT_ID>* ACE_Hash_Map_Entry< EXT_ID, INT_ID >::next_

Pointer to the next item in the bucket of overflow nodes.

template<class EXT_ID, class INT_ID>
ACE_Hash_Map_Entry<EXT_ID, INT_ID>* ACE_Hash_Map_Entry< EXT_ID, INT_ID >::prev_

Pointer to the prev item in the bucket of overflow nodes.


The documentation for this class was generated from the following files: