diff options
Diffstat (limited to 'TAO/tao/ClientRequestInfoA.cpp')
-rw-r--r-- | TAO/tao/ClientRequestInfoA.cpp | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/TAO/tao/ClientRequestInfoA.cpp b/TAO/tao/ClientRequestInfoA.cpp new file mode 100644 index 00000000000..49f5c488b82 --- /dev/null +++ b/TAO/tao/ClientRequestInfoA.cpp @@ -0,0 +1,123 @@ +// -*- 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/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +#include "ClientRequestInfoC.h" +#include "tao/Null_RefCount_Policy.h" +#include "tao/TypeCode_Constants.h" +#include "tao/Alias_TypeCode.h" +#include "tao/Objref_TypeCode.h" +#include "tao/String_TypeCode.h" +#include "tao/CDR.h" +#include "tao/Any.h" +#include "tao/Any_Impl_T.h" + +// TAO_IDL - Generated from +// c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/objref_typecode.cpp:76 + +static TAO::TypeCode::Objref<char const *, + CORBA::tk_local_interface, + TAO::Null_RefCount_Policy> + _tao_tc_PortableInterceptor_ClientRequestInfo ( + "IDL:omg.org/PortableInterceptor/ClientRequestInfo:1.0", + "ClientRequestInfo"); + +namespace PortableInterceptor +{ + ::CORBA::TypeCode_ptr const _tc_ClientRequestInfo = + &_tao_tc_PortableInterceptor_ClientRequestInfo; +} + + + +// TAO_IDL - Generated from +// c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_interface/any_op_cs.cpp:50 + +template<> +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return true; +} + +template<> +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::marshal_value (TAO_OutputCDR &) +{ + return false; +} + +template<> +CORBA::Boolean +TAO::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 + ); +} |