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.

INT_ID & item (void)
 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.

Definition at line 35 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 42 of file Hash_Map_Manager_T.cpp.

00046   : ext_id_ (ext_id),
00047     int_id_ (int_id),
00048     next_ (next),
00049     prev_ (prev)
00050 {
00051 }

template<class EXT_ID, class INT_ID>
ACE_BEGIN_VERSIONED_NAMESPACE_DECL 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 34 of file Hash_Map_Manager_T.cpp.

00036   : next_ (next),
00037     prev_ (prev)
00038 {
00039 }

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

Destructor.

Definition at line 55 of file Hash_Map_Manager_T.cpp.

00056 {
00057 }


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 #if defined (ACE_HAS_DUMP)
00076   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00077   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("next_ = %d"), this->next_));
00078   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("prev_ = %d"), this->prev_));
00079   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00080 #endif /* ACE_HAS_DUMP */
00081 }

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

Item accessor.

Definition at line 67 of file Hash_Map_Manager_T.cpp.

References ACE_Hash_Map_Entry< EXT_ID, INT_ID >::int_id_.

00068 {
00069   return int_id_;
00070 }

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

Key accessor.

Definition at line 61 of file Hash_Map_Manager_T.cpp.

References ACE_Hash_Map_Entry< EXT_ID, INT_ID >::ext_id_.

00062 {
00063   return ext_id_;
00064 }


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

Definition at line 62 of file Hash_Map_Manager_T.h.

Referenced by ACE_Configuration_Heap::enumerate_sections(), ACE_Configuration_Heap::enumerate_values(), ACE_Hash_Map_Entry< EXT_ID, INT_ID >::key(), ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::rebind_i(), and ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::shared_find().

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

Definition at line 66 of file Hash_Map_Manager_T.h.

Referenced by ACE_Configuration_Heap::enumerate_values(), ACE_Hash_Cache_Map_Manager< KEY, VALUE, HASH_KEY, COMPARE_KEYS, CACHING_STRATEGY, ATTRIBUTES >::find(), ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::find_i(), ACE_Hash_Map_Entry< EXT_ID, INT_ID >::item(), ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::rebind_i(), ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::trybind_i(), ACE_Hash_Cache_Map_Manager< KEY, VALUE, HASH_KEY, COMPARE_KEYS, CACHING_STRATEGY, ATTRIBUTES >::unbind(), and ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::unbind_i().

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.

Definition at line 69 of file Hash_Map_Manager_T.h.

Referenced by ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::bind_i(), ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::shared_find(), ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::trybind_i(), ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::unbind_all_i(), and ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::unbind_i().

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.

Definition at line 72 of file Hash_Map_Manager_T.h.

Referenced by ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::unbind_all_i(), and ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::unbind_i().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:22:58 2006 for ACE by doxygen 1.3.6