#include <ValueFactory_Map.h>
Collaboration diagram for TAO_ValueFactory_Map:
Public Methods | |
TAO_ValueFactory_Map () | |
~TAO_ValueFactory_Map () | |
int | rebind (const char *repo_id, CORBA_ValueFactory &factory) |
Associate the factory (int_id) with the repo_id (ext_id). More... | |
int | unbind (const char *repo_id, CORBA_ValueFactory &factory) |
Removes entry for repo_id from the map and sets factory to the tied one. More... | |
int | find (const char *repo_id, CORBA_ValueFactory &factory) |
Lookup a matching factory for repo_id. More... | |
void | dump (void) |
Private Types | |
typedef ACE_Hash_Map_Manager_Ex< const char *, CORBA_ValueFactory, ACE_Hash< const char *>, ACE_Equal_To< const char *>, TAO_SYNCH_RW_MUTEX > | FACTORY_MAP_MANAGER |
The hash table data structure. More... | |
Private Attributes | |
FACTORY_MAP_MANAGER | map_ |
|
The hash table data structure.
|
|
|
|
|
|
|
|
Lookup a matching factory for repo_id. Invokes _add_ref () on the factory if found. Returns -1 on failure and 0 on success. |
|
Associate the factory (int_id) with the repo_id (ext_id). Invokes _add_ref () on the factory. If previous factory had been bind with this repo_id, this one is returned in factory (and the caller holds a reference). Returns -1 on failure, 0 on success and 1 if a previous factory is found (and returned in factory). |
|
Removes entry for repo_id from the map and sets factory to the tied one.
|
|
|