summaryrefslogtreecommitdiff
path: root/TAO/tao/POAC.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/POAC.i')
-rw-r--r--TAO/tao/POAC.i391
1 files changed, 2 insertions, 389 deletions
diff --git a/TAO/tao/POAC.i b/TAO/tao/POAC.i
index 272e6c80df5..a7d79e1689a 100644
--- a/TAO/tao/POAC.i
+++ b/TAO/tao/POAC.i
@@ -1,3 +1,5 @@
+// $Id$
+//
// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
// TAO ORB and the TAO IDL Compiler have been developed by Washington
// University Computer Science's Distributed Object Computing Group.
@@ -198,395 +200,6 @@ PortableServer::CurrentBase_out::operator-> (void)
#endif // end #if !defined
-ACE_INLINE
-PortableServer::Policy::Policy(
- STUB_Object *objref,
- TAO_ServantBase *servant,
- CORBA::Boolean collocated
- )
- : ACE_CORBA_1 (Object) (objref, servant, collocated)
-{}
-
-ACE_INLINE
-PortableServer::Policy::~Policy (void) // destructor
-{}
-
-ACE_INLINE PortableServer::Policy_ptr
-PortableServer::Policy::_nil (void)
-{
- return (PortableServer::Policy_ptr)0;
-}
-
-
-#if !defined (_PORTABLESERVER_POLICY___VAR_CI_)
-#define _PORTABLESERVER_POLICY___VAR_CI_
-
-// *************************************************************
-// Inline operations for class PortableServer::Policy_var
-// *************************************************************
-
-ACE_INLINE
-PortableServer::Policy_var::Policy_var (void) // default constructor
- : ptr_ (PortableServer::Policy::_nil ())
-{}
-
-ACE_INLINE
-PortableServer::Policy_var::Policy_var (PortableServer::Policy_ptr p)
- : ptr_ (p)
-{}
-
-ACE_INLINE PortableServer::Policy_ptr
-PortableServer::Policy_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::Policy_var::Policy_var (const PortableServer::Policy_var &p) // copy constructor
- : ptr_ (PortableServer::Policy::_duplicate (p.ptr ()))
-{}
-
-ACE_INLINE
-PortableServer::Policy_var::~Policy_var (void) // destructor
-{
- CORBA::release (this->ptr_);
-}
-
-ACE_INLINE PortableServer::Policy_var &
-PortableServer::Policy_var::operator= (PortableServer::Policy_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE PortableServer::Policy_var &
-PortableServer::Policy_var::operator= (const PortableServer::Policy_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = PortableServer::Policy::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-ACE_INLINE
-PortableServer::Policy_var::operator const PortableServer::Policy_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::Policy_var::operator PortableServer::Policy_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::Policy_ptr
-PortableServer::Policy_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::Policy_ptr
-PortableServer::Policy_var::in (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::Policy_ptr &
-PortableServer::Policy_var::inout (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::Policy_ptr &
-PortableServer::Policy_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = PortableServer::Policy::_nil ();
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::Policy_ptr
-PortableServer::Policy_var::_retn (void)
-{
- // yield ownership of managed obj reference
- PortableServer::Policy_ptr val = this->ptr_;
- this->ptr_ = PortableServer::Policy::_nil ();
- return val;
-}
-
-
-#endif // end #if !defined
-
-
-#if !defined (_PORTABLESERVER_POLICY___OUT_CI_)
-#define _PORTABLESERVER_POLICY___OUT_CI_
-
-// *************************************************************
-// Inline operations for class PortableServer::Policy_out
-// *************************************************************
-
-ACE_INLINE
-PortableServer::Policy_out::Policy_out (PortableServer::Policy_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = PortableServer::Policy::_nil ();
-}
-
-ACE_INLINE
-PortableServer::Policy_out::Policy_out (PortableServer::Policy_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = PortableServer::Policy::_nil ();
-}
-
-ACE_INLINE
-PortableServer::Policy_out::Policy_out (PortableServer::Policy_out &p) // copy constructor
- : ptr_ (p.ptr_)
-{}
-
-ACE_INLINE PortableServer::Policy_out &
-PortableServer::Policy_out::operator= (PortableServer::Policy_out &p)
-{
- this->ptr_ = p.ptr_;
- return *this;
-}
-
-ACE_INLINE PortableServer::Policy_out &
-PortableServer::Policy_out::operator= (const PortableServer::Policy_var &p)
-{
- this->ptr_ = PortableServer::Policy::_duplicate (p.ptr ());
- return *this;
-}
-
-ACE_INLINE PortableServer::Policy_out &
-PortableServer::Policy_out::operator= (PortableServer::Policy_ptr p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-PortableServer::Policy_out::operator PortableServer::Policy_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::Policy_ptr &
-PortableServer::Policy_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::Policy_ptr
-PortableServer::Policy_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-
-#endif // end #if !defined
-
-
-#if !defined (_PORTABLESERVER__TAO_SEQ_POLICY___VAR_CI_)
-#define _PORTABLESERVER__TAO_SEQ_POLICY___VAR_CI_
-
-// *************************************************************
-// Inline operations for class PortableServer::_tao_seq_Policy_var
-// *************************************************************
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_var::_tao_seq_Policy_var (void) // default constructor
- : ptr_ (0)
-{}
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_var::_tao_seq_Policy_var (PortableServer::_tao_seq_Policy *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_var::_tao_seq_Policy_var (const PortableServer::_tao_seq_Policy_var &p) // copy constructor
-{
- if (p.ptr_)
- this->ptr_ = new PortableServer::_tao_seq_Policy(*p.ptr_);
- else
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_var::~_tao_seq_Policy_var (void) // destructor
-{
- delete this->ptr_;
-}
-
-ACE_INLINE PortableServer::_tao_seq_Policy_var &
-PortableServer::_tao_seq_Policy_var::operator= (PortableServer::_tao_seq_Policy *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE PortableServer::_tao_seq_Policy_var &
-PortableServer::_tao_seq_Policy_var::operator= (const PortableServer::_tao_seq_Policy_var &p) // deep copy
-{
- if (this != &p)
- {
- delete this->ptr_;
- this->ptr_ = new PortableServer::_tao_seq_Policy (*p.ptr_);
- }
- return *this;
-}
-
-ACE_INLINE const PortableServer::_tao_seq_Policy *
-PortableServer::_tao_seq_Policy_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::_tao_seq_Policy *
-PortableServer::_tao_seq_Policy_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_var::operator const PortableServer::_tao_seq_Policy &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_var::operator PortableServer::_tao_seq_Policy &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_var::operator PortableServer::_tao_seq_Policy &() const// cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE TAO_Object_Manager <PortableServer::Policy >
-PortableServer::_tao_seq_Policy_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE const PortableServer::_tao_seq_Policy &
-PortableServer::_tao_seq_Policy_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE PortableServer::_tao_seq_Policy &
-PortableServer::_tao_seq_Policy_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for variable size
-ACE_INLINE PortableServer::_tao_seq_Policy *&
-PortableServer::_tao_seq_Policy_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::_tao_seq_Policy *
-PortableServer::_tao_seq_Policy_var::_retn (void)
-{
- PortableServer::_tao_seq_Policy *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE PortableServer::_tao_seq_Policy *
-PortableServer::_tao_seq_Policy_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-
-#endif // end #if !defined
-
-
-#if !defined (_PORTABLESERVER__TAO_SEQ_POLICY___OUT_CI_)
-#define _PORTABLESERVER__TAO_SEQ_POLICY___OUT_CI_
-
-// *************************************************************
-// Inline operations for class PortableServer::_tao_seq_Policy_out
-// *************************************************************
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_out::_tao_seq_Policy_out (PortableServer::_tao_seq_Policy *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_out::_tao_seq_Policy_out (PortableServer::_tao_seq_Policy_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_out::_tao_seq_Policy_out (PortableServer::_tao_seq_Policy_out &p) // copy constructor
- : ptr_ (p.ptr_)
-{}
-
-ACE_INLINE PortableServer::_tao_seq_Policy_out &
-PortableServer::_tao_seq_Policy_out::operator= (PortableServer::_tao_seq_Policy_out &p)
-{
- this->ptr_ = p.ptr_;
- return *this;
-}
-
-ACE_INLINE PortableServer::_tao_seq_Policy_out &
-PortableServer::_tao_seq_Policy_out::operator= (PortableServer::_tao_seq_Policy *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-PortableServer::_tao_seq_Policy_out::operator PortableServer::_tao_seq_Policy *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::_tao_seq_Policy *&
-PortableServer::_tao_seq_Policy_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE PortableServer::_tao_seq_Policy *
-PortableServer::_tao_seq_Policy_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE TAO_Object_Manager <PortableServer::Policy >
-PortableServer::_tao_seq_Policy_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-
-#endif // end #if !defined
-
-
#if !defined (_PORTABLESERVER_POA___VAR_CI_)
#define _PORTABLESERVER_POA___VAR_CI_