GIOP::TargetAddress Union Reference

import "GIOP.pidl";

Collaboration diagram for GIOP::TargetAddress:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TargetAddress_var _var_type
typedef TargetAddress_out _out_type

Public Member Functions

 TargetAddress (void)
 TargetAddress (const TargetAddress &)
 ~TargetAddress (void)
TargetAddressoperator= (const TargetAddress &)
void _d (CORBA::Short)
CORBA::Short _d (void) const
void object_key (const CORBA::OctetSeq &)
const CORBA::OctetSeqobject_key (void) const
CORBA::OctetSeqobject_key (void)
void profile (const IOP::TaggedProfile &)
const IOP::TaggedProfileprofile (void) const
IOP::TaggedProfileprofile (void)
void ior (const::GIOP::IORAddressingInfo &)
const::GIOP::IORAddressingInfo & ior (void) const
::GIOP::IORAddressingInfoior (void)
void _default (void)

Static Public Member Functions

void _tao_any_destructor (void *)

Public Attributes

CORBA::OctetSeq object_key
IOP::TaggedProfile profile
IORAddressingInfo ior

Private Member Functions

void _reset (void)

Private Attributes

CORBA::Short disc_
CORBA::Short holder_
union {
   CORBA::OctetSeq *   object_key_
   IOP::TaggedProfile *   profile_
   ::GIOP::IORAddressingInfo *   ior_
u_

Member Typedef Documentation

typedef TargetAddress_out GIOP::TargetAddress::_out_type
 

Definition at line 185 of file GIOPC.h.

typedef TargetAddress_var GIOP::TargetAddress::_var_type
 

Definition at line 184 of file GIOPC.h.


Constructor & Destructor Documentation

GIOP::TargetAddress::TargetAddress void   ) 
 

Definition at line 81 of file GIOPC.cpp.

References disc_, and ACE_OS::memset().

00082 {
00083   ACE_OS::memset (&this->disc_, 0, sizeof (this->disc_));
00084   ACE_OS::memset (&this->u_, 0, sizeof (this->u_));
00085   this->disc_ = -32768;
00086 }

GIOP::TargetAddress::TargetAddress const TargetAddress  ) 
 

GIOP::TargetAddress::~TargetAddress void   ) 
 

Definition at line 143 of file GIOPC.cpp.

References _reset().

00144 {
00145   // Finalize.
00146   this->_reset ();
00147 }


Member Function Documentation

ACE_INLINE CORBA::Short GIOP::TargetAddress::_d void   )  const
 

Definition at line 59 of file GIOPC.inl.

References disc_.

00060 {
00061   return this->disc_;
00062 }

ACE_INLINE void GIOP::TargetAddress::_d CORBA::Short   ) 
 

Definition at line 51 of file GIOPC.inl.

References disc_.

Referenced by operator<<(), and operator>>().

00052 {
00053   this->disc_ = discval;
00054 }

TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void GIOP::TargetAddress::_default void   ) 
 

Definition at line 43 of file GIOPC.inl.

References disc_.

00044 {
00045   this->disc_ = -32768;
00046 }

void GIOP::TargetAddress::_reset void   )  [private]
 

Definition at line 225 of file GIOPC.cpp.

References disc_, and u_.

Referenced by ~TargetAddress().

00226 {
00227   switch (this->disc_)
00228   {
00229 
00230     case 0:
00231       delete this->u_.object_key_;
00232       this->u_.object_key_ = 0;
00233       break;
00234     case 1:
00235       delete this->u_.profile_;
00236       this->u_.profile_ = 0;
00237       break;
00238     case 2:
00239       delete this->u_.ior_;
00240       this->u_.ior_ = 0;
00241       break;
00242     default:
00243     break;
00244   }
00245 }

void GIOP::TargetAddress::_tao_any_destructor void *   )  [static]
 

Definition at line 149 of file GIOPC.cpp.

00150 {
00151   TargetAddress *tmp =
00152     static_cast<TargetAddress *> (_tao_void_pointer);
00153   delete tmp;
00154 }

::GIOP::IORAddressingInfo& GIOP::TargetAddress::ior void   ) 
 

const ::GIOP::IORAddressingInfo& GIOP::TargetAddress::ior void   )  const
 

void GIOP::TargetAddress::ior const::GIOP::IORAddressingInfo &   ) 
 

CORBA::OctetSeq& GIOP::TargetAddress::object_key void   ) 
 

const CORBA::OctetSeq& GIOP::TargetAddress::object_key void   )  const
 

void GIOP::TargetAddress::object_key const CORBA::OctetSeq  ) 
 

TargetAddress& GIOP::TargetAddress::operator= const TargetAddress  ) 
 

IOP::TaggedProfile& GIOP::TargetAddress::profile void   ) 
 

const IOP::TaggedProfile& GIOP::TargetAddress::profile void   )  const
 

void GIOP::TargetAddress::profile const IOP::TaggedProfile  ) 
 


Member Data Documentation

CORBA::Short GIOP::TargetAddress::disc_ [private]
 

Definition at line 213 of file GIOPC.h.

Referenced by _d(), _default(), _reset(), and TargetAddress().

CORBA::Short GIOP::TargetAddress::holder_ [private]
 

Definition at line 214 of file GIOPC.h.

ACE_INLINE GIOP::IORAddressingInfo & GIOP::TargetAddress::ior
 

Definition at line 158 of file GIOPC.inl.

Referenced by operator<<(), and operator>>().

00159 {
00160   return *this->u_.ior_;
00161 }

::GIOP::IORAddressingInfo* GIOP::TargetAddress::ior_ [private]
 

Definition at line 226 of file GIOPC.h.

ACE_INLINE CORBA::OctetSeq & GIOP::TargetAddress::object_key
 

Definition at line 92 of file GIOPC.inl.

Referenced by operator<<(), and operator>>().

00093 {
00094   return *this->u_.object_key_;
00095 }

CORBA::OctetSeq* GIOP::TargetAddress::object_key_ [private]
 

Definition at line 220 of file GIOPC.h.

ACE_INLINE IOP::TaggedProfile & GIOP::TargetAddress::profile
 

Definition at line 125 of file GIOPC.inl.

Referenced by operator<<(), and operator>>().

00126 {
00127   return *this->u_.profile_;
00128 }

IOP::TaggedProfile* GIOP::TargetAddress::profile_ [private]
 

Definition at line 223 of file GIOPC.h.

union { ... } GIOP::TargetAddress::u_ [private]
 

Referenced by _reset().


The documentation for this union was generated from the following files:
Generated on Thu Nov 9 12:25:23 2006 for TAO by doxygen 1.3.6