GIOPC.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // GIOPC.inl,v 1.13 2006/04/19 08:40:55 jwillemsen Exp
00004 
00005 // ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
00006 // TAO and the TAO IDL Compiler have been developed by:
00007 //       Center for Distributed Object Computing
00008 //       Washington University
00009 //       St. Louis, MO
00010 //       USA
00011 //       http://www.cs.wustl.edu/~schmidt/doc-center.html
00012 // and
00013 //       Distributed Object Computing Laboratory
00014 //       University of California at Irvine
00015 //       Irvine, CA
00016 //       USA
00017 //       http://doc.ece.uci.edu/
00018 // and
00019 //       Institute for Software Integrated Systems
00020 //       Vanderbilt University
00021 //       Nashville, TN
00022 //       USA
00023 //       http://www.isis.vanderbilt.edu/
00024 //
00025 // Information about TAO is available at:
00026 //     http://www.cs.wustl.edu/~schmidt/TAO.html
00027 
00028 
00029 // TAO_IDL - Generated from
00030 // be\be_visitor_union/union_ci.cpp:51
00031 
00032 // *************************************************************
00033 // Inline operations for union GIOP::TargetAddress
00034 // *************************************************************
00035 
00036 // TAO_IDL - Generated from
00037 // be\be_visitor_union/discriminant_ci.cpp:164
00038 
00039 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00040 
00041 ACE_INLINE
00042 void
00043 GIOP::TargetAddress::_default ()
00044 {
00045   this->disc_ = -32768;
00046 }
00047 
00048 // Accessor to set the discriminant.
00049 ACE_INLINE
00050 void
00051 GIOP::TargetAddress::_d (CORBA::Short discval)
00052 {
00053   this->disc_ = discval;
00054 }
00055 
00056 // Accessor to get the discriminant.
00057 ACE_INLINE
00058 CORBA::Short
00059 GIOP::TargetAddress::_d (void) const
00060 {
00061   return this->disc_;
00062 }
00063 
00064 // TAO_IDL - Generated from
00065 // be\be_visitor_union_branch/public_ci.cpp:833
00066 
00067 // Accessor to set the member.
00068 ACE_INLINE
00069 void
00070 GIOP::TargetAddress::object_key (const CORBA::OctetSeq &val)
00071 {
00072   // Set the discriminant value.
00073   this->_reset ();
00074   this->disc_ = 0;
00075   ACE_NEW (
00076       this->u_.object_key_,
00077       CORBA::OctetSeq (val)
00078     );
00079 }
00080 
00081 // Readonly get method.
00082 ACE_INLINE
00083 const CORBA::OctetSeq &
00084 GIOP::TargetAddress::object_key (void) const
00085 {
00086   return *this->u_.object_key_;
00087 }
00088 
00089 // Read/write get method.
00090 ACE_INLINE
00091 CORBA::OctetSeq &
00092 GIOP::TargetAddress::object_key (void)
00093 {
00094   return *this->u_.object_key_;
00095 }
00096 
00097 // TAO_IDL - Generated from
00098 // be\be_visitor_union_branch/public_ci.cpp:1142
00099 
00100 // Accessor to set the member.
00101 ACE_INLINE
00102 void
00103 GIOP::TargetAddress::profile (const IOP::TaggedProfile &val)
00104 {
00105   // Set the discriminant value.
00106   this->_reset ();
00107   this->disc_ = 1;
00108   ACE_NEW (
00109       this->u_.profile_,
00110       IOP::TaggedProfile (val)
00111     );
00112 }
00113 
00114 // Readonly get method.
00115 ACE_INLINE
00116 const IOP::TaggedProfile &
00117 GIOP::TargetAddress::profile (void) const
00118 {
00119   return *this->u_.profile_;
00120 }
00121 
00122 // Read/write get method.
00123 ACE_INLINE
00124 IOP::TaggedProfile &
00125 GIOP::TargetAddress::profile (void)
00126 {
00127   return *this->u_.profile_;
00128 }
00129 
00130 // TAO_IDL - Generated from
00131 // be\be_visitor_union_branch/public_ci.cpp:1142
00132 
00133 // Accessor to set the member.
00134 ACE_INLINE
00135 void
00136 GIOP::TargetAddress::ior (const GIOP::IORAddressingInfo &val)
00137 {
00138   // Set the discriminant value.
00139   this->_reset ();
00140   this->disc_ = 2;
00141   ACE_NEW (
00142       this->u_.ior_,
00143       GIOP::IORAddressingInfo (val)
00144     );
00145 }
00146 
00147 // Readonly get method.
00148 ACE_INLINE
00149 const GIOP::IORAddressingInfo &
00150 GIOP::TargetAddress::ior (void) const
00151 {
00152   return *this->u_.ior_;
00153 }
00154 
00155 // Read/write get method.
00156 ACE_INLINE
00157 GIOP::IORAddressingInfo &
00158 GIOP::TargetAddress::ior (void)
00159 {
00160   return *this->u_.ior_;
00161 }
00162 
00163 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 11:54:12 2006 for TAO by doxygen 1.3.6