#include <Entries.h>
Public Member Functions | |
| TAO_IntId (void) | |
| Constructor. | |
| TAO_IntId (CORBA::Object_ptr obj, CosNaming::BindingType type) | |
| Constructor. | |
| TAO_IntId (const TAO_IntId &rhs) | |
| Copy constructor. | |
| ~TAO_IntId (void) | |
| Destructor. | |
| void | operator= (const TAO_IntId &rhs) |
| Assignment operator (does copy memory). | |
Public Attributes | |
| CORBA::Object_ptr | ref_ |
| Object reference to be stored in a Transient Naming Context. | |
| CosNaming::BindingType | type_ |
| Binding type for . | |
This class holds CORBA Object pointer and a binding type, so they can be stored together as a for a in a hash table holding the state of a Transient Naming Context.
Definition at line 43 of file Entries.h.
|
|
Constructor.
Definition at line 20 of file Entries.cpp. References CORBA::Object::_nil().
00021 : type_ (CosNaming::nobject) 00022 { 00023 ref_ = CORBA::Object::_nil (); 00024 } |
|
||||||||||||
|
Constructor.
Definition at line 26 of file Entries.cpp. References CORBA::Object::_duplicate().
00028 : type_ (type) 00029 { 00030 ref_ = CORBA::Object::_duplicate (obj); 00031 } |
|
|
Copy constructor.
Definition at line 33 of file Entries.cpp. References CORBA::Object::_duplicate(), ref_, and type_.
00034 {
00035 type_ = rhs.type_;
00036 ref_ = CORBA::Object::_duplicate (rhs.ref_);
00037 }
|
|
|
Destructor.
Definition at line 39 of file Entries.cpp. References CORBA::release().
00040 {
00041 CORBA::release (ref_);
00042 }
|
|
|
Assignment operator (does copy memory).
Definition at line 45 of file Entries.cpp. References CORBA::Object::_duplicate(), ref_, CORBA::release(), and type_.
00046 {
00047 // check for self assignment.
00048 if (&rhs == this)
00049 return;
00050
00051 type_ = rhs.type_;
00052
00053 CORBA::release (ref_);
00054 ref_ = CORBA::Object::_duplicate (rhs.ref_);
00055 }
|
|
|
Object reference to be stored in a Transient Naming Context.
Definition at line 66 of file Entries.h. Referenced by TAO_Transient_Bindings_Map::find(), operator=(), and TAO_IntId(). |
|
|
Binding type for .
Definition at line 69 of file Entries.h. Referenced by TAO_Transient_Bindings_Map::find(), operator=(), TAO_Transient_Bindings_Map::shared_bind(), and TAO_IntId(). |
1.3.6