DAnCE  ..
Public Types | Public Member Functions | Protected Attributes
DAnCE::Config_Handlers::IDREF_Base Class Reference

#include <IDREF_Base.h>

Collaboration diagram for DAnCE::Config_Handlers::IDREF_Base:
Collaboration graph
[legend]

List of all members.

Public Types

typedef ACE_Hash_Map_Manager
< ACE_TString, T,
ACE_Null_Mutex
IDREF_MAP
typedef ACE_Hash_Map_Manager
< T, ACE_TString,
ACE_Null_Mutex
POS_MAP

Public Member Functions

 IDREF_Base ()
 IDREF_Base (T start_point)
void bind_ref (ACE_TString &id, T value)
 Bind an IDREF to an index.
void bind_next_available (ACE_TString &id)
void find_ref (const ACE_TString &id, T &value)
 Get the index associated with an IDREF.
void find_ref (const T &value, ACE_TString &id)
 get the IDREF associated with an index
bool unbind_refs (void)
 Unbind all IDREFS.

Protected Attributes

IDREF_MAP idref_map_
POS_MAP pos_map_
next_

Member Typedef Documentation


Constructor & Destructor Documentation

DAnCE::Config_Handlers::IDREF_Base::IDREF_Base ( ) [inline]
DAnCE::Config_Handlers::IDREF_Base::IDREF_Base ( start_point) [inline]

Member Function Documentation

void DAnCE::Config_Handlers::IDREF_Base::bind_next_available ( ACE_TString id)
void DAnCE::Config_Handlers::IDREF_Base::bind_ref ( ACE_TString id,
value 
)

Bind an IDREF to an index.

void DAnCE::Config_Handlers::IDREF_Base::find_ref ( const ACE_TString id,
T &  value 
)

Get the index associated with an IDREF.

void DAnCE::Config_Handlers::IDREF_Base::find_ref ( const T &  value,
ACE_TString id 
)

get the IDREF associated with an index

bool DAnCE::Config_Handlers::IDREF_Base::unbind_refs ( void  )

Unbind all IDREFS.


Member Data Documentation

The map used to store and look up the indexes of elements referenced by their IDREF.

The map used to store and look up the IDREFS of elements referenced by their index.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines