diff options
Diffstat (limited to 'TAO/tao/POAC.i')
-rw-r--r-- | TAO/tao/POAC.i | 3897 |
1 files changed, 0 insertions, 3897 deletions
diff --git a/TAO/tao/POAC.i b/TAO/tao/POAC.i deleted file mode 100644 index 272e6c80df5..00000000000 --- a/TAO/tao/POAC.i +++ /dev/null @@ -1,3897 +0,0 @@ -// ****** 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. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -ACE_INLINE -PortableServer::CurrentBase::CurrentBase( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::CurrentBase::~CurrentBase (void) // destructor -{} - -ACE_INLINE PortableServer::CurrentBase_ptr -PortableServer::CurrentBase::_nil (void) -{ - return (PortableServer::CurrentBase_ptr)0; -} - - -#if !defined (_PORTABLESERVER_CURRENTBASE___VAR_CI_) -#define _PORTABLESERVER_CURRENTBASE___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::CurrentBase_var -// ************************************************************* - -ACE_INLINE -PortableServer::CurrentBase_var::CurrentBase_var (void) // default constructor - : ptr_ (PortableServer::CurrentBase::_nil ()) -{} - -ACE_INLINE -PortableServer::CurrentBase_var::CurrentBase_var (PortableServer::CurrentBase_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::CurrentBase_ptr -PortableServer::CurrentBase_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::CurrentBase_var::CurrentBase_var (const PortableServer::CurrentBase_var &p) // copy constructor - : ptr_ (PortableServer::CurrentBase::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::CurrentBase_var::~CurrentBase_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::CurrentBase_var & -PortableServer::CurrentBase_var::operator= (PortableServer::CurrentBase_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::CurrentBase_var & -PortableServer::CurrentBase_var::operator= (const PortableServer::CurrentBase_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::CurrentBase::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::CurrentBase_var::operator const PortableServer::CurrentBase_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::CurrentBase_var::operator PortableServer::CurrentBase_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::CurrentBase_ptr -PortableServer::CurrentBase_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::CurrentBase_ptr -PortableServer::CurrentBase_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::CurrentBase_ptr & -PortableServer::CurrentBase_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::CurrentBase_ptr & -PortableServer::CurrentBase_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::CurrentBase::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::CurrentBase_ptr -PortableServer::CurrentBase_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::CurrentBase_ptr val = this->ptr_; - this->ptr_ = PortableServer::CurrentBase::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_CURRENTBASE___OUT_CI_) -#define _PORTABLESERVER_CURRENTBASE___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::CurrentBase_out -// ************************************************************* - -ACE_INLINE -PortableServer::CurrentBase_out::CurrentBase_out (PortableServer::CurrentBase_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::CurrentBase::_nil (); -} - -ACE_INLINE -PortableServer::CurrentBase_out::CurrentBase_out (PortableServer::CurrentBase_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::CurrentBase::_nil (); -} - -ACE_INLINE -PortableServer::CurrentBase_out::CurrentBase_out (PortableServer::CurrentBase_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::CurrentBase_out & -PortableServer::CurrentBase_out::operator= (PortableServer::CurrentBase_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::CurrentBase_out & -PortableServer::CurrentBase_out::operator= (const PortableServer::CurrentBase_var &p) -{ - this->ptr_ = PortableServer::CurrentBase::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::CurrentBase_out & -PortableServer::CurrentBase_out::operator= (PortableServer::CurrentBase_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::CurrentBase_out::operator PortableServer::CurrentBase_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::CurrentBase_ptr & -PortableServer::CurrentBase_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::CurrentBase_ptr -PortableServer::CurrentBase_out::operator-> (void) -{ - return this->ptr_; -} - - -#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_ - -// ************************************************************* -// Inline operations for class PortableServer::POA_var -// ************************************************************* - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA::_nil (void) -{ - return (PortableServer::POA_ptr)0; -} - -ACE_INLINE -PortableServer::POA_var::POA_var (void) // default constructor - : ptr_ (PortableServer::POA::_nil ()) -{} - -ACE_INLINE -PortableServer::POA_var::POA_var (PortableServer::POA_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::POA_var::POA_var (const PortableServer::POA_var &p) // copy constructor - : ptr_ (PortableServer::POA::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::POA_var::~POA_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::POA_var & -PortableServer::POA_var::operator= (PortableServer::POA_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::POA_var & -PortableServer::POA_var::operator= (const PortableServer::POA_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::POA::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::POA_var::operator const PortableServer::POA_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::POA_var::operator PortableServer::POA_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr & -PortableServer::POA_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr & -PortableServer::POA_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::POA::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::POA_ptr val = this->ptr_; - this->ptr_ = PortableServer::POA::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_POA___OUT_CI_) -#define _PORTABLESERVER_POA___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::POA_out -// ************************************************************* - -ACE_INLINE -PortableServer::POA_out::POA_out (PortableServer::POA_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::POA::_nil (); -} - -ACE_INLINE -PortableServer::POA_out::POA_out (PortableServer::POA_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::POA::_nil (); -} - -ACE_INLINE -PortableServer::POA_out::POA_out (PortableServer::POA_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::POA_out & -PortableServer::POA_out::operator= (PortableServer::POA_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::POA_out & -PortableServer::POA_out::operator= (const PortableServer::POA_var &p) -{ - this->ptr_ = PortableServer::POA::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::POA_out & -PortableServer::POA_out::operator= (PortableServer::POA_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::POA_out::operator PortableServer::POA_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr & -PortableServer::POA_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER__TAO_SEQ_OCTET___VAR_CI_) -#define _PORTABLESERVER__TAO_SEQ_OCTET___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::_tao_seq_Octet_var -// ************************************************************* - -ACE_INLINE -PortableServer::_tao_seq_Octet_var::_tao_seq_Octet_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -PortableServer::_tao_seq_Octet_var::_tao_seq_Octet_var (PortableServer::_tao_seq_Octet *p) - : ptr_ (p) -{} - -ACE_INLINE -PortableServer::_tao_seq_Octet_var::_tao_seq_Octet_var (const PortableServer::_tao_seq_Octet_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new PortableServer::_tao_seq_Octet(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -PortableServer::_tao_seq_Octet_var::~_tao_seq_Octet_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE PortableServer::_tao_seq_Octet_var & -PortableServer::_tao_seq_Octet_var::operator= (PortableServer::_tao_seq_Octet *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::_tao_seq_Octet_var & -PortableServer::_tao_seq_Octet_var::operator= (const PortableServer::_tao_seq_Octet_var &p) // deep copy -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new PortableServer::_tao_seq_Octet (*p.ptr_); - } - return *this; -} - -ACE_INLINE const PortableServer::_tao_seq_Octet * -PortableServer::_tao_seq_Octet_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::_tao_seq_Octet * -PortableServer::_tao_seq_Octet_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::_tao_seq_Octet_var::operator const PortableServer::_tao_seq_Octet &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -PortableServer::_tao_seq_Octet_var::operator PortableServer::_tao_seq_Octet &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -PortableServer::_tao_seq_Octet_var::operator PortableServer::_tao_seq_Octet &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE CORBA::Octet & -PortableServer::_tao_seq_Octet_var::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE const PortableServer::_tao_seq_Octet & -PortableServer::_tao_seq_Octet_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE PortableServer::_tao_seq_Octet & -PortableServer::_tao_seq_Octet_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE PortableServer::_tao_seq_Octet *& -PortableServer::_tao_seq_Octet_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE PortableServer::_tao_seq_Octet * -PortableServer::_tao_seq_Octet_var::_retn (void) -{ - PortableServer::_tao_seq_Octet *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE PortableServer::_tao_seq_Octet * -PortableServer::_tao_seq_Octet_var::ptr (void) const -{ - return this->ptr_; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER__TAO_SEQ_OCTET___OUT_CI_) -#define _PORTABLESERVER__TAO_SEQ_OCTET___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::_tao_seq_Octet_out -// ************************************************************* - -ACE_INLINE -PortableServer::_tao_seq_Octet_out::_tao_seq_Octet_out (PortableServer::_tao_seq_Octet *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -PortableServer::_tao_seq_Octet_out::_tao_seq_Octet_out (PortableServer::_tao_seq_Octet_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -PortableServer::_tao_seq_Octet_out::_tao_seq_Octet_out (PortableServer::_tao_seq_Octet_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::_tao_seq_Octet_out & -PortableServer::_tao_seq_Octet_out::operator= (PortableServer::_tao_seq_Octet_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::_tao_seq_Octet_out & -PortableServer::_tao_seq_Octet_out::operator= (PortableServer::_tao_seq_Octet *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::_tao_seq_Octet_out::operator PortableServer::_tao_seq_Octet *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::_tao_seq_Octet *& -PortableServer::_tao_seq_Octet_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::_tao_seq_Octet * -PortableServer::_tao_seq_Octet_out::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE CORBA::Octet & -PortableServer::_tao_seq_Octet_out::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - - -#endif // end #if !defined - -// ************************************************************* -// Inline operations for exception PortableServer::ForwardRequest -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::ForwardRequest::ForwardRequest (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::_tc_ForwardRequest)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::ForwardRequest::~ForwardRequest (void) -{ -} - -ACE_INLINE -PortableServer::ThreadPolicy::ThreadPolicy( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::ThreadPolicy::~ThreadPolicy (void) // destructor -{} - -ACE_INLINE PortableServer::ThreadPolicy_ptr -PortableServer::ThreadPolicy::_nil (void) -{ - return (PortableServer::ThreadPolicy_ptr)0; -} - - -#if !defined (_PORTABLESERVER_THREADPOLICY___VAR_CI_) -#define _PORTABLESERVER_THREADPOLICY___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ThreadPolicy_var -// ************************************************************* - -ACE_INLINE -PortableServer::ThreadPolicy_var::ThreadPolicy_var (void) // default constructor - : ptr_ (PortableServer::ThreadPolicy::_nil ()) -{} - -ACE_INLINE -PortableServer::ThreadPolicy_var::ThreadPolicy_var (PortableServer::ThreadPolicy_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::ThreadPolicy_ptr -PortableServer::ThreadPolicy_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ThreadPolicy_var::ThreadPolicy_var (const PortableServer::ThreadPolicy_var &p) // copy constructor - : ptr_ (PortableServer::ThreadPolicy::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::ThreadPolicy_var::~ThreadPolicy_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::ThreadPolicy_var & -PortableServer::ThreadPolicy_var::operator= (PortableServer::ThreadPolicy_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::ThreadPolicy_var & -PortableServer::ThreadPolicy_var::operator= (const PortableServer::ThreadPolicy_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ThreadPolicy::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::ThreadPolicy_var::operator const PortableServer::ThreadPolicy_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ThreadPolicy_var::operator PortableServer::ThreadPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ThreadPolicy_ptr -PortableServer::ThreadPolicy_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ThreadPolicy_ptr -PortableServer::ThreadPolicy_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ThreadPolicy_ptr & -PortableServer::ThreadPolicy_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ThreadPolicy_ptr & -PortableServer::ThreadPolicy_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ThreadPolicy::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::ThreadPolicy_ptr -PortableServer::ThreadPolicy_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::ThreadPolicy_ptr val = this->ptr_; - this->ptr_ = PortableServer::ThreadPolicy::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_THREADPOLICY___OUT_CI_) -#define _PORTABLESERVER_THREADPOLICY___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ThreadPolicy_out -// ************************************************************* - -ACE_INLINE -PortableServer::ThreadPolicy_out::ThreadPolicy_out (PortableServer::ThreadPolicy_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::ThreadPolicy::_nil (); -} - -ACE_INLINE -PortableServer::ThreadPolicy_out::ThreadPolicy_out (PortableServer::ThreadPolicy_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ThreadPolicy::_nil (); -} - -ACE_INLINE -PortableServer::ThreadPolicy_out::ThreadPolicy_out (PortableServer::ThreadPolicy_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::ThreadPolicy_out & -PortableServer::ThreadPolicy_out::operator= (PortableServer::ThreadPolicy_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::ThreadPolicy_out & -PortableServer::ThreadPolicy_out::operator= (const PortableServer::ThreadPolicy_var &p) -{ - this->ptr_ = PortableServer::ThreadPolicy::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::ThreadPolicy_out & -PortableServer::ThreadPolicy_out::operator= (PortableServer::ThreadPolicy_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::ThreadPolicy_out::operator PortableServer::ThreadPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ThreadPolicy_ptr & -PortableServer::ThreadPolicy_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ThreadPolicy_ptr -PortableServer::ThreadPolicy_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::LifespanPolicy::LifespanPolicy( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::LifespanPolicy::~LifespanPolicy (void) // destructor -{} - -ACE_INLINE PortableServer::LifespanPolicy_ptr -PortableServer::LifespanPolicy::_nil (void) -{ - return (PortableServer::LifespanPolicy_ptr)0; -} - - -#if !defined (_PORTABLESERVER_LIFESPANPOLICY___VAR_CI_) -#define _PORTABLESERVER_LIFESPANPOLICY___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::LifespanPolicy_var -// ************************************************************* - -ACE_INLINE -PortableServer::LifespanPolicy_var::LifespanPolicy_var (void) // default constructor - : ptr_ (PortableServer::LifespanPolicy::_nil ()) -{} - -ACE_INLINE -PortableServer::LifespanPolicy_var::LifespanPolicy_var (PortableServer::LifespanPolicy_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::LifespanPolicy_ptr -PortableServer::LifespanPolicy_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::LifespanPolicy_var::LifespanPolicy_var (const PortableServer::LifespanPolicy_var &p) // copy constructor - : ptr_ (PortableServer::LifespanPolicy::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::LifespanPolicy_var::~LifespanPolicy_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::LifespanPolicy_var & -PortableServer::LifespanPolicy_var::operator= (PortableServer::LifespanPolicy_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::LifespanPolicy_var & -PortableServer::LifespanPolicy_var::operator= (const PortableServer::LifespanPolicy_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::LifespanPolicy::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::LifespanPolicy_var::operator const PortableServer::LifespanPolicy_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::LifespanPolicy_var::operator PortableServer::LifespanPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::LifespanPolicy_ptr -PortableServer::LifespanPolicy_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::LifespanPolicy_ptr -PortableServer::LifespanPolicy_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::LifespanPolicy_ptr & -PortableServer::LifespanPolicy_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::LifespanPolicy_ptr & -PortableServer::LifespanPolicy_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::LifespanPolicy::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::LifespanPolicy_ptr -PortableServer::LifespanPolicy_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::LifespanPolicy_ptr val = this->ptr_; - this->ptr_ = PortableServer::LifespanPolicy::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_LIFESPANPOLICY___OUT_CI_) -#define _PORTABLESERVER_LIFESPANPOLICY___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::LifespanPolicy_out -// ************************************************************* - -ACE_INLINE -PortableServer::LifespanPolicy_out::LifespanPolicy_out (PortableServer::LifespanPolicy_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::LifespanPolicy::_nil (); -} - -ACE_INLINE -PortableServer::LifespanPolicy_out::LifespanPolicy_out (PortableServer::LifespanPolicy_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::LifespanPolicy::_nil (); -} - -ACE_INLINE -PortableServer::LifespanPolicy_out::LifespanPolicy_out (PortableServer::LifespanPolicy_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::LifespanPolicy_out & -PortableServer::LifespanPolicy_out::operator= (PortableServer::LifespanPolicy_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::LifespanPolicy_out & -PortableServer::LifespanPolicy_out::operator= (const PortableServer::LifespanPolicy_var &p) -{ - this->ptr_ = PortableServer::LifespanPolicy::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::LifespanPolicy_out & -PortableServer::LifespanPolicy_out::operator= (PortableServer::LifespanPolicy_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::LifespanPolicy_out::operator PortableServer::LifespanPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::LifespanPolicy_ptr & -PortableServer::LifespanPolicy_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::LifespanPolicy_ptr -PortableServer::LifespanPolicy_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::IdUniquenessPolicy::IdUniquenessPolicy( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::IdUniquenessPolicy::~IdUniquenessPolicy (void) // destructor -{} - -ACE_INLINE PortableServer::IdUniquenessPolicy_ptr -PortableServer::IdUniquenessPolicy::_nil (void) -{ - return (PortableServer::IdUniquenessPolicy_ptr)0; -} - - -#if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY___VAR_CI_) -#define _PORTABLESERVER_IDUNIQUENESSPOLICY___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::IdUniquenessPolicy_var -// ************************************************************* - -ACE_INLINE -PortableServer::IdUniquenessPolicy_var::IdUniquenessPolicy_var (void) // default constructor - : ptr_ (PortableServer::IdUniquenessPolicy::_nil ()) -{} - -ACE_INLINE -PortableServer::IdUniquenessPolicy_var::IdUniquenessPolicy_var (PortableServer::IdUniquenessPolicy_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::IdUniquenessPolicy_ptr -PortableServer::IdUniquenessPolicy_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::IdUniquenessPolicy_var::IdUniquenessPolicy_var (const PortableServer::IdUniquenessPolicy_var &p) // copy constructor - : ptr_ (PortableServer::IdUniquenessPolicy::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::IdUniquenessPolicy_var::~IdUniquenessPolicy_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_var & -PortableServer::IdUniquenessPolicy_var::operator= (PortableServer::IdUniquenessPolicy_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_var & -PortableServer::IdUniquenessPolicy_var::operator= (const PortableServer::IdUniquenessPolicy_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::IdUniquenessPolicy::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::IdUniquenessPolicy_var::operator const PortableServer::IdUniquenessPolicy_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::IdUniquenessPolicy_var::operator PortableServer::IdUniquenessPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_ptr -PortableServer::IdUniquenessPolicy_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_ptr -PortableServer::IdUniquenessPolicy_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_ptr & -PortableServer::IdUniquenessPolicy_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_ptr & -PortableServer::IdUniquenessPolicy_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::IdUniquenessPolicy::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_ptr -PortableServer::IdUniquenessPolicy_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::IdUniquenessPolicy_ptr val = this->ptr_; - this->ptr_ = PortableServer::IdUniquenessPolicy::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY___OUT_CI_) -#define _PORTABLESERVER_IDUNIQUENESSPOLICY___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::IdUniquenessPolicy_out -// ************************************************************* - -ACE_INLINE -PortableServer::IdUniquenessPolicy_out::IdUniquenessPolicy_out (PortableServer::IdUniquenessPolicy_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::IdUniquenessPolicy::_nil (); -} - -ACE_INLINE -PortableServer::IdUniquenessPolicy_out::IdUniquenessPolicy_out (PortableServer::IdUniquenessPolicy_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::IdUniquenessPolicy::_nil (); -} - -ACE_INLINE -PortableServer::IdUniquenessPolicy_out::IdUniquenessPolicy_out (PortableServer::IdUniquenessPolicy_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::IdUniquenessPolicy_out & -PortableServer::IdUniquenessPolicy_out::operator= (PortableServer::IdUniquenessPolicy_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_out & -PortableServer::IdUniquenessPolicy_out::operator= (const PortableServer::IdUniquenessPolicy_var &p) -{ - this->ptr_ = PortableServer::IdUniquenessPolicy::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_out & -PortableServer::IdUniquenessPolicy_out::operator= (PortableServer::IdUniquenessPolicy_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::IdUniquenessPolicy_out::operator PortableServer::IdUniquenessPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_ptr & -PortableServer::IdUniquenessPolicy_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdUniquenessPolicy_ptr -PortableServer::IdUniquenessPolicy_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::IdAssignmentPolicy::IdAssignmentPolicy( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::IdAssignmentPolicy::~IdAssignmentPolicy (void) // destructor -{} - -ACE_INLINE PortableServer::IdAssignmentPolicy_ptr -PortableServer::IdAssignmentPolicy::_nil (void) -{ - return (PortableServer::IdAssignmentPolicy_ptr)0; -} - - -#if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY___VAR_CI_) -#define _PORTABLESERVER_IDASSIGNMENTPOLICY___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::IdAssignmentPolicy_var -// ************************************************************* - -ACE_INLINE -PortableServer::IdAssignmentPolicy_var::IdAssignmentPolicy_var (void) // default constructor - : ptr_ (PortableServer::IdAssignmentPolicy::_nil ()) -{} - -ACE_INLINE -PortableServer::IdAssignmentPolicy_var::IdAssignmentPolicy_var (PortableServer::IdAssignmentPolicy_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::IdAssignmentPolicy_ptr -PortableServer::IdAssignmentPolicy_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::IdAssignmentPolicy_var::IdAssignmentPolicy_var (const PortableServer::IdAssignmentPolicy_var &p) // copy constructor - : ptr_ (PortableServer::IdAssignmentPolicy::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::IdAssignmentPolicy_var::~IdAssignmentPolicy_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_var & -PortableServer::IdAssignmentPolicy_var::operator= (PortableServer::IdAssignmentPolicy_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_var & -PortableServer::IdAssignmentPolicy_var::operator= (const PortableServer::IdAssignmentPolicy_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::IdAssignmentPolicy::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::IdAssignmentPolicy_var::operator const PortableServer::IdAssignmentPolicy_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::IdAssignmentPolicy_var::operator PortableServer::IdAssignmentPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_ptr -PortableServer::IdAssignmentPolicy_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_ptr -PortableServer::IdAssignmentPolicy_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_ptr & -PortableServer::IdAssignmentPolicy_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_ptr & -PortableServer::IdAssignmentPolicy_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::IdAssignmentPolicy::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_ptr -PortableServer::IdAssignmentPolicy_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::IdAssignmentPolicy_ptr val = this->ptr_; - this->ptr_ = PortableServer::IdAssignmentPolicy::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY___OUT_CI_) -#define _PORTABLESERVER_IDASSIGNMENTPOLICY___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::IdAssignmentPolicy_out -// ************************************************************* - -ACE_INLINE -PortableServer::IdAssignmentPolicy_out::IdAssignmentPolicy_out (PortableServer::IdAssignmentPolicy_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::IdAssignmentPolicy::_nil (); -} - -ACE_INLINE -PortableServer::IdAssignmentPolicy_out::IdAssignmentPolicy_out (PortableServer::IdAssignmentPolicy_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::IdAssignmentPolicy::_nil (); -} - -ACE_INLINE -PortableServer::IdAssignmentPolicy_out::IdAssignmentPolicy_out (PortableServer::IdAssignmentPolicy_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::IdAssignmentPolicy_out & -PortableServer::IdAssignmentPolicy_out::operator= (PortableServer::IdAssignmentPolicy_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_out & -PortableServer::IdAssignmentPolicy_out::operator= (const PortableServer::IdAssignmentPolicy_var &p) -{ - this->ptr_ = PortableServer::IdAssignmentPolicy::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_out & -PortableServer::IdAssignmentPolicy_out::operator= (PortableServer::IdAssignmentPolicy_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::IdAssignmentPolicy_out::operator PortableServer::IdAssignmentPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_ptr & -PortableServer::IdAssignmentPolicy_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::IdAssignmentPolicy_ptr -PortableServer::IdAssignmentPolicy_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::ImplicitActivationPolicy::ImplicitActivationPolicy( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::ImplicitActivationPolicy::~ImplicitActivationPolicy (void) // destructor -{} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_ptr -PortableServer::ImplicitActivationPolicy::_nil (void) -{ - return (PortableServer::ImplicitActivationPolicy_ptr)0; -} - - -#if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY___VAR_CI_) -#define _PORTABLESERVER_IMPLICITACTIVATIONPOLICY___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ImplicitActivationPolicy_var -// ************************************************************* - -ACE_INLINE -PortableServer::ImplicitActivationPolicy_var::ImplicitActivationPolicy_var (void) // default constructor - : ptr_ (PortableServer::ImplicitActivationPolicy::_nil ()) -{} - -ACE_INLINE -PortableServer::ImplicitActivationPolicy_var::ImplicitActivationPolicy_var (PortableServer::ImplicitActivationPolicy_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_ptr -PortableServer::ImplicitActivationPolicy_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ImplicitActivationPolicy_var::ImplicitActivationPolicy_var (const PortableServer::ImplicitActivationPolicy_var &p) // copy constructor - : ptr_ (PortableServer::ImplicitActivationPolicy::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::ImplicitActivationPolicy_var::~ImplicitActivationPolicy_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_var & -PortableServer::ImplicitActivationPolicy_var::operator= (PortableServer::ImplicitActivationPolicy_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_var & -PortableServer::ImplicitActivationPolicy_var::operator= (const PortableServer::ImplicitActivationPolicy_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ImplicitActivationPolicy::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::ImplicitActivationPolicy_var::operator const PortableServer::ImplicitActivationPolicy_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ImplicitActivationPolicy_var::operator PortableServer::ImplicitActivationPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_ptr -PortableServer::ImplicitActivationPolicy_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_ptr -PortableServer::ImplicitActivationPolicy_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_ptr & -PortableServer::ImplicitActivationPolicy_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_ptr & -PortableServer::ImplicitActivationPolicy_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ImplicitActivationPolicy::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_ptr -PortableServer::ImplicitActivationPolicy_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::ImplicitActivationPolicy_ptr val = this->ptr_; - this->ptr_ = PortableServer::ImplicitActivationPolicy::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY___OUT_CI_) -#define _PORTABLESERVER_IMPLICITACTIVATIONPOLICY___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ImplicitActivationPolicy_out -// ************************************************************* - -ACE_INLINE -PortableServer::ImplicitActivationPolicy_out::ImplicitActivationPolicy_out (PortableServer::ImplicitActivationPolicy_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::ImplicitActivationPolicy::_nil (); -} - -ACE_INLINE -PortableServer::ImplicitActivationPolicy_out::ImplicitActivationPolicy_out (PortableServer::ImplicitActivationPolicy_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ImplicitActivationPolicy::_nil (); -} - -ACE_INLINE -PortableServer::ImplicitActivationPolicy_out::ImplicitActivationPolicy_out (PortableServer::ImplicitActivationPolicy_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_out & -PortableServer::ImplicitActivationPolicy_out::operator= (PortableServer::ImplicitActivationPolicy_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_out & -PortableServer::ImplicitActivationPolicy_out::operator= (const PortableServer::ImplicitActivationPolicy_var &p) -{ - this->ptr_ = PortableServer::ImplicitActivationPolicy::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_out & -PortableServer::ImplicitActivationPolicy_out::operator= (PortableServer::ImplicitActivationPolicy_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::ImplicitActivationPolicy_out::operator PortableServer::ImplicitActivationPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_ptr & -PortableServer::ImplicitActivationPolicy_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ImplicitActivationPolicy_ptr -PortableServer::ImplicitActivationPolicy_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::ServantRetentionPolicy::ServantRetentionPolicy( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::ServantRetentionPolicy::~ServantRetentionPolicy (void) // destructor -{} - -ACE_INLINE PortableServer::ServantRetentionPolicy_ptr -PortableServer::ServantRetentionPolicy::_nil (void) -{ - return (PortableServer::ServantRetentionPolicy_ptr)0; -} - - -#if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY___VAR_CI_) -#define _PORTABLESERVER_SERVANTRETENTIONPOLICY___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ServantRetentionPolicy_var -// ************************************************************* - -ACE_INLINE -PortableServer::ServantRetentionPolicy_var::ServantRetentionPolicy_var (void) // default constructor - : ptr_ (PortableServer::ServantRetentionPolicy::_nil ()) -{} - -ACE_INLINE -PortableServer::ServantRetentionPolicy_var::ServantRetentionPolicy_var (PortableServer::ServantRetentionPolicy_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::ServantRetentionPolicy_ptr -PortableServer::ServantRetentionPolicy_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ServantRetentionPolicy_var::ServantRetentionPolicy_var (const PortableServer::ServantRetentionPolicy_var &p) // copy constructor - : ptr_ (PortableServer::ServantRetentionPolicy::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::ServantRetentionPolicy_var::~ServantRetentionPolicy_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_var & -PortableServer::ServantRetentionPolicy_var::operator= (PortableServer::ServantRetentionPolicy_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_var & -PortableServer::ServantRetentionPolicy_var::operator= (const PortableServer::ServantRetentionPolicy_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantRetentionPolicy::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::ServantRetentionPolicy_var::operator const PortableServer::ServantRetentionPolicy_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ServantRetentionPolicy_var::operator PortableServer::ServantRetentionPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_ptr -PortableServer::ServantRetentionPolicy_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_ptr -PortableServer::ServantRetentionPolicy_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_ptr & -PortableServer::ServantRetentionPolicy_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_ptr & -PortableServer::ServantRetentionPolicy_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantRetentionPolicy::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_ptr -PortableServer::ServantRetentionPolicy_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::ServantRetentionPolicy_ptr val = this->ptr_; - this->ptr_ = PortableServer::ServantRetentionPolicy::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY___OUT_CI_) -#define _PORTABLESERVER_SERVANTRETENTIONPOLICY___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ServantRetentionPolicy_out -// ************************************************************* - -ACE_INLINE -PortableServer::ServantRetentionPolicy_out::ServantRetentionPolicy_out (PortableServer::ServantRetentionPolicy_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::ServantRetentionPolicy::_nil (); -} - -ACE_INLINE -PortableServer::ServantRetentionPolicy_out::ServantRetentionPolicy_out (PortableServer::ServantRetentionPolicy_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantRetentionPolicy::_nil (); -} - -ACE_INLINE -PortableServer::ServantRetentionPolicy_out::ServantRetentionPolicy_out (PortableServer::ServantRetentionPolicy_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::ServantRetentionPolicy_out & -PortableServer::ServantRetentionPolicy_out::operator= (PortableServer::ServantRetentionPolicy_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_out & -PortableServer::ServantRetentionPolicy_out::operator= (const PortableServer::ServantRetentionPolicy_var &p) -{ - this->ptr_ = PortableServer::ServantRetentionPolicy::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_out & -PortableServer::ServantRetentionPolicy_out::operator= (PortableServer::ServantRetentionPolicy_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::ServantRetentionPolicy_out::operator PortableServer::ServantRetentionPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_ptr & -PortableServer::ServantRetentionPolicy_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantRetentionPolicy_ptr -PortableServer::ServantRetentionPolicy_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::RequestProcessingPolicy::RequestProcessingPolicy( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::RequestProcessingPolicy::~RequestProcessingPolicy (void) // destructor -{} - -ACE_INLINE PortableServer::RequestProcessingPolicy_ptr -PortableServer::RequestProcessingPolicy::_nil (void) -{ - return (PortableServer::RequestProcessingPolicy_ptr)0; -} - - -#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY___VAR_CI_) -#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::RequestProcessingPolicy_var -// ************************************************************* - -ACE_INLINE -PortableServer::RequestProcessingPolicy_var::RequestProcessingPolicy_var (void) // default constructor - : ptr_ (PortableServer::RequestProcessingPolicy::_nil ()) -{} - -ACE_INLINE -PortableServer::RequestProcessingPolicy_var::RequestProcessingPolicy_var (PortableServer::RequestProcessingPolicy_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::RequestProcessingPolicy_ptr -PortableServer::RequestProcessingPolicy_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::RequestProcessingPolicy_var::RequestProcessingPolicy_var (const PortableServer::RequestProcessingPolicy_var &p) // copy constructor - : ptr_ (PortableServer::RequestProcessingPolicy::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::RequestProcessingPolicy_var::~RequestProcessingPolicy_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_var & -PortableServer::RequestProcessingPolicy_var::operator= (PortableServer::RequestProcessingPolicy_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_var & -PortableServer::RequestProcessingPolicy_var::operator= (const PortableServer::RequestProcessingPolicy_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::RequestProcessingPolicy::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::RequestProcessingPolicy_var::operator const PortableServer::RequestProcessingPolicy_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::RequestProcessingPolicy_var::operator PortableServer::RequestProcessingPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_ptr -PortableServer::RequestProcessingPolicy_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_ptr -PortableServer::RequestProcessingPolicy_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_ptr & -PortableServer::RequestProcessingPolicy_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_ptr & -PortableServer::RequestProcessingPolicy_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::RequestProcessingPolicy::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_ptr -PortableServer::RequestProcessingPolicy_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::RequestProcessingPolicy_ptr val = this->ptr_; - this->ptr_ = PortableServer::RequestProcessingPolicy::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY___OUT_CI_) -#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::RequestProcessingPolicy_out -// ************************************************************* - -ACE_INLINE -PortableServer::RequestProcessingPolicy_out::RequestProcessingPolicy_out (PortableServer::RequestProcessingPolicy_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::RequestProcessingPolicy::_nil (); -} - -ACE_INLINE -PortableServer::RequestProcessingPolicy_out::RequestProcessingPolicy_out (PortableServer::RequestProcessingPolicy_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::RequestProcessingPolicy::_nil (); -} - -ACE_INLINE -PortableServer::RequestProcessingPolicy_out::RequestProcessingPolicy_out (PortableServer::RequestProcessingPolicy_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::RequestProcessingPolicy_out & -PortableServer::RequestProcessingPolicy_out::operator= (PortableServer::RequestProcessingPolicy_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_out & -PortableServer::RequestProcessingPolicy_out::operator= (const PortableServer::RequestProcessingPolicy_var &p) -{ - this->ptr_ = PortableServer::RequestProcessingPolicy::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_out & -PortableServer::RequestProcessingPolicy_out::operator= (PortableServer::RequestProcessingPolicy_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::RequestProcessingPolicy_out::operator PortableServer::RequestProcessingPolicy_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_ptr & -PortableServer::RequestProcessingPolicy_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::RequestProcessingPolicy_ptr -PortableServer::RequestProcessingPolicy_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::POAManager::POAManager( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::POAManager::~POAManager (void) // destructor -{} - -ACE_INLINE PortableServer::POAManager_ptr -PortableServer::POAManager::_nil (void) -{ - return (PortableServer::POAManager_ptr)0; -} - - -#if !defined (_PORTABLESERVER_POAMANAGER___VAR_CI_) -#define _PORTABLESERVER_POAMANAGER___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::POAManager_var -// ************************************************************* - -ACE_INLINE -PortableServer::POAManager_var::POAManager_var (void) // default constructor - : ptr_ (PortableServer::POAManager::_nil ()) -{} - -ACE_INLINE -PortableServer::POAManager_var::POAManager_var (PortableServer::POAManager_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::POAManager_ptr -PortableServer::POAManager_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::POAManager_var::POAManager_var (const PortableServer::POAManager_var &p) // copy constructor - : ptr_ (PortableServer::POAManager::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::POAManager_var::~POAManager_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::POAManager_var & -PortableServer::POAManager_var::operator= (PortableServer::POAManager_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::POAManager_var & -PortableServer::POAManager_var::operator= (const PortableServer::POAManager_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::POAManager::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::POAManager_var::operator const PortableServer::POAManager_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::POAManager_var::operator PortableServer::POAManager_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POAManager_ptr -PortableServer::POAManager_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POAManager_ptr -PortableServer::POAManager_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POAManager_ptr & -PortableServer::POAManager_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POAManager_ptr & -PortableServer::POAManager_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::POAManager::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::POAManager_ptr -PortableServer::POAManager_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::POAManager_ptr val = this->ptr_; - this->ptr_ = PortableServer::POAManager::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_POAMANAGER___OUT_CI_) -#define _PORTABLESERVER_POAMANAGER___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::POAManager_out -// ************************************************************* - -ACE_INLINE -PortableServer::POAManager_out::POAManager_out (PortableServer::POAManager_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::POAManager::_nil (); -} - -ACE_INLINE -PortableServer::POAManager_out::POAManager_out (PortableServer::POAManager_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::POAManager::_nil (); -} - -ACE_INLINE -PortableServer::POAManager_out::POAManager_out (PortableServer::POAManager_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::POAManager_out & -PortableServer::POAManager_out::operator= (PortableServer::POAManager_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::POAManager_out & -PortableServer::POAManager_out::operator= (const PortableServer::POAManager_var &p) -{ - this->ptr_ = PortableServer::POAManager::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::POAManager_out & -PortableServer::POAManager_out::operator= (PortableServer::POAManager_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::POAManager_out::operator PortableServer::POAManager_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POAManager_ptr & -PortableServer::POAManager_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POAManager_ptr -PortableServer::POAManager_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -// ************************************************************* -// Inline operations for exception PortableServer::POAManager::AdapterInactive -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POAManager::AdapterInactive::AdapterInactive (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POAManager::_tc_AdapterInactive)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POAManager::AdapterInactive::~AdapterInactive (void) -{ -} - -ACE_INLINE -PortableServer::AdapterActivator::AdapterActivator( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::AdapterActivator::~AdapterActivator (void) // destructor -{} - -ACE_INLINE PortableServer::AdapterActivator_ptr -PortableServer::AdapterActivator::_nil (void) -{ - return (PortableServer::AdapterActivator_ptr)0; -} - - -#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR___VAR_CI_) -#define _PORTABLESERVER_ADAPTERACTIVATOR___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::AdapterActivator_var -// ************************************************************* - -ACE_INLINE -PortableServer::AdapterActivator_var::AdapterActivator_var (void) // default constructor - : ptr_ (PortableServer::AdapterActivator::_nil ()) -{} - -ACE_INLINE -PortableServer::AdapterActivator_var::AdapterActivator_var (PortableServer::AdapterActivator_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::AdapterActivator_ptr -PortableServer::AdapterActivator_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::AdapterActivator_var::AdapterActivator_var (const PortableServer::AdapterActivator_var &p) // copy constructor - : ptr_ (PortableServer::AdapterActivator::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::AdapterActivator_var::~AdapterActivator_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::AdapterActivator_var & -PortableServer::AdapterActivator_var::operator= (PortableServer::AdapterActivator_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::AdapterActivator_var & -PortableServer::AdapterActivator_var::operator= (const PortableServer::AdapterActivator_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::AdapterActivator::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::AdapterActivator_var::operator const PortableServer::AdapterActivator_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::AdapterActivator_var::operator PortableServer::AdapterActivator_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::AdapterActivator_ptr -PortableServer::AdapterActivator_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::AdapterActivator_ptr -PortableServer::AdapterActivator_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::AdapterActivator_ptr & -PortableServer::AdapterActivator_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::AdapterActivator_ptr & -PortableServer::AdapterActivator_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::AdapterActivator::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::AdapterActivator_ptr -PortableServer::AdapterActivator_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::AdapterActivator_ptr val = this->ptr_; - this->ptr_ = PortableServer::AdapterActivator::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR___OUT_CI_) -#define _PORTABLESERVER_ADAPTERACTIVATOR___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::AdapterActivator_out -// ************************************************************* - -ACE_INLINE -PortableServer::AdapterActivator_out::AdapterActivator_out (PortableServer::AdapterActivator_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::AdapterActivator::_nil (); -} - -ACE_INLINE -PortableServer::AdapterActivator_out::AdapterActivator_out (PortableServer::AdapterActivator_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::AdapterActivator::_nil (); -} - -ACE_INLINE -PortableServer::AdapterActivator_out::AdapterActivator_out (PortableServer::AdapterActivator_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::AdapterActivator_out & -PortableServer::AdapterActivator_out::operator= (PortableServer::AdapterActivator_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::AdapterActivator_out & -PortableServer::AdapterActivator_out::operator= (const PortableServer::AdapterActivator_var &p) -{ - this->ptr_ = PortableServer::AdapterActivator::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::AdapterActivator_out & -PortableServer::AdapterActivator_out::operator= (PortableServer::AdapterActivator_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::AdapterActivator_out::operator PortableServer::AdapterActivator_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::AdapterActivator_ptr & -PortableServer::AdapterActivator_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::AdapterActivator_ptr -PortableServer::AdapterActivator_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::ServantManager::ServantManager( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::ServantManager::~ServantManager (void) // destructor -{} - -ACE_INLINE PortableServer::ServantManager_ptr -PortableServer::ServantManager::_nil (void) -{ - return (PortableServer::ServantManager_ptr)0; -} - - -#if !defined (_PORTABLESERVER_SERVANTMANAGER___VAR_CI_) -#define _PORTABLESERVER_SERVANTMANAGER___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ServantManager_var -// ************************************************************* - -ACE_INLINE -PortableServer::ServantManager_var::ServantManager_var (void) // default constructor - : ptr_ (PortableServer::ServantManager::_nil ()) -{} - -ACE_INLINE -PortableServer::ServantManager_var::ServantManager_var (PortableServer::ServantManager_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::ServantManager_ptr -PortableServer::ServantManager_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ServantManager_var::ServantManager_var (const PortableServer::ServantManager_var &p) // copy constructor - : ptr_ (PortableServer::ServantManager::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::ServantManager_var::~ServantManager_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::ServantManager_var & -PortableServer::ServantManager_var::operator= (PortableServer::ServantManager_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::ServantManager_var & -PortableServer::ServantManager_var::operator= (const PortableServer::ServantManager_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantManager::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::ServantManager_var::operator const PortableServer::ServantManager_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ServantManager_var::operator PortableServer::ServantManager_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantManager_ptr -PortableServer::ServantManager_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantManager_ptr -PortableServer::ServantManager_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantManager_ptr & -PortableServer::ServantManager_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantManager_ptr & -PortableServer::ServantManager_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantManager::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantManager_ptr -PortableServer::ServantManager_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::ServantManager_ptr val = this->ptr_; - this->ptr_ = PortableServer::ServantManager::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_SERVANTMANAGER___OUT_CI_) -#define _PORTABLESERVER_SERVANTMANAGER___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ServantManager_out -// ************************************************************* - -ACE_INLINE -PortableServer::ServantManager_out::ServantManager_out (PortableServer::ServantManager_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::ServantManager::_nil (); -} - -ACE_INLINE -PortableServer::ServantManager_out::ServantManager_out (PortableServer::ServantManager_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantManager::_nil (); -} - -ACE_INLINE -PortableServer::ServantManager_out::ServantManager_out (PortableServer::ServantManager_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::ServantManager_out & -PortableServer::ServantManager_out::operator= (PortableServer::ServantManager_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::ServantManager_out & -PortableServer::ServantManager_out::operator= (const PortableServer::ServantManager_var &p) -{ - this->ptr_ = PortableServer::ServantManager::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::ServantManager_out & -PortableServer::ServantManager_out::operator= (PortableServer::ServantManager_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::ServantManager_out::operator PortableServer::ServantManager_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantManager_ptr & -PortableServer::ServantManager_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantManager_ptr -PortableServer::ServantManager_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::ServantActivator::ServantActivator( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::ServantActivator::~ServantActivator (void) // destructor -{} - -ACE_INLINE PortableServer::ServantActivator_ptr -PortableServer::ServantActivator::_nil (void) -{ - return (PortableServer::ServantActivator_ptr)0; -} - - -#if !defined (_PORTABLESERVER_SERVANTACTIVATOR___VAR_CI_) -#define _PORTABLESERVER_SERVANTACTIVATOR___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ServantActivator_var -// ************************************************************* - -ACE_INLINE -PortableServer::ServantActivator_var::ServantActivator_var (void) // default constructor - : ptr_ (PortableServer::ServantActivator::_nil ()) -{} - -ACE_INLINE -PortableServer::ServantActivator_var::ServantActivator_var (PortableServer::ServantActivator_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::ServantActivator_ptr -PortableServer::ServantActivator_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ServantActivator_var::ServantActivator_var (const PortableServer::ServantActivator_var &p) // copy constructor - : ptr_ (PortableServer::ServantActivator::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::ServantActivator_var::~ServantActivator_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::ServantActivator_var & -PortableServer::ServantActivator_var::operator= (PortableServer::ServantActivator_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::ServantActivator_var & -PortableServer::ServantActivator_var::operator= (const PortableServer::ServantActivator_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantActivator::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::ServantActivator_var::operator const PortableServer::ServantActivator_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ServantActivator_var::operator PortableServer::ServantActivator_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantActivator_ptr -PortableServer::ServantActivator_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantActivator_ptr -PortableServer::ServantActivator_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantActivator_ptr & -PortableServer::ServantActivator_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantActivator_ptr & -PortableServer::ServantActivator_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantActivator::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantActivator_ptr -PortableServer::ServantActivator_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::ServantActivator_ptr val = this->ptr_; - this->ptr_ = PortableServer::ServantActivator::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_SERVANTACTIVATOR___OUT_CI_) -#define _PORTABLESERVER_SERVANTACTIVATOR___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ServantActivator_out -// ************************************************************* - -ACE_INLINE -PortableServer::ServantActivator_out::ServantActivator_out (PortableServer::ServantActivator_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::ServantActivator::_nil (); -} - -ACE_INLINE -PortableServer::ServantActivator_out::ServantActivator_out (PortableServer::ServantActivator_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantActivator::_nil (); -} - -ACE_INLINE -PortableServer::ServantActivator_out::ServantActivator_out (PortableServer::ServantActivator_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::ServantActivator_out & -PortableServer::ServantActivator_out::operator= (PortableServer::ServantActivator_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::ServantActivator_out & -PortableServer::ServantActivator_out::operator= (const PortableServer::ServantActivator_var &p) -{ - this->ptr_ = PortableServer::ServantActivator::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::ServantActivator_out & -PortableServer::ServantActivator_out::operator= (PortableServer::ServantActivator_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::ServantActivator_out::operator PortableServer::ServantActivator_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantActivator_ptr & -PortableServer::ServantActivator_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantActivator_ptr -PortableServer::ServantActivator_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::ServantLocator::ServantLocator( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::ServantLocator::~ServantLocator (void) // destructor -{} - -ACE_INLINE PortableServer::ServantLocator_ptr -PortableServer::ServantLocator::_nil (void) -{ - return (PortableServer::ServantLocator_ptr)0; -} - - -#if !defined (_PORTABLESERVER_SERVANTLOCATOR___VAR_CI_) -#define _PORTABLESERVER_SERVANTLOCATOR___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ServantLocator_var -// ************************************************************* - -ACE_INLINE -PortableServer::ServantLocator_var::ServantLocator_var (void) // default constructor - : ptr_ (PortableServer::ServantLocator::_nil ()) -{} - -ACE_INLINE -PortableServer::ServantLocator_var::ServantLocator_var (PortableServer::ServantLocator_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::ServantLocator_ptr -PortableServer::ServantLocator_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ServantLocator_var::ServantLocator_var (const PortableServer::ServantLocator_var &p) // copy constructor - : ptr_ (PortableServer::ServantLocator::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::ServantLocator_var::~ServantLocator_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::ServantLocator_var & -PortableServer::ServantLocator_var::operator= (PortableServer::ServantLocator_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::ServantLocator_var & -PortableServer::ServantLocator_var::operator= (const PortableServer::ServantLocator_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantLocator::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::ServantLocator_var::operator const PortableServer::ServantLocator_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::ServantLocator_var::operator PortableServer::ServantLocator_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantLocator_ptr -PortableServer::ServantLocator_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantLocator_ptr -PortableServer::ServantLocator_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantLocator_ptr & -PortableServer::ServantLocator_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantLocator_ptr & -PortableServer::ServantLocator_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantLocator::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantLocator_ptr -PortableServer::ServantLocator_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::ServantLocator_ptr val = this->ptr_; - this->ptr_ = PortableServer::ServantLocator::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_SERVANTLOCATOR___OUT_CI_) -#define _PORTABLESERVER_SERVANTLOCATOR___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::ServantLocator_out -// ************************************************************* - -ACE_INLINE -PortableServer::ServantLocator_out::ServantLocator_out (PortableServer::ServantLocator_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::ServantLocator::_nil (); -} - -ACE_INLINE -PortableServer::ServantLocator_out::ServantLocator_out (PortableServer::ServantLocator_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::ServantLocator::_nil (); -} - -ACE_INLINE -PortableServer::ServantLocator_out::ServantLocator_out (PortableServer::ServantLocator_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::ServantLocator_out & -PortableServer::ServantLocator_out::operator= (PortableServer::ServantLocator_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::ServantLocator_out & -PortableServer::ServantLocator_out::operator= (const PortableServer::ServantLocator_var &p) -{ - this->ptr_ = PortableServer::ServantLocator::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::ServantLocator_out & -PortableServer::ServantLocator_out::operator= (PortableServer::ServantLocator_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::ServantLocator_out::operator PortableServer::ServantLocator_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantLocator_ptr & -PortableServer::ServantLocator_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::ServantLocator_ptr -PortableServer::ServantLocator_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -PortableServer::POA::POA( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::POA::~POA (void) // destructor -{} - - -#if !defined (_PORTABLESERVER_POA___VAR_CI_) -#define _PORTABLESERVER_POA___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::POA_var -// ************************************************************* - -ACE_INLINE -PortableServer::POA_var::POA_var (void) // default constructor - : ptr_ (PortableServer::POA::_nil ()) -{} - -ACE_INLINE -PortableServer::POA_var::POA_var (PortableServer::POA_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::POA_var::POA_var (const PortableServer::POA_var &p) // copy constructor - : ptr_ (PortableServer::POA::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::POA_var::~POA_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::POA_var & -PortableServer::POA_var::operator= (PortableServer::POA_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::POA_var & -PortableServer::POA_var::operator= (const PortableServer::POA_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::POA::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::POA_var::operator const PortableServer::POA_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::POA_var::operator PortableServer::POA_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr & -PortableServer::POA_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr & -PortableServer::POA_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::POA::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::POA_ptr val = this->ptr_; - this->ptr_ = PortableServer::POA::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_POA___OUT_CI_) -#define _PORTABLESERVER_POA___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::POA_out -// ************************************************************* - -ACE_INLINE -PortableServer::POA_out::POA_out (PortableServer::POA_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::POA::_nil (); -} - -ACE_INLINE -PortableServer::POA_out::POA_out (PortableServer::POA_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::POA::_nil (); -} - -ACE_INLINE -PortableServer::POA_out::POA_out (PortableServer::POA_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::POA_out & -PortableServer::POA_out::operator= (PortableServer::POA_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::POA_out & -PortableServer::POA_out::operator= (const PortableServer::POA_var &p) -{ - this->ptr_ = PortableServer::POA::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::POA_out & -PortableServer::POA_out::operator= (PortableServer::POA_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::POA_out::operator PortableServer::POA_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr & -PortableServer::POA_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::POA_ptr -PortableServer::POA_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -// ************************************************************* -// Inline operations for exception PortableServer::POA::AdapterAlreadyExists -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::AdapterAlreadyExists::AdapterAlreadyExists (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_AdapterAlreadyExists)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::AdapterAlreadyExists::~AdapterAlreadyExists (void) -{ -} - -// ************************************************************* -// Inline operations for exception PortableServer::POA::AdapterInactive -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::AdapterInactive::AdapterInactive (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_AdapterInactive)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::AdapterInactive::~AdapterInactive (void) -{ -} - -// ************************************************************* -// Inline operations for exception PortableServer::POA::AdapterNonExistent -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::AdapterNonExistent::AdapterNonExistent (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_AdapterNonExistent)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::AdapterNonExistent::~AdapterNonExistent (void) -{ -} - -// ************************************************************* -// Inline operations for exception PortableServer::POA::InvalidPolicy -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::InvalidPolicy::InvalidPolicy (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_InvalidPolicy)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::InvalidPolicy::~InvalidPolicy (void) -{ -} - -// ************************************************************* -// Inline operations for exception PortableServer::POA::NoServant -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::NoServant::NoServant (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_NoServant)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::NoServant::~NoServant (void) -{ -} - -// ************************************************************* -// Inline operations for exception PortableServer::POA::ObjectAlreadyActive -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::ObjectAlreadyActive::ObjectAlreadyActive (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_ObjectAlreadyActive)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::ObjectAlreadyActive::~ObjectAlreadyActive (void) -{ -} - -// ************************************************************* -// Inline operations for exception PortableServer::POA::ObjectNotActive -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::ObjectNotActive::ObjectNotActive (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_ObjectNotActive)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::ObjectNotActive::~ObjectNotActive (void) -{ -} - -// ************************************************************* -// Inline operations for exception PortableServer::POA::ServantAlreadyActive -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::ServantAlreadyActive::ServantAlreadyActive (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_ServantAlreadyActive)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::ServantAlreadyActive::~ServantAlreadyActive (void) -{ -} - -// ************************************************************* -// Inline operations for exception PortableServer::POA::ServantNotActive -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::ServantNotActive::ServantNotActive (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_ServantNotActive)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::ServantNotActive::~ServantNotActive (void) -{ -} - -// ************************************************************* -// Inline operations for exception PortableServer::POA::WrongAdapter -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::WrongAdapter::WrongAdapter (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_WrongAdapter)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::WrongAdapter::~WrongAdapter (void) -{ -} - -// ************************************************************* -// Inline operations for exception PortableServer::POA::WrongPolicy -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::POA::WrongPolicy::WrongPolicy (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::POA::_tc_WrongPolicy)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::POA::WrongPolicy::~WrongPolicy (void) -{ -} - -ACE_INLINE -PortableServer::Current::Current( - STUB_Object *objref, - TAO_ServantBase *servant, - CORBA::Boolean collocated - ) - : ACE_CORBA_1 (Object) (objref, servant, collocated) -{} - -ACE_INLINE -PortableServer::Current::~Current (void) // destructor -{} - -ACE_INLINE PortableServer::Current_ptr -PortableServer::Current::_nil (void) -{ - return (PortableServer::Current_ptr)0; -} - - -#if !defined (_PORTABLESERVER_CURRENT___VAR_CI_) -#define _PORTABLESERVER_CURRENT___VAR_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::Current_var -// ************************************************************* - -ACE_INLINE -PortableServer::Current_var::Current_var (void) // default constructor - : ptr_ (PortableServer::Current::_nil ()) -{} - -ACE_INLINE -PortableServer::Current_var::Current_var (PortableServer::Current_ptr p) - : ptr_ (p) -{} - -ACE_INLINE PortableServer::Current_ptr -PortableServer::Current_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::Current_var::Current_var (const PortableServer::Current_var &p) // copy constructor - : ptr_ (PortableServer::Current::_duplicate (p.ptr ())) -{} - -ACE_INLINE -PortableServer::Current_var::~Current_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE PortableServer::Current_var & -PortableServer::Current_var::operator= (PortableServer::Current_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableServer::Current_var & -PortableServer::Current_var::operator= (const PortableServer::Current_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::Current::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -PortableServer::Current_var::operator const PortableServer::Current_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -PortableServer::Current_var::operator PortableServer::Current_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::Current_ptr -PortableServer::Current_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::Current_ptr -PortableServer::Current_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::Current_ptr & -PortableServer::Current_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::Current_ptr & -PortableServer::Current_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::Current::_nil (); - return this->ptr_; -} - -ACE_INLINE PortableServer::Current_ptr -PortableServer::Current_var::_retn (void) -{ - // yield ownership of managed obj reference - PortableServer::Current_ptr val = this->ptr_; - this->ptr_ = PortableServer::Current::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_PORTABLESERVER_CURRENT___OUT_CI_) -#define _PORTABLESERVER_CURRENT___OUT_CI_ - -// ************************************************************* -// Inline operations for class PortableServer::Current_out -// ************************************************************* - -ACE_INLINE -PortableServer::Current_out::Current_out (PortableServer::Current_ptr &p) - : ptr_ (p) -{ - this->ptr_ = PortableServer::Current::_nil (); -} - -ACE_INLINE -PortableServer::Current_out::Current_out (PortableServer::Current_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = PortableServer::Current::_nil (); -} - -ACE_INLINE -PortableServer::Current_out::Current_out (PortableServer::Current_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE PortableServer::Current_out & -PortableServer::Current_out::operator= (PortableServer::Current_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE PortableServer::Current_out & -PortableServer::Current_out::operator= (const PortableServer::Current_var &p) -{ - this->ptr_ = PortableServer::Current::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE PortableServer::Current_out & -PortableServer::Current_out::operator= (PortableServer::Current_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableServer::Current_out::operator PortableServer::Current_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::Current_ptr & -PortableServer::Current_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE PortableServer::Current_ptr -PortableServer::Current_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -// ************************************************************* -// Inline operations for exception PortableServer::Current::NoContext -// ************************************************************* - -// default constructor -ACE_INLINE -PortableServer::Current::NoContext::NoContext (void) - : CORBA_UserException (CORBA::TypeCode::_duplicate (PortableServer::Current::_tc_NoContext)) -{ -} - -// destructor - all members are of self managing types -ACE_INLINE -PortableServer::Current::NoContext::~NoContext (void) -{ -} - |