diff options
Diffstat (limited to 'TAO/tao/GIOPC.i')
-rw-r--r-- | TAO/tao/GIOPC.i | 642 |
1 files changed, 10 insertions, 632 deletions
diff --git a/TAO/tao/GIOPC.i b/TAO/tao/GIOPC.i index 3a36abb053d..531f5d1255b 100644 --- a/TAO/tao/GIOPC.i +++ b/TAO/tao/GIOPC.i @@ -21,380 +21,6 @@ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 - -// ************************************************************* -// Inline operations for class GIOP::Version_var -// ************************************************************* - -ACE_INLINE -GIOP::Version_var::Version_var (void) - : ptr_ (0) -{} - -ACE_INLINE -GIOP::Version_var::Version_var (Version *p) - : ptr_ (p) -{} - -ACE_INLINE -GIOP::Version_var::Version_var (const ::GIOP::Version_var &p) -{ - if (p.ptr_) - { - ACE_NEW (this->ptr_, ::GIOP::Version (*p.ptr_)); - } - else - { - this->ptr_ = 0; - } -} - -// Fixed-size types only. -ACE_INLINE -GIOP::Version_var::Version_var (const ::GIOP::Version &p) -{ - ACE_NEW (this->ptr_, ::GIOP::Version (p)); -} - -ACE_INLINE -GIOP::Version_var::~Version_var (void) -{ - delete this->ptr_; -} - -ACE_INLINE -GIOP::Version_var & -GIOP::Version_var::operator= (Version *_tao_struct_var) -{ - delete this->ptr_; - this->ptr_ = _tao_struct_var; - return *this; -} - -ACE_INLINE -::GIOP::Version_var & -GIOP::Version_var::operator= (const ::GIOP::Version_var &_tao_struct_var) -{ - if (this != &_tao_struct_var) - { - if (_tao_struct_var.ptr_ == 0) - { - delete this->ptr_; - this->ptr_ = 0; - } - else - { - Version *deep_copy = 0; - ACE_NEW_RETURN ( - deep_copy, - Version (*_tao_struct_var.ptr_), - *this - ); - - if (deep_copy != 0) - { - Version *tmp = deep_copy; - deep_copy = this->ptr_; - this->ptr_ = tmp; - delete deep_copy; - } - } - } - - return *this; -} - -// fixed-size types only -ACE_INLINE GIOP::Version_var & -GIOP::Version_var::operator= (const ::GIOP::Version &p) -{ - if (this->ptr_ != &p) - { - delete this->ptr_; - ACE_NEW_RETURN ( - this->ptr_, - ::GIOP::Version (p), - *this - ); - } - - return *this; -} - -ACE_INLINE const ::GIOP::Version * -GIOP::Version_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE ::GIOP::Version * -GIOP::Version_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -GIOP::Version_var::operator const ::GIOP::Version &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -GIOP::Version_var::operator ::GIOP::Version &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -GIOP::Version_var::operator ::GIOP::Version &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE const ::GIOP::Version & -GIOP::Version_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE ::GIOP::Version & -GIOP::Version_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for fixed size -ACE_INLINE ::GIOP::Version & -GIOP::Version_var::out (void) -{ - return *this->ptr_; -} - -ACE_INLINE ::GIOP::Version -GIOP::Version_var::_retn (void) -{ - return *this->ptr_; -} - -ACE_INLINE ::GIOP::Version * -GIOP::Version_var::ptr (void) const -{ - return this->ptr_; -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 - -// ************************************************************* -// Inline operations for class GIOP::IORAddressingInfo_var -// ************************************************************* - -ACE_INLINE -GIOP::IORAddressingInfo_var::IORAddressingInfo_var (void) - : ptr_ (0) -{} - -ACE_INLINE -GIOP::IORAddressingInfo_var::IORAddressingInfo_var (IORAddressingInfo *p) - : ptr_ (p) -{} - -ACE_INLINE -GIOP::IORAddressingInfo_var::IORAddressingInfo_var (const ::GIOP::IORAddressingInfo_var &p) -{ - if (p.ptr_) - { - ACE_NEW (this->ptr_, ::GIOP::IORAddressingInfo (*p.ptr_)); - } - else - { - this->ptr_ = 0; - } -} - -ACE_INLINE -GIOP::IORAddressingInfo_var::~IORAddressingInfo_var (void) -{ - delete this->ptr_; -} - -ACE_INLINE -GIOP::IORAddressingInfo_var & -GIOP::IORAddressingInfo_var::operator= (IORAddressingInfo *_tao_struct_var) -{ - delete this->ptr_; - this->ptr_ = _tao_struct_var; - return *this; -} - -ACE_INLINE -::GIOP::IORAddressingInfo_var & -GIOP::IORAddressingInfo_var::operator= (const ::GIOP::IORAddressingInfo_var &_tao_struct_var) -{ - if (this != &_tao_struct_var) - { - if (_tao_struct_var.ptr_ == 0) - { - delete this->ptr_; - this->ptr_ = 0; - } - else - { - IORAddressingInfo *deep_copy = 0; - ACE_NEW_RETURN ( - deep_copy, - IORAddressingInfo (*_tao_struct_var.ptr_), - *this - ); - - if (deep_copy != 0) - { - IORAddressingInfo *tmp = deep_copy; - deep_copy = this->ptr_; - this->ptr_ = tmp; - delete deep_copy; - } - } - } - - return *this; -} - -ACE_INLINE const ::GIOP::IORAddressingInfo * -GIOP::IORAddressingInfo_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE ::GIOP::IORAddressingInfo * -GIOP::IORAddressingInfo_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -GIOP::IORAddressingInfo_var::operator const ::GIOP::IORAddressingInfo &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -GIOP::IORAddressingInfo_var::operator ::GIOP::IORAddressingInfo &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -GIOP::IORAddressingInfo_var::operator ::GIOP::IORAddressingInfo &() const // cast -{ - return *this->ptr_; -} - -// Variable-size types only. -ACE_INLINE -GIOP::IORAddressingInfo_var::operator ::GIOP::IORAddressingInfo *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE const ::GIOP::IORAddressingInfo & -GIOP::IORAddressingInfo_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE ::GIOP::IORAddressingInfo & -GIOP::IORAddressingInfo_var::inout (void) -{ - return *this->ptr_; -} - -// Mapping for variable size. -ACE_INLINE ::GIOP::IORAddressingInfo *& -GIOP::IORAddressingInfo_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE ::GIOP::IORAddressingInfo * -GIOP::IORAddressingInfo_var::_retn (void) -{ - ::GIOP::IORAddressingInfo *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE ::GIOP::IORAddressingInfo * -GIOP::IORAddressingInfo_var::ptr (void) const -{ - return this->ptr_; -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523 - -// ************************************************************* -// Inline operations for class GIOP::IORAddressingInfo_out -// ************************************************************* - -ACE_INLINE -GIOP::IORAddressingInfo_out::IORAddressingInfo_out (::GIOP::IORAddressingInfo *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -GIOP::IORAddressingInfo_out::IORAddressingInfo_out (IORAddressingInfo_var &p) - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -GIOP::IORAddressingInfo_out::IORAddressingInfo_out (const ::GIOP::IORAddressingInfo_out &p) - : ptr_ (ACE_const_cast (IORAddressingInfo_out&, p).ptr_) -{} - -ACE_INLINE -GIOP::IORAddressingInfo_out & -GIOP::IORAddressingInfo_out::operator= (const ::GIOP::IORAddressingInfo_out &p) -{ - this->ptr_ = ACE_const_cast (IORAddressingInfo_out&, p).ptr_; - return *this; -} - -ACE_INLINE -GIOP::IORAddressingInfo_out & -GIOP::IORAddressingInfo_out::operator= (IORAddressingInfo *_tao_struct_out) -{ - this->ptr_ = _tao_struct_out; - return *this; -} - -ACE_INLINE -GIOP::IORAddressingInfo_out::operator ::GIOP::IORAddressingInfo *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE ::GIOP::IORAddressingInfo *& -GIOP::IORAddressingInfo_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE ::GIOP::IORAddressingInfo * -GIOP::IORAddressingInfo_out::operator-> (void) -{ - return this->ptr_; -} - -// TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_union/union_ci.cpp:51 // ************************************************************* @@ -428,25 +54,25 @@ GIOP::TargetAddress::_d (void) const } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_union_branch/public_ci.cpp:899 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_union_branch/public_ci.cpp:906 // Accessor to set the member. ACE_INLINE void -GIOP::TargetAddress::object_key (const TAO::ObjectKey &val) +GIOP::TargetAddress::object_key (const CORBA::OctetSeq &val) { // Set the discriminant value. this->_reset (0, 0); this->disc_ = 0; ACE_NEW ( this->u_.object_key_, - TAO::ObjectKey (val) + CORBA::OctetSeq (val) ); } // Readonly get method. ACE_INLINE -const TAO::ObjectKey & +const CORBA::OctetSeq & GIOP::TargetAddress::object_key (void) const { return *this->u_.object_key_; @@ -454,14 +80,14 @@ GIOP::TargetAddress::object_key (void) const // Read/write get method. ACE_INLINE -TAO::ObjectKey & +CORBA::OctetSeq & GIOP::TargetAddress::object_key (void) { return *this->u_.object_key_; } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_union_branch/public_ci.cpp:1209 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_union_branch/public_ci.cpp:1215 // Accessor to set the member. ACE_INLINE @@ -494,7 +120,7 @@ GIOP::TargetAddress::profile (void) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_union_branch/public_ci.cpp:1209 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_union_branch/public_ci.cpp:1215 // Accessor to set the member. ACE_INLINE @@ -526,238 +152,8 @@ GIOP::TargetAddress::ior (void) return *this->u_.ior_; } -#if !defined (_GIOP_TARGETADDRESS___VAR_CI_) -#define _GIOP_TARGETADDRESS___VAR_CI_ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_union.cpp:211 - -// ************************************************************* -// Inline operations for class GIOP::TargetAddress_var -// ************************************************************* - -ACE_INLINE -GIOP::TargetAddress_var::TargetAddress_var (void) - : ptr_ (0) -{} - -ACE_INLINE -GIOP::TargetAddress_var::TargetAddress_var (TargetAddress *p) - : ptr_ (p) -{} - -ACE_INLINE -GIOP::TargetAddress_var::TargetAddress_var (const ::GIOP::TargetAddress_var &p) -{ - if (p.ptr_) - { - ACE_NEW (this->ptr_, ::GIOP::TargetAddress (*p.ptr_)); - } - else - { - this->ptr_ = 0; - } -} - -ACE_INLINE -GIOP::TargetAddress_var::~TargetAddress_var (void) -{ - delete this->ptr_; -} - -ACE_INLINE -::GIOP::TargetAddress_var & -GIOP::TargetAddress_var::operator= (TargetAddress *_tao_union_var) -{ - delete this->ptr_; - this->ptr_ = _tao_union_var; - return *this; -} - -ACE_INLINE -::GIOP::TargetAddress_var & -GIOP::TargetAddress_var::operator= (const ::GIOP::TargetAddress_var &_tao_union_var) -{ - if (this != &_tao_union_var) - { - if (_tao_union_var.ptr_ == 0) - { - delete this->ptr_; - this->ptr_ = 0; - } - else - { - TargetAddress *deep_copy = 0; - ACE_NEW_RETURN ( - deep_copy, - TargetAddress (*_tao_union_var.ptr_), - *this - ); - - if (deep_copy != 0) - { - TargetAddress *tmp = deep_copy; - deep_copy = this->ptr_; - this->ptr_ = tmp; - delete deep_copy; - } - } - } - - return *this; -} - -ACE_INLINE -const ::GIOP::TargetAddress * -GIOP::TargetAddress_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE -::GIOP::TargetAddress * -GIOP::TargetAddress_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -GIOP::TargetAddress_var::operator const ::GIOP::TargetAddress &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -GIOP::TargetAddress_var::operator ::GIOP::TargetAddress &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -GIOP::TargetAddress_var::operator ::GIOP::TargetAddress &() const// cast -{ - return *this->ptr_; -} - -// Variable-size types only. -ACE_INLINE -GIOP::TargetAddress_var::operator ::GIOP::TargetAddress *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE -const ::GIOP::TargetAddress & -GIOP::TargetAddress_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE -::GIOP::TargetAddress & -GIOP::TargetAddress_var::inout (void) -{ - return *this->ptr_; -} - -// Mapping for variable size. -ACE_INLINE -::GIOP::TargetAddress *& -GIOP::TargetAddress_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE -::GIOP::TargetAddress * -GIOP::TargetAddress_var::_retn (void) -{ - ::GIOP::TargetAddress *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE -::GIOP::TargetAddress * -GIOP::TargetAddress_var::ptr (void) const -{ - return this->ptr_; -} - -#endif /* end #if !defined */ - -#if !defined (_GIOP_TARGETADDRESS___OUT_CI_) -#define _GIOP_TARGETADDRESS___OUT_CI_ - // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_union.cpp:556 - -// ************************************************************* -// Inline operations for class GIOP::TargetAddress_out -// ************************************************************* - -ACE_INLINE -GIOP::TargetAddress_out::TargetAddress_out (TargetAddress *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -GIOP::TargetAddress_out::TargetAddress_out (TargetAddress_var &p) - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -GIOP::TargetAddress_out::TargetAddress_out (const ::GIOP::TargetAddress_out &p) - : ptr_ (ACE_const_cast (TargetAddress_out&, p).ptr_) -{} - -ACE_INLINE -::GIOP::TargetAddress_out & -GIOP::TargetAddress_out::operator= (const ::GIOP::TargetAddress_out &p) -{ - this->ptr_ = ACE_const_cast (TargetAddress_out&, p).ptr_; - return *this; -} - -ACE_INLINE -::GIOP::TargetAddress_out & -GIOP::TargetAddress_out::operator= (TargetAddress *_tao_union_out) -{ - this->ptr_ = _tao_union_out; - return *this; -} - -ACE_INLINE -GIOP::TargetAddress_out::operator ::GIOP::TargetAddress *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE -::GIOP::TargetAddress *& -GIOP::TargetAddress_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE -::GIOP::TargetAddress * -GIOP::TargetAddress_out::operator-> (void) -{ - return this->ptr_; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( @@ -798,7 +194,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( @@ -839,24 +235,6 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84 - -#if !defined _TAO_CDR_OP_GIOP_TargetAddress__tao_seq_Octet_I_ -#define _TAO_CDR_OP_GIOP_TargetAddress__tao_seq_Octet_I_ - -CORBA::Boolean TAO_Export operator<< ( - TAO_OutputCDR &, - TAO::ObjectKey & - ); - -CORBA::Boolean TAO_Export operator>> ( - TAO_InputCDR &, - TAO::ObjectKey & - ); - -#endif /* _TAO_CDR_OP_GIOP_TargetAddress__tao_seq_Octet_I_ */ - -// TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_union/cdr_op_ci.cpp:69 ACE_INLINE @@ -914,7 +292,7 @@ CORBA::Boolean operator>> ( { case 0: { - TAO::ObjectKey _tao_union_tmp; + CORBA::OctetSeq _tao_union_tmp; result = strm >> _tao_union_tmp; if (result) |