TAO_Storable_IntId Class Reference

#include <Storable_Naming_Context.h>

List of all members.

Public Member Functions

 TAO_Storable_IntId (void)
 Constructor.
 TAO_Storable_IntId (const char *ior, CosNaming::BindingType type)
 Constructor.
 TAO_Storable_IntId (const TAO_Storable_IntId &rhs)
 Copy constructor.
 ~TAO_Storable_IntId (void)
 Destructor.
void operator= (const TAO_Storable_IntId &rhs)
 Assignment operator.

Public Attributes

CORBA::String_var ref_
 Stringified IOR to be stored in a Persistent Naming Context.
CosNaming::BindingType type_
 Binding type for <ref_>.


Detailed Description

Definition at line 29 of file Storable_Naming_Context.h.


Constructor & Destructor Documentation

TAO_Storable_IntId::TAO_Storable_IntId ( void   ) 

Constructor.

Definition at line 31 of file Storable_Naming_Context.cpp.

00032   : ref_ (CORBA::string_dup ("")),
00033     type_ (CosNaming::nobject)
00034 {
00035 }

TAO_Storable_IntId::TAO_Storable_IntId ( const char *  ior,
CosNaming::BindingType  type 
)

Constructor.

Definition at line 37 of file Storable_Naming_Context.cpp.

00039   : ref_ (ior),
00040     type_ (type)
00041 {
00042 }

TAO_Storable_IntId::TAO_Storable_IntId ( const TAO_Storable_IntId rhs  ) 

Copy constructor.

Definition at line 44 of file Storable_Naming_Context.cpp.

References ref_, and type_.

00045 {
00046   ref_ = rhs.ref_;
00047   type_ = rhs.type_;
00048 }

TAO_Storable_IntId::~TAO_Storable_IntId ( void   ) 

Destructor.

Definition at line 50 of file Storable_Naming_Context.cpp.

00051 {
00052 }


Member Function Documentation

void TAO_Storable_IntId::operator= ( const TAO_Storable_IntId rhs  ) 

Assignment operator.

Definition at line 55 of file Storable_Naming_Context.cpp.

References ref_, and type_.

00056 {
00057   // check for self assignment.
00058   if (&rhs == this)
00059     return;
00060 
00061   type_ = rhs.type_;
00062   ref_ = rhs.ref_;
00063 }


Member Data Documentation

CORBA::String_var TAO_Storable_IntId::ref_

Stringified IOR to be stored in a Persistent Naming Context.

Definition at line 52 of file Storable_Naming_Context.h.

Referenced by TAO_Storable_Bindings_Map::find(), operator=(), and TAO_Storable_IntId().

CosNaming::BindingType TAO_Storable_IntId::type_

Binding type for <ref_>.

Definition at line 55 of file Storable_Naming_Context.h.

Referenced by TAO_Storable_Bindings_Map::find(), operator=(), and TAO_Storable_IntId().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:49:11 2010 for TAO_CosNaming by  doxygen 1.4.7