diff options
Diffstat (limited to 'TAO/tao/IFR_Client/IFR_ExtendedC.i')
-rw-r--r-- | TAO/tao/IFR_Client/IFR_ExtendedC.i | 1377 |
1 files changed, 5 insertions, 1372 deletions
diff --git a/TAO/tao/IFR_Client/IFR_ExtendedC.i b/TAO/tao/IFR_Client/IFR_ExtendedC.i index 166759e9887..96ebe3cd695 100644 --- a/TAO/tao/IFR_Client/IFR_ExtendedC.i +++ b/TAO/tao/IFR_Client/IFR_ExtendedC.i @@ -37,698 +37,7 @@ CORBA::FixedDef::FixedDef ( this->CORBA_FixedDef_setup_collocation (_tao_collocated); } -ACE_INLINE -CORBA::Boolean -CORBA::FixedDef::marshal (TAO_OutputCDR &cdr) -{ - return (cdr << this); -} - -template<> -ACE_INLINE -CORBA::Boolean -TAO::Any_Impl_T<CORBA::FixedDef>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 - -// ************************************************************* -// Inline operations for class CORBA::ValueMember_var -// ************************************************************* - -ACE_INLINE -CORBA::ValueMember_var::ValueMember_var (void) - : ptr_ (0) -{} - -ACE_INLINE -CORBA::ValueMember_var::ValueMember_var (ValueMember *p) - : ptr_ (p) -{} - -ACE_INLINE -CORBA::ValueMember_var::ValueMember_var (const ::CORBA::ValueMember_var &p) -{ - if (p.ptr_) - { - ACE_NEW (this->ptr_, ::CORBA::ValueMember (*p.ptr_)); - } - else - { - this->ptr_ = 0; - } -} - -ACE_INLINE -CORBA::ValueMember_var::~ValueMember_var (void) -{ - delete this->ptr_; -} - -ACE_INLINE -CORBA::ValueMember_var & -CORBA::ValueMember_var::operator= (ValueMember *_tao_struct_var) -{ - delete this->ptr_; - this->ptr_ = _tao_struct_var; - return *this; -} - -ACE_INLINE -::CORBA::ValueMember_var & -CORBA::ValueMember_var::operator= (const ::CORBA::ValueMember_var &_tao_struct_var) -{ - if (this != &_tao_struct_var) - { - if (_tao_struct_var.ptr_ == 0) - { - delete this->ptr_; - this->ptr_ = 0; - } - else - { - ValueMember *deep_copy = 0; - ACE_NEW_RETURN ( - deep_copy, - ValueMember (*_tao_struct_var.ptr_), - *this - ); - - if (deep_copy != 0) - { - ValueMember *tmp = deep_copy; - deep_copy = this->ptr_; - this->ptr_ = tmp; - delete deep_copy; - } - } - } - - return *this; -} - -ACE_INLINE const ::CORBA::ValueMember * -CORBA::ValueMember_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueMember * -CORBA::ValueMember_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -CORBA::ValueMember_var::operator const ::CORBA::ValueMember &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -CORBA::ValueMember_var::operator ::CORBA::ValueMember &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -CORBA::ValueMember_var::operator ::CORBA::ValueMember &() const // cast -{ - return *this->ptr_; -} - -// Variable-size types only. -ACE_INLINE -CORBA::ValueMember_var::operator ::CORBA::ValueMember *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE const ::CORBA::ValueMember & -CORBA::ValueMember_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE ::CORBA::ValueMember & -CORBA::ValueMember_var::inout (void) -{ - return *this->ptr_; -} - -// Mapping for variable size. -ACE_INLINE ::CORBA::ValueMember *& -CORBA::ValueMember_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueMember * -CORBA::ValueMember_var::_retn (void) -{ - ::CORBA::ValueMember *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE ::CORBA::ValueMember * -CORBA::ValueMember_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 CORBA::ValueMember_out -// ************************************************************* - -ACE_INLINE -CORBA::ValueMember_out::ValueMember_out (::CORBA::ValueMember *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -CORBA::ValueMember_out::ValueMember_out (ValueMember_var &p) - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -CORBA::ValueMember_out::ValueMember_out (const ::CORBA::ValueMember_out &p) - : ptr_ (ACE_const_cast (ValueMember_out&, p).ptr_) -{} - -ACE_INLINE -CORBA::ValueMember_out & -CORBA::ValueMember_out::operator= (const ::CORBA::ValueMember_out &p) -{ - this->ptr_ = ACE_const_cast (ValueMember_out&, p).ptr_; - return *this; -} - -ACE_INLINE -CORBA::ValueMember_out & -CORBA::ValueMember_out::operator= (ValueMember *_tao_struct_out) -{ - this->ptr_ = _tao_struct_out; - return *this; -} - -ACE_INLINE -CORBA::ValueMember_out::operator ::CORBA::ValueMember *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueMember *& -CORBA::ValueMember_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueMember * -CORBA::ValueMember_out::operator-> (void) -{ - return this->ptr_; -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98 - -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) - -#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_VALUEMEMBERSEQ_CI_) -#define __TAO_UNBOUNDED_SEQUENCE_CORBA_VALUEMEMBERSEQ_CI_ - -ACE_INLINE -CORBA::ValueMember * -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::allocbuf (CORBA::ULong size) -{ - CORBA::ValueMember *retval = 0; - ACE_NEW_RETURN (retval, CORBA::ValueMember[size], 0); - return retval; -} - -ACE_INLINE -void CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::freebuf (CORBA::ValueMember *buffer) -{ - delete [] buffer; -} - -ACE_INLINE -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq (void) -{ -} - -ACE_INLINE -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq (CORBA::ULong maximum) - : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::allocbuf (maximum)) -{ -} - -ACE_INLINE -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq ( - CORBA::ULong maximum, - CORBA::ULong length, - CORBA::ValueMember *data, - CORBA::Boolean release - ) - : TAO_Unbounded_Base_Sequence (maximum, length, data, release) -{ -} - -ACE_INLINE -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq ( - const _TAO_Unbounded_Sequence_CORBA_ValueMemberSeq &rhs - ) - : TAO_Unbounded_Base_Sequence (rhs) -{ - if (rhs.buffer_ != 0) - { - CORBA::ValueMember *tmp1 = - _TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::allocbuf (this->maximum_); - CORBA::ValueMember * const tmp2 = - ACE_reinterpret_cast (CORBA::ValueMember * ACE_CAST_CONST, rhs.buffer_); - - for (CORBA::ULong i = 0; i < this->length_; ++i) - { - tmp1[i] = tmp2[i]; - } - - this->buffer_ = tmp1; - } - else - { - this->buffer_ = 0; - } -} - -ACE_INLINE -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq & -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::operator= ( - const _TAO_Unbounded_Sequence_CORBA_ValueMemberSeq &rhs - ) -{ - if (this == &rhs) - { - return *this; - } - - if (this->release_) - { - if (this->maximum_ < rhs.maximum_) - { - // Free the old buffer. - CORBA::ValueMember *tmp = - ACE_reinterpret_cast (CORBA::ValueMember *, this->buffer_); - - _TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::freebuf (tmp); - - this->buffer_ = - _TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::allocbuf (rhs.maximum_); - } - } - else - { - this->buffer_ = - _TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::allocbuf (rhs.maximum_); - } - - TAO_Unbounded_Base_Sequence::operator= (rhs); - - CORBA::ValueMember *tmp1 = - ACE_reinterpret_cast (CORBA::ValueMember *, this->buffer_); - CORBA::ValueMember * const tmp2 = - ACE_reinterpret_cast (CORBA::ValueMember * ACE_CAST_CONST, rhs.buffer_); - - for (CORBA::ULong i = 0; i < this->length_; ++i) - { - tmp1[i] = tmp2[i]; - } - - return *this; -} - -// = Accessors. -ACE_INLINE -CORBA::ValueMember & -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::operator[] (CORBA::ULong i) -{ - ACE_ASSERT (i < this->maximum_); - CORBA::ValueMember* tmp = - ACE_reinterpret_cast (CORBA::ValueMember*, this->buffer_); - return tmp[i]; -} - -ACE_INLINE -const CORBA::ValueMember & -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::operator[] (CORBA::ULong i) const -{ - ACE_ASSERT (i < this->maximum_); - CORBA::ValueMember * const tmp = - ACE_reinterpret_cast (CORBA::ValueMember* ACE_CAST_CONST, this->buffer_); - return tmp[i]; -} - -// Implement the TAO_Base_Sequence methods (see Sequence.h) - -ACE_INLINE -CORBA::ValueMember * -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::get_buffer (CORBA::Boolean orphan) -{ - CORBA::ValueMember *result = 0; - - if (orphan == 0) - { - // We retain ownership. - if (this->buffer_ == 0) - { - result = - _TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::allocbuf (this->length_); - this->buffer_ = result; - this->release_ = 1; - } - else - { - result = - ACE_reinterpret_cast (CORBA::ValueMember*, this->buffer_); - } - } - else // if (orphan == 1) - { - if (this->release_ != 0) - { - // We set the state back to default and relinquish ownership. - result = - ACE_reinterpret_cast(CORBA::ValueMember*,this->buffer_); - this->maximum_ = 0; - this->length_ = 0; - this->buffer_ = 0; - this->release_ = 0; - } - } - - return result; -} - -ACE_INLINE -const CORBA::ValueMember * -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::get_buffer (void) const -{ - return ACE_reinterpret_cast (const CORBA::ValueMember * ACE_CAST_CONST, this->buffer_); -} - -ACE_INLINE -void -CORBA::_TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::replace ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::ValueMember *data, - CORBA::Boolean release - ) -{ - this->maximum_ = max; - this->length_ = length; - - if (this->buffer_ && this->release_ == 1) - { - CORBA::ValueMember *tmp = - ACE_reinterpret_cast (CORBA::ValueMember*, this->buffer_); - _TAO_Unbounded_Sequence_CORBA_ValueMemberSeq::freebuf (tmp); - } - - this->buffer_ = data; - this->release_ = release; -} - -#endif /* end #if !defined */ - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - -#if !defined (_CORBA_VALUEMEMBERSEQ_CI_) -#define _CORBA_VALUEMEMBERSEQ_CI_ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226 - -// ************************************************************* -// Inline operations for class CORBA::ValueMemberSeq_var -// ************************************************************* - -ACE_INLINE -CORBA::ValueMemberSeq_var::ValueMemberSeq_var (void) - : ptr_ (0) -{} - -ACE_INLINE -CORBA::ValueMemberSeq_var::ValueMemberSeq_var (ValueMemberSeq *p) - : ptr_ (p) -{} - -ACE_INLINE -CORBA::ValueMemberSeq_var::ValueMemberSeq_var (const ::CORBA::ValueMemberSeq_var &p) -{ - if (p.ptr_) - { - ACE_NEW (this->ptr_, ::CORBA::ValueMemberSeq (*p.ptr_)); - } - else - { - this->ptr_ = 0; - } -} - -ACE_INLINE -CORBA::ValueMemberSeq_var::~ValueMemberSeq_var (void) -{ - delete this->ptr_; -} - -ACE_INLINE -CORBA::ValueMemberSeq_var & -CORBA::ValueMemberSeq_var::operator= (ValueMemberSeq *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE -::CORBA::ValueMemberSeq_var & -CORBA::ValueMemberSeq_var::operator= (const ::CORBA::ValueMemberSeq_var &p) -{ - if (this != &p) - { - if (p.ptr_ == 0) - { - delete this->ptr_; - this->ptr_ = 0; - } - else - { - ValueMemberSeq *deep_copy = 0; - ACE_NEW_RETURN ( - deep_copy, - ValueMemberSeq (*p.ptr_), - *this - ); - - if (deep_copy != 0) - { - ValueMemberSeq *tmp = deep_copy; - deep_copy = this->ptr_; - this->ptr_ = tmp; - delete deep_copy; - } - } - } - - return *this; -} - -ACE_INLINE -const ::CORBA::ValueMemberSeq * -CORBA::ValueMemberSeq_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE -::CORBA::ValueMemberSeq * -CORBA::ValueMemberSeq_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -CORBA::ValueMemberSeq_var::operator const ::CORBA::ValueMemberSeq &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -CORBA::ValueMemberSeq_var::operator ::CORBA::ValueMemberSeq &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -CORBA::ValueMemberSeq_var::operator ::CORBA::ValueMemberSeq &() const // cast -{ - return *this->ptr_; -} - -// Variable-size types only. -ACE_INLINE -CORBA::ValueMemberSeq_var::operator ::CORBA::ValueMemberSeq *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE -CORBA::ValueMember & -CORBA::ValueMemberSeq_var::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE -const CORBA::ValueMember & -CORBA::ValueMemberSeq_var::operator[] (CORBA::ULong index) const -{ - return ACE_const_cast (const CORBA::ValueMember &, this->ptr_->operator[] (index)); -} - -ACE_INLINE -const ::CORBA::ValueMemberSeq & -CORBA::ValueMemberSeq_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE -::CORBA::ValueMemberSeq & -CORBA::ValueMemberSeq_var::inout (void) -{ - return *this->ptr_; -} - -ACE_INLINE -::CORBA::ValueMemberSeq *& -CORBA::ValueMemberSeq_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE -::CORBA::ValueMemberSeq * -CORBA::ValueMemberSeq_var::_retn (void) -{ - ::CORBA::ValueMemberSeq *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE -::CORBA::ValueMemberSeq * -CORBA::ValueMemberSeq_var::ptr (void) const -{ - return this->ptr_; -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:566 - -// ************************************************************* -// Inline operations for class CORBA::ValueMemberSeq_out -// ************************************************************* - -ACE_INLINE -CORBA::ValueMemberSeq_out::ValueMemberSeq_out (ValueMemberSeq *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -CORBA::ValueMemberSeq_out::ValueMemberSeq_out (ValueMemberSeq_var &p) - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -CORBA::ValueMemberSeq_out::ValueMemberSeq_out (const ::CORBA::ValueMemberSeq_out &p) - : ptr_ (ACE_const_cast (ValueMemberSeq_out&, p).ptr_) -{} - -ACE_INLINE -::CORBA::ValueMemberSeq_out & -CORBA::ValueMemberSeq_out::operator= (const ::CORBA::ValueMemberSeq_out &p) -{ - this->ptr_ = ACE_const_cast (ValueMemberSeq_out&, p).ptr_; - return *this; -} - -ACE_INLINE -::CORBA::ValueMemberSeq_out & -CORBA::ValueMemberSeq_out::operator= (ValueMemberSeq *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -CORBA::ValueMemberSeq_out::operator ::CORBA::ValueMemberSeq *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE -::CORBA::ValueMemberSeq *& -CORBA::ValueMemberSeq_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE -::CORBA::ValueMemberSeq * -CORBA::ValueMemberSeq_out::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -CORBA::ValueMember & -CORBA::ValueMemberSeq_out::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68 - +#endif /**/ #if !defined (_CORBA_VALUEMEMBERDEF___CI_) #define _CORBA_VALUEMEMBERDEF___CI_ @@ -743,238 +52,9 @@ CORBA::ValueMemberDef::ValueMemberDef ( this->CORBA_ValueMemberDef_setup_collocation (_tao_collocated); } -ACE_INLINE -CORBA::Boolean -CORBA::ValueMemberDef::marshal (TAO_OutputCDR &cdr) -{ - return (cdr << this); -} - -template<> -ACE_INLINE -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ValueMemberDef>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - #endif /* end #if !defined */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 - -// ************************************************************* -// Inline operations for class CORBA::ValueDef::FullValueDescription_var -// ************************************************************* - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_var::FullValueDescription_var (void) - : ptr_ (0) -{} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_var::FullValueDescription_var (FullValueDescription *p) - : ptr_ (p) -{} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_var::FullValueDescription_var (const ::CORBA::ValueDef::FullValueDescription_var &p) -{ - if (p.ptr_) - { - ACE_NEW (this->ptr_, ::CORBA::ValueDef::FullValueDescription (*p.ptr_)); - } - else - { - this->ptr_ = 0; - } -} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_var::~FullValueDescription_var (void) -{ - delete this->ptr_; -} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_var & -CORBA::ValueDef::FullValueDescription_var::operator= (FullValueDescription *_tao_struct_var) -{ - delete this->ptr_; - this->ptr_ = _tao_struct_var; - return *this; -} - -ACE_INLINE -::CORBA::ValueDef::FullValueDescription_var & -CORBA::ValueDef::FullValueDescription_var::operator= (const ::CORBA::ValueDef::FullValueDescription_var &_tao_struct_var) -{ - if (this != &_tao_struct_var) - { - if (_tao_struct_var.ptr_ == 0) - { - delete this->ptr_; - this->ptr_ = 0; - } - else - { - FullValueDescription *deep_copy = 0; - ACE_NEW_RETURN ( - deep_copy, - FullValueDescription (*_tao_struct_var.ptr_), - *this - ); - - if (deep_copy != 0) - { - FullValueDescription *tmp = deep_copy; - deep_copy = this->ptr_; - this->ptr_ = tmp; - delete deep_copy; - } - } - } - - return *this; -} - -ACE_INLINE const ::CORBA::ValueDef::FullValueDescription * -CORBA::ValueDef::FullValueDescription_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueDef::FullValueDescription * -CORBA::ValueDef::FullValueDescription_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_var::operator const ::CORBA::ValueDef::FullValueDescription &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_var::operator ::CORBA::ValueDef::FullValueDescription &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_var::operator ::CORBA::ValueDef::FullValueDescription &() const // cast -{ - return *this->ptr_; -} - -// Variable-size types only. -ACE_INLINE -CORBA::ValueDef::FullValueDescription_var::operator ::CORBA::ValueDef::FullValueDescription *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE const ::CORBA::ValueDef::FullValueDescription & -CORBA::ValueDef::FullValueDescription_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE ::CORBA::ValueDef::FullValueDescription & -CORBA::ValueDef::FullValueDescription_var::inout (void) -{ - return *this->ptr_; -} - -// Mapping for variable size. -ACE_INLINE ::CORBA::ValueDef::FullValueDescription *& -CORBA::ValueDef::FullValueDescription_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueDef::FullValueDescription * -CORBA::ValueDef::FullValueDescription_var::_retn (void) -{ - ::CORBA::ValueDef::FullValueDescription *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE ::CORBA::ValueDef::FullValueDescription * -CORBA::ValueDef::FullValueDescription_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 CORBA::ValueDef::FullValueDescription_out -// ************************************************************* - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_out::FullValueDescription_out (::CORBA::ValueDef::FullValueDescription *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_out::FullValueDescription_out (FullValueDescription_var &p) - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_out::FullValueDescription_out (const ::CORBA::ValueDef::FullValueDescription_out &p) - : ptr_ (ACE_const_cast (FullValueDescription_out&, p).ptr_) -{} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_out & -CORBA::ValueDef::FullValueDescription_out::operator= (const ::CORBA::ValueDef::FullValueDescription_out &p) -{ - this->ptr_ = ACE_const_cast (FullValueDescription_out&, p).ptr_; - return *this; -} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_out & -CORBA::ValueDef::FullValueDescription_out::operator= (FullValueDescription *_tao_struct_out) -{ - this->ptr_ = _tao_struct_out; - return *this; -} - -ACE_INLINE -CORBA::ValueDef::FullValueDescription_out::operator ::CORBA::ValueDef::FullValueDescription *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueDef::FullValueDescription *& -CORBA::ValueDef::FullValueDescription_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueDef::FullValueDescription * -CORBA::ValueDef::FullValueDescription_out::operator-> (void) -{ - return this->ptr_; -} - -// TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68 #if !defined (_CORBA_VALUEDEF___CI_) @@ -991,13 +71,6 @@ CORBA::ValueDef::ValueDef ( this->CORBA_ValueDef_setup_collocation (_tao_collocated); } -ACE_INLINE -CORBA::Boolean -CORBA::ValueDef::marshal (TAO_OutputCDR &cdr) -{ - return (cdr << this); -} - template<> ACE_INLINE CORBA::Boolean @@ -1008,432 +81,9 @@ TAO::Any_Impl_T<CORBA::ValueDef>::to_object ( _tao_elem = CORBA::Object::_duplicate (this->value_); return 1; } - #endif /* end #if !defined */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 - -// ************************************************************* -// Inline operations for class CORBA::ValueDescription_var -// ************************************************************* - -ACE_INLINE -CORBA::ValueDescription_var::ValueDescription_var (void) - : ptr_ (0) -{} - -ACE_INLINE -CORBA::ValueDescription_var::ValueDescription_var (ValueDescription *p) - : ptr_ (p) -{} - -ACE_INLINE -CORBA::ValueDescription_var::ValueDescription_var (const ::CORBA::ValueDescription_var &p) -{ - if (p.ptr_) - { - ACE_NEW (this->ptr_, ::CORBA::ValueDescription (*p.ptr_)); - } - else - { - this->ptr_ = 0; - } -} - -ACE_INLINE -CORBA::ValueDescription_var::~ValueDescription_var (void) -{ - delete this->ptr_; -} - -ACE_INLINE -CORBA::ValueDescription_var & -CORBA::ValueDescription_var::operator= (ValueDescription *_tao_struct_var) -{ - delete this->ptr_; - this->ptr_ = _tao_struct_var; - return *this; -} - -ACE_INLINE -::CORBA::ValueDescription_var & -CORBA::ValueDescription_var::operator= (const ::CORBA::ValueDescription_var &_tao_struct_var) -{ - if (this != &_tao_struct_var) - { - if (_tao_struct_var.ptr_ == 0) - { - delete this->ptr_; - this->ptr_ = 0; - } - else - { - ValueDescription *deep_copy = 0; - ACE_NEW_RETURN ( - deep_copy, - ValueDescription (*_tao_struct_var.ptr_), - *this - ); - - if (deep_copy != 0) - { - ValueDescription *tmp = deep_copy; - deep_copy = this->ptr_; - this->ptr_ = tmp; - delete deep_copy; - } - } - } - - return *this; -} - -ACE_INLINE const ::CORBA::ValueDescription * -CORBA::ValueDescription_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueDescription * -CORBA::ValueDescription_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -CORBA::ValueDescription_var::operator const ::CORBA::ValueDescription &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -CORBA::ValueDescription_var::operator ::CORBA::ValueDescription &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -CORBA::ValueDescription_var::operator ::CORBA::ValueDescription &() const // cast -{ - return *this->ptr_; -} - -// Variable-size types only. -ACE_INLINE -CORBA::ValueDescription_var::operator ::CORBA::ValueDescription *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE const ::CORBA::ValueDescription & -CORBA::ValueDescription_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE ::CORBA::ValueDescription & -CORBA::ValueDescription_var::inout (void) -{ - return *this->ptr_; -} - -// Mapping for variable size. -ACE_INLINE ::CORBA::ValueDescription *& -CORBA::ValueDescription_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueDescription * -CORBA::ValueDescription_var::_retn (void) -{ - ::CORBA::ValueDescription *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE ::CORBA::ValueDescription * -CORBA::ValueDescription_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 CORBA::ValueDescription_out -// ************************************************************* - -ACE_INLINE -CORBA::ValueDescription_out::ValueDescription_out (::CORBA::ValueDescription *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -CORBA::ValueDescription_out::ValueDescription_out (ValueDescription_var &p) - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -CORBA::ValueDescription_out::ValueDescription_out (const ::CORBA::ValueDescription_out &p) - : ptr_ (ACE_const_cast (ValueDescription_out&, p).ptr_) -{} - -ACE_INLINE -CORBA::ValueDescription_out & -CORBA::ValueDescription_out::operator= (const ::CORBA::ValueDescription_out &p) -{ - this->ptr_ = ACE_const_cast (ValueDescription_out&, p).ptr_; - return *this; -} - -ACE_INLINE -CORBA::ValueDescription_out & -CORBA::ValueDescription_out::operator= (ValueDescription *_tao_struct_out) -{ - this->ptr_ = _tao_struct_out; - return *this; -} - -ACE_INLINE -CORBA::ValueDescription_out::operator ::CORBA::ValueDescription *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueDescription *& -CORBA::ValueDescription_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ValueDescription * -CORBA::ValueDescription_out::operator-> (void) -{ - return this->ptr_; -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194 - -// ************************************************************* -// Inline operations for class CORBA::ExtValueDef::ExtFullValueDescription_var -// ************************************************************* - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_var::ExtFullValueDescription_var (void) - : ptr_ (0) -{} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_var::ExtFullValueDescription_var (ExtFullValueDescription *p) - : ptr_ (p) -{} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_var::ExtFullValueDescription_var (const ::CORBA::ExtValueDef::ExtFullValueDescription_var &p) -{ - if (p.ptr_) - { - ACE_NEW (this->ptr_, ::CORBA::ExtValueDef::ExtFullValueDescription (*p.ptr_)); - } - else - { - this->ptr_ = 0; - } -} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_var::~ExtFullValueDescription_var (void) -{ - delete this->ptr_; -} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_var & -CORBA::ExtValueDef::ExtFullValueDescription_var::operator= (ExtFullValueDescription *_tao_struct_var) -{ - delete this->ptr_; - this->ptr_ = _tao_struct_var; - return *this; -} - -ACE_INLINE -::CORBA::ExtValueDef::ExtFullValueDescription_var & -CORBA::ExtValueDef::ExtFullValueDescription_var::operator= (const ::CORBA::ExtValueDef::ExtFullValueDescription_var &_tao_struct_var) -{ - if (this != &_tao_struct_var) - { - if (_tao_struct_var.ptr_ == 0) - { - delete this->ptr_; - this->ptr_ = 0; - } - else - { - ExtFullValueDescription *deep_copy = 0; - ACE_NEW_RETURN ( - deep_copy, - ExtFullValueDescription (*_tao_struct_var.ptr_), - *this - ); - - if (deep_copy != 0) - { - ExtFullValueDescription *tmp = deep_copy; - deep_copy = this->ptr_; - this->ptr_ = tmp; - delete deep_copy; - } - } - } - - return *this; -} - -ACE_INLINE const ::CORBA::ExtValueDef::ExtFullValueDescription * -CORBA::ExtValueDef::ExtFullValueDescription_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ExtValueDef::ExtFullValueDescription * -CORBA::ExtValueDef::ExtFullValueDescription_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_var::operator const ::CORBA::ExtValueDef::ExtFullValueDescription &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_var::operator ::CORBA::ExtValueDef::ExtFullValueDescription &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_var::operator ::CORBA::ExtValueDef::ExtFullValueDescription &() const // cast -{ - return *this->ptr_; -} - -// Variable-size types only. -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_var::operator ::CORBA::ExtValueDef::ExtFullValueDescription *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE const ::CORBA::ExtValueDef::ExtFullValueDescription & -CORBA::ExtValueDef::ExtFullValueDescription_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE ::CORBA::ExtValueDef::ExtFullValueDescription & -CORBA::ExtValueDef::ExtFullValueDescription_var::inout (void) -{ - return *this->ptr_; -} - -// Mapping for variable size. -ACE_INLINE ::CORBA::ExtValueDef::ExtFullValueDescription *& -CORBA::ExtValueDef::ExtFullValueDescription_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE ::CORBA::ExtValueDef::ExtFullValueDescription * -CORBA::ExtValueDef::ExtFullValueDescription_var::_retn (void) -{ - ::CORBA::ExtValueDef::ExtFullValueDescription *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE ::CORBA::ExtValueDef::ExtFullValueDescription * -CORBA::ExtValueDef::ExtFullValueDescription_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 CORBA::ExtValueDef::ExtFullValueDescription_out -// ************************************************************* - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_out::ExtFullValueDescription_out (::CORBA::ExtValueDef::ExtFullValueDescription *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_out::ExtFullValueDescription_out (ExtFullValueDescription_var &p) - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_out::ExtFullValueDescription_out (const ::CORBA::ExtValueDef::ExtFullValueDescription_out &p) - : ptr_ (ACE_const_cast (ExtFullValueDescription_out&, p).ptr_) -{} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_out & -CORBA::ExtValueDef::ExtFullValueDescription_out::operator= (const ::CORBA::ExtValueDef::ExtFullValueDescription_out &p) -{ - this->ptr_ = ACE_const_cast (ExtFullValueDescription_out&, p).ptr_; - return *this; -} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_out & -CORBA::ExtValueDef::ExtFullValueDescription_out::operator= (ExtFullValueDescription *_tao_struct_out) -{ - this->ptr_ = _tao_struct_out; - return *this; -} - -ACE_INLINE -CORBA::ExtValueDef::ExtFullValueDescription_out::operator ::CORBA::ExtValueDef::ExtFullValueDescription *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ExtValueDef::ExtFullValueDescription *& -CORBA::ExtValueDef::ExtFullValueDescription_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE ::CORBA::ExtValueDef::ExtFullValueDescription * -CORBA::ExtValueDef::ExtFullValueDescription_out::operator-> (void) -{ - return this->ptr_; -} - -// TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68 #if !defined (_CORBA_EXTVALUEDEF___CI_) @@ -1450,13 +100,6 @@ CORBA::ExtValueDef::ExtValueDef ( this->CORBA_ExtValueDef_setup_collocation (_tao_collocated); } -ACE_INLINE -CORBA::Boolean -CORBA::ExtValueDef::marshal (TAO_OutputCDR &cdr) -{ - return (cdr << this); -} - template<> ACE_INLINE CORBA::Boolean @@ -1487,13 +130,6 @@ CORBA::ValueBoxDef::ValueBoxDef ( this->CORBA_ValueBoxDef_setup_collocation (_tao_collocated); } -ACE_INLINE -CORBA::Boolean -CORBA::ValueBoxDef::marshal (TAO_OutputCDR &cdr) -{ - return (cdr << this); -} - template<> ACE_INLINE CORBA::Boolean @@ -1504,7 +140,6 @@ TAO::Any_Impl_T<CORBA::ValueBoxDef>::to_object ( _tao_elem = CORBA::Object::_duplicate (this->value_); return 1; } - #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -1521,7 +156,7 @@ TAO_IFR_Client_Export 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<< ( @@ -1616,7 +251,7 @@ TAO_IFR_Client_Export 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<< ( @@ -1683,7 +318,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<< ( @@ -1753,7 +388,7 @@ TAO_IFR_Client_Export 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<< ( @@ -1831,5 +466,3 @@ TAO_IFR_Client_Export CORBA::Boolean operator>> ( TAO_InputCDR &, CORBA::ValueBoxDef_ptr & ); - - |