| TAO_CosNaming
    2.1.9
    | 
This abstract base class defines an interface for hash-based data structures used in implementations of NamingContext (i.e., TAO_Transient_Naming_Context and TAO_Persistent_Naming_Context) More...
#include <Hash_Naming_Context.h>


| Public Member Functions | |
| virtual | ~TAO_Bindings_Map (void) | 
| Destructor.  More... | |
| virtual size_t | current_size (void)=0 | 
| virtual int | bind (const char *id, const char *kind, CORBA::Object_ptr obj, CosNaming::BindingType type)=0 | 
| virtual int | rebind (const char *id, const char *kind, CORBA::Object_ptr obj, CosNaming::BindingType type)=0 | 
| virtual int | unbind (const char *id, const char *kind)=0 | 
| virtual int | find (const char *id, const char *kind, CORBA::Object_ptr &obj, CosNaming::BindingType &type)=0 | 
This abstract base class defines an interface for hash-based data structures used in implementations of NamingContext (i.e., TAO_Transient_Naming_Context and TAO_Persistent_Naming_Context)
Define an interface for several hash-based data structures, so that we can write some code that would work with any of them, i.e., TAO_Hash_Naming_Context.
| 
 | virtual | 
Destructor.
| 
 | pure virtual | 
Add a binding with the specified parameters to the table. Return 0 on success and -1 on failure, 1 if there already is a binding with <id> and <kind>.
Implemented in TAO_Storable_Bindings_Map, TAO_Persistent_Bindings_Map, and TAO_Transient_Bindings_Map.
| 
 | pure virtual | 
Return current number of entries (name bindings) in the underlying hash map.
Implemented in TAO_Storable_Bindings_Map, TAO_Persistent_Bindings_Map, and TAO_Transient_Bindings_Map.
| 
 | pure virtual | 
Find the binding containing <id> and <kind> in the table, and pass binding's type and object back to the caller by reference. Return 0 on success and -1 on failure. Note: a 'duplicated' object reference is assigned to <obj>, so the caller is responsible for its deallocation.
Implemented in TAO_Storable_Bindings_Map, TAO_Persistent_Bindings_Map, and TAO_Transient_Bindings_Map.
| 
 | pure virtual | 
Overwrite a binding containing <id> and <kind> (or create a new one if one doesn't exist) with the specified parameters. Returns -1 on failure.
Implemented in TAO_Storable_Bindings_Map, TAO_Persistent_Bindings_Map, and TAO_Transient_Bindings_Map.
| 
 | pure virtual | 
Remove a binding containing <id> and <kind> from the table. Return 0 on success and -1 on failure.
Implemented in TAO_Storable_Bindings_Map, TAO_Persistent_Bindings_Map, and TAO_Transient_Bindings_Map.
 1.8.3.1
 1.8.3.1