diff options
author | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-19 22:04:46 +0000 |
---|---|---|
committer | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-19 22:04:46 +0000 |
commit | 04b9a08c7b1da0f9698fe8b3ef2dfd1f07237fa4 (patch) | |
tree | a8a811edf27f04a30be899a6faecd3ba398855f5 /TAO/tao/PortableInterceptorC.i | |
parent | 9a8d796e912409800b4cb0258708b7472a0dc749 (diff) | |
download | ATCD-04b9a08c7b1da0f9698fe8b3ef2dfd1f07237fa4.tar.gz |
ChangeLogTag: Thu Oct 19 14:30:59 2000 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO/tao/PortableInterceptorC.i')
-rw-r--r-- | TAO/tao/PortableInterceptorC.i | 1315 |
1 files changed, 66 insertions, 1249 deletions
diff --git a/TAO/tao/PortableInterceptorC.i b/TAO/tao/PortableInterceptorC.i index cfaabc84271..f296c6dc807 100644 --- a/TAO/tao/PortableInterceptorC.i +++ b/TAO/tao/PortableInterceptorC.i @@ -1,424 +1,23 @@ -/* -*- C++ -*- $Id$ */ - -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO and the TAO IDL Compiler have been developed by the Center for -// Distributed Object Computing at Washington University, St. Louis. +// -*- C++ -*- +// +// $Id$ + +// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** +// TAO and the TAO IDL Compiler have been developed by: +// Center for Distributed Object Computing +// Washington University +// St. Louis, MO +// USA +// http://www.cs.wustl.edu/~schmidt/doc-center.html +// and +// Distributed Object Computing Laboratory +// University of California at Irvine +// Irvine, CA +// USA +// http://doc.ece.uci.edu/ // // Information about TAO is available at: -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#if (TAO_HAS_INTERCEPTORS == 1) -#if !defined (_PORTABLEINTERCEPTOR_OCTETSEQ_CI_) -#define _PORTABLEINTERCEPTOR_OCTETSEQ_CI_ - -// ************************************************************* -// Inline operations for class PortableInterceptor::OctetSeq_var -// ************************************************************* - -ACE_INLINE -PortableInterceptor::OctetSeq_var::OctetSeq_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -PortableInterceptor::OctetSeq_var::OctetSeq_var (OctetSeq *p) - : ptr_ (p) -{} - -ACE_INLINE -PortableInterceptor::OctetSeq_var::OctetSeq_var (const ::PortableInterceptor::OctetSeq_var &p) // copy constructor -{ - if (p.ptr_) - ACE_NEW (this->ptr_, ::PortableInterceptor::OctetSeq (*p.ptr_)); - else - this->ptr_ = 0; -} - -// fixed-size base types only -ACE_INLINE -PortableInterceptor::OctetSeq_var::OctetSeq_var (const ::PortableInterceptor::OctetSeq &p) -{ - ACE_NEW (this->ptr_, ::PortableInterceptor::OctetSeq (p)); -} - -ACE_INLINE -PortableInterceptor::OctetSeq_var::~OctetSeq_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE PortableInterceptor::OctetSeq_var & -PortableInterceptor::OctetSeq_var::operator= (OctetSeq *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableInterceptor::OctetSeq_var & -PortableInterceptor::OctetSeq_var::operator= (const ::PortableInterceptor::OctetSeq_var &p) // deep copy -{ - if (this != &p) - { - delete this->ptr_; - ACE_NEW_RETURN (this->ptr_, ::PortableInterceptor::OctetSeq (*p.ptr_), *this); - } - return *this; -} - -// fixed-size types only -ACE_INLINE ::PortableInterceptor::OctetSeq_var & -PortableInterceptor::OctetSeq_var::operator= (const ::PortableInterceptor::OctetSeq &p) -{ - if (this->ptr_ != &p) - { - delete this->ptr_; - ACE_NEW_RETURN (this->ptr_, ::PortableInterceptor::OctetSeq (p), *this); - } - return *this; -} - -ACE_INLINE const ::PortableInterceptor::OctetSeq * -PortableInterceptor::OctetSeq_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE ::PortableInterceptor::OctetSeq * -PortableInterceptor::OctetSeq_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -PortableInterceptor::OctetSeq_var::operator const ::PortableInterceptor::OctetSeq &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -PortableInterceptor::OctetSeq_var::operator ::PortableInterceptor::OctetSeq &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -PortableInterceptor::OctetSeq_var::operator ::PortableInterceptor::OctetSeq &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE CORBA::Octet & -PortableInterceptor::OctetSeq_var::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE const ::PortableInterceptor::OctetSeq & -PortableInterceptor::OctetSeq_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE ::PortableInterceptor::OctetSeq & -PortableInterceptor::OctetSeq_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE ::PortableInterceptor::OctetSeq *& -PortableInterceptor::OctetSeq_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE ::PortableInterceptor::OctetSeq * -PortableInterceptor::OctetSeq_var::_retn (void) -{ - ::PortableInterceptor::OctetSeq *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE ::PortableInterceptor::OctetSeq * -PortableInterceptor::OctetSeq_var::ptr (void) const -{ - return this->ptr_; -} - -// ************************************************************* -// Inline operations for class PortableInterceptor::OctetSeq_out -// ************************************************************* - -ACE_INLINE -PortableInterceptor::OctetSeq_out::OctetSeq_out (OctetSeq *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -PortableInterceptor::OctetSeq_out::OctetSeq_out (OctetSeq_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -PortableInterceptor::OctetSeq_out::OctetSeq_out (const ::PortableInterceptor::OctetSeq_out &p) // copy constructor - : ptr_ (ACE_const_cast (OctetSeq_out&, p).ptr_) -{} - -ACE_INLINE ::PortableInterceptor::OctetSeq_out & -PortableInterceptor::OctetSeq_out::operator= (const ::PortableInterceptor::OctetSeq_out &p) -{ - this->ptr_ = ACE_const_cast (OctetSeq_out&, p).ptr_; - return *this; -} - -ACE_INLINE ::PortableInterceptor::OctetSeq_out & -PortableInterceptor::OctetSeq_out::operator= (OctetSeq *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableInterceptor::OctetSeq_out::operator ::PortableInterceptor::OctetSeq *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE ::PortableInterceptor::OctetSeq *& -PortableInterceptor::OctetSeq_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE ::PortableInterceptor::OctetSeq * -PortableInterceptor::OctetSeq_out::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE CORBA::Octet & -PortableInterceptor::OctetSeq_out::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - - -#endif /* end #if !defined */ - - -#if !defined (_PORTABLEINTERCEPTOR_STRINGSEQ_CI_) -#define _PORTABLEINTERCEPTOR_STRINGSEQ_CI_ - -// ************************************************************* -// Inline operations for class PortableInterceptor::StringSeq_var -// ************************************************************* - -ACE_INLINE -PortableInterceptor::StringSeq_var::StringSeq_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -PortableInterceptor::StringSeq_var::StringSeq_var (StringSeq *p) - : ptr_ (p) -{} - -ACE_INLINE -PortableInterceptor::StringSeq_var::StringSeq_var (const ::PortableInterceptor::StringSeq_var &p) // copy constructor -{ - if (p.ptr_) - ACE_NEW (this->ptr_, ::PortableInterceptor::StringSeq (*p.ptr_)); - else - this->ptr_ = 0; -} - -ACE_INLINE -PortableInterceptor::StringSeq_var::~StringSeq_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE PortableInterceptor::StringSeq_var & -PortableInterceptor::StringSeq_var::operator= (StringSeq *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE PortableInterceptor::StringSeq_var & -PortableInterceptor::StringSeq_var::operator= (const ::PortableInterceptor::StringSeq_var &p) // deep copy -{ - if (this != &p) - { - delete this->ptr_; - ACE_NEW_RETURN (this->ptr_, ::PortableInterceptor::StringSeq (*p.ptr_), *this); - } - return *this; -} - -ACE_INLINE const ::PortableInterceptor::StringSeq * -PortableInterceptor::StringSeq_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE ::PortableInterceptor::StringSeq * -PortableInterceptor::StringSeq_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -PortableInterceptor::StringSeq_var::operator const ::PortableInterceptor::StringSeq &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -PortableInterceptor::StringSeq_var::operator ::PortableInterceptor::StringSeq &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -PortableInterceptor::StringSeq_var::operator ::PortableInterceptor::StringSeq &() const // cast -{ - return *this->ptr_; -} - -// variable-size types only -ACE_INLINE -PortableInterceptor::StringSeq_var::operator ::PortableInterceptor::StringSeq *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE TAO_SeqElem_String_Manager -PortableInterceptor::StringSeq_var::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE const ::PortableInterceptor::StringSeq & -PortableInterceptor::StringSeq_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE ::PortableInterceptor::StringSeq & -PortableInterceptor::StringSeq_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE ::PortableInterceptor::StringSeq *& -PortableInterceptor::StringSeq_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE ::PortableInterceptor::StringSeq * -PortableInterceptor::StringSeq_var::_retn (void) -{ - ::PortableInterceptor::StringSeq *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE ::PortableInterceptor::StringSeq * -PortableInterceptor::StringSeq_var::ptr (void) const -{ - return this->ptr_; -} - -// ************************************************************* -// Inline operations for class PortableInterceptor::StringSeq_out -// ************************************************************* - -ACE_INLINE -PortableInterceptor::StringSeq_out::StringSeq_out (StringSeq *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -PortableInterceptor::StringSeq_out::StringSeq_out (StringSeq_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -PortableInterceptor::StringSeq_out::StringSeq_out (const ::PortableInterceptor::StringSeq_out &p) // copy constructor - : ptr_ (ACE_const_cast (StringSeq_out&, p).ptr_) -{} - -ACE_INLINE ::PortableInterceptor::StringSeq_out & -PortableInterceptor::StringSeq_out::operator= (const ::PortableInterceptor::StringSeq_out &p) -{ - this->ptr_ = ACE_const_cast (StringSeq_out&, p).ptr_; - return *this; -} - -ACE_INLINE ::PortableInterceptor::StringSeq_out & -PortableInterceptor::StringSeq_out::operator= (StringSeq *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -PortableInterceptor::StringSeq_out::operator ::PortableInterceptor::StringSeq *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE ::PortableInterceptor::StringSeq *& -PortableInterceptor::StringSeq_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE ::PortableInterceptor::StringSeq * -PortableInterceptor::StringSeq_out::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE TAO_SeqElem_String_Manager -PortableInterceptor::StringSeq_out::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - - -#endif /* end #if !defined */ - - -#if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR___CI_) -#define _PORTABLEINTERCEPTOR_INTERCEPTOR___CI_ - -ACE_INLINE -PortableInterceptor::Interceptor::Interceptor (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ +// http://www.cs.wustl.edu/~schmidt/TAO.html #if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR___VAR_CI_) @@ -470,14 +69,14 @@ PortableInterceptor::Interceptor_var::operator= (const ::PortableInterceptor::In return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::Interceptor_var::operator const ::PortableInterceptor::Interceptor_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::Interceptor_var::operator ::PortableInterceptor::Interceptor_ptr &() // cast +ACE_INLINE +PortableInterceptor::Interceptor_var::operator ::PortableInterceptor::Interceptor_ptr &() // cast { return this->ptr_; } @@ -569,7 +168,7 @@ PortableInterceptor::Interceptor_out::operator= (Interceptor_ptr p) return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::Interceptor_out::operator ::PortableInterceptor::Interceptor_ptr &() // cast { return this->ptr_; @@ -599,17 +198,6 @@ PortableInterceptor::Interceptor_out::operator-> (void) // ************************************************************* -#if !defined (_PORTABLEINTERCEPTOR_CURRENT___CI_) -#define _PORTABLEINTERCEPTOR_CURRENT___CI_ - -ACE_INLINE -PortableInterceptor::Current::Current (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_CURRENT___VAR_CI_) #define _PORTABLEINTERCEPTOR_CURRENT___VAR_CI_ @@ -659,14 +247,14 @@ PortableInterceptor::Current_var::operator= (const ::PortableInterceptor::Curren return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::Current_var::operator const ::PortableInterceptor::Current_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::Current_var::operator ::PortableInterceptor::Current_ptr &() // cast +ACE_INLINE +PortableInterceptor::Current_var::operator ::PortableInterceptor::Current_ptr &() // cast { return this->ptr_; } @@ -758,7 +346,7 @@ PortableInterceptor::Current_out::operator= (Current_ptr p) return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::Current_out::operator ::PortableInterceptor::Current_ptr &() // cast { return this->ptr_; @@ -780,17 +368,6 @@ PortableInterceptor::Current_out::operator-> (void) #endif /* end #if !defined */ -#if !defined (_PORTABLEINTERCEPTOR_REQUESTINFO___CI_) -#define _PORTABLEINTERCEPTOR_REQUESTINFO___CI_ - -ACE_INLINE -PortableInterceptor::RequestInfo::RequestInfo (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_REQUESTINFO___VAR_CI_) #define _PORTABLEINTERCEPTOR_REQUESTINFO___VAR_CI_ @@ -840,14 +417,14 @@ PortableInterceptor::RequestInfo_var::operator= (const ::PortableInterceptor::Re return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::RequestInfo_var::operator const ::PortableInterceptor::RequestInfo_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::RequestInfo_var::operator ::PortableInterceptor::RequestInfo_ptr &() // cast +ACE_INLINE +PortableInterceptor::RequestInfo_var::operator ::PortableInterceptor::RequestInfo_ptr &() // cast { return this->ptr_; } @@ -939,7 +516,7 @@ PortableInterceptor::RequestInfo_out::operator= (RequestInfo_ptr p) return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::RequestInfo_out::operator ::PortableInterceptor::RequestInfo_ptr &() // cast { return this->ptr_; @@ -961,17 +538,6 @@ PortableInterceptor::RequestInfo_out::operator-> (void) #endif /* end #if !defined */ -#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINFO___CI_) -#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINFO___CI_ - -ACE_INLINE -PortableInterceptor::ClientRequestInfo::ClientRequestInfo (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINFO___VAR_CI_) #define _PORTABLEINTERCEPTOR_CLIENTREQUESTINFO___VAR_CI_ @@ -1021,14 +587,14 @@ PortableInterceptor::ClientRequestInfo_var::operator= (const ::PortableIntercept return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ClientRequestInfo_var::operator const ::PortableInterceptor::ClientRequestInfo_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::ClientRequestInfo_var::operator ::PortableInterceptor::ClientRequestInfo_ptr &() // cast +ACE_INLINE +PortableInterceptor::ClientRequestInfo_var::operator ::PortableInterceptor::ClientRequestInfo_ptr &() // cast { return this->ptr_; } @@ -1120,7 +686,7 @@ PortableInterceptor::ClientRequestInfo_out::operator= (ClientRequestInfo_ptr p) return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ClientRequestInfo_out::operator ::PortableInterceptor::ClientRequestInfo_ptr &() // cast { return this->ptr_; @@ -1142,17 +708,6 @@ PortableInterceptor::ClientRequestInfo_out::operator-> (void) #endif /* end #if !defined */ -#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINFO___CI_) -#define _PORTABLEINTERCEPTOR_SERVERREQUESTINFO___CI_ - -ACE_INLINE -PortableInterceptor::ServerRequestInfo::ServerRequestInfo (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINFO___VAR_CI_) #define _PORTABLEINTERCEPTOR_SERVERREQUESTINFO___VAR_CI_ @@ -1202,14 +757,14 @@ PortableInterceptor::ServerRequestInfo_var::operator= (const ::PortableIntercept return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ServerRequestInfo_var::operator const ::PortableInterceptor::ServerRequestInfo_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::ServerRequestInfo_var::operator ::PortableInterceptor::ServerRequestInfo_ptr &() // cast +ACE_INLINE +PortableInterceptor::ServerRequestInfo_var::operator ::PortableInterceptor::ServerRequestInfo_ptr &() // cast { return this->ptr_; } @@ -1301,7 +856,7 @@ PortableInterceptor::ServerRequestInfo_out::operator= (ServerRequestInfo_ptr p) return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ServerRequestInfo_out::operator ::PortableInterceptor::ServerRequestInfo_ptr &() // cast { return this->ptr_; @@ -1323,17 +878,6 @@ PortableInterceptor::ServerRequestInfo_out::operator-> (void) #endif /* end #if !defined */ -#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___CI_) -#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___CI_ - -ACE_INLINE -PortableInterceptor::ClientRequestInterceptor::ClientRequestInterceptor (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___VAR_CI_) #define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___VAR_CI_ @@ -1383,14 +927,14 @@ PortableInterceptor::ClientRequestInterceptor_var::operator= (const ::PortableIn return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ClientRequestInterceptor_var::operator const ::PortableInterceptor::ClientRequestInterceptor_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::ClientRequestInterceptor_var::operator ::PortableInterceptor::ClientRequestInterceptor_ptr &() // cast +ACE_INLINE +PortableInterceptor::ClientRequestInterceptor_var::operator ::PortableInterceptor::ClientRequestInterceptor_ptr &() // cast { return this->ptr_; } @@ -1482,7 +1026,7 @@ PortableInterceptor::ClientRequestInterceptor_out::operator= (ClientRequestInter return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ClientRequestInterceptor_out::operator ::PortableInterceptor::ClientRequestInterceptor_ptr &() // cast { return this->ptr_; @@ -1504,17 +1048,6 @@ PortableInterceptor::ClientRequestInterceptor_out::operator-> (void) #endif /* end #if !defined */ -#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___CI_) -#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___CI_ - -ACE_INLINE -PortableInterceptor::ServerRequestInterceptor::ServerRequestInterceptor (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___VAR_CI_) #define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___VAR_CI_ @@ -1564,14 +1097,14 @@ PortableInterceptor::ServerRequestInterceptor_var::operator= (const ::PortableIn return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ServerRequestInterceptor_var::operator const ::PortableInterceptor::ServerRequestInterceptor_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::ServerRequestInterceptor_var::operator ::PortableInterceptor::ServerRequestInterceptor_ptr &() // cast +ACE_INLINE +PortableInterceptor::ServerRequestInterceptor_var::operator ::PortableInterceptor::ServerRequestInterceptor_ptr &() // cast { return this->ptr_; } @@ -1663,7 +1196,7 @@ PortableInterceptor::ServerRequestInterceptor_out::operator= (ServerRequestInter return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ServerRequestInterceptor_out::operator ::PortableInterceptor::ServerRequestInterceptor_ptr &() // cast { return this->ptr_; @@ -1685,17 +1218,6 @@ PortableInterceptor::ServerRequestInterceptor_out::operator-> (void) #endif /* end #if !defined */ -#if !defined (_PORTABLEINTERCEPTOR_IORINFO___CI_) -#define _PORTABLEINTERCEPTOR_IORINFO___CI_ - -ACE_INLINE -PortableInterceptor::IORInfo::IORInfo (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_IORINFO___VAR_CI_) #define _PORTABLEINTERCEPTOR_IORINFO___VAR_CI_ @@ -1745,14 +1267,14 @@ PortableInterceptor::IORInfo_var::operator= (const ::PortableInterceptor::IORInf return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::IORInfo_var::operator const ::PortableInterceptor::IORInfo_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::IORInfo_var::operator ::PortableInterceptor::IORInfo_ptr &() // cast +ACE_INLINE +PortableInterceptor::IORInfo_var::operator ::PortableInterceptor::IORInfo_ptr &() // cast { return this->ptr_; } @@ -1844,7 +1366,7 @@ PortableInterceptor::IORInfo_out::operator= (IORInfo_ptr p) return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::IORInfo_out::operator ::PortableInterceptor::IORInfo_ptr &() // cast { return this->ptr_; @@ -1866,17 +1388,6 @@ PortableInterceptor::IORInfo_out::operator-> (void) #endif /* end #if !defined */ -#if !defined (_PORTABLEINTERCEPTOR_IORINTERCEPTOR___CI_) -#define _PORTABLEINTERCEPTOR_IORINTERCEPTOR___CI_ - -ACE_INLINE -PortableInterceptor::IORInterceptor::IORInterceptor (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_IORINTERCEPTOR___VAR_CI_) #define _PORTABLEINTERCEPTOR_IORINTERCEPTOR___VAR_CI_ @@ -1926,14 +1437,14 @@ PortableInterceptor::IORInterceptor_var::operator= (const ::PortableInterceptor: return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::IORInterceptor_var::operator const ::PortableInterceptor::IORInterceptor_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::IORInterceptor_var::operator ::PortableInterceptor::IORInterceptor_ptr &() // cast +ACE_INLINE +PortableInterceptor::IORInterceptor_var::operator ::PortableInterceptor::IORInterceptor_ptr &() // cast { return this->ptr_; } @@ -2025,7 +1536,7 @@ PortableInterceptor::IORInterceptor_out::operator= (IORInterceptor_ptr p) return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::IORInterceptor_out::operator ::PortableInterceptor::IORInterceptor_ptr &() // cast { return this->ptr_; @@ -2047,17 +1558,6 @@ PortableInterceptor::IORInterceptor_out::operator-> (void) #endif /* end #if !defined */ -#if !defined (_PORTABLEINTERCEPTOR_POLICYFACTORY___CI_) -#define _PORTABLEINTERCEPTOR_POLICYFACTORY___CI_ - -ACE_INLINE -PortableInterceptor::PolicyFactory::PolicyFactory (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_POLICYFACTORY___VAR_CI_) #define _PORTABLEINTERCEPTOR_POLICYFACTORY___VAR_CI_ @@ -2107,14 +1607,14 @@ PortableInterceptor::PolicyFactory_var::operator= (const ::PortableInterceptor:: return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::PolicyFactory_var::operator const ::PortableInterceptor::PolicyFactory_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::PolicyFactory_var::operator ::PortableInterceptor::PolicyFactory_ptr &() // cast +ACE_INLINE +PortableInterceptor::PolicyFactory_var::operator ::PortableInterceptor::PolicyFactory_ptr &() // cast { return this->ptr_; } @@ -2206,7 +1706,7 @@ PortableInterceptor::PolicyFactory_out::operator= (PolicyFactory_ptr p) return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::PolicyFactory_out::operator ::PortableInterceptor::PolicyFactory_ptr &() // cast { return this->ptr_; @@ -2236,17 +1736,6 @@ PortableInterceptor::PolicyFactory_out::operator-> (void) // ************************************************************* -#if !defined (_PORTABLEINTERCEPTOR_ORBINITINFO___CI_) -#define _PORTABLEINTERCEPTOR_ORBINITINFO___CI_ - -ACE_INLINE -PortableInterceptor::ORBInitInfo::ORBInitInfo (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_ORBINITINFO___VAR_CI_) #define _PORTABLEINTERCEPTOR_ORBINITINFO___VAR_CI_ @@ -2296,14 +1785,14 @@ PortableInterceptor::ORBInitInfo_var::operator= (const ::PortableInterceptor::OR return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ORBInitInfo_var::operator const ::PortableInterceptor::ORBInitInfo_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::ORBInitInfo_var::operator ::PortableInterceptor::ORBInitInfo_ptr &() // cast +ACE_INLINE +PortableInterceptor::ORBInitInfo_var::operator ::PortableInterceptor::ORBInitInfo_ptr &() // cast { return this->ptr_; } @@ -2395,7 +1884,7 @@ PortableInterceptor::ORBInitInfo_out::operator= (ORBInitInfo_ptr p) return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ORBInitInfo_out::operator ::PortableInterceptor::ORBInitInfo_ptr &() // cast { return this->ptr_; @@ -2417,17 +1906,6 @@ PortableInterceptor::ORBInitInfo_out::operator-> (void) #endif /* end #if !defined */ -#if !defined (_PORTABLEINTERCEPTOR_ORBINITIALIZER___CI_) -#define _PORTABLEINTERCEPTOR_ORBINITIALIZER___CI_ - -ACE_INLINE -PortableInterceptor::ORBInitializer::ORBInitializer (TAO_Stub *objref, CORBA::Boolean _tao_collocated) // constructor - : CORBA_Object (objref, _tao_collocated) -{} - -#endif /* end #if !defined */ - - #if !defined (_PORTABLEINTERCEPTOR_ORBINITIALIZER___VAR_CI_) #define _PORTABLEINTERCEPTOR_ORBINITIALIZER___VAR_CI_ @@ -2477,14 +1955,14 @@ PortableInterceptor::ORBInitializer_var::operator= (const ::PortableInterceptor: return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ORBInitializer_var::operator const ::PortableInterceptor::ORBInitializer_ptr &() const // cast { return this->ptr_; } -ACE_INLINE -PortableInterceptor::ORBInitializer_var::operator ::PortableInterceptor::ORBInitializer_ptr &() // cast +ACE_INLINE +PortableInterceptor::ORBInitializer_var::operator ::PortableInterceptor::ORBInitializer_ptr &() // cast { return this->ptr_; } @@ -2576,7 +2054,7 @@ PortableInterceptor::ORBInitializer_out::operator= (ORBInitializer_ptr p) return *this; } -ACE_INLINE +ACE_INLINE PortableInterceptor::ORBInitializer_out::operator ::PortableInterceptor::ORBInitializer_ptr &() // cast { return this->ptr_; @@ -2597,85 +2075,6 @@ PortableInterceptor::ORBInitializer_out::operator-> (void) #endif /* end #if !defined */ - -#if !defined _TAO_CDR_OP_PortableInterceptor_OctetSeq_I_ -#define _TAO_CDR_OP_PortableInterceptor_OctetSeq_I_ - -CORBA::Boolean TAO_Export operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::OctetSeq & - ); -CORBA::Boolean TAO_Export operator>> ( - TAO_InputCDR &, - PortableInterceptor::OctetSeq & - ); - -#endif /* _TAO_CDR_OP_PortableInterceptor_OctetSeq_I_ */ - - -#if !defined _TAO_CDR_OP_PortableInterceptor_StringSeq_I_ -#define _TAO_CDR_OP_PortableInterceptor_StringSeq_I_ - -CORBA::Boolean TAO_Export operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::StringSeq & - ); -CORBA::Boolean TAO_Export operator>> ( - TAO_InputCDR &, - PortableInterceptor::StringSeq & - ); - -#endif /* _TAO_CDR_OP_PortableInterceptor_StringSeq_I_ */ - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::Interceptor_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::Interceptor_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::Interceptor_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::Interceptor_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::Interceptor::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableInterceptor::ForwardRequest &_tao_aggregate) { // first marshal the repository ID @@ -2720,585 +2119,3 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,PortableInterceptor::Invali return 1; } -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::Current_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::Current_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::Current_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::Current_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::Current::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::RequestInfo_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::RequestInfo_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::RequestInfo_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::RequestInfo_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::RequestInfo::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::ClientRequestInfo_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::ClientRequestInfo_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::ClientRequestInfo_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::ClientRequestInfo_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::ClientRequestInfo::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::ServerRequestInfo_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::ServerRequestInfo_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::ServerRequestInfo_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::ServerRequestInfo_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::ServerRequestInfo::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::ClientRequestInterceptor_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::ClientRequestInterceptor_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::ClientRequestInterceptor_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::ClientRequestInterceptor_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::ClientRequestInterceptor::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::ServerRequestInterceptor_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::ServerRequestInterceptor_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::ServerRequestInterceptor_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::ServerRequestInterceptor_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::ServerRequestInterceptor::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::IORInfo_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::IORInfo_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::IORInfo_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::IORInfo_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::IORInfo::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::IORInterceptor_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::IORInterceptor_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::IORInterceptor_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::IORInterceptor_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::IORInterceptor::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::PolicyFactory_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::PolicyFactory_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::PolicyFactory_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::PolicyFactory_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::PolicyFactory::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::ORBInitInfo_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::ORBInitInfo_ptr & - ); - -ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableInterceptor::ORBInitInfo::DuplicateName &_tao_aggregate) -{ - // first marshal the repository ID - if (strm << _tao_aggregate._id ()) - { - // now marshal the members (if any) - if ( - (strm << _tao_aggregate.name.in ()) - ) - return 1; - else - return 0; - } - else - return 0; -} - -ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm,PortableInterceptor::ORBInitInfo::DuplicateName &_tao_aggregate) -{ - // now marshal the members - if ( - (strm >> _tao_aggregate.name.out ()) - ) - return 1; - else - return 0; -} - -ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableInterceptor::ORBInitInfo::InvalidName &_tao_aggregate) -{ - // first marshal the repository ID - if (strm << _tao_aggregate._id ()) - return 1; - else - return 0; -} - -ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,PortableInterceptor::ORBInitInfo::InvalidName&) -{ - return 1; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::ORBInitInfo_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::ORBInitInfo_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::ORBInitInfo::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &, - const PortableInterceptor::ORBInitializer_ptr - ); -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &, - PortableInterceptor::ORBInitializer_ptr & - ); - -ACE_INLINE CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const PortableInterceptor::ORBInitializer_ptr _tao_objref - ) -{ - CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -ACE_INLINE CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - PortableInterceptor::ORBInitializer_ptr &_tao_objref - ) -{ - ACE_TRY_NEW_ENV - { - CORBA::Object_var obj; - if ((strm >> obj.inout ()) == 0) - return 0; - // narrow to the right type - _tao_objref = - PortableInterceptor::ORBInitializer::_unchecked_narrow ( - obj.in (), - ACE_TRY_ENV - ); - ACE_TRY_CHECK; - return 1; - } - ACE_CATCHANY - { - // do nothing - } - ACE_ENDTRY; - return 0; -} - -#endif /* TAO_HAS_INTERCEPTORS == 1 */ |