ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID > Class Template Reference

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

#include <Hash_Multi_Map_Manager_T.h>

Collaboration diagram for ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ACE_Unbounded_Set<
INT_ID > 
VALUE_SET
typedef ACE_Unbounded_Set_Iterator<
INT_ID > 
VALUE_SET_ITERATOR

Public Member Functions

 ACE_Hash_Multi_Map_Entry (const EXT_ID &ext_id, const ACE_Unbounded_Set< INT_ID > &int_id_set, ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID > *next=0, ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID > *prev=0)
 Constructor.
 ACE_Hash_Multi_Map_Entry (ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID > *next, ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID > *prev)
 Constructor.
 ~ACE_Hash_Multi_Map_Entry (void)
 Destructor.
EXT_ID & key (void)
 Key accessor.
ACE_Unbounded_Set< INT_ID > & item (void)
 Item accessor.
void dump (void) const
 Dump the state of an object.

Public Attributes

EXT_ID ext_id_
ACE_Unbounded_Set< INT_ID > int_id_set_
ACE_Hash_Multi_Map_Entry<
EXT_ID, INT_ID > * 
next_
 Pointer to the next item in the bucket of overflow nodes.
ACE_Hash_Multi_Map_Entry<
EXT_ID, INT_ID > * 
prev_
 Pointer to the prev item in the bucket of overflow nodes.

Friends

class ACE_Unbounded_Set< INT_ID >

Detailed Description

template<class EXT_ID, class INT_ID>
class ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >

Define an entry in the hash table.

Definition at line 49 of file Hash_Multi_Map_Manager_T.h.


Member Typedef Documentation

template<class EXT_ID, class INT_ID>
typedef ACE_Unbounded_Set<INT_ID> ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >::VALUE_SET

Definition at line 54 of file Hash_Multi_Map_Manager_T.h.

template<class EXT_ID, class INT_ID>
typedef ACE_Unbounded_Set_Iterator<INT_ID> ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >::VALUE_SET_ITERATOR

Definition at line 55 of file Hash_Multi_Map_Manager_T.h.


Constructor & Destructor Documentation

template<class EXT_ID, class INT_ID>
ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >::ACE_Hash_Multi_Map_Entry ( const EXT_ID &  ext_id,
const ACE_Unbounded_Set< INT_ID > &  int_id_set,
ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID > *  next = 0,
ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID > *  prev = 0 
)

Constructor.

Definition at line 40 of file Hash_Multi_Map_Manager_T.cpp.

00044   : ext_id_ (ext_id),
00045     int_id_set_ (int_id_set),
00046     next_ (next),
00047     prev_ (prev)
00048 {
00049 }

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

Constructor.

Definition at line 32 of file Hash_Multi_Map_Manager_T.cpp.

00034   : next_ (next),
00035     prev_ (prev)
00036 {
00037 }

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

Destructor.

Definition at line 53 of file Hash_Multi_Map_Manager_T.cpp.

00054 {
00055 }


Member Function Documentation

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

Dump the state of an object.

Definition at line 71 of file Hash_Multi_Map_Manager_T.cpp.

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

00072 {
00073 #if defined (ACE_HAS_DUMP)
00074   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00075   ACE_DEBUG ((LM_DEBUG,  ACE_TEXT ("next_ = %d"), this->next_));
00076   ACE_DEBUG ((LM_DEBUG,  ACE_TEXT ("prev_ = %d"), this->prev_));
00077   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00078 #endif /* ACE_HAS_DUMP */
00079 }

template<class EXT_ID, class INT_ID>
ACE_Unbounded_Set< INT_ID > & ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >::item ( void   ) 

Item accessor.

Definition at line 65 of file Hash_Multi_Map_Manager_T.cpp.

References ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >::int_id_set_.

00066 {
00067   return int_id_set_;
00068 }

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

Key accessor.

Definition at line 59 of file Hash_Multi_Map_Manager_T.cpp.

References ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >::ext_id_.

00060 {
00061   return ext_id_;
00062 }


Friends And Related Function Documentation

template<class EXT_ID, class INT_ID>
friend class ACE_Unbounded_Set< INT_ID > [friend]

Definition at line 52 of file Hash_Multi_Map_Manager_T.h.


Member Data Documentation

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

Key used to look up an entry.

Deprecated:
Use key()

Definition at line 81 of file Hash_Multi_Map_Manager_T.h.

Referenced by ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >::key(), ACE_Hash_Multi_Map_Manager< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::rebind_i(), and ACE_Hash_Multi_Map_Manager< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::shared_find().

template<class EXT_ID, class INT_ID>
ACE_Unbounded_Set<INT_ID> ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >::int_id_set_

The contents of the entry itself.

Deprecated:
Use item()

Definition at line 85 of file Hash_Multi_Map_Manager_T.h.

Referenced by ACE_Hash_Multi_Map_Manager< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::find_i(), ACE_Hash_Multi_Map_Entry< EXT_ID, INT_ID >::item(), ACE_Hash_Multi_Map_Manager< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::rebind_i(), ACE_Hash_Multi_Map_Manager< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::trybind_i(), and ACE_Hash_Multi_Map_Manager< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::unbind_i().

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

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

Definition at line 88 of file Hash_Multi_Map_Manager_T.h.

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

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

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

Definition at line 91 of file Hash_Multi_Map_Manager_T.h.

Referenced by ACE_Hash_Multi_Map_Manager< 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 Tue Feb 2 17:35:12 2010 for ACE by  doxygen 1.4.7