#include <IDREF_Base.h>
Collaboration diagram for CIAO::Config_Handlers::IDREF_Base:
Public Types | |
typedef ACE_Hash_Map_Manager< ACE_CString, size_t, ACE_Null_Mutex > | IDREF_MAP |
typedef ACE_Hash_Map_Manager< size_t, ACE_CString, ACE_Null_Mutex > | POS_MAP |
Public Member Functions | |
bool | bind_ref (ACE_CString &id, size_t index) |
Bind an IDREF to an index. | |
bool | find_ref (const ACE_CString &id, size_t &val) |
Get the index associated with an IDREF. | |
bool | find_ref (const size_t id, ACE_CString &val) |
get the IDREF associated with an index | |
bool | unbind_refs (void) |
Unbind all IDREFS. | |
Protected Attributes | |
IDREF_MAP | idref_map_ |
POS_MAP | pos_map_ |
|
|
|
|
|
Bind an IDREF to an index.
|
|
get the IDREF associated with an index
|
|
Get the index associated with an IDREF.
|
|
Unbind all IDREFS.
|
|
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. |