summaryrefslogtreecommitdiff
path: root/TAO/tao/IOPC.i
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-24 13:44:55 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-24 13:44:55 +0000
commit46732a6599981239b6de6d690e1fea58542ae79b (patch)
tree30ccc38ebab6b21bd7a5b04fcd46c556766fa366 /TAO/tao/IOPC.i
parent429aaa8fec33b626936123bc1e58cb42d4bbc9e0 (diff)
downloadATCD-46732a6599981239b6de6d690e1fea58542ae79b.tar.gz
ChangeLogTag: Tue Apr 24 08:28:40 2001 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/IOPC.i')
-rw-r--r--TAO/tao/IOPC.i1268
1 files changed, 60 insertions, 1208 deletions
diff --git a/TAO/tao/IOPC.i b/TAO/tao/IOPC.i
index aba1dad1014..465ba351f1f 100644
--- a/TAO/tao/IOPC.i
+++ b/TAO/tao/IOPC.i
@@ -212,236 +212,6 @@ IOP::TaggedProfile_out::operator-> (void)
return this->ptr_;
}
-
-#if !defined (_IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CI_)
-#define _IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CI_
-
-// *************************************************************
-// Inline operations for class IOP::TaggedProfile::_tao_seq_Octet_var
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_var::_tao_seq_Octet_var (void) // default constructor
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_var::_tao_seq_Octet_var (_tao_seq_Octet *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_var::_tao_seq_Octet_var (const ::IOP::TaggedProfile::_tao_seq_Octet_var &p) // copy constructor
-{
- if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::TaggedProfile::_tao_seq_Octet (*p.ptr_));
- else
- this->ptr_ = 0;
-}
-
-// fixed-size base types only
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_var::_tao_seq_Octet_var (const ::IOP::TaggedProfile::_tao_seq_Octet &p)
-{
- ACE_NEW (this->ptr_, ::IOP::TaggedProfile::_tao_seq_Octet (p));
-}
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_var::~_tao_seq_Octet_var (void) // destructor
-{
- delete this->ptr_;
-}
-
-ACE_INLINE IOP::TaggedProfile::_tao_seq_Octet_var &
-IOP::TaggedProfile::_tao_seq_Octet_var::operator= (_tao_seq_Octet *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet_var &
-IOP::TaggedProfile::_tao_seq_Octet_var::operator= (const ::IOP::TaggedProfile::_tao_seq_Octet_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- _tao_seq_Octet *deep_copy =
- new _tao_seq_Octet (*p.ptr_);
-
- if (deep_copy != 0)
- {
- _tao_seq_Octet *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-// fixed-size types only
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet_var &
-IOP::TaggedProfile::_tao_seq_Octet_var::operator= (const ::IOP::TaggedProfile::_tao_seq_Octet &p)
-{
- if (this->ptr_ != &p)
- {
- delete this->ptr_;
- ACE_NEW_RETURN (this->ptr_, ::IOP::TaggedProfile::_tao_seq_Octet (p), *this);
- }
- return *this;
-}
-
-ACE_INLINE const ::IOP::TaggedProfile::_tao_seq_Octet *
-IOP::TaggedProfile::_tao_seq_Octet_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet *
-IOP::TaggedProfile::_tao_seq_Octet_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_var::operator const ::IOP::TaggedProfile::_tao_seq_Octet &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_var::operator ::IOP::TaggedProfile::_tao_seq_Octet &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_var::operator ::IOP::TaggedProfile::_tao_seq_Octet &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::Octet &
-IOP::TaggedProfile::_tao_seq_Octet_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE const CORBA::Octet &
-IOP::TaggedProfile::_tao_seq_Octet_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const CORBA::Octet &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE const ::IOP::TaggedProfile::_tao_seq_Octet &
-IOP::TaggedProfile::_tao_seq_Octet_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet &
-IOP::TaggedProfile::_tao_seq_Octet_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for variable size
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet *&
-IOP::TaggedProfile::_tao_seq_Octet_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet *
-IOP::TaggedProfile::_tao_seq_Octet_var::_retn (void)
-{
- ::IOP::TaggedProfile::_tao_seq_Octet *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet *
-IOP::TaggedProfile::_tao_seq_Octet_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// *************************************************************
-// Inline operations for class IOP::TaggedProfile::_tao_seq_Octet_out
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_out::_tao_seq_Octet_out (_tao_seq_Octet *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_out::_tao_seq_Octet_out (_tao_seq_Octet_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_out::_tao_seq_Octet_out (const ::IOP::TaggedProfile::_tao_seq_Octet_out &p) // copy constructor
- : ptr_ (ACE_const_cast (_tao_seq_Octet_out&, p).ptr_)
-{}
-
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet_out &
-IOP::TaggedProfile::_tao_seq_Octet_out::operator= (const ::IOP::TaggedProfile::_tao_seq_Octet_out &p)
-{
- this->ptr_ = ACE_const_cast (_tao_seq_Octet_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet_out &
-IOP::TaggedProfile::_tao_seq_Octet_out::operator= (_tao_seq_Octet *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedProfile::_tao_seq_Octet_out::operator ::IOP::TaggedProfile::_tao_seq_Octet *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet *&
-IOP::TaggedProfile::_tao_seq_Octet_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile::_tao_seq_Octet *
-IOP::TaggedProfile::_tao_seq_Octet_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::Octet &
-IOP::TaggedProfile::_tao_seq_Octet_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-
-#endif /* end #if !defined */
-
// *************************************************************
// Inline operations for class IOP::IOR_var
// *************************************************************
@@ -811,224 +581,6 @@ IOP::IOR_out::operator-> (void)
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CI_)
-#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CI_
-
-// *************************************************************
-// Inline operations for class IOP::IOR::_tao_seq_TaggedProfile_var
-// *************************************************************
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_var::_tao_seq_TaggedProfile_var (void) // default constructor
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_var::_tao_seq_TaggedProfile_var (_tao_seq_TaggedProfile *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_var::_tao_seq_TaggedProfile_var (const ::IOP::IOR::_tao_seq_TaggedProfile_var &p) // copy constructor
-{
- if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::IOR::_tao_seq_TaggedProfile (*p.ptr_));
- else
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_var::~_tao_seq_TaggedProfile_var (void) // destructor
-{
- delete this->ptr_;
-}
-
-ACE_INLINE IOP::IOR::_tao_seq_TaggedProfile_var &
-IOP::IOR::_tao_seq_TaggedProfile_var::operator= (_tao_seq_TaggedProfile *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE ::IOP::IOR::_tao_seq_TaggedProfile_var &
-IOP::IOR::_tao_seq_TaggedProfile_var::operator= (const ::IOP::IOR::_tao_seq_TaggedProfile_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- _tao_seq_TaggedProfile *deep_copy =
- new _tao_seq_TaggedProfile (*p.ptr_);
-
- if (deep_copy != 0)
- {
- _tao_seq_TaggedProfile *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE const ::IOP::IOR::_tao_seq_TaggedProfile *
-IOP::IOR::_tao_seq_TaggedProfile_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR::_tao_seq_TaggedProfile *
-IOP::IOR::_tao_seq_TaggedProfile_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_var::operator const ::IOP::IOR::_tao_seq_TaggedProfile &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_var::operator ::IOP::IOR::_tao_seq_TaggedProfile &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_var::operator ::IOP::IOR::_tao_seq_TaggedProfile &() const // cast
-{
- return *this->ptr_;
-}
-
-// variable-size types only
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_var::operator ::IOP::IOR::_tao_seq_TaggedProfile *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE IOP::TaggedProfile &
-IOP::IOR::_tao_seq_TaggedProfile_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE const IOP::TaggedProfile &
-IOP::IOR::_tao_seq_TaggedProfile_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const IOP::TaggedProfile &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE const ::IOP::IOR::_tao_seq_TaggedProfile &
-IOP::IOR::_tao_seq_TaggedProfile_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR::_tao_seq_TaggedProfile &
-IOP::IOR::_tao_seq_TaggedProfile_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for variable size
-ACE_INLINE ::IOP::IOR::_tao_seq_TaggedProfile *&
-IOP::IOR::_tao_seq_TaggedProfile_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR::_tao_seq_TaggedProfile *
-IOP::IOR::_tao_seq_TaggedProfile_var::_retn (void)
-{
- ::IOP::IOR::_tao_seq_TaggedProfile *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::IOR::_tao_seq_TaggedProfile *
-IOP::IOR::_tao_seq_TaggedProfile_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// *************************************************************
-// Inline operations for class IOP::IOR::_tao_seq_TaggedProfile_out
-// *************************************************************
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_out::_tao_seq_TaggedProfile_out (_tao_seq_TaggedProfile *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_out::_tao_seq_TaggedProfile_out (_tao_seq_TaggedProfile_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_out::_tao_seq_TaggedProfile_out (const ::IOP::IOR::_tao_seq_TaggedProfile_out &p) // copy constructor
- : ptr_ (ACE_const_cast (_tao_seq_TaggedProfile_out&, p).ptr_)
-{}
-
-ACE_INLINE ::IOP::IOR::_tao_seq_TaggedProfile_out &
-IOP::IOR::_tao_seq_TaggedProfile_out::operator= (const ::IOP::IOR::_tao_seq_TaggedProfile_out &p)
-{
- this->ptr_ = ACE_const_cast (_tao_seq_TaggedProfile_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE ::IOP::IOR::_tao_seq_TaggedProfile_out &
-IOP::IOR::_tao_seq_TaggedProfile_out::operator= (_tao_seq_TaggedProfile *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::IOR::_tao_seq_TaggedProfile_out::operator ::IOP::IOR::_tao_seq_TaggedProfile *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR::_tao_seq_TaggedProfile *&
-IOP::IOR::_tao_seq_TaggedProfile_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR::_tao_seq_TaggedProfile *
-IOP::IOR::_tao_seq_TaggedProfile_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE IOP::TaggedProfile &
-IOP::IOR::_tao_seq_TaggedProfile_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-
-#endif /* end #if !defined */
-
// *************************************************************
// Inline operations for class IOP::TaggedComponent_var
// *************************************************************
@@ -1223,236 +775,6 @@ IOP::TaggedComponent_out::operator-> (void)
}
-#if !defined (_IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CI_)
-#define _IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CI_
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponent::_tao_seq_Octet_var
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_var::_tao_seq_Octet_var (void) // default constructor
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_var::_tao_seq_Octet_var (_tao_seq_Octet *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_var::_tao_seq_Octet_var (const ::IOP::TaggedComponent::_tao_seq_Octet_var &p) // copy constructor
-{
- if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::TaggedComponent::_tao_seq_Octet (*p.ptr_));
- else
- this->ptr_ = 0;
-}
-
-// fixed-size base types only
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_var::_tao_seq_Octet_var (const ::IOP::TaggedComponent::_tao_seq_Octet &p)
-{
- ACE_NEW (this->ptr_, ::IOP::TaggedComponent::_tao_seq_Octet (p));
-}
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_var::~_tao_seq_Octet_var (void) // destructor
-{
- delete this->ptr_;
-}
-
-ACE_INLINE IOP::TaggedComponent::_tao_seq_Octet_var &
-IOP::TaggedComponent::_tao_seq_Octet_var::operator= (_tao_seq_Octet *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet_var &
-IOP::TaggedComponent::_tao_seq_Octet_var::operator= (const ::IOP::TaggedComponent::_tao_seq_Octet_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- _tao_seq_Octet *deep_copy =
- new _tao_seq_Octet (*p.ptr_);
-
- if (deep_copy != 0)
- {
- _tao_seq_Octet *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-// fixed-size types only
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet_var &
-IOP::TaggedComponent::_tao_seq_Octet_var::operator= (const ::IOP::TaggedComponent::_tao_seq_Octet &p)
-{
- if (this->ptr_ != &p)
- {
- delete this->ptr_;
- ACE_NEW_RETURN (this->ptr_, ::IOP::TaggedComponent::_tao_seq_Octet (p), *this);
- }
- return *this;
-}
-
-ACE_INLINE const ::IOP::TaggedComponent::_tao_seq_Octet *
-IOP::TaggedComponent::_tao_seq_Octet_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet *
-IOP::TaggedComponent::_tao_seq_Octet_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_var::operator const ::IOP::TaggedComponent::_tao_seq_Octet &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_var::operator ::IOP::TaggedComponent::_tao_seq_Octet &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_var::operator ::IOP::TaggedComponent::_tao_seq_Octet &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::Octet &
-IOP::TaggedComponent::_tao_seq_Octet_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE const CORBA::Octet &
-IOP::TaggedComponent::_tao_seq_Octet_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const CORBA::Octet &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE const ::IOP::TaggedComponent::_tao_seq_Octet &
-IOP::TaggedComponent::_tao_seq_Octet_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet &
-IOP::TaggedComponent::_tao_seq_Octet_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for variable size
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet *&
-IOP::TaggedComponent::_tao_seq_Octet_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet *
-IOP::TaggedComponent::_tao_seq_Octet_var::_retn (void)
-{
- ::IOP::TaggedComponent::_tao_seq_Octet *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet *
-IOP::TaggedComponent::_tao_seq_Octet_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponent::_tao_seq_Octet_out
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_out::_tao_seq_Octet_out (_tao_seq_Octet *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_out::_tao_seq_Octet_out (_tao_seq_Octet_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_out::_tao_seq_Octet_out (const ::IOP::TaggedComponent::_tao_seq_Octet_out &p) // copy constructor
- : ptr_ (ACE_const_cast (_tao_seq_Octet_out&, p).ptr_)
-{}
-
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet_out &
-IOP::TaggedComponent::_tao_seq_Octet_out::operator= (const ::IOP::TaggedComponent::_tao_seq_Octet_out &p)
-{
- this->ptr_ = ACE_const_cast (_tao_seq_Octet_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet_out &
-IOP::TaggedComponent::_tao_seq_Octet_out::operator= (_tao_seq_Octet *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedComponent::_tao_seq_Octet_out::operator ::IOP::TaggedComponent::_tao_seq_Octet *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet *&
-IOP::TaggedComponent::_tao_seq_Octet_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent::_tao_seq_Octet *
-IOP::TaggedComponent::_tao_seq_Octet_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::Octet &
-IOP::TaggedComponent::_tao_seq_Octet_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-
-#endif /* end #if !defined */
-
-
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CI_)
@@ -2828,236 +2150,6 @@ IOP::ServiceContext_out::operator-> (void)
}
-#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CI_)
-#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CI_
-
-// *************************************************************
-// Inline operations for class IOP::ServiceContext::_tao_seq_Octet_var
-// *************************************************************
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_var::_tao_seq_Octet_var (void) // default constructor
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_var::_tao_seq_Octet_var (_tao_seq_Octet *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_var::_tao_seq_Octet_var (const ::IOP::ServiceContext::_tao_seq_Octet_var &p) // copy constructor
-{
- if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::ServiceContext::_tao_seq_Octet (*p.ptr_));
- else
- this->ptr_ = 0;
-}
-
-// fixed-size base types only
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_var::_tao_seq_Octet_var (const ::IOP::ServiceContext::_tao_seq_Octet &p)
-{
- ACE_NEW (this->ptr_, ::IOP::ServiceContext::_tao_seq_Octet (p));
-}
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_var::~_tao_seq_Octet_var (void) // destructor
-{
- delete this->ptr_;
-}
-
-ACE_INLINE IOP::ServiceContext::_tao_seq_Octet_var &
-IOP::ServiceContext::_tao_seq_Octet_var::operator= (_tao_seq_Octet *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet_var &
-IOP::ServiceContext::_tao_seq_Octet_var::operator= (const ::IOP::ServiceContext::_tao_seq_Octet_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- _tao_seq_Octet *deep_copy =
- new _tao_seq_Octet (*p.ptr_);
-
- if (deep_copy != 0)
- {
- _tao_seq_Octet *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-// fixed-size types only
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet_var &
-IOP::ServiceContext::_tao_seq_Octet_var::operator= (const ::IOP::ServiceContext::_tao_seq_Octet &p)
-{
- if (this->ptr_ != &p)
- {
- delete this->ptr_;
- ACE_NEW_RETURN (this->ptr_, ::IOP::ServiceContext::_tao_seq_Octet (p), *this);
- }
- return *this;
-}
-
-ACE_INLINE const ::IOP::ServiceContext::_tao_seq_Octet *
-IOP::ServiceContext::_tao_seq_Octet_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet *
-IOP::ServiceContext::_tao_seq_Octet_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_var::operator const ::IOP::ServiceContext::_tao_seq_Octet &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_var::operator ::IOP::ServiceContext::_tao_seq_Octet &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_var::operator ::IOP::ServiceContext::_tao_seq_Octet &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::Octet &
-IOP::ServiceContext::_tao_seq_Octet_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE const CORBA::Octet &
-IOP::ServiceContext::_tao_seq_Octet_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const CORBA::Octet &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE const ::IOP::ServiceContext::_tao_seq_Octet &
-IOP::ServiceContext::_tao_seq_Octet_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet &
-IOP::ServiceContext::_tao_seq_Octet_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for variable size
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet *&
-IOP::ServiceContext::_tao_seq_Octet_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet *
-IOP::ServiceContext::_tao_seq_Octet_var::_retn (void)
-{
- ::IOP::ServiceContext::_tao_seq_Octet *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet *
-IOP::ServiceContext::_tao_seq_Octet_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// *************************************************************
-// Inline operations for class IOP::ServiceContext::_tao_seq_Octet_out
-// *************************************************************
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_out::_tao_seq_Octet_out (_tao_seq_Octet *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_out::_tao_seq_Octet_out (_tao_seq_Octet_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_out::_tao_seq_Octet_out (const ::IOP::ServiceContext::_tao_seq_Octet_out &p) // copy constructor
- : ptr_ (ACE_const_cast (_tao_seq_Octet_out&, p).ptr_)
-{}
-
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet_out &
-IOP::ServiceContext::_tao_seq_Octet_out::operator= (const ::IOP::ServiceContext::_tao_seq_Octet_out &p)
-{
- this->ptr_ = ACE_const_cast (_tao_seq_Octet_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet_out &
-IOP::ServiceContext::_tao_seq_Octet_out::operator= (_tao_seq_Octet *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::ServiceContext::_tao_seq_Octet_out::operator ::IOP::ServiceContext::_tao_seq_Octet *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet *&
-IOP::ServiceContext::_tao_seq_Octet_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext::_tao_seq_Octet *
-IOP::ServiceContext::_tao_seq_Octet_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::Octet &
-IOP::ServiceContext::_tao_seq_Octet_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-
-#endif /* end #if !defined */
-
-
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CI_)
@@ -3464,170 +2556,50 @@ IOP::ServiceContextList_out::operator[] (CORBA::ULong index)
// *************************************************************
-#if !defined (_IOP_CODEC___VAR_CI_)
-#define _IOP_CODEC___VAR_CI_
-
-// *************************************************************
-// Inline operations for class IOP::Codec_var
-// *************************************************************
-
-ACE_INLINE
-IOP::Codec_var::Codec_var (void) // default constructor
- : ptr_ (Codec::_nil ())
-{}
-
-ACE_INLINE ::IOP::Codec_ptr
-IOP::Codec_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::Codec_var::Codec_var (const ::IOP::Codec_var &p) // copy constructor
- : TAO_Base_var (),
- ptr_ (Codec::_duplicate (p.ptr ()))
-{}
-
-ACE_INLINE
-IOP::Codec_var::~Codec_var (void) // destructor
-{
- CORBA::release (this->ptr_);
-}
-
-ACE_INLINE IOP::Codec_var &
-IOP::Codec_var::operator= (Codec_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE IOP::Codec_var &
-IOP::Codec_var::operator= (const ::IOP::Codec_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::Codec::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-ACE_INLINE
-IOP::Codec_var::operator const ::IOP::Codec_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::Codec_var::operator ::IOP::Codec_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::Codec_ptr
-IOP::Codec_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::Codec_ptr
-IOP::Codec_var::in (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::Codec_ptr &
-IOP::Codec_var::inout (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::Codec_ptr &
-IOP::Codec_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::Codec::_nil ();
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::Codec_ptr
-IOP::Codec_var::_retn (void)
-{
- // yield ownership of managed obj reference
- ::IOP::Codec_ptr val = this->ptr_;
- this->ptr_ = ::IOP::Codec::_nil ();
- return val;
-}
-
-
-#endif /* end #if !defined */
-
-
-#if !defined (_IOP_CODEC___OUT_CI_)
-#define _IOP_CODEC___OUT_CI_
-
-// *************************************************************
-// Inline operations for class IOP::Codec_out
-// *************************************************************
-
-ACE_INLINE
-IOP::Codec_out::Codec_out (Codec_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = ::IOP::Codec::_nil ();
-}
-
-ACE_INLINE
-IOP::Codec_out::Codec_out (Codec_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::Codec::_nil ();
-}
-
-ACE_INLINE
-IOP::Codec_out::Codec_out (const ::IOP::Codec_out &p) // copy constructor
- : ptr_ (ACE_const_cast (Codec_out &, p).ptr_)
-{}
-
-ACE_INLINE ::IOP::Codec_out &
-IOP::Codec_out::operator= (const ::IOP::Codec_out &p)
-{
- this->ptr_ = ACE_const_cast (Codec_out&, p).ptr_;
- return *this;
-}
+#if !defined (_IOP_CODEC___CI_)
+#define _IOP_CODEC___CI_
-ACE_INLINE IOP::Codec_out &
-IOP::Codec_out::operator= (const ::IOP::Codec_var &p)
+ACE_INLINE IOP::Codec_ptr
+tao_IOP_Codec_duplicate (
+ IOP::Codec_ptr p
+ )
{
- this->ptr_ = ::IOP::Codec::_duplicate (p.ptr ());
- return *this;
+ return IOP::Codec::_duplicate (p);
}
-ACE_INLINE IOP::Codec_out &
-IOP::Codec_out::operator= (Codec_ptr p)
+ACE_INLINE void
+tao_IOP_Codec_release (
+ IOP::Codec_ptr p
+ )
{
- this->ptr_ = p;
- return *this;
+ CORBA::release (p);
}
-ACE_INLINE
-IOP::Codec_out::operator ::IOP::Codec_ptr &() // cast
+ACE_INLINE IOP::Codec_ptr
+tao_IOP_Codec_nil (
+ void
+ )
{
- return this->ptr_;
+ return IOP::Codec::_nil ();
}
-ACE_INLINE ::IOP::Codec_ptr &
-IOP::Codec_out::ptr (void) // ptr
+ACE_INLINE IOP::Codec_ptr
+tao_IOP_Codec_narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
{
- return this->ptr_;
+ return IOP::Codec::_narrow (p, ACE_TRY_ENV);
}
-ACE_INLINE ::IOP::Codec_ptr
-IOP::Codec_out::operator-> (void)
+ACE_INLINE CORBA::Object *
+tao_IOP_Codec_upcast (
+ void *src
+ )
{
- return this->ptr_;
+ IOP::Codec **tmp =
+ ACE_static_cast (IOP::Codec **, src);
+ return *tmp;
}
@@ -3783,170 +2755,50 @@ IOP::Encoding_var::ptr (void) const
// *************************************************************
-#if !defined (_IOP_CODECFACTORY___VAR_CI_)
-#define _IOP_CODECFACTORY___VAR_CI_
-
-// *************************************************************
-// Inline operations for class IOP::CodecFactory_var
-// *************************************************************
-
-ACE_INLINE
-IOP::CodecFactory_var::CodecFactory_var (void) // default constructor
- : ptr_ (CodecFactory::_nil ())
-{}
-
-ACE_INLINE ::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::CodecFactory_var::CodecFactory_var (const ::IOP::CodecFactory_var &p) // copy constructor
- : TAO_Base_var (),
- ptr_ (CodecFactory::_duplicate (p.ptr ()))
-{}
-
-ACE_INLINE
-IOP::CodecFactory_var::~CodecFactory_var (void) // destructor
-{
- CORBA::release (this->ptr_);
-}
-
-ACE_INLINE IOP::CodecFactory_var &
-IOP::CodecFactory_var::operator= (CodecFactory_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE IOP::CodecFactory_var &
-IOP::CodecFactory_var::operator= (const ::IOP::CodecFactory_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::CodecFactory::_duplicate (p.ptr ());
- }
- return *this;
-}
+#if !defined (_IOP_CODECFACTORY___CI_)
+#define _IOP_CODECFACTORY___CI_
-ACE_INLINE
-IOP::CodecFactory_var::operator const ::IOP::CodecFactory_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::CodecFactory_var::operator ::IOP::CodecFactory_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::in (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::CodecFactory_ptr &
-IOP::CodecFactory_var::inout (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::CodecFactory_ptr &
-IOP::CodecFactory_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::CodecFactory::_nil ();
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::_retn (void)
-{
- // yield ownership of managed obj reference
- ::IOP::CodecFactory_ptr val = this->ptr_;
- this->ptr_ = ::IOP::CodecFactory::_nil ();
- return val;
-}
-
-
-#endif /* end #if !defined */
-
-
-#if !defined (_IOP_CODECFACTORY___OUT_CI_)
-#define _IOP_CODECFACTORY___OUT_CI_
-
-// *************************************************************
-// Inline operations for class IOP::CodecFactory_out
-// *************************************************************
-
-ACE_INLINE
-IOP::CodecFactory_out::CodecFactory_out (CodecFactory_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = ::IOP::CodecFactory::_nil ();
-}
-
-ACE_INLINE
-IOP::CodecFactory_out::CodecFactory_out (CodecFactory_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::CodecFactory::_nil ();
-}
-
-ACE_INLINE
-IOP::CodecFactory_out::CodecFactory_out (const ::IOP::CodecFactory_out &p) // copy constructor
- : ptr_ (ACE_const_cast (CodecFactory_out &, p).ptr_)
-{}
-
-ACE_INLINE ::IOP::CodecFactory_out &
-IOP::CodecFactory_out::operator= (const ::IOP::CodecFactory_out &p)
-{
- this->ptr_ = ACE_const_cast (CodecFactory_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE IOP::CodecFactory_out &
-IOP::CodecFactory_out::operator= (const ::IOP::CodecFactory_var &p)
+ACE_INLINE IOP::CodecFactory_ptr
+tao_IOP_CodecFactory_duplicate (
+ IOP::CodecFactory_ptr p
+ )
{
- this->ptr_ = ::IOP::CodecFactory::_duplicate (p.ptr ());
- return *this;
+ return IOP::CodecFactory::_duplicate (p);
}
-ACE_INLINE IOP::CodecFactory_out &
-IOP::CodecFactory_out::operator= (CodecFactory_ptr p)
+ACE_INLINE void
+tao_IOP_CodecFactory_release (
+ IOP::CodecFactory_ptr p
+ )
{
- this->ptr_ = p;
- return *this;
+ CORBA::release (p);
}
-ACE_INLINE
-IOP::CodecFactory_out::operator ::IOP::CodecFactory_ptr &() // cast
+ACE_INLINE IOP::CodecFactory_ptr
+tao_IOP_CodecFactory_nil (
+ void
+ )
{
- return this->ptr_;
+ return IOP::CodecFactory::_nil ();
}
-ACE_INLINE ::IOP::CodecFactory_ptr &
-IOP::CodecFactory_out::ptr (void) // ptr
+ACE_INLINE IOP::CodecFactory_ptr
+tao_IOP_CodecFactory_narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
{
- return this->ptr_;
+ return IOP::CodecFactory::_narrow (p, ACE_TRY_ENV);
}
-ACE_INLINE ::IOP::CodecFactory_ptr
-IOP::CodecFactory_out::operator-> (void)
+ACE_INLINE CORBA::Object *
+tao_IOP_CodecFactory_upcast (
+ void *src
+ )
{
- return this->ptr_;
+ IOP::CodecFactory **tmp =
+ ACE_static_cast (IOP::CodecFactory **, src);
+ return *tmp;
}