Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Hash_Map_Entry Class Template Reference

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

#include <Hash_Map_Manager_T.h>

Inheritance diagram for ACE_Hash_Map_Entry:

Inheritance graph
[legend]
Collaboration diagram for ACE_Hash_Map_Entry:

Collaboration graph
[legend]
List of all members.

Public Methods

 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...

void dump (void) const
 Dump the state of an object. More...


Public Attributes

EXT_ID ext_id_
 Key used to look up an entry. More...

INT_ID int_id_
 The contents of the entry itself. More...

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.

Definition at line 33 of file Hash_Map_Manager_T.h.


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.

Definition at line 54 of file Hash_Map_Manager_T.cpp.

00058   : ext_id_ (ext_id),
00059     int_id_ (int_id),
00060     next_ (next),
00061     prev_ (prev)
00062 {
00063 }

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.

Definition at line 46 of file Hash_Map_Manager_T.cpp.

00048   : next_ (next),
00049     prev_ (prev)
00050 {
00051 }

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

Destructor.

Definition at line 67 of file Hash_Map_Manager_T.cpp.

00068 {
00069 }


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.

Definition at line 73 of file Hash_Map_Manager_T.cpp.

References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, and LM_DEBUG.

00074 {
00075   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00076   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("next_ = %d"), this->next_));
00077   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("prev_ = %d"), this->prev_));
00078   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00079 }


Member Data Documentation

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

Key used to look up an entry.

Definition at line 53 of file Hash_Map_Manager_T.h.

Referenced by ACE_Configuration_Heap::enumerate_sections, ACE_Configuration_Heap::enumerate_values, ACE_Hash_Map_Manager_Ex::rebind_i, and ACE_Hash_Map_Manager_Ex::shared_find.

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

The contents of the entry itself.

Definition at line 56 of file Hash_Map_Manager_T.h.

Referenced by ACE_Configuration_Heap::enumerate_values, ACE_Hash_Map_Manager_Ex::find_i, ACE_Hash_Map_Manager_Ex::rebind_i, ACE_Capabilities::resetcaps, ACE_Hash_Map_Manager_Ex::trybind_i, ACE_Hash_Cache_Map_Manager::unbind, and ACE_Hash_Map_Manager_Ex::unbind_i.

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

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

Definition at line 59 of file Hash_Map_Manager_T.h.

Referenced by ACE_Hash_Map_Manager_Ex::bind_i, ACE_Hash_Map_Manager_Ex::shared_find, ACE_Hash_Map_Manager_Ex::trybind_i, ACE_Hash_Map_Manager_Ex::unbind_all_i, and ACE_Hash_Map_Manager_Ex::unbind_i.

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

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

Definition at line 62 of file Hash_Map_Manager_T.h.

Referenced by ACE_Hash_Map_Manager_Ex::unbind_all_i, and ACE_Hash_Map_Manager_Ex::unbind_i.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:48:34 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002