#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 23 of file Entries.cpp. References CORBA::Object::_nil().
00024 : type_ (CosNaming::nobject) 00025 { 00026 ref_ = CORBA::Object::_nil (); 00027 } |
|
Constructor.
Definition at line 29 of file Entries.cpp. References CORBA::Object::_duplicate().
00031 : type_ (type) 00032 { 00033 ref_ = CORBA::Object::_duplicate (obj); 00034 } |
|
Copy constructor.
Definition at line 36 of file Entries.cpp. References CORBA::Object::_duplicate(), ref_, and type_.
00037 { 00038 type_ = rhs.type_; 00039 ref_ = CORBA::Object::_duplicate (rhs.ref_); 00040 } |
|
Destructor.
Definition at line 42 of file Entries.cpp. References CORBA::release().
00043 { 00044 CORBA::release (ref_); 00045 } |
|
Assignment operator (does copy memory).
Definition at line 48 of file Entries.cpp. References CORBA::Object::_duplicate(), ref_, CORBA::release(), and type_.
00049 { 00050 // check for self assignment. 00051 if (&rhs == this) 00052 return; 00053 00054 type_ = rhs.type_; 00055 00056 CORBA::release (ref_); 00057 ref_ = CORBA::Object::_duplicate (rhs.ref_); 00058 } |
|
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(). |