summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/PortableServerC.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/PortableServerC.i')
-rw-r--r--TAO/tao/PortableServer/PortableServerC.i1281
1 files changed, 2 insertions, 1279 deletions
diff --git a/TAO/tao/PortableServer/PortableServerC.i b/TAO/tao/PortableServer/PortableServerC.i
index c1c0ccdafc3..e55da7f32b5 100644
--- a/TAO/tao/PortableServer/PortableServerC.i
+++ b/TAO/tao/PortableServer/PortableServerC.i
@@ -20,1187 +20,20 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp:108
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLESERVER_POALIST_CI_)
-#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLESERVER_POALIST_CI_
-
-ACE_INLINE
-PortableServer::POA **
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (CORBA::ULong nelems)
-{
- PortableServer::POA **buf = 0;
-
- ACE_NEW_RETURN (buf, PortableServer::POA*[nelems], 0);
-
- for (CORBA::ULong i = 0; i < nelems; i++)
- {
- buf[i] = PortableServer::POA::_nil ();
- }
-
- return buf;
-}
-
-ACE_INLINE
-void
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::freebuf (PortableServer::POA **buffer)
-{
- if (buffer == 0)
- {
- return;
- }
-
- delete[] buffer;
-}
-
-ACE_INLINE
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_TAO_Unbounded_Object_Sequence_PortableServer_POAList (void)
-{
-}
-
-ACE_INLINE
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_TAO_Unbounded_Object_Sequence_PortableServer_POAList (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_TAO_Unbounded_Object_Sequence_PortableServer_POAList (
- CORBA::ULong maximum,
- CORBA::ULong length,
- PortableServer::POA* *value,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, value, release)
-{
-}
-
-ACE_INLINE
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_TAO_Unbounded_Object_Sequence_PortableServer_POAList(
- const _TAO_Unbounded_Object_Sequence_PortableServer_POAList &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- PortableServer::POA **tmp1 =
- _TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (this->maximum_);
- PortableServer::POA ** const tmp2 =
- ACE_reinterpret_cast (PortableServer::POA ** ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < rhs.length_; ++i)
- {
- tmp1[i] = PortableServer::POA::_duplicate (tmp2[i]);
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList &
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::operator= (
- const _TAO_Unbounded_Object_Sequence_PortableServer_POAList &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- PortableServer::POA **tmp =
- ACE_reinterpret_cast (PortableServer::POA **, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- CORBA::release (tmp[i]);
- tmp[i] = PortableServer::POA::_nil ();
- }
-
- if (this->maximum_ < rhs.maximum_)
- {
- _TAO_Unbounded_Object_Sequence_PortableServer_POAList::freebuf (tmp);
- this->buffer_ = _TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- PortableServer::POA **tmp1 =
- ACE_reinterpret_cast (PortableServer::POA **, this->buffer_);
-
- PortableServer::POA ** const tmp2 =
- ACE_reinterpret_cast (PortableServer::POA ** ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < rhs.length_; ++i)
- {
- tmp1[i] = PortableServer::POA::_duplicate (tmp2[i]);
- }
-
- return *this;
-}
-
-ACE_INLINE
-TAO_Object_Manager<PortableServer::POA,PortableServer::POA_var>
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::operator[] (CORBA::ULong index) const
-{
- ACE_ASSERT (index < this->maximum_);
- PortableServer::POA ** const tmp =
- ACE_reinterpret_cast (PortableServer::POA ** ACE_CAST_CONST, this->buffer_);
- return TAO_Object_Manager<PortableServer::POA,PortableServer::POA_var> (tmp + index, this->release_);
-}
-
-ACE_INLINE
-PortableServer::POA* *
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::get_buffer (CORBA::Boolean orphan)
-{
- PortableServer::POA **result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (this->maximum_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (PortableServer::POA**, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(PortableServer::POA**,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const PortableServer::POA* *
-PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const PortableServer::POA ** ACE_CAST_CONST, this->buffer_);
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_PORTABLESERVER_POALIST_CI_)
-#define _PORTABLESERVER_POALIST_CI_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
-
-// *************************************************************
-// Inline operations for class PortableServer::POAList_var
-// *************************************************************
-
-ACE_INLINE
-PortableServer::POAList_var::POAList_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-PortableServer::POAList_var::POAList_var (POAList *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-PortableServer::POAList_var::POAList_var (const ::PortableServer::POAList_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::PortableServer::POAList (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-PortableServer::POAList_var::~POAList_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::POAList_var &
-PortableServer::POAList_var::operator= (POAList *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::PortableServer::POAList_var &
-PortableServer::POAList_var::operator= (const ::PortableServer::POAList_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- POAList *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- POAList (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- POAList *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::PortableServer::POAList *
-PortableServer::POAList_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::POAList *
-PortableServer::POAList_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::POAList_var::operator const ::PortableServer::POAList &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::POAList_var::operator ::PortableServer::POAList &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::POAList_var::operator ::PortableServer::POAList &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-PortableServer::POAList_var::operator ::PortableServer::POAList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-TAO_Object_Manager<PortableServer::POA, PortableServer::POA_var>
-PortableServer::POAList_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const ::PortableServer::POAList &
-PortableServer::POAList_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::POAList &
-PortableServer::POAList_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::POAList *&
-PortableServer::POAList_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::POAList *
-PortableServer::POAList_var::_retn (void)
-{
- ::PortableServer::POAList *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::PortableServer::POAList *
-PortableServer::POAList_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 PortableServer::POAList_out
-// *************************************************************
-
-ACE_INLINE
-PortableServer::POAList_out::POAList_out (POAList *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-PortableServer::POAList_out::POAList_out (POAList_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-PortableServer::POAList_out::POAList_out (const ::PortableServer::POAList_out &p)
- : ptr_ (ACE_const_cast (POAList_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::PortableServer::POAList_out &
-PortableServer::POAList_out::operator= (const ::PortableServer::POAList_out &p)
-{
- this->ptr_ = ACE_const_cast (POAList_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::PortableServer::POAList_out &
-PortableServer::POAList_out::operator= (POAList *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-PortableServer::POAList_out::operator ::PortableServer::POAList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::POAList *&
-PortableServer::POAList_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::POAList *
-PortableServer::POAList_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-TAO_Object_Manager<PortableServer::POA, PortableServer::POA_var>
-PortableServer::POAList_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-#endif /* end #if !defined */
-
-#if !defined (_PORTABLESERVER_OBJECTID_CI_)
-#define _PORTABLESERVER_OBJECTID_CI_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
-
-// *************************************************************
-// Inline operations for class PortableServer::ObjectId_var
-// *************************************************************
-
-ACE_INLINE
-PortableServer::ObjectId_var::ObjectId_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-PortableServer::ObjectId_var::ObjectId_var (ObjectId *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-PortableServer::ObjectId_var::ObjectId_var (const ::PortableServer::ObjectId_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::PortableServer::ObjectId (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-// Fixed-size base types only.
-ACE_INLINE
-PortableServer::ObjectId_var::ObjectId_var (const ::PortableServer::ObjectId &p)
-{
- ACE_NEW (this->ptr_, ::PortableServer::ObjectId (p));
-}
-
-ACE_INLINE
-PortableServer::ObjectId_var::~ObjectId_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::ObjectId_var &
-PortableServer::ObjectId_var::operator= (ObjectId *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::PortableServer::ObjectId_var &
-PortableServer::ObjectId_var::operator= (const ::PortableServer::ObjectId_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- ObjectId *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- ObjectId (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- ObjectId *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-// Fixed-size types only.
-ACE_INLINE
-::PortableServer::ObjectId_var &
-PortableServer::ObjectId_var::operator= (const ::PortableServer::ObjectId &p)
-{
- if (this->ptr_ != &p)
- {
- delete this->ptr_;
- ACE_NEW_RETURN (this->ptr_, ::PortableServer::ObjectId (p), *this);
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::PortableServer::ObjectId *
-PortableServer::ObjectId_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::ObjectId *
-PortableServer::ObjectId_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::ObjectId_var::operator const ::PortableServer::ObjectId &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::ObjectId_var::operator ::PortableServer::ObjectId &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::ObjectId_var::operator ::PortableServer::ObjectId &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-CORBA::Octet &
-PortableServer::ObjectId_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const CORBA::Octet &
-PortableServer::ObjectId_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const CORBA::Octet &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::PortableServer::ObjectId &
-PortableServer::ObjectId_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::ObjectId &
-PortableServer::ObjectId_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::ObjectId *&
-PortableServer::ObjectId_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::ObjectId *
-PortableServer::ObjectId_var::_retn (void)
-{
- ::PortableServer::ObjectId *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::PortableServer::ObjectId *
-PortableServer::ObjectId_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 PortableServer::ObjectId_out
-// *************************************************************
-
-ACE_INLINE
-PortableServer::ObjectId_out::ObjectId_out (ObjectId *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-PortableServer::ObjectId_out::ObjectId_out (ObjectId_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-PortableServer::ObjectId_out::ObjectId_out (const ::PortableServer::ObjectId_out &p)
- : ptr_ (ACE_const_cast (ObjectId_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::PortableServer::ObjectId_out &
-PortableServer::ObjectId_out::operator= (const ::PortableServer::ObjectId_out &p)
-{
- this->ptr_ = ACE_const_cast (ObjectId_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::PortableServer::ObjectId_out &
-PortableServer::ObjectId_out::operator= (ObjectId *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-PortableServer::ObjectId_out::operator ::PortableServer::ObjectId *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::ObjectId *&
-PortableServer::ObjectId_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::ObjectId *
-PortableServer::ObjectId_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-CORBA::Octet &
-PortableServer::ObjectId_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-#endif /* end #if !defined */
-
-#if (TAO_HAS_MINIMUM_POA == 0)
-
-// 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_PORTABLESERVER_IDS_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_PORTABLESERVER_IDS_CI_
-
-ACE_INLINE
-PortableServer::ObjectId *
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (CORBA::ULong size)
-{
- PortableServer::ObjectId *retval = 0;
- ACE_NEW_RETURN (retval, PortableServer::ObjectId[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::freebuf (PortableServer::ObjectId *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::_TAO_Unbounded_Sequence_PortableServer_IDs (void)
-{
-}
-
-ACE_INLINE
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::_TAO_Unbounded_Sequence_PortableServer_IDs (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::_TAO_Unbounded_Sequence_PortableServer_IDs (
- CORBA::ULong maximum,
- CORBA::ULong length,
- PortableServer::ObjectId *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::_TAO_Unbounded_Sequence_PortableServer_IDs (
- const _TAO_Unbounded_Sequence_PortableServer_IDs &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- PortableServer::ObjectId *tmp1 =
- _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (this->maximum_);
- PortableServer::ObjectId * const tmp2 =
- ACE_reinterpret_cast (PortableServer::ObjectId * 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
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs &
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::operator= (
- const _TAO_Unbounded_Sequence_PortableServer_IDs &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- PortableServer::ObjectId *tmp =
- ACE_reinterpret_cast (PortableServer::ObjectId *, this->buffer_);
-
- _TAO_Unbounded_Sequence_PortableServer_IDs::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- PortableServer::ObjectId *tmp1 =
- ACE_reinterpret_cast (PortableServer::ObjectId *, this->buffer_);
- PortableServer::ObjectId * const tmp2 =
- ACE_reinterpret_cast (PortableServer::ObjectId * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-PortableServer::ObjectId &
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- PortableServer::ObjectId* tmp =
- ACE_reinterpret_cast (PortableServer::ObjectId*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const PortableServer::ObjectId &
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- PortableServer::ObjectId * const tmp =
- ACE_reinterpret_cast (PortableServer::ObjectId* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-PortableServer::ObjectId *
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::get_buffer (CORBA::Boolean orphan)
-{
- PortableServer::ObjectId *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (PortableServer::ObjectId*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(PortableServer::ObjectId*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const PortableServer::ObjectId *
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const PortableServer::ObjectId * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- PortableServer::ObjectId *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- PortableServer::ObjectId *tmp =
- ACE_reinterpret_cast (PortableServer::ObjectId*, this->buffer_);
- _TAO_Unbounded_Sequence_PortableServer_IDs::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_PORTABLESERVER_IDS_CI_)
-#define _PORTABLESERVER_IDS_CI_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
-
-// *************************************************************
-// Inline operations for class PortableServer::IDs_var
-// *************************************************************
-
-ACE_INLINE
-PortableServer::IDs_var::IDs_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-PortableServer::IDs_var::IDs_var (IDs *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-PortableServer::IDs_var::IDs_var (const ::PortableServer::IDs_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::PortableServer::IDs (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-PortableServer::IDs_var::~IDs_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::IDs_var &
-PortableServer::IDs_var::operator= (IDs *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::PortableServer::IDs_var &
-PortableServer::IDs_var::operator= (const ::PortableServer::IDs_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- IDs *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- IDs (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- IDs *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::PortableServer::IDs *
-PortableServer::IDs_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::IDs *
-PortableServer::IDs_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::IDs_var::operator const ::PortableServer::IDs &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::IDs_var::operator ::PortableServer::IDs &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::IDs_var::operator ::PortableServer::IDs &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-PortableServer::IDs_var::operator ::PortableServer::IDs *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::ObjectId &
-PortableServer::IDs_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const PortableServer::ObjectId &
-PortableServer::IDs_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const PortableServer::ObjectId &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::PortableServer::IDs &
-PortableServer::IDs_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::IDs &
-PortableServer::IDs_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::IDs *&
-PortableServer::IDs_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::IDs *
-PortableServer::IDs_var::_retn (void)
-{
- ::PortableServer::IDs *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::PortableServer::IDs *
-PortableServer::IDs_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 PortableServer::IDs_out
-// *************************************************************
-
-ACE_INLINE
-PortableServer::IDs_out::IDs_out (IDs *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-PortableServer::IDs_out::IDs_out (IDs_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-PortableServer::IDs_out::IDs_out (const ::PortableServer::IDs_out &p)
- : ptr_ (ACE_const_cast (IDs_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::PortableServer::IDs_out &
-PortableServer::IDs_out::operator= (const ::PortableServer::IDs_out &p)
-{
- this->ptr_ = ACE_const_cast (IDs_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::PortableServer::IDs_out &
-PortableServer::IDs_out::operator= (IDs *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-PortableServer::IDs_out::operator ::PortableServer::IDs *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::IDs *&
-PortableServer::IDs_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::PortableServer::IDs *
-PortableServer::IDs_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::ObjectId &
-PortableServer::IDs_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 (_PORTABLESERVER_THREADPOLICY___CI_)
#define _PORTABLESERVER_THREADPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::ThreadPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
-#endif /* TAO_HAS_MINIMUM_POA == 0 */
-
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
#if !defined (_PORTABLESERVER_LIFESPANPOLICY___CI_)
#define _PORTABLESERVER_LIFESPANPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::LifespanPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1209,13 +42,6 @@ PortableServer::LifespanPolicy::marshal (TAO_OutputCDR &)
#if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY___CI_)
#define _PORTABLESERVER_IDUNIQUENESSPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::IdUniquenessPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1224,30 +50,14 @@ PortableServer::IdUniquenessPolicy::marshal (TAO_OutputCDR &)
#if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY___CI_)
#define _PORTABLESERVER_IDASSIGNMENTPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::IdAssignmentPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
-#if (TAO_HAS_MINIMUM_POA == 0)
-
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
#if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY___CI_)
#define _PORTABLESERVER_IMPLICITACTIVATIONPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::ImplicitActivationPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1256,13 +66,6 @@ PortableServer::ImplicitActivationPolicy::marshal (TAO_OutputCDR &)
#if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY___CI_)
#define _PORTABLESERVER_SERVANTRETENTIONPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::ServantRetentionPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1271,47 +74,22 @@ PortableServer::ServantRetentionPolicy::marshal (TAO_OutputCDR &)
#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY___CI_)
#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::RequestProcessingPolicy::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
-#endif /* TAO_HAS_MINIMUM_POA == 0 */
-
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
#if !defined (_PORTABLESERVER_POAMANAGER___CI_)
#define _PORTABLESERVER_POAMANAGER___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::POAManager::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
-#if (TAO_HAS_MINIMUM_POA == 0)
-
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR___CI_)
#define _PORTABLESERVER_ADAPTERACTIVATOR___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::AdapterActivator::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1320,13 +98,6 @@ PortableServer::AdapterActivator::marshal (TAO_OutputCDR &)
#if !defined (_PORTABLESERVER_SERVANTMANAGER___CI_)
#define _PORTABLESERVER_SERVANTMANAGER___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::ServantManager::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1335,13 +106,6 @@ PortableServer::ServantManager::marshal (TAO_OutputCDR &)
#if !defined (_PORTABLESERVER_SERVANTACTIVATOR___CI_)
#define _PORTABLESERVER_SERVANTACTIVATOR___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::ServantActivator::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1350,30 +114,14 @@ PortableServer::ServantActivator::marshal (TAO_OutputCDR &)
#if !defined (_PORTABLESERVER_SERVANTLOCATOR___CI_)
#define _PORTABLESERVER_SERVANTLOCATOR___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::ServantLocator::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
-#endif /* TAO_HAS_MINIMUM_POA == 0 */
-
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
#if !defined (_PORTABLESERVER_POA___CI_)
#define _PORTABLESERVER_POA___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::POA::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1382,37 +130,12 @@ PortableServer::POA::marshal (TAO_OutputCDR &)
#if !defined (_PORTABLESERVER_CURRENT___CI_)
#define _PORTABLESERVER_CURRENT___CI_
-ACE_INLINE
-CORBA::Boolean
-PortableServer::Current::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
#endif /* end #if !defined */
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
-
-#if !defined _TAO_CDR_OP_PortableServer_ObjectId_I_
-#define _TAO_CDR_OP_PortableServer_ObjectId_I_
-
-CORBA::Boolean TAO_PortableServer_Export operator<< (
- TAO_OutputCDR &,
- const PortableServer::ObjectId &
- );
-
-CORBA::Boolean TAO_PortableServer_Export operator>> (
- TAO_InputCDR &,
- PortableServer::ObjectId &
- );
-
-#endif /* _TAO_CDR_OP_PortableServer_ObjectId_I_ */
-
#if (TAO_HAS_MINIMUM_CORBA == 0)
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:103
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71
ACE_INLINE
CORBA::Boolean operator<< (
@@ -1465,7 +188,7 @@ CORBA::Boolean operator>> (
#if (TAO_HAS_MINIMUM_POA == 0)
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:103
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71
ACE_INLINE
CORBA::Boolean operator<< (