#include <IDREF_Base.h>
Public Types | |
typedef ACE_Hash_Map_Manager < ACE_CString, T, ACE_Null_Mutex > | IDREF_MAP |
typedef ACE_Hash_Map_Manager < T, ACE_CString, ACE_Null_Mutex > | POS_MAP |
Public Member Functions | |
IDREF_Base () | |
IDREF_Base (T start_point) | |
void | bind_ref (ACE_CString &id, T value) |
Bind an IDREF to an index. | |
void | bind_next_available (ACE_CString &id) |
void | find_ref (const ACE_CString &id, T &value) |
Get the index associated with an IDREF. | |
void | find_ref (const T &value, ACE_CString &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_ |
T | next_ |
typedef ACE_Hash_Map_Manager<ACE_CString,T,ACE_Null_Mutex> CIAO::Config_Handlers::IDREF_Base< T >::IDREF_MAP |
typedef ACE_Hash_Map_Manager<T,ACE_CString,ACE_Null_Mutex> CIAO::Config_Handlers::IDREF_Base< T >::POS_MAP |
CIAO::Config_Handlers::IDREF_Base< T >::IDREF_Base | ( | ) | [inline] |
CIAO::Config_Handlers::IDREF_Base< T >::IDREF_Base | ( | T | start_point | ) | [inline] |
void CIAO::Config_Handlers::IDREF_Base< T >::bind_ref | ( | ACE_CString & | id, | |
T | value | |||
) | [inline] |
Bind an IDREF to an index.
void CIAO::Config_Handlers::IDREF_Base< T >::bind_next_available | ( | ACE_CString & | id | ) | [inline] |
void CIAO::Config_Handlers::IDREF_Base< T >::find_ref | ( | const ACE_CString & | id, | |
T & | value | |||
) | [inline] |
Get the index associated with an IDREF.
void CIAO::Config_Handlers::IDREF_Base< T >::find_ref | ( | const T & | value, | |
ACE_CString & | id | |||
) | [inline] |
get the IDREF associated with an index
bool CIAO::Config_Handlers::IDREF_Base< T >::unbind_refs | ( | void | ) | [inline] |
Unbind all IDREFS.
IDREF_MAP CIAO::Config_Handlers::IDREF_Base< T >::idref_map_ [protected] |
The map used to store and look up the indexes of elements referenced by their IDREF.
POS_MAP CIAO::Config_Handlers::IDREF_Base< T >::pos_map_ [protected] |
The map used to store and look up the IDREFS of elements referenced by their index.
T CIAO::Config_Handlers::IDREF_Base< T >::next_ [protected] |