summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBA/RTCORBAC.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RTCORBA/RTCORBAC.i')
-rw-r--r--TAO/tao/RTCORBA/RTCORBAC.i2041
1 files changed, 2 insertions, 2039 deletions
diff --git a/TAO/tao/RTCORBA/RTCORBAC.i b/TAO/tao/RTCORBA/RTCORBAC.i
index 0d79cf0564f..da657159849 100644
--- a/TAO/tao/RTCORBA/RTCORBAC.i
+++ b/TAO/tao/RTCORBA/RTCORBAC.i
@@ -21,653 +21,11 @@
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class RTCORBA::ThreadpoolLane_var
-// *************************************************************
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane_var::ThreadpoolLane_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane_var::ThreadpoolLane_var (ThreadpoolLane *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane_var::ThreadpoolLane_var (const ::RTCORBA::ThreadpoolLane_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::RTCORBA::ThreadpoolLane (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-// Fixed-size types only.
-ACE_INLINE
-RTCORBA::ThreadpoolLane_var::ThreadpoolLane_var (const ::RTCORBA::ThreadpoolLane &p)
-{
- ACE_NEW (this->ptr_, ::RTCORBA::ThreadpoolLane (p));
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane_var::~ThreadpoolLane_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane_var &
-RTCORBA::ThreadpoolLane_var::operator= (ThreadpoolLane *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLane_var &
-RTCORBA::ThreadpoolLane_var::operator= (const ::RTCORBA::ThreadpoolLane_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- ThreadpoolLane *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- ThreadpoolLane (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- ThreadpoolLane *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-// fixed-size types only
-ACE_INLINE RTCORBA::ThreadpoolLane_var &
-RTCORBA::ThreadpoolLane_var::operator= (const ::RTCORBA::ThreadpoolLane &p)
-{
- if (this->ptr_ != &p)
- {
- delete this->ptr_;
- ACE_NEW_RETURN (
- this->ptr_,
- ::RTCORBA::ThreadpoolLane (p),
- *this
- );
- }
-
- return *this;
-}
-
-ACE_INLINE const ::RTCORBA::ThreadpoolLane *
-RTCORBA::ThreadpoolLane_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::ThreadpoolLane *
-RTCORBA::ThreadpoolLane_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane_var::operator const ::RTCORBA::ThreadpoolLane &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane_var::operator ::RTCORBA::ThreadpoolLane &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane_var::operator ::RTCORBA::ThreadpoolLane &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE const ::RTCORBA::ThreadpoolLane &
-RTCORBA::ThreadpoolLane_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::ThreadpoolLane &
-RTCORBA::ThreadpoolLane_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for fixed size
-ACE_INLINE ::RTCORBA::ThreadpoolLane &
-RTCORBA::ThreadpoolLane_var::out (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::ThreadpoolLane
-RTCORBA::ThreadpoolLane_var::_retn (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::ThreadpoolLane *
-RTCORBA::ThreadpoolLane_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_RTCORBA_THREADPOOLLANES_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_RTCORBA_THREADPOOLLANES_CI_
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane *
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::allocbuf (CORBA::ULong size)
-{
- RTCORBA::ThreadpoolLane *retval = 0;
- ACE_NEW_RETURN (retval, RTCORBA::ThreadpoolLane[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::freebuf (RTCORBA::ThreadpoolLane *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes (void)
-{
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes (
- CORBA::ULong maximum,
- CORBA::ULong length,
- RTCORBA::ThreadpoolLane *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes (
- const _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- RTCORBA::ThreadpoolLane *tmp1 =
- _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::allocbuf (this->maximum_);
- RTCORBA::ThreadpoolLane * const tmp2 =
- ACE_reinterpret_cast (RTCORBA::ThreadpoolLane * 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
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes &
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::operator= (
- const _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- RTCORBA::ThreadpoolLane *tmp =
- ACE_reinterpret_cast (RTCORBA::ThreadpoolLane *, this->buffer_);
-
- _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- RTCORBA::ThreadpoolLane *tmp1 =
- ACE_reinterpret_cast (RTCORBA::ThreadpoolLane *, this->buffer_);
- RTCORBA::ThreadpoolLane * const tmp2 =
- ACE_reinterpret_cast (RTCORBA::ThreadpoolLane * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-RTCORBA::ThreadpoolLane &
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- RTCORBA::ThreadpoolLane* tmp =
- ACE_reinterpret_cast (RTCORBA::ThreadpoolLane*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const RTCORBA::ThreadpoolLane &
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- RTCORBA::ThreadpoolLane * const tmp =
- ACE_reinterpret_cast (RTCORBA::ThreadpoolLane* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane *
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::get_buffer (CORBA::Boolean orphan)
-{
- RTCORBA::ThreadpoolLane *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (RTCORBA::ThreadpoolLane*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(RTCORBA::ThreadpoolLane*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const RTCORBA::ThreadpoolLane *
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const RTCORBA::ThreadpoolLane * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- RTCORBA::ThreadpoolLane *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- RTCORBA::ThreadpoolLane *tmp =
- ACE_reinterpret_cast (RTCORBA::ThreadpoolLane*, this->buffer_);
- _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_RTCORBA_THREADPOOLLANES_CI_)
-#define _RTCORBA_THREADPOOLLANES_CI_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
-
-// *************************************************************
-// Inline operations for class RTCORBA::ThreadpoolLanes_var
-// *************************************************************
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_var::ThreadpoolLanes_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_var::ThreadpoolLanes_var (ThreadpoolLanes *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_var::ThreadpoolLanes_var (const ::RTCORBA::ThreadpoolLanes_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::RTCORBA::ThreadpoolLanes (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-// Fixed-size base types only.
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_var::ThreadpoolLanes_var (const ::RTCORBA::ThreadpoolLanes &p)
-{
- ACE_NEW (this->ptr_, ::RTCORBA::ThreadpoolLanes (p));
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_var::~ThreadpoolLanes_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_var &
-RTCORBA::ThreadpoolLanes_var::operator= (ThreadpoolLanes *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes_var &
-RTCORBA::ThreadpoolLanes_var::operator= (const ::RTCORBA::ThreadpoolLanes_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- ThreadpoolLanes *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- ThreadpoolLanes (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- ThreadpoolLanes *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-// Fixed-size types only.
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes_var &
-RTCORBA::ThreadpoolLanes_var::operator= (const ::RTCORBA::ThreadpoolLanes &p)
-{
- if (this->ptr_ != &p)
- {
- delete this->ptr_;
- ACE_NEW_RETURN (this->ptr_, ::RTCORBA::ThreadpoolLanes (p), *this);
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::RTCORBA::ThreadpoolLanes *
-RTCORBA::ThreadpoolLanes_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes *
-RTCORBA::ThreadpoolLanes_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_var::operator const ::RTCORBA::ThreadpoolLanes &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_var::operator ::RTCORBA::ThreadpoolLanes &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_var::operator ::RTCORBA::ThreadpoolLanes &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane &
-RTCORBA::ThreadpoolLanes_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const RTCORBA::ThreadpoolLane &
-RTCORBA::ThreadpoolLanes_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const RTCORBA::ThreadpoolLane &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::RTCORBA::ThreadpoolLanes &
-RTCORBA::ThreadpoolLanes_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes &
-RTCORBA::ThreadpoolLanes_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes *&
-RTCORBA::ThreadpoolLanes_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes *
-RTCORBA::ThreadpoolLanes_var::_retn (void)
-{
- ::RTCORBA::ThreadpoolLanes *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes *
-RTCORBA::ThreadpoolLanes_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
-
-// *************************************************************
-// Inline operations for class RTCORBA::ThreadpoolLanes_out
-// *************************************************************
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_out::ThreadpoolLanes_out (ThreadpoolLanes *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_out::ThreadpoolLanes_out (ThreadpoolLanes_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_out::ThreadpoolLanes_out (const ::RTCORBA::ThreadpoolLanes_out &p)
- : ptr_ (ACE_const_cast (ThreadpoolLanes_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes_out &
-RTCORBA::ThreadpoolLanes_out::operator= (const ::RTCORBA::ThreadpoolLanes_out &p)
-{
- this->ptr_ = ACE_const_cast (ThreadpoolLanes_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes_out &
-RTCORBA::ThreadpoolLanes_out::operator= (ThreadpoolLanes *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLanes_out::operator ::RTCORBA::ThreadpoolLanes *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes *&
-RTCORBA::ThreadpoolLanes_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ThreadpoolLanes *
-RTCORBA::ThreadpoolLanes_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ThreadpoolLane &
-RTCORBA::ThreadpoolLanes_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
#if !defined (_RTCORBA_PRIORITYMODELPOLICY___CI_)
#define _RTCORBA_PRIORITYMODELPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::PriorityModelPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -676,13 +34,6 @@ RTCORBA::PriorityModelPolicy::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_THREADPOOLPOLICY___CI_)
#define _RTCORBA_THREADPOOLPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::ThreadpoolPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -691,682 +42,6 @@ RTCORBA::ThreadpoolPolicy::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_PROTOCOLPROPERTIES___CI_)
#define _RTCORBA_PROTOCOLPROPERTIES___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::ProtocolProperties::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class RTCORBA::Protocol_var
-// *************************************************************
-
-ACE_INLINE
-RTCORBA::Protocol_var::Protocol_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-RTCORBA::Protocol_var::Protocol_var (Protocol *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-RTCORBA::Protocol_var::Protocol_var (const ::RTCORBA::Protocol_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::RTCORBA::Protocol (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-RTCORBA::Protocol_var::~Protocol_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::Protocol_var &
-RTCORBA::Protocol_var::operator= (Protocol *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::RTCORBA::Protocol_var &
-RTCORBA::Protocol_var::operator= (const ::RTCORBA::Protocol_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- Protocol *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- Protocol (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- Protocol *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE const ::RTCORBA::Protocol *
-RTCORBA::Protocol_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::Protocol *
-RTCORBA::Protocol_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::Protocol_var::operator const ::RTCORBA::Protocol &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::Protocol_var::operator ::RTCORBA::Protocol &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::Protocol_var::operator ::RTCORBA::Protocol &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-RTCORBA::Protocol_var::operator ::RTCORBA::Protocol *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE const ::RTCORBA::Protocol &
-RTCORBA::Protocol_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::Protocol &
-RTCORBA::Protocol_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// Mapping for variable size.
-ACE_INLINE ::RTCORBA::Protocol *&
-RTCORBA::Protocol_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::Protocol *
-RTCORBA::Protocol_var::_retn (void)
-{
- ::RTCORBA::Protocol *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::RTCORBA::Protocol *
-RTCORBA::Protocol_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 RTCORBA::Protocol_out
-// *************************************************************
-
-ACE_INLINE
-RTCORBA::Protocol_out::Protocol_out (::RTCORBA::Protocol *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-RTCORBA::Protocol_out::Protocol_out (Protocol_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-RTCORBA::Protocol_out::Protocol_out (const ::RTCORBA::Protocol_out &p)
- : ptr_ (ACE_const_cast (Protocol_out&, p).ptr_)
-{}
-
-ACE_INLINE
-RTCORBA::Protocol_out &
-RTCORBA::Protocol_out::operator= (const ::RTCORBA::Protocol_out &p)
-{
- this->ptr_ = ACE_const_cast (Protocol_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-RTCORBA::Protocol_out &
-RTCORBA::Protocol_out::operator= (Protocol *_tao_struct_out)
-{
- this->ptr_ = _tao_struct_out;
- return *this;
-}
-
-ACE_INLINE
-RTCORBA::Protocol_out::operator ::RTCORBA::Protocol *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::Protocol *&
-RTCORBA::Protocol_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::Protocol *
-RTCORBA::Protocol_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:99
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_RTCORBA_PROTOCOLLIST_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_RTCORBA_PROTOCOLLIST_CI_
-
-ACE_INLINE
-RTCORBA::Protocol *
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::allocbuf (CORBA::ULong size)
-{
- RTCORBA::Protocol *retval = 0;
- ACE_NEW_RETURN (retval, RTCORBA::Protocol[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::freebuf (RTCORBA::Protocol *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList (void)
-{
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_RTCORBA_ProtocolList::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList (
- CORBA::ULong maximum,
- CORBA::ULong length,
- RTCORBA::Protocol *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList (
- const _TAO_Unbounded_Sequence_RTCORBA_ProtocolList &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- RTCORBA::Protocol *tmp1 =
- _TAO_Unbounded_Sequence_RTCORBA_ProtocolList::allocbuf (this->maximum_);
- RTCORBA::Protocol * const tmp2 =
- ACE_reinterpret_cast (RTCORBA::Protocol * 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
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList &
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::operator= (
- const _TAO_Unbounded_Sequence_RTCORBA_ProtocolList &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- RTCORBA::Protocol *tmp =
- ACE_reinterpret_cast (RTCORBA::Protocol *, this->buffer_);
-
- _TAO_Unbounded_Sequence_RTCORBA_ProtocolList::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_RTCORBA_ProtocolList::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_RTCORBA_ProtocolList::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- RTCORBA::Protocol *tmp1 =
- ACE_reinterpret_cast (RTCORBA::Protocol *, this->buffer_);
- RTCORBA::Protocol * const tmp2 =
- ACE_reinterpret_cast (RTCORBA::Protocol * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-RTCORBA::Protocol &
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- RTCORBA::Protocol* tmp =
- ACE_reinterpret_cast (RTCORBA::Protocol*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const RTCORBA::Protocol &
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- RTCORBA::Protocol * const tmp =
- ACE_reinterpret_cast (RTCORBA::Protocol* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-RTCORBA::Protocol *
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::get_buffer (CORBA::Boolean orphan)
-{
- RTCORBA::Protocol *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_RTCORBA_ProtocolList::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (RTCORBA::Protocol*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(RTCORBA::Protocol*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const RTCORBA::Protocol *
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const RTCORBA::Protocol * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- RTCORBA::Protocol *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- RTCORBA::Protocol *tmp =
- ACE_reinterpret_cast (RTCORBA::Protocol*, this->buffer_);
- _TAO_Unbounded_Sequence_RTCORBA_ProtocolList::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_RTCORBA_PROTOCOLLIST_CI_)
-#define _RTCORBA_PROTOCOLLIST_CI_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
-
-// *************************************************************
-// Inline operations for class RTCORBA::ProtocolList_var
-// *************************************************************
-
-ACE_INLINE
-RTCORBA::ProtocolList_var::ProtocolList_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-RTCORBA::ProtocolList_var::ProtocolList_var (ProtocolList *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-RTCORBA::ProtocolList_var::ProtocolList_var (const ::RTCORBA::ProtocolList_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::RTCORBA::ProtocolList (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-RTCORBA::ProtocolList_var::~ProtocolList_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ProtocolList_var &
-RTCORBA::ProtocolList_var::operator= (ProtocolList *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::RTCORBA::ProtocolList_var &
-RTCORBA::ProtocolList_var::operator= (const ::RTCORBA::ProtocolList_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- ProtocolList *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- ProtocolList (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- ProtocolList *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::RTCORBA::ProtocolList *
-RTCORBA::ProtocolList_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ProtocolList *
-RTCORBA::ProtocolList_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ProtocolList_var::operator const ::RTCORBA::ProtocolList &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ProtocolList_var::operator ::RTCORBA::ProtocolList &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::ProtocolList_var::operator ::RTCORBA::ProtocolList &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-RTCORBA::ProtocolList_var::operator ::RTCORBA::ProtocolList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::Protocol &
-RTCORBA::ProtocolList_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const RTCORBA::Protocol &
-RTCORBA::ProtocolList_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const RTCORBA::Protocol &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::RTCORBA::ProtocolList &
-RTCORBA::ProtocolList_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ProtocolList &
-RTCORBA::ProtocolList_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ProtocolList *&
-RTCORBA::ProtocolList_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ProtocolList *
-RTCORBA::ProtocolList_var::_retn (void)
-{
- ::RTCORBA::ProtocolList *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::RTCORBA::ProtocolList *
-RTCORBA::ProtocolList_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
-
-// *************************************************************
-// Inline operations for class RTCORBA::ProtocolList_out
-// *************************************************************
-
-ACE_INLINE
-RTCORBA::ProtocolList_out::ProtocolList_out (ProtocolList *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-RTCORBA::ProtocolList_out::ProtocolList_out (ProtocolList_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-RTCORBA::ProtocolList_out::ProtocolList_out (const ::RTCORBA::ProtocolList_out &p)
- : ptr_ (ACE_const_cast (ProtocolList_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::RTCORBA::ProtocolList_out &
-RTCORBA::ProtocolList_out::operator= (const ::RTCORBA::ProtocolList_out &p)
-{
- this->ptr_ = ACE_const_cast (ProtocolList_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::RTCORBA::ProtocolList_out &
-RTCORBA::ProtocolList_out::operator= (ProtocolList *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-RTCORBA::ProtocolList_out::operator ::RTCORBA::ProtocolList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ProtocolList *&
-RTCORBA::ProtocolList_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::ProtocolList *
-RTCORBA::ProtocolList_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::Protocol &
-RTCORBA::ProtocolList_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1375,13 +50,6 @@ RTCORBA::ProtocolList_out::operator[] (CORBA::ULong index)
#if !defined (_RTCORBA_SERVERPROTOCOLPOLICY___CI_)
#define _RTCORBA_SERVERPROTOCOLPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::ServerProtocolPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1390,13 +58,6 @@ RTCORBA::ServerProtocolPolicy::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_CLIENTPROTOCOLPOLICY___CI_)
#define _RTCORBA_CLIENTPROTOCOLPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::ClientProtocolPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1405,13 +66,6 @@ RTCORBA::ClientProtocolPolicy::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_PRIVATECONNECTIONPOLICY___CI_)
#define _RTCORBA_PRIVATECONNECTIONPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::PrivateConnectionPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1420,13 +74,6 @@ RTCORBA::PrivateConnectionPolicy::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_TCPPROTOCOLPROPERTIES___CI_)
#define _RTCORBA_TCPPROTOCOLPROPERTIES___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::TCPProtocolProperties::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1435,13 +82,6 @@ RTCORBA::TCPProtocolProperties::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_GIOPPROTOCOLPROPERTIES___CI_)
#define _RTCORBA_GIOPPROTOCOLPROPERTIES___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::GIOPProtocolProperties::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1450,13 +90,6 @@ RTCORBA::GIOPProtocolProperties::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___CI_)
#define _RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::UnixDomainProtocolProperties::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1465,648 +98,6 @@ RTCORBA::UnixDomainProtocolProperties::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___CI_)
#define _RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::SharedMemoryProtocolProperties::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class RTCORBA::PriorityBand_var
-// *************************************************************
-
-ACE_INLINE
-RTCORBA::PriorityBand_var::PriorityBand_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-RTCORBA::PriorityBand_var::PriorityBand_var (PriorityBand *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-RTCORBA::PriorityBand_var::PriorityBand_var (const ::RTCORBA::PriorityBand_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::RTCORBA::PriorityBand (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-// Fixed-size types only.
-ACE_INLINE
-RTCORBA::PriorityBand_var::PriorityBand_var (const ::RTCORBA::PriorityBand &p)
-{
- ACE_NEW (this->ptr_, ::RTCORBA::PriorityBand (p));
-}
-
-ACE_INLINE
-RTCORBA::PriorityBand_var::~PriorityBand_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBand_var &
-RTCORBA::PriorityBand_var::operator= (PriorityBand *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::RTCORBA::PriorityBand_var &
-RTCORBA::PriorityBand_var::operator= (const ::RTCORBA::PriorityBand_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- PriorityBand *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- PriorityBand (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- PriorityBand *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-// fixed-size types only
-ACE_INLINE RTCORBA::PriorityBand_var &
-RTCORBA::PriorityBand_var::operator= (const ::RTCORBA::PriorityBand &p)
-{
- if (this->ptr_ != &p)
- {
- delete this->ptr_;
- ACE_NEW_RETURN (
- this->ptr_,
- ::RTCORBA::PriorityBand (p),
- *this
- );
- }
-
- return *this;
-}
-
-ACE_INLINE const ::RTCORBA::PriorityBand *
-RTCORBA::PriorityBand_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::PriorityBand *
-RTCORBA::PriorityBand_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBand_var::operator const ::RTCORBA::PriorityBand &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBand_var::operator ::RTCORBA::PriorityBand &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBand_var::operator ::RTCORBA::PriorityBand &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE const ::RTCORBA::PriorityBand &
-RTCORBA::PriorityBand_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::PriorityBand &
-RTCORBA::PriorityBand_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for fixed size
-ACE_INLINE ::RTCORBA::PriorityBand &
-RTCORBA::PriorityBand_var::out (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::PriorityBand
-RTCORBA::PriorityBand_var::_retn (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::RTCORBA::PriorityBand *
-RTCORBA::PriorityBand_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_RTCORBA_PRIORITYBANDS_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_RTCORBA_PRIORITYBANDS_CI_
-
-ACE_INLINE
-RTCORBA::PriorityBand *
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::allocbuf (CORBA::ULong size)
-{
- RTCORBA::PriorityBand *retval = 0;
- ACE_NEW_RETURN (retval, RTCORBA::PriorityBand[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::freebuf (RTCORBA::PriorityBand *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands (void)
-{
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_RTCORBA_PriorityBands::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands (
- CORBA::ULong maximum,
- CORBA::ULong length,
- RTCORBA::PriorityBand *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands (
- const _TAO_Unbounded_Sequence_RTCORBA_PriorityBands &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- RTCORBA::PriorityBand *tmp1 =
- _TAO_Unbounded_Sequence_RTCORBA_PriorityBands::allocbuf (this->maximum_);
- RTCORBA::PriorityBand * const tmp2 =
- ACE_reinterpret_cast (RTCORBA::PriorityBand * 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
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands &
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::operator= (
- const _TAO_Unbounded_Sequence_RTCORBA_PriorityBands &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- RTCORBA::PriorityBand *tmp =
- ACE_reinterpret_cast (RTCORBA::PriorityBand *, this->buffer_);
-
- _TAO_Unbounded_Sequence_RTCORBA_PriorityBands::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_RTCORBA_PriorityBands::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_RTCORBA_PriorityBands::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- RTCORBA::PriorityBand *tmp1 =
- ACE_reinterpret_cast (RTCORBA::PriorityBand *, this->buffer_);
- RTCORBA::PriorityBand * const tmp2 =
- ACE_reinterpret_cast (RTCORBA::PriorityBand * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-RTCORBA::PriorityBand &
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- RTCORBA::PriorityBand* tmp =
- ACE_reinterpret_cast (RTCORBA::PriorityBand*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const RTCORBA::PriorityBand &
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- RTCORBA::PriorityBand * const tmp =
- ACE_reinterpret_cast (RTCORBA::PriorityBand* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-RTCORBA::PriorityBand *
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::get_buffer (CORBA::Boolean orphan)
-{
- RTCORBA::PriorityBand *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_RTCORBA_PriorityBands::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (RTCORBA::PriorityBand*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(RTCORBA::PriorityBand*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const RTCORBA::PriorityBand *
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const RTCORBA::PriorityBand * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- RTCORBA::PriorityBand *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- RTCORBA::PriorityBand *tmp =
- ACE_reinterpret_cast (RTCORBA::PriorityBand*, this->buffer_);
- _TAO_Unbounded_Sequence_RTCORBA_PriorityBands::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_RTCORBA_PRIORITYBANDS_CI_)
-#define _RTCORBA_PRIORITYBANDS_CI_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
-
-// *************************************************************
-// Inline operations for class RTCORBA::PriorityBands_var
-// *************************************************************
-
-ACE_INLINE
-RTCORBA::PriorityBands_var::PriorityBands_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-RTCORBA::PriorityBands_var::PriorityBands_var (PriorityBands *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-RTCORBA::PriorityBands_var::PriorityBands_var (const ::RTCORBA::PriorityBands_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::RTCORBA::PriorityBands (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-// Fixed-size base types only.
-ACE_INLINE
-RTCORBA::PriorityBands_var::PriorityBands_var (const ::RTCORBA::PriorityBands &p)
-{
- ACE_NEW (this->ptr_, ::RTCORBA::PriorityBands (p));
-}
-
-ACE_INLINE
-RTCORBA::PriorityBands_var::~PriorityBands_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBands_var &
-RTCORBA::PriorityBands_var::operator= (PriorityBands *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::RTCORBA::PriorityBands_var &
-RTCORBA::PriorityBands_var::operator= (const ::RTCORBA::PriorityBands_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- PriorityBands *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- PriorityBands (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- PriorityBands *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-// Fixed-size types only.
-ACE_INLINE
-::RTCORBA::PriorityBands_var &
-RTCORBA::PriorityBands_var::operator= (const ::RTCORBA::PriorityBands &p)
-{
- if (this->ptr_ != &p)
- {
- delete this->ptr_;
- ACE_NEW_RETURN (this->ptr_, ::RTCORBA::PriorityBands (p), *this);
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::RTCORBA::PriorityBands *
-RTCORBA::PriorityBands_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::PriorityBands *
-RTCORBA::PriorityBands_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBands_var::operator const ::RTCORBA::PriorityBands &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBands_var::operator ::RTCORBA::PriorityBands &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBands_var::operator ::RTCORBA::PriorityBands &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBand &
-RTCORBA::PriorityBands_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const RTCORBA::PriorityBand &
-RTCORBA::PriorityBands_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const RTCORBA::PriorityBand &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::RTCORBA::PriorityBands &
-RTCORBA::PriorityBands_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::PriorityBands &
-RTCORBA::PriorityBands_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::PriorityBands *&
-RTCORBA::PriorityBands_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::PriorityBands *
-RTCORBA::PriorityBands_var::_retn (void)
-{
- ::RTCORBA::PriorityBands *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::RTCORBA::PriorityBands *
-RTCORBA::PriorityBands_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
-
-// *************************************************************
-// Inline operations for class RTCORBA::PriorityBands_out
-// *************************************************************
-
-ACE_INLINE
-RTCORBA::PriorityBands_out::PriorityBands_out (PriorityBands *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBands_out::PriorityBands_out (PriorityBands_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBands_out::PriorityBands_out (const ::RTCORBA::PriorityBands_out &p)
- : ptr_ (ACE_const_cast (PriorityBands_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::RTCORBA::PriorityBands_out &
-RTCORBA::PriorityBands_out::operator= (const ::RTCORBA::PriorityBands_out &p)
-{
- this->ptr_ = ACE_const_cast (PriorityBands_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::RTCORBA::PriorityBands_out &
-RTCORBA::PriorityBands_out::operator= (PriorityBands *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBands_out::operator ::RTCORBA::PriorityBands *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::PriorityBands *&
-RTCORBA::PriorityBands_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::RTCORBA::PriorityBands *
-RTCORBA::PriorityBands_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RTCORBA::PriorityBand &
-RTCORBA::PriorityBands_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -2115,13 +106,6 @@ RTCORBA::PriorityBands_out::operator[] (CORBA::ULong index)
#if !defined (_RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY___CI_)
#define _RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::PriorityBandedConnectionPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -2130,13 +114,6 @@ RTCORBA::PriorityBandedConnectionPolicy::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_CURRENT___CI_)
#define _RTCORBA_CURRENT___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::Current::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -2145,13 +122,6 @@ RTCORBA::Current::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_MUTEX___CI_)
#define _RTCORBA_MUTEX___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::Mutex::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -2160,17 +130,10 @@ RTCORBA::Mutex::marshal (TAO_OutputCDR &)
#if !defined (_RTCORBA_RTORB___CI_)
#define _RTCORBA_RTORB___CI_
-ACE_INLINE
-CORBA::Boolean
-RTCORBA::RTORB::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#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<< (
@@ -2255,7 +218,7 @@ CORBA::Boolean operator>> (TAO_InputCDR &strm, RTCORBA::PriorityModel &_tao_enum
}
// 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<< (