diff options
Diffstat (limited to 'TAO/tao/PI_Server/ServerRequestInterceptorA.cpp')
-rw-r--r-- | TAO/tao/PI_Server/ServerRequestInterceptorA.cpp | 85 |
1 files changed, 7 insertions, 78 deletions
diff --git a/TAO/tao/PI_Server/ServerRequestInterceptorA.cpp b/TAO/tao/PI_Server/ServerRequestInterceptorA.cpp index 58a08ac8132..8f5dfb63340 100644 --- a/TAO/tao/PI_Server/ServerRequestInterceptorA.cpp +++ b/TAO/tao/PI_Server/ServerRequestInterceptorA.cpp @@ -25,26 +25,29 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "ServerRequestInterceptorC.h" +#include "tao/PI_Server/ServerRequestInterceptorA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" #include "tao/AnyTypeCode/Objref_TypeCode_Static.h" #include "tao/AnyTypeCode/String_TypeCode_Static.h" +#include "tao/AnyTypeCode/Any.h" #include "tao/CDR.h" #include "tao/AnyTypeCode/Any.h" #include "tao/AnyTypeCode/Any_Impl_T.h" +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + // TAO_IDL - Generated from // be\be_visitor_typecode/objref_typecode.cpp:76 static TAO::TypeCode::Objref<char const *, TAO::Null_RefCount_Policy> _tao_tc_PortableInterceptor_ServerRequestInterceptor ( - CORBA::tk_local_interface, + ::CORBA::tk_local_interface, "IDL:omg.org/PortableInterceptor/ServerRequestInterceptor:1.0", "ServerRequestInterceptor"); - + namespace PortableInterceptor { ::CORBA::TypeCode_ptr const _tc_ServerRequestInterceptor = @@ -52,78 +55,4 @@ namespace PortableInterceptor } - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const - { - _tao_elem = CORBA::Object::_duplicate (this->value_); - return true; - } -} - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ServerRequestInterceptor_ptr _tao_elem - ) -{ - PortableInterceptor::ServerRequestInterceptor_ptr _tao_objptr = - PortableInterceptor::ServerRequestInterceptor::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ServerRequestInterceptor_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::insert ( - _tao_any, - PortableInterceptor::ServerRequestInterceptor::_tao_any_destructor, - PortableInterceptor::_tc_ServerRequestInterceptor, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::ServerRequestInterceptor_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::extract ( - _tao_any, - PortableInterceptor::ServerRequestInterceptor::_tao_any_destructor, - PortableInterceptor::_tc_ServerRequestInterceptor, - _tao_elem - ); -} +TAO_END_VERSIONED_NAMESPACE_DECL |