Public Member Functions | Public Attributes

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]

List of all members.

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.
 ACE_Hash_Map_Entry (ACE_Hash_Map_Entry< EXT_ID, INT_ID > *next, ACE_Hash_Map_Entry< EXT_ID, INT_ID > *prev)
 Constructor.
 ~ACE_Hash_Map_Entry (void)
 Destructor.
EXT_ID & key (void)
 Key accessor.
const EXT_ID & key (void) const
 Read-only key accessor.
INT_ID & item (void)
 Item accessor.
const INT_ID & item (void) const
 Read-only item accessor.
void dump (void) const
 Dump the state of an object.

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.
ACE_Hash_Map_Entry< EXT_ID,
INT_ID > * 
prev_
 Pointer to the prev item in the bucket of overflow nodes.

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   )  const

Read-only item accessor.

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 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines