#include <IDREF_Base.h>
Collaboration diagram for CIAO::Config_Handlers::IDREF_Base< T >:
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 | |
void | bind_ref (ACE_CString &id, T value) throw (Config_Error) |
Bind an IDREF to an index. | |
void | find_ref (const ACE_CString &id, T &value) throw (Config_Error) |
Get the index associated with an IDREF. | |
void | find_ref (const T &value, ACE_CString &id) throw (Config_Error) |
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. |