diff options
Diffstat (limited to 'TAO/tao/PI/ClientRequestInfoA.cpp')
-rw-r--r-- | TAO/tao/PI/ClientRequestInfoA.cpp | 85 |
1 files changed, 78 insertions, 7 deletions
diff --git a/TAO/tao/PI/ClientRequestInfoA.cpp b/TAO/tao/PI/ClientRequestInfoA.cpp index aa30e9882c7..f6840ced1f9 100644 --- a/TAO/tao/PI/ClientRequestInfoA.cpp +++ b/TAO/tao/PI/ClientRequestInfoA.cpp @@ -25,29 +25,26 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "tao/PI/ClientRequestInfoA.h" +#include "ClientRequestInfoC.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_ClientRequestInfo ( - ::CORBA::tk_local_interface, + CORBA::tk_local_interface, "IDL:omg.org/PortableInterceptor/ClientRequestInfo:1.0", "ClientRequestInfo"); - + namespace PortableInterceptor { ::CORBA::TypeCode_ptr const _tc_ClientRequestInfo = @@ -55,4 +52,78 @@ namespace PortableInterceptor } -TAO_END_VERSIONED_NAMESPACE_DECL + +// TAO_IDL - Generated from +// be\be_visitor_interface/any_op_cs.cpp:50 + +namespace TAO +{ + template<> + CORBA::Boolean + Any_Impl_T<PortableInterceptor::ClientRequestInfo>::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::ClientRequestInfo>::marshal_value (TAO_OutputCDR &) + { + return false; + } + + template<> + CORBA::Boolean + Any_Impl_T<PortableInterceptor::ClientRequestInfo>::demarshal_value (TAO_InputCDR &) + { + return false; + } +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ClientRequestInfo_ptr _tao_elem + ) +{ + PortableInterceptor::ClientRequestInfo_ptr _tao_objptr = + PortableInterceptor::ClientRequestInfo::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ClientRequestInfo_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::insert ( + _tao_any, + PortableInterceptor::ClientRequestInfo::_tao_any_destructor, + PortableInterceptor::_tc_ClientRequestInfo, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::ClientRequestInfo_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::extract ( + _tao_any, + PortableInterceptor::ClientRequestInfo::_tao_any_destructor, + PortableInterceptor::_tc_ClientRequestInfo, + _tao_elem + ); +} |