diff options
Diffstat (limited to 'TAO/tao/PI_Server/PS_CurrentA.cpp')
-rw-r--r-- | TAO/tao/PI_Server/PS_CurrentA.cpp | 225 |
1 files changed, 0 insertions, 225 deletions
diff --git a/TAO/tao/PI_Server/PS_CurrentA.cpp b/TAO/tao/PI_Server/PS_CurrentA.cpp deleted file mode 100644 index daf3632957f..00000000000 --- a/TAO/tao/PI_Server/PS_CurrentA.cpp +++ /dev/null @@ -1,225 +0,0 @@ -// -*- 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 "PI_Server.h" -#include "tao/Null_RefCount_Policy.h" -#include "tao/TypeCode_Constants.h" -#include "tao/Alias_TypeCode_Static.h" -#include "tao/Objref_TypeCode_Static.h" -#include "tao/Struct_TypeCode_Static.h" -#include "tao/TypeCode_Struct_Field.h" -#include "tao/CDR.h" -#include "tao/Any.h" -#include "tao/Any_Impl_T.h" -#include "tao/Any_Dual_Impl_T.h" - -// TAO_IDL - Generated from -// be/be_visitor_typecode/struct_typecode.cpp:74 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_Current_NoContext = 0; -static TAO::TypeCode::Struct<char const *, - CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field<char const *, - CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_Current_NoContext ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/Current/NoContext:2.3", - "NoContext", - _tao_fields_PortableServer_Current_NoContext, - 0); - -::CORBA::TypeCode_ptr const PortableServer::Current::_tc_NoContext = - &_tao_tc_PortableServer_Current_NoContext; - -// TAO_IDL - Generated from -// be/be_visitor_typecode/objref_typecode.cpp:76 - -static TAO::TypeCode::Objref<char const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_Current ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/Current:2.3", - "Current"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_Current = - &_tao_tc_PortableServer_Current; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::Current>::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<PortableServer::Current>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::Current>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::Current_ptr _tao_elem - ) -{ - PortableServer::Current_ptr _tao_objptr = - PortableServer::Current::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::Current_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::Current>::insert ( - _tao_any, - PortableServer::Current::_tao_any_destructor, - PortableServer::_tc_Current, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::Current_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::Current>::extract ( - _tao_any, - PortableServer::Current::_tao_any_destructor, - PortableServer::_tc_Current, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_exception/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::Current::NoContext>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::Current::NoContext>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::Current::NoContext &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::Current::NoContext>::insert_copy ( - _tao_any, - PortableServer::Current::NoContext::_tao_any_destructor, - PortableServer::Current::_tc_NoContext, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::Current::NoContext *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::Current::NoContext>::insert ( - _tao_any, - PortableServer::Current::NoContext::_tao_any_destructor, - PortableServer::Current::_tc_NoContext, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::Current::NoContext *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::Current::NoContext *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::Current::NoContext *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::Current::NoContext>::extract ( - _tao_any, - PortableServer::Current::NoContext::_tao_any_destructor, - PortableServer::Current::_tc_NoContext, - _tao_elem - ); -} |