DAnCE ..
Public Types | Public Member Functions | Protected Attributes
DAnCE::Config_Handlers::IDREF_Base< T > Class Template Reference

#include <IDREF_Base.h>

Collaboration diagram for DAnCE::Config_Handlers::IDREF_Base< T >:
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_

template<typename T>
class DAnCE::Config_Handlers::IDREF_Base< T >


Member Typedef Documentation


Constructor & Destructor Documentation

template<typename T>
DAnCE::Config_Handlers::IDREF_Base< T >::IDREF_Base ( ) [inline]
template<typename T>
DAnCE::Config_Handlers::IDREF_Base< T >::IDREF_Base ( start_point) [inline]

Member Function Documentation

template<typename T >
void DAnCE::Config_Handlers::IDREF_Base< T >::bind_next_available ( ACE_TString id)
template<typename T>
void DAnCE::Config_Handlers::IDREF_Base< T >::bind_ref ( ACE_TString id,
value 
)

Bind an IDREF to an index.

template<typename T>
void DAnCE::Config_Handlers::IDREF_Base< T >::find_ref ( const T &  value,
ACE_TString id 
)

get the IDREF associated with an index

template<typename T>
void DAnCE::Config_Handlers::IDREF_Base< T >::find_ref ( const ACE_TString id,
T &  value 
)

Get the index associated with an IDREF.

template<typename T >
bool DAnCE::Config_Handlers::IDREF_Base< T >::unbind_refs ( void  )

Unbind all IDREFS.


Member Data Documentation

template<typename T>
IDREF_MAP DAnCE::Config_Handlers::IDREF_Base< T >::idref_map_ [protected]

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

template<typename T>
T DAnCE::Config_Handlers::IDREF_Base< T >::next_ [protected]
template<typename T>
POS_MAP DAnCE::Config_Handlers::IDREF_Base< T >::pos_map_ [protected]

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