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

ACE_Map_Entry Class Template Reference

An entry in the Map. More...

#include <Map_Manager.h>

Inheritance diagram for ACE_Map_Entry:

Inheritance graph
[legend]
Collaboration diagram for ACE_Map_Entry:

Collaboration graph
[legend]
List of all members.

Public Methods

 ~ACE_Map_Entry (void)
 We need this destructor to keep some compilers from complaining. It's just a no-op, however. More...

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

ACE_UINT32 next (void) const
 Get next entry. More...

void next (ACE_UINT32 n)
 Set next entry. More...

ACE_UINT32 prev (void) const
 Get prev entry. More...

void prev (ACE_UINT32 p)
 Set prev entry. 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_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...

ACE_UINT32 next_
 Keeps track of the next entry. More...

ACE_UINT32 prev_
 Keeps track of the previous entry. More...


Detailed Description

template<class EXT_ID, class INT_ID>
class ACE_Map_Entry< EXT_ID, INT_ID >

An entry in the Map.

Definition at line 36 of file Map_Manager.h.


Constructor & Destructor Documentation

template<class EXT_ID, class INT_ID>
ACE_INLINE ACE_Map_Entry< EXT_ID, INT_ID >::~ACE_Map_Entry void   
 

We need this destructor to keep some compilers from complaining. It's just a no-op, however.

Definition at line 6 of file Map_Manager.i.

00007 {
00008   // No-op just to keep some compilers happy...
00009 }


Member Function Documentation

template<class EXT_ID, class INT_ID>
void ACE_Map_Entry< EXT_ID, INT_ID >::dump void    const
 

Dump the state of an object.

Definition at line 602 of file Map_Manager.cpp.

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

00603 {
00604   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00605   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("next_ = %d"), this->next_));
00606   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("prev_ = %d"), this->prev_));
00607 
00608 #if defined (ACE_HAS_LAZY_MAP_MANAGER)
00609   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("free_ = %d"), this->free_));
00610 #endif /* ACE_HAS_LAZY_MAP_MANAGER */
00611 
00612   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00613 }

template<class EXT_ID, class INT_ID>
ACE_INLINE void ACE_Map_Entry< EXT_ID, INT_ID >::next ACE_UINT32    n
 

Set next entry.

Definition at line 19 of file Map_Manager.i.

References next_.

00020 {
00021   this->next_ = n;
00022 }

template<class EXT_ID, class INT_ID>
ACE_INLINE ACE_UINT32 ACE_Map_Entry< EXT_ID, INT_ID >::next void    const
 

Get next entry.

Definition at line 13 of file Map_Manager.i.

References next_.

Referenced by ACE_Map_Manager::resize_i, ACE_Map_Manager::shared_move, and ACE_Map_Manager::unbind_all.

00014 {
00015   return this->next_;
00016 }

template<class EXT_ID, class INT_ID>
ACE_INLINE void ACE_Map_Entry< EXT_ID, INT_ID >::prev ACE_UINT32    p
 

Set prev entry.

Definition at line 31 of file Map_Manager.i.

References prev_.

00032 {
00033   this->prev_ = p;
00034 }

template<class EXT_ID, class INT_ID>
ACE_INLINE ACE_UINT32 ACE_Map_Entry< EXT_ID, INT_ID >::prev void    const
 

Get prev entry.

Definition at line 25 of file Map_Manager.i.

References prev_.

Referenced by ACE_Map_Manager::resize_i, and ACE_Map_Manager::shared_move.

00026 {
00027   return this->prev_;
00028 }


Member Data Documentation

template<class EXT_ID, class INT_ID>
ACE_Map_Entry::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Definition at line 55 of file Map_Manager.h.

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

Key used to look up an entry.

Definition at line 46 of file Map_Manager.h.

Referenced by ACE_Map_Manager::rebind_i.

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

The contents of the entry itself.

Definition at line 49 of file Map_Manager.h.

Referenced by ACE_Map_Manager::rebind_i.

template<class EXT_ID, class INT_ID>
ACE_UINT32 ACE_Map_Entry::next_
 

Keeps track of the next entry.

Definition at line 73 of file Map_Manager.h.

Referenced by next.

template<class EXT_ID, class INT_ID>
ACE_UINT32 ACE_Map_Entry::prev_
 

Keeps track of the previous entry.

Definition at line 76 of file Map_Manager.h.

Referenced by prev.


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