for a <key> in a hash table holding the state of a Transient Naming Context. More...
#include <Entries.h>
Collaboration diagram for TAO_IntId:

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 <ref_>. | |
for a <key> in a hash table holding the state of a Transient Naming Context.
This class holds CORBA Object pointer and a binding type, so they can be stored together as a
for a <key> in a hash table holding the state of a Transient Naming Context.
Definition at line 43 of file Entries.h.
| TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_IntId::TAO_IntId | ( | void | ) |
Constructor.
Definition at line 20 of file Entries.cpp.
References CORBA::Object::_nil().
00021 : type_ (CosNaming::nobject) 00022 { 00023 ref_ = CORBA::Object::_nil (); 00024 }
| TAO_IntId::TAO_IntId | ( | CORBA::Object_ptr | obj, | |
| CosNaming::BindingType | type | |||
| ) |
Constructor.
Definition at line 26 of file Entries.cpp.
References CORBA::Object::_duplicate(), and ref_.
00028 : type_ (type) 00029 { 00030 ref_ = CORBA::Object::_duplicate (obj); 00031 }
| TAO_IntId::TAO_IntId | ( | const TAO_IntId & | rhs | ) |
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 }
| TAO_IntId::~TAO_IntId | ( | void | ) |
Destructor.
Definition at line 39 of file Entries.cpp.
References ref_, and CORBA::release().
00040 { 00041 CORBA::release (ref_); 00042 }
| void TAO_IntId::operator= | ( | const TAO_IntId & | rhs | ) |
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=(), TAO_IntId(), and ~TAO_IntId().
Binding type for <ref_>.
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.4.7