diff options
73 files changed, 0 insertions, 13941 deletions
diff --git a/TAO/tao/EndpointPolicy/EndpointPolicyA.cpp b/TAO/tao/EndpointPolicy/EndpointPolicyA.cpp deleted file mode 100644 index 94a683d6b1f..00000000000 --- a/TAO/tao/EndpointPolicy/EndpointPolicyA.cpp +++ /dev/null @@ -1,212 +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 "EndpointPolicyA.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/Sequence_TypeCode_Static.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Dual_Impl_T.h" - -// TAO_IDL - Generated from -// be/be_visitor_typecode/objref_typecode.cpp:76 - -static TAO::TypeCode::Objref<char const *, - TAO::Null_RefCount_Policy> - _tao_tc_EndpointPolicy_EndpointValueBase ( - ::CORBA::tk_local_interface, - "IDL:EndpointPolicy/EndpointValueBase:1.0", - "EndpointValueBase"); - -namespace EndpointPolicy -{ - ::CORBA::TypeCode_ptr const _tc_EndpointValueBase = - &_tao_tc_EndpointPolicy_EndpointValueBase; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/typecode_defn.cpp:942 - - -#ifndef _TAO_TYPECODE_EndpointPolicy_EndpointList_GUARD -#define _TAO_TYPECODE_EndpointPolicy_EndpointList_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - EndpointPolicy_EndpointList_0 ( - ::CORBA::tk_sequence, - &EndpointPolicy::_tc_EndpointValueBase, - 0U); - - ::CORBA::TypeCode_ptr const tc_EndpointPolicy_EndpointList_0 = - &EndpointPolicy_EndpointList_0; - - } -} - - -TAO_END_VERSIONED_NAMESPACE_DECL - - -#endif /* _TAO_TYPECODE_EndpointPolicy_EndpointList_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_EndpointPolicy_EndpointList ( - ::CORBA::tk_alias, - "IDL:EndpointPolicy/EndpointList:1.0", - "EndpointList", - &TAO::TypeCode::tc_EndpointPolicy_EndpointList_0); - -namespace EndpointPolicy -{ - ::CORBA::TypeCode_ptr const _tc_EndpointList = - &_tao_tc_EndpointPolicy_EndpointList; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/objref_typecode.cpp:76 - -static TAO::TypeCode::Objref<char const *, - TAO::Null_RefCount_Policy> - _tao_tc_EndpointPolicy_Policy ( - ::CORBA::tk_local_interface, - "IDL:EndpointPolicy/Policy:1.0", - "Policy"); - -namespace EndpointPolicy -{ - ::CORBA::TypeCode_ptr const _tc_Policy = - &_tao_tc_EndpointPolicy_Policy; -} - - - -// TAO_IDL - Generated from -// be/be_visitor_sequence/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - template<> - ::CORBA::Boolean - Any_Dual_Impl_T<EndpointPolicy::EndpointList>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - ::CORBA::Boolean - Any_Dual_Impl_T<EndpointPolicy::EndpointList>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const EndpointPolicy::EndpointList &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<EndpointPolicy::EndpointList *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<EndpointPolicy::EndpointList>::insert_copy ( - _tao_any, - EndpointPolicy::EndpointList::_tao_any_destructor, - TAO::TypeCode::tc_EndpointPolicy_EndpointList_0, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - EndpointPolicy::EndpointList *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<EndpointPolicy::EndpointList>::insert ( - _tao_any, - EndpointPolicy::EndpointList::_tao_any_destructor, - TAO::TypeCode::tc_EndpointPolicy_EndpointList_0, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - EndpointPolicy::EndpointList *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const EndpointPolicy::EndpointList *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const EndpointPolicy::EndpointList *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<EndpointPolicy::EndpointList>::extract ( - _tao_any, - EndpointPolicy::EndpointList::_tao_any_destructor, - TAO::TypeCode::tc_EndpointPolicy_EndpointList_0, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - diff --git a/TAO/tao/EndpointPolicy/EndpointPolicyA.h b/TAO/tao/EndpointPolicy/EndpointPolicyA.h deleted file mode 100644 index f8e99832e13..00000000000 --- a/TAO/tao/EndpointPolicy/EndpointPolicyA.h +++ /dev/null @@ -1,84 +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 - -// TAO_IDL - Generated from -// be/be_codegen.cpp:796 - -#ifndef _TAO_IDL_ENDPOINTPOLICYA_H_ -#define _TAO_IDL_ENDPOINTPOLICYA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/EndpointPolicy/EndpointPolicy_Export.h" -#include "tao/EndpointPolicy/EndpointPolicyC.h" -#include "tao/AnyTypeCode/PolicyA.h" -#include "tao/EndpointPolicy/EndpointPolicyTypeA.h" - - -// TAO_IDL - Generated from -// be/be_visitor_module/module_ch.cpp:59 - -namespace EndpointPolicy -{ - - // TAO_IDL - Generated from - // be/be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_EndpointPolicy_Export ::CORBA::TypeCode_ptr const _tc_EndpointValueBase; - - // TAO_IDL - Generated from - // be/be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_EndpointPolicy_Export ::CORBA::TypeCode_ptr const _tc_EndpointList; - - // TAO_IDL - Generated from - // be/be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_EndpointPolicy_Export ::CORBA::TypeCode_ptr const _tc_Policy; - -// TAO_IDL - Generated from -// be/be_visitor_module/module_ch.cpp:86 - -} // module EndpointPolicy - -// TAO_IDL - Generated from -// be/be_visitor_sequence/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -TAO_EndpointPolicy_Export void operator<<= ( ::CORBA::Any &, const EndpointPolicy::EndpointList &); // copying version -TAO_EndpointPolicy_Export void operator<<= ( ::CORBA::Any &, EndpointPolicy::EndpointList*); // noncopying version -TAO_EndpointPolicy_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, EndpointPolicy::EndpointList *&); // deprecated -TAO_EndpointPolicy_Export ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const EndpointPolicy::EndpointList *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/EndpointPolicy/EndpointPolicyC.cpp b/TAO/tao/EndpointPolicy/EndpointPolicyC.cpp deleted file mode 100644 index 1cfa58e8522..00000000000 --- a/TAO/tao/EndpointPolicy/EndpointPolicyC.cpp +++ /dev/null @@ -1,351 +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 - -// TAO_IDL - Generated from -// be/be_codegen.cpp:282 - - -#include "EndpointPolicyC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be/be_visitor_arg_traits.cpp:71 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -// Arg traits specializations. -namespace TAO -{ -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for EndpointPolicy::EndpointValueBase. - -EndpointPolicy::EndpointValueBase_ptr -TAO::Objref_Traits<EndpointPolicy::EndpointValueBase>::duplicate ( - EndpointPolicy::EndpointValueBase_ptr p - ) -{ - return EndpointPolicy::EndpointValueBase::_duplicate (p); -} - -void -TAO::Objref_Traits<EndpointPolicy::EndpointValueBase>::release ( - EndpointPolicy::EndpointValueBase_ptr p - ) -{ - ::CORBA::release (p); -} - -EndpointPolicy::EndpointValueBase_ptr -TAO::Objref_Traits<EndpointPolicy::EndpointValueBase>::nil (void) -{ - return EndpointPolicy::EndpointValueBase::_nil (); -} - -::CORBA::Boolean -TAO::Objref_Traits<EndpointPolicy::EndpointValueBase>::marshal ( - const EndpointPolicy::EndpointValueBase_ptr p, - TAO_OutputCDR & cdr - ) -{ - return ::CORBA::Object::marshal (p, cdr); -} - -EndpointPolicy::EndpointValueBase::EndpointValueBase (void) -{} - -EndpointPolicy::EndpointValueBase::~EndpointValueBase (void) -{} - -EndpointPolicy::EndpointValueBase_ptr -EndpointPolicy::EndpointValueBase::_narrow ( - ::CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return EndpointValueBase::_duplicate ( - dynamic_cast<EndpointValueBase_ptr> (_tao_objref) - ); -} - -EndpointPolicy::EndpointValueBase_ptr -EndpointPolicy::EndpointValueBase::_unchecked_narrow ( - ::CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return EndpointValueBase::_duplicate ( - dynamic_cast<EndpointValueBase_ptr> (_tao_objref) - ); -} - -EndpointPolicy::EndpointValueBase_ptr -EndpointPolicy::EndpointValueBase::_duplicate (EndpointValueBase_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -EndpointPolicy::EndpointValueBase::_tao_release (EndpointValueBase_ptr obj) -{ - ::CORBA::release (obj); -} - -::CORBA::Boolean -EndpointPolicy::EndpointValueBase::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:EndpointPolicy/EndpointValueBase:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* EndpointPolicy::EndpointValueBase::_interface_repository_id (void) const -{ - return "IDL:EndpointPolicy/EndpointValueBase:1.0"; -} - -::CORBA::Boolean -EndpointPolicy::EndpointValueBase::marshal (TAO_OutputCDR &) -{ - return false; -} - -// TAO_IDL - Generated from -// be/be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_ENDPOINTPOLICY_ENDPOINTLIST_CS_) -#define _ENDPOINTPOLICY_ENDPOINTLIST_CS_ - -EndpointPolicy::EndpointList::EndpointList (void) -{} - -EndpointPolicy::EndpointList::EndpointList ( - ::CORBA::ULong max - ) - : TAO::unbounded_object_reference_sequence< - EndpointValueBase, - EndpointValueBase_var - > - (max) -{} - -EndpointPolicy::EndpointList::EndpointList ( - ::CORBA::ULong max, - ::CORBA::ULong length, - EndpointPolicy::EndpointValueBase_ptr * buffer, - ::CORBA::Boolean release - ) - : TAO::unbounded_object_reference_sequence< - EndpointValueBase, - EndpointValueBase_var - > - (max, length, buffer, release) -{} - -EndpointPolicy::EndpointList::EndpointList ( - const EndpointList &seq - ) - : TAO::unbounded_object_reference_sequence< - EndpointValueBase, - EndpointValueBase_var - > - (seq) -{} - -EndpointPolicy::EndpointList::~EndpointList (void) -{} - -void EndpointPolicy::EndpointList::_tao_any_destructor ( - void * _tao_void_pointer - ) -{ - EndpointList * _tao_tmp_pointer = - static_cast<EndpointList *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for EndpointPolicy::Policy. - -EndpointPolicy::Policy_ptr -TAO::Objref_Traits<EndpointPolicy::Policy>::duplicate ( - EndpointPolicy::Policy_ptr p - ) -{ - return EndpointPolicy::Policy::_duplicate (p); -} - -void -TAO::Objref_Traits<EndpointPolicy::Policy>::release ( - EndpointPolicy::Policy_ptr p - ) -{ - ::CORBA::release (p); -} - -EndpointPolicy::Policy_ptr -TAO::Objref_Traits<EndpointPolicy::Policy>::nil (void) -{ - return EndpointPolicy::Policy::_nil (); -} - -::CORBA::Boolean -TAO::Objref_Traits<EndpointPolicy::Policy>::marshal ( - const EndpointPolicy::Policy_ptr p, - TAO_OutputCDR & cdr - ) -{ - return ::CORBA::Object::marshal (p, cdr); -} - -EndpointPolicy::Policy::Policy (void) -{} - -EndpointPolicy::Policy::~Policy (void) -{} - -EndpointPolicy::Policy_ptr -EndpointPolicy::Policy::_narrow ( - ::CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return Policy::_duplicate ( - dynamic_cast<Policy_ptr> (_tao_objref) - ); -} - -EndpointPolicy::Policy_ptr -EndpointPolicy::Policy::_unchecked_narrow ( - ::CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return Policy::_duplicate ( - dynamic_cast<Policy_ptr> (_tao_objref) - ); -} - -EndpointPolicy::Policy_ptr -EndpointPolicy::Policy::_duplicate (Policy_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -EndpointPolicy::Policy::_tao_release (Policy_ptr obj) -{ - ::CORBA::release (obj); -} - -::CORBA::Boolean -EndpointPolicy::Policy::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Policy:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:EndpointPolicy/Policy:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* EndpointPolicy::Policy::_interface_repository_id (void) const -{ - return "IDL:EndpointPolicy/Policy:1.0"; -} - -::CORBA::Boolean -EndpointPolicy::Policy::marshal (TAO_OutputCDR &) -{ - return false; -} diff --git a/TAO/tao/EndpointPolicy/EndpointPolicyC.h b/TAO/tao/EndpointPolicy/EndpointPolicyC.h deleted file mode 100644 index 6993b9640bd..00000000000 --- a/TAO/tao/EndpointPolicy/EndpointPolicyC.h +++ /dev/null @@ -1,383 +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 - -// TAO_IDL - Generated from -// be/be_codegen.cpp:154 - -#ifndef _TAO_IDL_ENDPOINTPOLICYC_H_ -#define _TAO_IDL_ENDPOINTPOLICYC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/EndpointPolicy/EndpointPolicy_Export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Sequence_T.h" -#include "tao/Objref_VarOut_T.h" -#include "tao/Seq_Var_T.h" -#include "tao/Seq_Out_T.h" -#include "tao/Versioned_Namespace.h" - -#include "tao/PolicyC.h" -#include "tao/EndpointPolicy/EndpointPolicyTypeC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_EndpointPolicy_Export - -// TAO_IDL - Generated from -// be/be_visitor_module/module_ch.cpp:49 - -namespace EndpointPolicy -{ - - // TAO_IDL - Generated from - // be/be_interface.cpp:640 - -#if !defined (_ENDPOINTPOLICY_ENDPOINTVALUEBASE__VAR_OUT_CH_) -#define _ENDPOINTPOLICY_ENDPOINTVALUEBASE__VAR_OUT_CH_ - - class EndpointValueBase; - typedef EndpointValueBase *EndpointValueBase_ptr; - - typedef - TAO_Objref_Var_T< - EndpointValueBase - > - EndpointValueBase_var; - - typedef - TAO_Objref_Out_T< - EndpointValueBase - > - EndpointValueBase_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_ENDPOINTPOLICY_ENDPOINTVALUEBASE_CH_) -#define _ENDPOINTPOLICY_ENDPOINTVALUEBASE_CH_ - - class TAO_EndpointPolicy_Export EndpointValueBase - : public virtual ::CORBA::Object - { - public: - typedef EndpointValueBase_ptr _ptr_type; - typedef EndpointValueBase_var _var_type; - - // The static operations. - static EndpointValueBase_ptr _duplicate (EndpointValueBase_ptr obj); - - static void _tao_release (EndpointValueBase_ptr obj); - - static EndpointValueBase_ptr _narrow ( - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static EndpointValueBase_ptr _unchecked_narrow ( - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static EndpointValueBase_ptr _nil (void) - { - return static_cast<EndpointValueBase_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::ULong protocol_tag ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:210 - - virtual ::CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - EndpointValueBase (void); - - virtual ~EndpointValueBase (void); - - private: - // Private and unimplemented for concrete interfaces. - EndpointValueBase (const EndpointValueBase &); - - void operator= (const EndpointValueBase &); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_visitor_sequence/sequence_ch.cpp:101 - -#if !defined (_ENDPOINTPOLICY_ENDPOINTLIST_CH_) -#define _ENDPOINTPOLICY_ENDPOINTLIST_CH_ - - class EndpointList; - - typedef - TAO_VarSeq_Var_T< - EndpointList - > - EndpointList_var; - - typedef - TAO_Seq_Out_T< - EndpointList - > - EndpointList_out; - - class TAO_EndpointPolicy_Export EndpointList - : public - TAO::unbounded_object_reference_sequence< - EndpointValueBase, - EndpointValueBase_var - > - { - public: - EndpointList (void); - EndpointList ( ::CORBA::ULong max); - EndpointList ( - ::CORBA::ULong max, - ::CORBA::ULong length, - EndpointValueBase_ptr* buffer, - ::CORBA::Boolean release = false - ); - EndpointList (const EndpointList &); - ~EndpointList (void); - - static void _tao_any_destructor (void *); - - typedef EndpointList_var _var_type; - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_interface.cpp:640 - -#if !defined (_ENDPOINTPOLICY_POLICY__VAR_OUT_CH_) -#define _ENDPOINTPOLICY_POLICY__VAR_OUT_CH_ - - class Policy; - typedef Policy *Policy_ptr; - - typedef - TAO_Objref_Var_T< - Policy - > - Policy_var; - - typedef - TAO_Objref_Out_T< - Policy - > - Policy_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_ENDPOINTPOLICY_POLICY_CH_) -#define _ENDPOINTPOLICY_POLICY_CH_ - - class TAO_EndpointPolicy_Export Policy - : public virtual ::CORBA::Policy - { - public: - typedef Policy_ptr _ptr_type; - typedef Policy_var _var_type; - - // The static operations. - static Policy_ptr _duplicate (Policy_ptr obj); - - static void _tao_release (Policy_ptr obj); - - static Policy_ptr _narrow ( - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static Policy_ptr _unchecked_narrow ( - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static Policy_ptr _nil (void) - { - return static_cast<Policy_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual ::EndpointPolicy::EndpointList * value ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Policy_ptr copy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual void destroy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:210 - - virtual ::CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - Policy (void); - - virtual ~Policy (void); - - private: - // Private and unimplemented for concrete interfaces. - Policy (const Policy &); - - void operator= (const Policy &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be/be_visitor_module/module_ch.cpp:78 - -} // module EndpointPolicy - -// TAO_IDL - Generated from -// be/be_visitor_traits.cpp:63 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -// Traits specializations. -namespace TAO -{ - -#if !defined (_ENDPOINTPOLICY_ENDPOINTVALUEBASE__TRAITS_) -#define _ENDPOINTPOLICY_ENDPOINTVALUEBASE__TRAITS_ - - template<> - struct TAO_EndpointPolicy_Export Objref_Traits< ::EndpointPolicy::EndpointValueBase> - { - static ::EndpointPolicy::EndpointValueBase_ptr duplicate ( - ::EndpointPolicy::EndpointValueBase_ptr - ); - static void release ( - ::EndpointPolicy::EndpointValueBase_ptr - ); - static ::EndpointPolicy::EndpointValueBase_ptr nil (void); - static ::CORBA::Boolean marshal ( - const ::EndpointPolicy::EndpointValueBase_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ - -#if !defined (_ENDPOINTPOLICY_POLICY__TRAITS_) -#define _ENDPOINTPOLICY_POLICY__TRAITS_ - - template<> - struct TAO_EndpointPolicy_Export Objref_Traits< ::EndpointPolicy::Policy> - { - static ::EndpointPolicy::Policy_ptr duplicate ( - ::EndpointPolicy::Policy_ptr - ); - static void release ( - ::EndpointPolicy::Policy_ptr - ); - static ::EndpointPolicy::Policy_ptr nil (void); - static ::CORBA::Boolean marshal ( - const ::EndpointPolicy::Policy_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/EndpointPolicy/EndpointPolicyTypeA.cpp b/TAO/tao/EndpointPolicy/EndpointPolicyTypeA.cpp deleted file mode 100644 index c4c90d969c0..00000000000 --- a/TAO/tao/EndpointPolicy/EndpointPolicyTypeA.cpp +++ /dev/null @@ -1,33 +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 "tao/EndpointPolicy/EndpointPolicyTypeA.h" -#include "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/CDR.h" diff --git a/TAO/tao/EndpointPolicy/EndpointPolicyTypeA.h b/TAO/tao/EndpointPolicy/EndpointPolicyTypeA.h deleted file mode 100644 index a7953240ff9..00000000000 --- a/TAO/tao/EndpointPolicy/EndpointPolicyTypeA.h +++ /dev/null @@ -1,54 +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 - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:797 - -#ifndef _TAO_IDL_ENDPOINTPOLICYTYPEA_H_ -#define _TAO_IDL_ENDPOINTPOLICYTYPEA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/EndpointPolicy/EndpointPolicy_Export.h" -#include "tao/EndpointPolicy/EndpointPolicyTypeC.h" -#include "tao/AnyTypeCode/PolicyA.h" - - -// TAO_IDL - Generated from -// c:\ticket\tao-1_4_8_merge\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:59 - -namespace EndpointPolicy -{ - -// TAO_IDL - Generated from -// c:\ticket\tao-1_4_8_merge\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:86 - -} // module EndpointPolicy - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/EndpointPolicy/EndpointPolicyTypeC.cpp b/TAO/tao/EndpointPolicy/EndpointPolicyTypeC.cpp deleted file mode 100644 index a3f9a0e196d..00000000000 --- a/TAO/tao/EndpointPolicy/EndpointPolicyTypeC.cpp +++ /dev/null @@ -1,49 +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 - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:283 - - -#include "tao/EndpointPolicy/EndpointPolicyTypeC.h" -#include "tao/CDR.h" - -// TAO_IDL - Generated from -// .\be\be_visitor_arg_traits.cpp:70 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -// Arg traits specializations. -namespace TAO -{ -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - diff --git a/TAO/tao/EndpointPolicy/EndpointPolicyTypeC.h b/TAO/tao/EndpointPolicy/EndpointPolicyTypeC.h deleted file mode 100644 index 59b8f094a5b..00000000000 --- a/TAO/tao/EndpointPolicy/EndpointPolicyTypeC.h +++ /dev/null @@ -1,90 +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 - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:155 - -#ifndef _TAO_IDL_ENDPOINTPOLICYTYPEC_H_ -#define _TAO_IDL_ENDPOINTPOLICYTYPEC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/EndpointPolicy/EndpointPolicy_Export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Versioned_Namespace.h" - -#include "tao/PolicyC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_EndpointPolicy_Export - -// TAO_IDL - Generated from -// c:\ticket\tao-1_4_8_merge\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:49 - -namespace EndpointPolicy -{ - - // TAO_IDL - Generated from - // c:\ticket\tao-1_4_8_merge\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - - const CORBA::PolicyType ENDPOINT_POLICY_TYPE = 1329790988U; - -// TAO_IDL - Generated from -// c:\ticket\tao-1_4_8_merge\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:78 - -} // module EndpointPolicy - -// TAO_IDL - Generated from -// .\be\be_visitor_traits.cpp:62 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -// Traits specializations. -namespace TAO -{ -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/EndpointPolicy/IIOPEndpointValueA.cpp b/TAO/tao/EndpointPolicy/IIOPEndpointValueA.cpp deleted file mode 100644 index 0c27c6a5ce5..00000000000 --- a/TAO/tao/EndpointPolicy/IIOPEndpointValueA.cpp +++ /dev/null @@ -1,53 +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 "tao/EndpointPolicy/IIOPEndpointValueA.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_IDL - Generated from -// be/be_visitor_typecode/objref_typecode.cpp:76 - -static TAO::TypeCode::Objref<char const *, - TAO::Null_RefCount_Policy> - _tao_tc_EndpointPolicy_IIOPEndpointValue ( - ::CORBA::tk_local_interface, - "IDL:EndpointPolicy/IIOPEndpointValue:1.0", - "IIOPEndpointValue"); - -namespace EndpointPolicy -{ - ::CORBA::TypeCode_ptr const _tc_IIOPEndpointValue = - &_tao_tc_EndpointPolicy_IIOPEndpointValue; -} diff --git a/TAO/tao/EndpointPolicy/IIOPEndpointValueA.h b/TAO/tao/EndpointPolicy/IIOPEndpointValueA.h deleted file mode 100644 index e0113397f95..00000000000 --- a/TAO/tao/EndpointPolicy/IIOPEndpointValueA.h +++ /dev/null @@ -1,59 +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 - -// TAO_IDL - Generated from -// be/be_codegen.cpp:797 - -#ifndef _TAO_IDL_IIOPENDPOINTVALUEA_H_ -#define _TAO_IDL_IIOPENDPOINTVALUEA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/EndpointPolicy/EndpointPolicy_Export.h" -#include "tao/EndpointPolicy/IIOPEndpointValueC.h" -#include "tao/EndpointPolicy/EndpointPolicyA.h" - - -// TAO_IDL - Generated from -// be/be_visitor_module/module_ch.cpp:59 - -namespace EndpointPolicy -{ - - // TAO_IDL - Generated from - // be/be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_EndpointPolicy_Export ::CORBA::TypeCode_ptr const _tc_IIOPEndpointValue; - -// TAO_IDL - Generated from -// be/be_visitor_module/module_ch.cpp:86 - -} // module EndpointPolicy - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/EndpointPolicy/IIOPEndpointValueC.cpp b/TAO/tao/EndpointPolicy/IIOPEndpointValueC.cpp deleted file mode 100644 index 9ebff2c4571..00000000000 --- a/TAO/tao/EndpointPolicy/IIOPEndpointValueC.cpp +++ /dev/null @@ -1,176 +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 - -// TAO_IDL - Generated from -// be/be_codegen.cpp:283 - - -#include "tao/EndpointPolicy/IIOPEndpointValueC.h" -#include "tao/CDR.h" -#include "tao/Basic_Arguments.h" -#include "tao/UB_String_Arguments.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be/be_visitor_arg_traits.cpp:70 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -// Arg traits specializations. -namespace TAO -{ -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for EndpointPolicy::IIOPEndpointValue. - -EndpointPolicy::IIOPEndpointValue_ptr -TAO::Objref_Traits<EndpointPolicy::IIOPEndpointValue>::duplicate ( - EndpointPolicy::IIOPEndpointValue_ptr p - ) -{ - return EndpointPolicy::IIOPEndpointValue::_duplicate (p); -} - -void -TAO::Objref_Traits<EndpointPolicy::IIOPEndpointValue>::release ( - EndpointPolicy::IIOPEndpointValue_ptr p - ) -{ - CORBA::release (p); -} - -EndpointPolicy::IIOPEndpointValue_ptr -TAO::Objref_Traits<EndpointPolicy::IIOPEndpointValue>::nil (void) -{ - return EndpointPolicy::IIOPEndpointValue::_nil (); -} - -::CORBA::Boolean -TAO::Objref_Traits<EndpointPolicy::IIOPEndpointValue>::marshal ( - const EndpointPolicy::IIOPEndpointValue_ptr p, - TAO_OutputCDR & cdr - ) -{ - return ::CORBA::Object::marshal (p, cdr); -} - -EndpointPolicy::IIOPEndpointValue::IIOPEndpointValue (void) -{} - -EndpointPolicy::IIOPEndpointValue::~IIOPEndpointValue (void) -{} - -EndpointPolicy::IIOPEndpointValue_ptr -EndpointPolicy::IIOPEndpointValue::_narrow ( - ::CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return IIOPEndpointValue::_duplicate ( - dynamic_cast<IIOPEndpointValue_ptr> (_tao_objref) - ); -} - -EndpointPolicy::IIOPEndpointValue_ptr -EndpointPolicy::IIOPEndpointValue::_unchecked_narrow ( - ::CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return IIOPEndpointValue::_duplicate ( - dynamic_cast<IIOPEndpointValue_ptr> (_tao_objref) - ); -} - -EndpointPolicy::IIOPEndpointValue_ptr -EndpointPolicy::IIOPEndpointValue::_duplicate (IIOPEndpointValue_ptr obj) -{ - if (! CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -EndpointPolicy::IIOPEndpointValue::_tao_release (IIOPEndpointValue_ptr obj) -{ - CORBA::release (obj); -} - -::CORBA::Boolean -EndpointPolicy::IIOPEndpointValue::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:EndpointPolicy/EndpointValueBase:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:EndpointPolicy/IIOPEndpointValue:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* EndpointPolicy::IIOPEndpointValue::_interface_repository_id (void) const -{ - return "IDL:EndpointPolicy/IIOPEndpointValue:1.0"; -} - -::CORBA::Boolean -EndpointPolicy::IIOPEndpointValue::marshal (TAO_OutputCDR &) -{ - return false; -} diff --git a/TAO/tao/EndpointPolicy/IIOPEndpointValueC.h b/TAO/tao/EndpointPolicy/IIOPEndpointValueC.h deleted file mode 100644 index 2ccc247bd8e..00000000000 --- a/TAO/tao/EndpointPolicy/IIOPEndpointValueC.h +++ /dev/null @@ -1,230 +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 - -// TAO_IDL - Generated from -// be/be_codegen.cpp:155 - -#ifndef _TAO_IDL_IIOPENDPOINTVALUEC_H_ -#define _TAO_IDL_IIOPENDPOINTVALUEC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/EndpointPolicy/EndpointPolicy_Export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" -#include "tao/Versioned_Namespace.h" - -#include "tao/EndpointPolicy/EndpointPolicyC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_EndpointPolicy_Export - -// TAO_IDL - Generated from -// be/be_visitor_module/module_ch.cpp:49 - -namespace EndpointPolicy -{ - - // TAO_IDL - Generated from - // be/be_interface.cpp:646 - -#if !defined (_ENDPOINTPOLICY_IIOPENDPOINTVALUE__VAR_OUT_CH_) -#define _ENDPOINTPOLICY_IIOPENDPOINTVALUE__VAR_OUT_CH_ - - class IIOPEndpointValue; - typedef IIOPEndpointValue *IIOPEndpointValue_ptr; - - typedef - TAO_Objref_Var_T< - IIOPEndpointValue - > - IIOPEndpointValue_var; - - typedef - TAO_Objref_Out_T< - IIOPEndpointValue - > - IIOPEndpointValue_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_ENDPOINTPOLICY_IIOPENDPOINTVALUE_CH_) -#define _ENDPOINTPOLICY_IIOPENDPOINTVALUE_CH_ - - class TAO_EndpointPolicy_Export IIOPEndpointValue - : public virtual ::EndpointPolicy::EndpointValueBase - { - public: - typedef IIOPEndpointValue_ptr _ptr_type; - typedef IIOPEndpointValue_var _var_type; - - // The static operations. - static IIOPEndpointValue_ptr _duplicate (IIOPEndpointValue_ptr obj); - - static void _tao_release (IIOPEndpointValue_ptr obj); - - static IIOPEndpointValue_ptr _narrow ( - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static IIOPEndpointValue_ptr _unchecked_narrow ( - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static IIOPEndpointValue_ptr _nil (void) - { - return static_cast<IIOPEndpointValue_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual char * host ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual void host ( - const char * host - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::UShort port ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual void port ( - ::CORBA::UShort port - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:210 - - virtual ::CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - IIOPEndpointValue (void); - - virtual ~IIOPEndpointValue (void); - - private: - // Private and unimplemented for concrete interfaces. - IIOPEndpointValue (const IIOPEndpointValue &); - - void operator= (const IIOPEndpointValue &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be/be_visitor_module/module_ch.cpp:78 - -} // module EndpointPolicy - -// TAO_IDL - Generated from -// be/be_visitor_traits.cpp:62 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -// Traits specializations. -namespace TAO -{ - -#if !defined (_ENDPOINTPOLICY_IIOPENDPOINTVALUE__TRAITS_) -#define _ENDPOINTPOLICY_IIOPENDPOINTVALUE__TRAITS_ - - template<> - struct TAO_EndpointPolicy_Export Objref_Traits< ::EndpointPolicy::IIOPEndpointValue> - { - static ::EndpointPolicy::IIOPEndpointValue_ptr duplicate ( - ::EndpointPolicy::IIOPEndpointValue_ptr - ); - static void release ( - ::EndpointPolicy::IIOPEndpointValue_ptr - ); - static ::EndpointPolicy::IIOPEndpointValue_ptr nil (void); - static ::CORBA::Boolean marshal ( - const ::EndpointPolicy::IIOPEndpointValue_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/AdapterActivatorA.cpp b/TAO/tao/PortableServer/AdapterActivatorA.cpp deleted file mode 100644 index ebf6cd1285e..00000000000 --- a/TAO/tao/PortableServer/AdapterActivatorA.cpp +++ /dev/null @@ -1,60 +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 "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/PortableServer/AdapterActivatorA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -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_PortableServer_AdapterActivator ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/AdapterActivator:2.3", - "AdapterActivator"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_AdapterActivator = - &_tao_tc_PortableServer_AdapterActivator; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/AdapterActivatorA.h b/TAO/tao/PortableServer/AdapterActivatorA.h deleted file mode 100644 index fa84df9f34e..00000000000 --- a/TAO/tao/PortableServer/AdapterActivatorA.h +++ /dev/null @@ -1,63 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_ADAPTERACTIVATORA_H_ -#define _TAO_IDL_ADAPTERACTIVATORA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/AdapterActivatorC.h" -#include "tao/PortableServer/PS_ForwardA.h" - - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_AdapterActivator; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/AdapterActivatorC.cpp b/TAO/tao/PortableServer/AdapterActivatorC.cpp deleted file mode 100644 index e1f1bc8edac..00000000000 --- a/TAO/tao/PortableServer/AdapterActivatorC.cpp +++ /dev/null @@ -1,172 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/AdapterActivatorC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::AdapterActivator. - -PortableServer::AdapterActivator_ptr -TAO::Objref_Traits<PortableServer::AdapterActivator>::duplicate ( - PortableServer::AdapterActivator_ptr p - ) -{ - return PortableServer::AdapterActivator::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::AdapterActivator>::release ( - PortableServer::AdapterActivator_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::AdapterActivator_ptr -TAO::Objref_Traits<PortableServer::AdapterActivator>::nil (void) -{ - return PortableServer::AdapterActivator::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::AdapterActivator>::marshal ( - PortableServer::AdapterActivator_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::AdapterActivator::AdapterActivator (void) -{} - -PortableServer::AdapterActivator::~AdapterActivator (void) -{} - -PortableServer::AdapterActivator_ptr -PortableServer::AdapterActivator::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return AdapterActivator::_duplicate ( - dynamic_cast<AdapterActivator_ptr> (_tao_objref) - ); -} - -PortableServer::AdapterActivator_ptr -PortableServer::AdapterActivator::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return AdapterActivator::_duplicate ( - dynamic_cast<AdapterActivator_ptr> (_tao_objref) - ); -} - -PortableServer::AdapterActivator_ptr -PortableServer::AdapterActivator::_duplicate (AdapterActivator_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::AdapterActivator::_tao_release (AdapterActivator_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::AdapterActivator::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/AdapterActivator:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::AdapterActivator::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/AdapterActivator:2.3"; -} - -CORBA::Boolean -PortableServer::AdapterActivator::marshal (TAO_OutputCDR &) -{ - return false; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/AdapterActivatorC.h b/TAO/tao/PortableServer/AdapterActivatorC.h deleted file mode 100644 index ce0251e59d5..00000000000 --- a/TAO/tao/PortableServer/AdapterActivatorC.h +++ /dev/null @@ -1,207 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_ADAPTERACTIVATORC_H_ -#define _TAO_IDL_ADAPTERACTIVATORC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/PortableServer/PS_ForwardC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR__VAR_OUT_CH_) -#define _PORTABLESERVER_ADAPTERACTIVATOR__VAR_OUT_CH_ - - class AdapterActivator; - typedef AdapterActivator *AdapterActivator_ptr; - - typedef - TAO_Objref_Var_T< - AdapterActivator - > - AdapterActivator_var; - - typedef - TAO_Objref_Out_T< - AdapterActivator - > - AdapterActivator_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR_CH_) -#define _PORTABLESERVER_ADAPTERACTIVATOR_CH_ - - class TAO_PortableServer_Export AdapterActivator - : public virtual CORBA::Object - { - public: - typedef AdapterActivator_ptr _ptr_type; - typedef AdapterActivator_var _var_type; - - // The static operations. - static AdapterActivator_ptr _duplicate (AdapterActivator_ptr obj); - - static void _tao_release (AdapterActivator_ptr obj); - - static AdapterActivator_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static AdapterActivator_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static AdapterActivator_ptr _nil (void) - { - return static_cast<AdapterActivator_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Boolean unknown_adapter ( - ::PortableServer::POA_ptr parent, - const char * name - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - AdapterActivator (void); - - virtual ~AdapterActivator (void); - - private: - // Private and unimplemented for concrete interfaces. - AdapterActivator (const AdapterActivator &); - - void operator= (const AdapterActivator &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR__TRAITS_) -#define _PORTABLESERVER_ADAPTERACTIVATOR__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::AdapterActivator> - { - static ::PortableServer::AdapterActivator_ptr duplicate ( - ::PortableServer::AdapterActivator_ptr - ); - static void release ( - ::PortableServer::AdapterActivator_ptr - ); - static ::PortableServer::AdapterActivator_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::AdapterActivator_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/ForwardRequestA.cpp b/TAO/tao/PortableServer/ForwardRequestA.cpp deleted file mode 100644 index 24d7567729c..00000000000 --- a/TAO/tao/PortableServer/ForwardRequestA.cpp +++ /dev/null @@ -1,163 +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 "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Struct_TypeCode_Static.h" -#include "tao/AnyTypeCode/TypeCode_Struct_Field.h" -#include "tao/PortableServer/ForwardRequestA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Dual_Impl_T.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr PortableServer::ForwardRequest::_tao_type (void) const -{ - return ::PortableServer::_tc_ForwardRequest; -} - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const _tao_fields_PortableServer_ForwardRequest[] = - { - { "forward_reference", &CORBA::_tc_Object } - - }; -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_ForwardRequest ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/ForwardRequest:2.3", - "ForwardRequest", - _tao_fields_PortableServer_ForwardRequest, - 1); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_ForwardRequest = - &_tao_tc_PortableServer_ForwardRequest; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::ForwardRequest>::demarshal_value ( - TAO_InputCDR & cdr - ) - { - CORBA::String_var id; - - if (!(cdr >> id.out ())) - { - return false; - } - - ACE_TRY_NEW_ENV - { - this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return false; - } - ACE_ENDTRY; - - return true; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::ForwardRequest &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::ForwardRequest>::insert_copy ( - _tao_any, - PortableServer::ForwardRequest::_tao_any_destructor, - PortableServer::_tc_ForwardRequest, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ForwardRequest *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::ForwardRequest>::insert ( - _tao_any, - PortableServer::ForwardRequest::_tao_any_destructor, - PortableServer::_tc_ForwardRequest, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::ForwardRequest *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::ForwardRequest *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::ForwardRequest *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::ForwardRequest>::extract ( - _tao_any, - PortableServer::ForwardRequest::_tao_any_destructor, - PortableServer::_tc_ForwardRequest, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ForwardRequestA.h b/TAO/tao/PortableServer/ForwardRequestA.h deleted file mode 100644 index 578ec0ccb21..00000000000 --- a/TAO/tao/PortableServer/ForwardRequestA.h +++ /dev/null @@ -1,73 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_FORWARDREQUESTA_H_ -#define _TAO_IDL_FORWARDREQUESTA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/ForwardRequestC.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ForwardRequest; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_exception/any_op_ch.cpp:53 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, const PortableServer::ForwardRequest &); // copying version -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ForwardRequest*); // noncopying version -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ForwardRequest *&); // deprecated -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableServer::ForwardRequest *&); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ForwardRequestC.cpp b/TAO/tao/PortableServer/ForwardRequestC.cpp deleted file mode 100644 index 42656510bba..00000000000 --- a/TAO/tao/PortableServer/ForwardRequestC.cpp +++ /dev/null @@ -1,204 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/ForwardRequestC.h" -#include "tao/CDR.h" -#include "tao/SystemException.h" -#include "ace/OS_NS_string.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_cs.cpp:63 - -PortableServer::ForwardRequest::ForwardRequest (void) - : CORBA::UserException ( - "IDL:omg.org/PortableServer/ForwardRequest:2.3", - "ForwardRequest" - ) -{ -} - -PortableServer::ForwardRequest::~ForwardRequest (void) -{ -} - -PortableServer::ForwardRequest::ForwardRequest (const ::PortableServer::ForwardRequest &_tao_excp) - : CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ - this->forward_reference = CORBA::Object::_duplicate (_tao_excp.forward_reference.in ()); -} - -PortableServer::ForwardRequest& -PortableServer::ForwardRequest::operator= (const ::PortableServer::ForwardRequest &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - this->forward_reference = CORBA::Object::_duplicate (_tao_excp.forward_reference.in ()); - return *this; -} - -void PortableServer::ForwardRequest::_tao_any_destructor (void *_tao_void_pointer) -{ - ForwardRequest *_tao_tmp_pointer = - static_cast<ForwardRequest *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -PortableServer::ForwardRequest * -PortableServer::ForwardRequest::_downcast (CORBA::Exception *_tao_excp) -{ - return dynamic_cast<ForwardRequest *> (_tao_excp); -} - -const PortableServer::ForwardRequest * -PortableServer::ForwardRequest::_downcast (CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const ForwardRequest *> (_tao_excp); -} - -CORBA::Exception *PortableServer::ForwardRequest::_alloc (void) -{ - CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::PortableServer::ForwardRequest, 0); - return retval; -} - -CORBA::Exception * -PortableServer::ForwardRequest::_tao_duplicate (void) const -{ - CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::PortableServer::ForwardRequest (*this), - 0 - ); - return result; -} - -void PortableServer::ForwardRequest::_raise (void) const -{ - TAO_RAISE (*this); -} - -void PortableServer::ForwardRequest::_tao_encode ( - TAO_OutputCDR &cdr - ACE_ENV_ARG_DECL - ) const -{ - if (cdr << *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -void PortableServer::ForwardRequest::_tao_decode ( - TAO_InputCDR &cdr - ACE_ENV_ARG_DECL - ) -{ - if (cdr >> *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - - - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_ctor.cpp:66 - -PortableServer::ForwardRequest::ForwardRequest ( - const CORBA::Object_ptr _tao_forward_reference - ) - : CORBA::UserException ( - "IDL:omg.org/PortableServer/ForwardRequest:2.3", - "ForwardRequest" - ) -{ - this->forward_reference = CORBA::Object::_duplicate (_tao_forward_reference); -} - - - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_cs.cpp:60 - -CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const PortableServer::ForwardRequest &_tao_aggregate - ) -{ - // First marshal the repository ID. - if (strm << _tao_aggregate._rep_id ()) - { - // Now marshal the members (if any). - return ( - (strm << _tao_aggregate.forward_reference.in ()) - ); - } - else - { - return false; - } -} - -CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - PortableServer::ForwardRequest &_tao_aggregate - ) -{ - // Demarshal the members. - return ( - (strm >> _tao_aggregate.forward_reference.out ()) - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ForwardRequestC.h b/TAO/tao/PortableServer/ForwardRequestC.h deleted file mode 100644 index 299323cee16..00000000000 --- a/TAO/tao/PortableServer/ForwardRequestC.h +++ /dev/null @@ -1,146 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_FORWARDREQUESTC_H_ -#define _TAO_IDL_FORWARDREQUESTC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/Environment.h" -#include "tao/Object.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -#if (TAO_HAS_MINIMUM_POA == 0) - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:53 - -#if !defined (_PORTABLESERVER_FORWARDREQUEST_CH_) -#define _PORTABLESERVER_FORWARDREQUEST_CH_ - - class TAO_PortableServer_Export ForwardRequest : public CORBA::UserException - { - public: - - CORBA::Object_var forward_reference; - ForwardRequest (void); - ForwardRequest (const ForwardRequest &); - ~ForwardRequest (void); - - ForwardRequest &operator= (const ForwardRequest &); - - static void _tao_any_destructor (void *); - - static ForwardRequest *_downcast (CORBA::Exception *); - static const ForwardRequest *_downcast (CORBA::Exception const *); - - static CORBA::Exception *_alloc (void); - - virtual CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ); - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ctor.cpp:66 - - ForwardRequest ( - const CORBA::Object_ptr _tao_forward_reference - ); - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:129 - - virtual CORBA::TypeCode_ptr _tao_type (void) const; - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_ch.cpp:52 - -TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::ForwardRequest &); -TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::ForwardRequest &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/IdAssignmentPolicyA.cpp b/TAO/tao/PortableServer/IdAssignmentPolicyA.cpp deleted file mode 100644 index 83970768fa3..00000000000 --- a/TAO/tao/PortableServer/IdAssignmentPolicyA.cpp +++ /dev/null @@ -1,114 +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 "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Enum_TypeCode_Static.h" -#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" -#include "tao/PortableServer/IdAssignmentPolicyA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Basic_Impl_T.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be\be_visitor_typecode/enum_typecode.cpp:34 - -static char const * const _tao_enumerators_PortableServer_IdAssignmentPolicyValue[] = - { - "USER_ID", - "SYSTEM_ID" - - }; - -static TAO::TypeCode::Enum<char const *, - char const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_IdAssignmentPolicyValue ( - "IDL:omg.org/PortableServer/IdAssignmentPolicyValue:2.3", - "IdAssignmentPolicyValue", - _tao_enumerators_PortableServer_IdAssignmentPolicyValue, - 2); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_IdAssignmentPolicyValue = - &_tao_tc_PortableServer_IdAssignmentPolicyValue; -} - - - -// 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_IdAssignmentPolicy ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/IdAssignmentPolicy:2.3", - "IdAssignmentPolicy"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_IdAssignmentPolicy = - &_tao_tc_PortableServer_IdAssignmentPolicy; -} - - - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_cs.cpp:52 - -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::IdAssignmentPolicyValue _tao_elem - ) -{ - TAO::Any_Basic_Impl_T<PortableServer::IdAssignmentPolicyValue>::insert ( - _tao_any, - PortableServer::_tc_IdAssignmentPolicyValue, - _tao_elem - ); -} - -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::IdAssignmentPolicyValue &_tao_elem - ) -{ - return - TAO::Any_Basic_Impl_T<PortableServer::IdAssignmentPolicyValue>::extract ( - _tao_any, - PortableServer::_tc_IdAssignmentPolicyValue, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/PortableServer/IdAssignmentPolicyA.h b/TAO/tao/PortableServer/IdAssignmentPolicyA.h deleted file mode 100644 index 49df4b62e0e..00000000000 --- a/TAO/tao/PortableServer/IdAssignmentPolicyA.h +++ /dev/null @@ -1,74 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_IDASSIGNMENTPOLICYA_H_ -#define _TAO_IDL_IDASSIGNMENTPOLICYA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/IdAssignmentPolicyC.h" -#include "tao/AnyTypeCode/PolicyA.h" - - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_IdAssignmentPolicyValue; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_IdAssignmentPolicy; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::IdAssignmentPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::IdAssignmentPolicyValue &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp b/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp deleted file mode 100644 index 309a2c0fcb4..00000000000 --- a/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp +++ /dev/null @@ -1,193 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/IdAssignmentPolicyC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::IdAssignmentPolicy. - -PortableServer::IdAssignmentPolicy_ptr -TAO::Objref_Traits<PortableServer::IdAssignmentPolicy>::duplicate ( - PortableServer::IdAssignmentPolicy_ptr p - ) -{ - return PortableServer::IdAssignmentPolicy::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::IdAssignmentPolicy>::release ( - PortableServer::IdAssignmentPolicy_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::IdAssignmentPolicy_ptr -TAO::Objref_Traits<PortableServer::IdAssignmentPolicy>::nil (void) -{ - return PortableServer::IdAssignmentPolicy::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::IdAssignmentPolicy>::marshal ( - PortableServer::IdAssignmentPolicy_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::IdAssignmentPolicy::IdAssignmentPolicy (void) -{} - -PortableServer::IdAssignmentPolicy::~IdAssignmentPolicy (void) -{} - -PortableServer::IdAssignmentPolicy_ptr -PortableServer::IdAssignmentPolicy::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return IdAssignmentPolicy::_duplicate ( - dynamic_cast<IdAssignmentPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::IdAssignmentPolicy_ptr -PortableServer::IdAssignmentPolicy::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return IdAssignmentPolicy::_duplicate ( - dynamic_cast<IdAssignmentPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::IdAssignmentPolicy_ptr -PortableServer::IdAssignmentPolicy::_duplicate (IdAssignmentPolicy_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::IdAssignmentPolicy::_tao_release (IdAssignmentPolicy_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::IdAssignmentPolicy::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Policy:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/IdAssignmentPolicy:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::IdAssignmentPolicy::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/IdAssignmentPolicy:2.3"; -} - -CORBA::Boolean -PortableServer::IdAssignmentPolicy::marshal (TAO_OutputCDR &) -{ - return false; -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_cs.cpp:51 - -CORBA::Boolean operator<< (TAO_OutputCDR & strm, PortableServer::IdAssignmentPolicyValue _tao_enumerator) -{ - return strm << static_cast<CORBA::ULong> (_tao_enumerator); -} - -CORBA::Boolean operator>> (TAO_InputCDR & strm, PortableServer::IdAssignmentPolicyValue & _tao_enumerator) -{ - CORBA::ULong _tao_temp = 0; - CORBA::Boolean const _tao_success = strm >> _tao_temp; - - if (_tao_success) - { - _tao_enumerator = static_cast<PortableServer::IdAssignmentPolicyValue> (_tao_temp); - } - - return _tao_success; -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/PortableServer/IdAssignmentPolicyC.h b/TAO/tao/PortableServer/IdAssignmentPolicyC.h deleted file mode 100644 index 3a01f212361..00000000000 --- a/TAO/tao/PortableServer/IdAssignmentPolicyC.h +++ /dev/null @@ -1,239 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_IDASSIGNMENTPOLICYC_H_ -#define _TAO_IDL_IDASSIGNMENTPOLICYC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/PolicyC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_enum/enum_ch.cpp:57 - - enum IdAssignmentPolicyValue - { - USER_ID, - SYSTEM_ID - }; - - typedef IdAssignmentPolicyValue &IdAssignmentPolicyValue_out; - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY__VAR_OUT_CH_) -#define _PORTABLESERVER_IDASSIGNMENTPOLICY__VAR_OUT_CH_ - - class IdAssignmentPolicy; - typedef IdAssignmentPolicy *IdAssignmentPolicy_ptr; - - typedef - TAO_Objref_Var_T< - IdAssignmentPolicy - > - IdAssignmentPolicy_var; - - typedef - TAO_Objref_Out_T< - IdAssignmentPolicy - > - IdAssignmentPolicy_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY_CH_) -#define _PORTABLESERVER_IDASSIGNMENTPOLICY_CH_ - - class TAO_PortableServer_Export IdAssignmentPolicy - : public virtual ::CORBA::Policy - { - public: - typedef IdAssignmentPolicy_ptr _ptr_type; - typedef IdAssignmentPolicy_var _var_type; - - // The static operations. - static IdAssignmentPolicy_ptr _duplicate (IdAssignmentPolicy_ptr obj); - - static void _tao_release (IdAssignmentPolicy_ptr obj); - - static IdAssignmentPolicy_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static IdAssignmentPolicy_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static IdAssignmentPolicy_ptr _nil (void) - { - return static_cast<IdAssignmentPolicy_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::IdAssignmentPolicyValue value ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Policy_ptr copy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void destroy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - IdAssignmentPolicy (void); - - virtual ~IdAssignmentPolicy (void); - - private: - // Private and unimplemented for concrete interfaces. - IdAssignmentPolicy (const IdAssignmentPolicy &); - - void operator= (const IdAssignmentPolicy &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY__TRAITS_) -#define _PORTABLESERVER_IDASSIGNMENTPOLICY__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::IdAssignmentPolicy> - { - static ::PortableServer::IdAssignmentPolicy_ptr duplicate ( - ::PortableServer::IdAssignmentPolicy_ptr - ); - static void release ( - ::PortableServer::IdAssignmentPolicy_ptr - ); - static ::PortableServer::IdAssignmentPolicy_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::IdAssignmentPolicy_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_ch.cpp:50 - -TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::IdAssignmentPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::IdAssignmentPolicyValue &); - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/IdUniquenessPolicyA.cpp b/TAO/tao/PortableServer/IdUniquenessPolicyA.cpp deleted file mode 100644 index a11afa6fd24..00000000000 --- a/TAO/tao/PortableServer/IdUniquenessPolicyA.cpp +++ /dev/null @@ -1,115 +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 "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Enum_TypeCode_Static.h" -#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Basic_Impl_T.h" - -#include "tao/PortableServer/IdUniquenessPolicyA.h" -#include "tao/CDR.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be\be_visitor_typecode/enum_typecode.cpp:34 - -static char const * const _tao_enumerators_PortableServer_IdUniquenessPolicyValue[] = - { - "UNIQUE_ID", - "MULTIPLE_ID" - - }; - -static TAO::TypeCode::Enum<char const *, - char const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_IdUniquenessPolicyValue ( - "IDL:omg.org/PortableServer/IdUniquenessPolicyValue:2.3", - "IdUniquenessPolicyValue", - _tao_enumerators_PortableServer_IdUniquenessPolicyValue, - 2); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_IdUniquenessPolicyValue = - &_tao_tc_PortableServer_IdUniquenessPolicyValue; -} - - - -// 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_IdUniquenessPolicy ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/IdUniquenessPolicy:2.3", - "IdUniquenessPolicy"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_IdUniquenessPolicy = - &_tao_tc_PortableServer_IdUniquenessPolicy; -} - - - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_cs.cpp:52 - -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::IdUniquenessPolicyValue _tao_elem - ) -{ - TAO::Any_Basic_Impl_T<PortableServer::IdUniquenessPolicyValue>::insert ( - _tao_any, - PortableServer::_tc_IdUniquenessPolicyValue, - _tao_elem - ); -} - -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::IdUniquenessPolicyValue &_tao_elem - ) -{ - return - TAO::Any_Basic_Impl_T<PortableServer::IdUniquenessPolicyValue>::extract ( - _tao_any, - PortableServer::_tc_IdUniquenessPolicyValue, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/PortableServer/IdUniquenessPolicyA.h b/TAO/tao/PortableServer/IdUniquenessPolicyA.h deleted file mode 100644 index 547e53a5073..00000000000 --- a/TAO/tao/PortableServer/IdUniquenessPolicyA.h +++ /dev/null @@ -1,74 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_IDUNIQUENESSPOLICYA_H_ -#define _TAO_IDL_IDUNIQUENESSPOLICYA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/IdUniquenessPolicyC.h" -#include "tao/AnyTypeCode/PolicyA.h" - - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_IdUniquenessPolicyValue; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_IdUniquenessPolicy; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::IdUniquenessPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::IdUniquenessPolicyValue &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/IdUniquenessPolicyC.cpp b/TAO/tao/PortableServer/IdUniquenessPolicyC.cpp deleted file mode 100644 index a8064c3f8c2..00000000000 --- a/TAO/tao/PortableServer/IdUniquenessPolicyC.cpp +++ /dev/null @@ -1,193 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/IdUniquenessPolicyC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::IdUniquenessPolicy. - -PortableServer::IdUniquenessPolicy_ptr -TAO::Objref_Traits<PortableServer::IdUniquenessPolicy>::duplicate ( - PortableServer::IdUniquenessPolicy_ptr p - ) -{ - return PortableServer::IdUniquenessPolicy::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::IdUniquenessPolicy>::release ( - PortableServer::IdUniquenessPolicy_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::IdUniquenessPolicy_ptr -TAO::Objref_Traits<PortableServer::IdUniquenessPolicy>::nil (void) -{ - return PortableServer::IdUniquenessPolicy::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::IdUniquenessPolicy>::marshal ( - PortableServer::IdUniquenessPolicy_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::IdUniquenessPolicy::IdUniquenessPolicy (void) -{} - -PortableServer::IdUniquenessPolicy::~IdUniquenessPolicy (void) -{} - -PortableServer::IdUniquenessPolicy_ptr -PortableServer::IdUniquenessPolicy::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return IdUniquenessPolicy::_duplicate ( - dynamic_cast<IdUniquenessPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::IdUniquenessPolicy_ptr -PortableServer::IdUniquenessPolicy::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return IdUniquenessPolicy::_duplicate ( - dynamic_cast<IdUniquenessPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::IdUniquenessPolicy_ptr -PortableServer::IdUniquenessPolicy::_duplicate (IdUniquenessPolicy_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::IdUniquenessPolicy::_tao_release (IdUniquenessPolicy_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::IdUniquenessPolicy::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Policy:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/IdUniquenessPolicy:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::IdUniquenessPolicy::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/IdUniquenessPolicy:2.3"; -} - -CORBA::Boolean -PortableServer::IdUniquenessPolicy::marshal (TAO_OutputCDR &) -{ - return false; -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_cs.cpp:51 - -CORBA::Boolean operator<< (TAO_OutputCDR & strm, PortableServer::IdUniquenessPolicyValue _tao_enumerator) -{ - return strm << static_cast<CORBA::ULong> (_tao_enumerator); -} - -CORBA::Boolean operator>> (TAO_InputCDR & strm, PortableServer::IdUniquenessPolicyValue & _tao_enumerator) -{ - CORBA::ULong _tao_temp = 0; - CORBA::Boolean const _tao_success = strm >> _tao_temp; - - if (_tao_success) - { - _tao_enumerator = static_cast<PortableServer::IdUniquenessPolicyValue> (_tao_temp); - } - - return _tao_success; -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/PortableServer/IdUniquenessPolicyC.h b/TAO/tao/PortableServer/IdUniquenessPolicyC.h deleted file mode 100644 index c706c285feb..00000000000 --- a/TAO/tao/PortableServer/IdUniquenessPolicyC.h +++ /dev/null @@ -1,239 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_IDUNIQUENESSPOLICYC_H_ -#define _TAO_IDL_IDUNIQUENESSPOLICYC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/PolicyC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_enum/enum_ch.cpp:57 - - enum IdUniquenessPolicyValue - { - UNIQUE_ID, - MULTIPLE_ID - }; - - typedef IdUniquenessPolicyValue &IdUniquenessPolicyValue_out; - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY__VAR_OUT_CH_) -#define _PORTABLESERVER_IDUNIQUENESSPOLICY__VAR_OUT_CH_ - - class IdUniquenessPolicy; - typedef IdUniquenessPolicy *IdUniquenessPolicy_ptr; - - typedef - TAO_Objref_Var_T< - IdUniquenessPolicy - > - IdUniquenessPolicy_var; - - typedef - TAO_Objref_Out_T< - IdUniquenessPolicy - > - IdUniquenessPolicy_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY_CH_) -#define _PORTABLESERVER_IDUNIQUENESSPOLICY_CH_ - - class TAO_PortableServer_Export IdUniquenessPolicy - : public virtual ::CORBA::Policy - { - public: - typedef IdUniquenessPolicy_ptr _ptr_type; - typedef IdUniquenessPolicy_var _var_type; - - // The static operations. - static IdUniquenessPolicy_ptr _duplicate (IdUniquenessPolicy_ptr obj); - - static void _tao_release (IdUniquenessPolicy_ptr obj); - - static IdUniquenessPolicy_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static IdUniquenessPolicy_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static IdUniquenessPolicy_ptr _nil (void) - { - return static_cast<IdUniquenessPolicy_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::IdUniquenessPolicyValue value ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Policy_ptr copy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void destroy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - IdUniquenessPolicy (void); - - virtual ~IdUniquenessPolicy (void); - - private: - // Private and unimplemented for concrete interfaces. - IdUniquenessPolicy (const IdUniquenessPolicy &); - - void operator= (const IdUniquenessPolicy &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY__TRAITS_) -#define _PORTABLESERVER_IDUNIQUENESSPOLICY__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::IdUniquenessPolicy> - { - static ::PortableServer::IdUniquenessPolicy_ptr duplicate ( - ::PortableServer::IdUniquenessPolicy_ptr - ); - static void release ( - ::PortableServer::IdUniquenessPolicy_ptr - ); - static ::PortableServer::IdUniquenessPolicy_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::IdUniquenessPolicy_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_ch.cpp:50 - -TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::IdUniquenessPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::IdUniquenessPolicyValue &); - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/ImplicitActivationPolicyA.cpp b/TAO/tao/PortableServer/ImplicitActivationPolicyA.cpp deleted file mode 100644 index e9cf1e13d1c..00000000000 --- a/TAO/tao/PortableServer/ImplicitActivationPolicyA.cpp +++ /dev/null @@ -1,118 +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 "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Enum_TypeCode_Static.h" -#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" -#include "tao/PortableServer/ImplicitActivationPolicyA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Basic_Impl_T.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be\be_visitor_typecode/enum_typecode.cpp:34 - -static char const * const _tao_enumerators_PortableServer_ImplicitActivationPolicyValue[] = - { - "IMPLICIT_ACTIVATION", - "NO_IMPLICIT_ACTIVATION" - - }; - -static TAO::TypeCode::Enum<char const *, - char const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_ImplicitActivationPolicyValue ( - "IDL:omg.org/PortableServer/ImplicitActivationPolicyValue:2.3", - "ImplicitActivationPolicyValue", - _tao_enumerators_PortableServer_ImplicitActivationPolicyValue, - 2); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_ImplicitActivationPolicyValue = - &_tao_tc_PortableServer_ImplicitActivationPolicyValue; -} - - - -// 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_ImplicitActivationPolicy ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/ImplicitActivationPolicy:2.3", - "ImplicitActivationPolicy"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_ImplicitActivationPolicy = - &_tao_tc_PortableServer_ImplicitActivationPolicy; -} - - - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_cs.cpp:52 - -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ImplicitActivationPolicyValue _tao_elem - ) -{ - TAO::Any_Basic_Impl_T<PortableServer::ImplicitActivationPolicyValue>::insert ( - _tao_any, - PortableServer::_tc_ImplicitActivationPolicyValue, - _tao_elem - ); -} - -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::ImplicitActivationPolicyValue &_tao_elem - ) -{ - return - TAO::Any_Basic_Impl_T<PortableServer::ImplicitActivationPolicyValue>::extract ( - _tao_any, - PortableServer::_tc_ImplicitActivationPolicyValue, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ImplicitActivationPolicyA.h b/TAO/tao/PortableServer/ImplicitActivationPolicyA.h deleted file mode 100644 index 1445a5a68a6..00000000000 --- a/TAO/tao/PortableServer/ImplicitActivationPolicyA.h +++ /dev/null @@ -1,74 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_IMPLICITACTIVATIONPOLICYA_H_ -#define _TAO_IDL_IMPLICITACTIVATIONPOLICYA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/ImplicitActivationPolicyC.h" -#include "tao/AnyTypeCode/PolicyA.h" - - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ImplicitActivationPolicyValue; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ImplicitActivationPolicy; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ImplicitActivationPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ImplicitActivationPolicyValue &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ImplicitActivationPolicyC.cpp b/TAO/tao/PortableServer/ImplicitActivationPolicyC.cpp deleted file mode 100644 index e775416377f..00000000000 --- a/TAO/tao/PortableServer/ImplicitActivationPolicyC.cpp +++ /dev/null @@ -1,197 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/ImplicitActivationPolicyC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::ImplicitActivationPolicy. - -PortableServer::ImplicitActivationPolicy_ptr -TAO::Objref_Traits<PortableServer::ImplicitActivationPolicy>::duplicate ( - PortableServer::ImplicitActivationPolicy_ptr p - ) -{ - return PortableServer::ImplicitActivationPolicy::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::ImplicitActivationPolicy>::release ( - PortableServer::ImplicitActivationPolicy_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::ImplicitActivationPolicy_ptr -TAO::Objref_Traits<PortableServer::ImplicitActivationPolicy>::nil (void) -{ - return PortableServer::ImplicitActivationPolicy::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::ImplicitActivationPolicy>::marshal ( - PortableServer::ImplicitActivationPolicy_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::ImplicitActivationPolicy::ImplicitActivationPolicy (void) -{} - -PortableServer::ImplicitActivationPolicy::~ImplicitActivationPolicy (void) -{} - -PortableServer::ImplicitActivationPolicy_ptr -PortableServer::ImplicitActivationPolicy::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ImplicitActivationPolicy::_duplicate ( - dynamic_cast<ImplicitActivationPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::ImplicitActivationPolicy_ptr -PortableServer::ImplicitActivationPolicy::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ImplicitActivationPolicy::_duplicate ( - dynamic_cast<ImplicitActivationPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::ImplicitActivationPolicy_ptr -PortableServer::ImplicitActivationPolicy::_duplicate (ImplicitActivationPolicy_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::ImplicitActivationPolicy::_tao_release (ImplicitActivationPolicy_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::ImplicitActivationPolicy::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Policy:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/ImplicitActivationPolicy:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::ImplicitActivationPolicy::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/ImplicitActivationPolicy:2.3"; -} - -CORBA::Boolean -PortableServer::ImplicitActivationPolicy::marshal (TAO_OutputCDR &) -{ - return false; -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_cs.cpp:51 - -CORBA::Boolean operator<< (TAO_OutputCDR & strm, PortableServer::ImplicitActivationPolicyValue _tao_enumerator) -{ - return strm << static_cast<CORBA::ULong> (_tao_enumerator); -} - -CORBA::Boolean operator>> (TAO_InputCDR & strm, PortableServer::ImplicitActivationPolicyValue & _tao_enumerator) -{ - CORBA::ULong _tao_temp = 0; - CORBA::Boolean const _tao_success = strm >> _tao_temp; - - if (_tao_success) - { - _tao_enumerator = static_cast<PortableServer::ImplicitActivationPolicyValue> (_tao_temp); - } - - return _tao_success; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ImplicitActivationPolicyC.h b/TAO/tao/PortableServer/ImplicitActivationPolicyC.h deleted file mode 100644 index baad7fbbbbc..00000000000 --- a/TAO/tao/PortableServer/ImplicitActivationPolicyC.h +++ /dev/null @@ -1,246 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_IMPLICITACTIVATIONPOLICYC_H_ -#define _TAO_IDL_IMPLICITACTIVATIONPOLICYC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/PolicyC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_enum/enum_ch.cpp:57 - - enum ImplicitActivationPolicyValue - { - IMPLICIT_ACTIVATION, - NO_IMPLICIT_ACTIVATION - }; - -#if (TAO_HAS_MINIMUM_POA == 0) - typedef ImplicitActivationPolicyValue &ImplicitActivationPolicyValue_out; - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY__VAR_OUT_CH_) -#define _PORTABLESERVER_IMPLICITACTIVATIONPOLICY__VAR_OUT_CH_ - - class ImplicitActivationPolicy; - typedef ImplicitActivationPolicy *ImplicitActivationPolicy_ptr; - - typedef - TAO_Objref_Var_T< - ImplicitActivationPolicy - > - ImplicitActivationPolicy_var; - - typedef - TAO_Objref_Out_T< - ImplicitActivationPolicy - > - ImplicitActivationPolicy_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY_CH_) -#define _PORTABLESERVER_IMPLICITACTIVATIONPOLICY_CH_ - - class TAO_PortableServer_Export ImplicitActivationPolicy - : public virtual ::CORBA::Policy - { - public: - typedef ImplicitActivationPolicy_ptr _ptr_type; - typedef ImplicitActivationPolicy_var _var_type; - - // The static operations. - static ImplicitActivationPolicy_ptr _duplicate (ImplicitActivationPolicy_ptr obj); - - static void _tao_release (ImplicitActivationPolicy_ptr obj); - - static ImplicitActivationPolicy_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ImplicitActivationPolicy_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ImplicitActivationPolicy_ptr _nil (void) - { - return static_cast<ImplicitActivationPolicy_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::ImplicitActivationPolicyValue value ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Policy_ptr copy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void destroy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - ImplicitActivationPolicy (void); - - virtual ~ImplicitActivationPolicy (void); - - private: - // Private and unimplemented for concrete interfaces. - ImplicitActivationPolicy (const ImplicitActivationPolicy &); - - void operator= (const ImplicitActivationPolicy &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -#if (TAO_HAS_MINIMUM_POA == 0) - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY__TRAITS_) -#define _PORTABLESERVER_IMPLICITACTIVATIONPOLICY__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ImplicitActivationPolicy> - { - static ::PortableServer::ImplicitActivationPolicy_ptr duplicate ( - ::PortableServer::ImplicitActivationPolicy_ptr - ); - static void release ( - ::PortableServer::ImplicitActivationPolicy_ptr - ); - static ::PortableServer::ImplicitActivationPolicy_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::ImplicitActivationPolicy_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_ch.cpp:50 - -TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::ImplicitActivationPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::ImplicitActivationPolicyValue &); - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/LifespanPolicyA.cpp b/TAO/tao/PortableServer/LifespanPolicyA.cpp deleted file mode 100644 index ee1706bf526..00000000000 --- a/TAO/tao/PortableServer/LifespanPolicyA.cpp +++ /dev/null @@ -1,114 +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 "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Enum_TypeCode_Static.h" -#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" -#include "tao/PortableServer/LifespanPolicyA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Basic_Impl_T.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be\be_visitor_typecode/enum_typecode.cpp:34 - -static char const * const _tao_enumerators_PortableServer_LifespanPolicyValue[] = - { - "TRANSIENT", - "PERSISTENT" - - }; - -static TAO::TypeCode::Enum<char const *, - char const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_LifespanPolicyValue ( - "IDL:omg.org/PortableServer/LifespanPolicyValue:2.3", - "LifespanPolicyValue", - _tao_enumerators_PortableServer_LifespanPolicyValue, - 2); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_LifespanPolicyValue = - &_tao_tc_PortableServer_LifespanPolicyValue; -} - - - -// 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_LifespanPolicy ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/LifespanPolicy:2.3", - "LifespanPolicy"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_LifespanPolicy = - &_tao_tc_PortableServer_LifespanPolicy; -} - - - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_cs.cpp:52 - -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::LifespanPolicyValue _tao_elem - ) -{ - TAO::Any_Basic_Impl_T<PortableServer::LifespanPolicyValue>::insert ( - _tao_any, - PortableServer::_tc_LifespanPolicyValue, - _tao_elem - ); -} - -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::LifespanPolicyValue &_tao_elem - ) -{ - return - TAO::Any_Basic_Impl_T<PortableServer::LifespanPolicyValue>::extract ( - _tao_any, - PortableServer::_tc_LifespanPolicyValue, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/PortableServer/LifespanPolicyA.h b/TAO/tao/PortableServer/LifespanPolicyA.h deleted file mode 100644 index 645805dbec9..00000000000 --- a/TAO/tao/PortableServer/LifespanPolicyA.h +++ /dev/null @@ -1,74 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_LIFESPANPOLICYA_H_ -#define _TAO_IDL_LIFESPANPOLICYA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/LifespanPolicyC.h" -#include "tao/AnyTypeCode/PolicyA.h" - - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_LifespanPolicyValue; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_LifespanPolicy; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::LifespanPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::LifespanPolicyValue &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/LifespanPolicyC.cpp b/TAO/tao/PortableServer/LifespanPolicyC.cpp deleted file mode 100644 index 050481e60d5..00000000000 --- a/TAO/tao/PortableServer/LifespanPolicyC.cpp +++ /dev/null @@ -1,193 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/LifespanPolicyC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::LifespanPolicy. - -PortableServer::LifespanPolicy_ptr -TAO::Objref_Traits<PortableServer::LifespanPolicy>::duplicate ( - PortableServer::LifespanPolicy_ptr p - ) -{ - return PortableServer::LifespanPolicy::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::LifespanPolicy>::release ( - PortableServer::LifespanPolicy_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::LifespanPolicy_ptr -TAO::Objref_Traits<PortableServer::LifespanPolicy>::nil (void) -{ - return PortableServer::LifespanPolicy::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::LifespanPolicy>::marshal ( - PortableServer::LifespanPolicy_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::LifespanPolicy::LifespanPolicy (void) -{} - -PortableServer::LifespanPolicy::~LifespanPolicy (void) -{} - -PortableServer::LifespanPolicy_ptr -PortableServer::LifespanPolicy::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return LifespanPolicy::_duplicate ( - dynamic_cast<LifespanPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::LifespanPolicy_ptr -PortableServer::LifespanPolicy::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return LifespanPolicy::_duplicate ( - dynamic_cast<LifespanPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::LifespanPolicy_ptr -PortableServer::LifespanPolicy::_duplicate (LifespanPolicy_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::LifespanPolicy::_tao_release (LifespanPolicy_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::LifespanPolicy::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Policy:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/LifespanPolicy:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::LifespanPolicy::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/LifespanPolicy:2.3"; -} - -CORBA::Boolean -PortableServer::LifespanPolicy::marshal (TAO_OutputCDR &) -{ - return false; -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_cs.cpp:51 - -CORBA::Boolean operator<< (TAO_OutputCDR & strm, PortableServer::LifespanPolicyValue _tao_enumerator) -{ - return strm << static_cast<CORBA::ULong> (_tao_enumerator); -} - -CORBA::Boolean operator>> (TAO_InputCDR & strm, PortableServer::LifespanPolicyValue & _tao_enumerator) -{ - CORBA::ULong _tao_temp = 0; - CORBA::Boolean const _tao_success = strm >> _tao_temp; - - if (_tao_success) - { - _tao_enumerator = static_cast<PortableServer::LifespanPolicyValue> (_tao_temp); - } - - return _tao_success; -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/PortableServer/LifespanPolicyC.h b/TAO/tao/PortableServer/LifespanPolicyC.h deleted file mode 100644 index 30753638f7f..00000000000 --- a/TAO/tao/PortableServer/LifespanPolicyC.h +++ /dev/null @@ -1,239 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_LIFESPANPOLICYC_H_ -#define _TAO_IDL_LIFESPANPOLICYC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/PolicyC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_enum/enum_ch.cpp:57 - - enum LifespanPolicyValue - { - TRANSIENT, - PERSISTENT - }; - - typedef LifespanPolicyValue &LifespanPolicyValue_out; - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_LIFESPANPOLICY__VAR_OUT_CH_) -#define _PORTABLESERVER_LIFESPANPOLICY__VAR_OUT_CH_ - - class LifespanPolicy; - typedef LifespanPolicy *LifespanPolicy_ptr; - - typedef - TAO_Objref_Var_T< - LifespanPolicy - > - LifespanPolicy_var; - - typedef - TAO_Objref_Out_T< - LifespanPolicy - > - LifespanPolicy_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_LIFESPANPOLICY_CH_) -#define _PORTABLESERVER_LIFESPANPOLICY_CH_ - - class TAO_PortableServer_Export LifespanPolicy - : public virtual ::CORBA::Policy - { - public: - typedef LifespanPolicy_ptr _ptr_type; - typedef LifespanPolicy_var _var_type; - - // The static operations. - static LifespanPolicy_ptr _duplicate (LifespanPolicy_ptr obj); - - static void _tao_release (LifespanPolicy_ptr obj); - - static LifespanPolicy_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static LifespanPolicy_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static LifespanPolicy_ptr _nil (void) - { - return static_cast<LifespanPolicy_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::LifespanPolicyValue value ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Policy_ptr copy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void destroy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - LifespanPolicy (void); - - virtual ~LifespanPolicy (void); - - private: - // Private and unimplemented for concrete interfaces. - LifespanPolicy (const LifespanPolicy &); - - void operator= (const LifespanPolicy &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_LIFESPANPOLICY__TRAITS_) -#define _PORTABLESERVER_LIFESPANPOLICY__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::LifespanPolicy> - { - static ::PortableServer::LifespanPolicy_ptr duplicate ( - ::PortableServer::LifespanPolicy_ptr - ); - static void release ( - ::PortableServer::LifespanPolicy_ptr - ); - static ::PortableServer::LifespanPolicy_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::LifespanPolicy_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_ch.cpp:50 - -TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::LifespanPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::LifespanPolicyValue &); - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/POAManagerC.cpp b/TAO/tao/PortableServer/POAManagerC.cpp deleted file mode 100644 index dde8fc49b7b..00000000000 --- a/TAO/tao/PortableServer/POAManagerC.cpp +++ /dev/null @@ -1,333 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Enum_TypeCode_Static.h" -#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" -#include "tao/AnyTypeCode/Struct_TypeCode_Static.h" -#include "tao/AnyTypeCode/TypeCode_Struct_Field.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Dual_Impl_T.h" -#include "tao/AnyTypeCode/Any_Basic_Impl_T.h" -#include "tao/PortableServer/POAManagerC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::POAManager. - -PortableServer::POAManager_ptr -TAO::Objref_Traits<PortableServer::POAManager>::duplicate ( - PortableServer::POAManager_ptr p - ) -{ - return PortableServer::POAManager::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::POAManager>::release ( - PortableServer::POAManager_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::POAManager_ptr -TAO::Objref_Traits<PortableServer::POAManager>::nil (void) -{ - return PortableServer::POAManager::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::POAManager>::marshal ( - PortableServer::POAManager_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_cs.cpp:63 - -PortableServer::POAManager::AdapterInactive::AdapterInactive (void) - : CORBA::UserException ( - "IDL:omg.org/PortableServer/POAManager/AdapterInactive:2.3", - "AdapterInactive" - ) -{ -} - -PortableServer::POAManager::AdapterInactive::~AdapterInactive (void) -{ -} - -PortableServer::POAManager::AdapterInactive::AdapterInactive (const ::PortableServer::POAManager::AdapterInactive &_tao_excp) - : CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ -} - -PortableServer::POAManager::AdapterInactive& -PortableServer::POAManager::AdapterInactive::operator= (const ::PortableServer::POAManager::AdapterInactive &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - return *this; -} - -void PortableServer::POAManager::AdapterInactive::_tao_any_destructor (void *_tao_void_pointer) -{ - AdapterInactive *_tao_tmp_pointer = - static_cast<AdapterInactive *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -PortableServer::POAManager::AdapterInactive * -PortableServer::POAManager::AdapterInactive::_downcast (CORBA::Exception *_tao_excp) -{ - return dynamic_cast<AdapterInactive *> (_tao_excp); -} - -const PortableServer::POAManager::AdapterInactive * -PortableServer::POAManager::AdapterInactive::_downcast (CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const AdapterInactive *> (_tao_excp); -} - -CORBA::Exception *PortableServer::POAManager::AdapterInactive::_alloc (void) -{ - CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::PortableServer::POAManager::AdapterInactive, 0); - return retval; -} - -CORBA::Exception * -PortableServer::POAManager::AdapterInactive::_tao_duplicate (void) const -{ - CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::PortableServer::POAManager::AdapterInactive (*this), - 0 - ); - return result; -} - -void PortableServer::POAManager::AdapterInactive::_raise (void) const -{ - TAO_RAISE (*this); -} - -void PortableServer::POAManager::AdapterInactive::_tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const -{ - ACE_THROW (CORBA::MARSHAL ()); -} - -void PortableServer::POAManager::AdapterInactive::_tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ) -{ - ACE_THROW (CORBA::MARSHAL ()); -} - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr PortableServer::POAManager::AdapterInactive::_tao_type (void) const -{ - return ::PortableServer::POAManager::_tc_AdapterInactive; -} - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POAManager_AdapterInactive = 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_POAManager_AdapterInactive ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POAManager/AdapterInactive:2.3", - "AdapterInactive", - _tao_fields_PortableServer_POAManager_AdapterInactive, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POAManager::_tc_AdapterInactive = - &_tao_tc_PortableServer_POAManager_AdapterInactive; - -// TAO_IDL - Generated from -// be\be_visitor_typecode/enum_typecode.cpp:34 - -static char const * const _tao_enumerators_PortableServer_POAManager_State[] = - { - "HOLDING", - "ACTIVE", - "DISCARDING", - "INACTIVE" - - }; - -static TAO::TypeCode::Enum<char const *, - char const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_POAManager_State ( - "IDL:omg.org/PortableServer/POAManager/State:2.3", - "State", - _tao_enumerators_PortableServer_POAManager_State, - 4); - -::CORBA::TypeCode_ptr const PortableServer::POAManager::_tc_State = - &_tao_tc_PortableServer_POAManager_State; - -PortableServer::POAManager::POAManager (void) -{} - -PortableServer::POAManager::~POAManager (void) -{} - -PortableServer::POAManager_ptr -PortableServer::POAManager::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return POAManager::_duplicate ( - dynamic_cast<POAManager_ptr> (_tao_objref) - ); -} - -PortableServer::POAManager_ptr -PortableServer::POAManager::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return POAManager::_duplicate ( - dynamic_cast<POAManager_ptr> (_tao_objref) - ); -} - -PortableServer::POAManager_ptr -PortableServer::POAManager::_duplicate (POAManager_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::POAManager::_tao_release (POAManager_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::POAManager::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/POAManager:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::POAManager::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/POAManager:2.3"; -} - -CORBA::Boolean -PortableServer::POAManager::marshal (TAO_OutputCDR &) -{ - return false; -} - -// 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_POAManager ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/POAManager:2.3", - "POAManager"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_POAManager = - &_tao_tc_PortableServer_POAManager; -} - - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/PortableServer/POAManagerC.h b/TAO/tao/PortableServer/POAManagerC.h deleted file mode 100644 index 7de37664de8..00000000000 --- a/TAO/tao/PortableServer/POAManagerC.h +++ /dev/null @@ -1,332 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_POAMANAGERC_H_ -#define _TAO_IDL_POAMANAGERC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_POAMANAGER__VAR_OUT_CH_) -#define _PORTABLESERVER_POAMANAGER__VAR_OUT_CH_ - - class POAManager; - typedef POAManager *POAManager_ptr; - - typedef - TAO_Objref_Var_T< - POAManager - > - POAManager_var; - - typedef - TAO_Objref_Out_T< - POAManager - > - POAManager_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_POAMANAGER_CH_) -#define _PORTABLESERVER_POAMANAGER_CH_ - - class TAO_PortableServer_Export POAManager - : public virtual CORBA::Object - { - public: - typedef POAManager_ptr _ptr_type; - typedef POAManager_var _var_type; - - // The static operations. - static POAManager_ptr _duplicate (POAManager_ptr obj); - - static void _tao_release (POAManager_ptr obj); - - static POAManager_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static POAManager_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static POAManager_ptr _nil (void) - { - return static_cast<POAManager_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:53 - -#if !defined (_PORTABLESERVER_POAMANAGER_ADAPTERINACTIVE_CH_) -#define _PORTABLESERVER_POAMANAGER_ADAPTERINACTIVE_CH_ - - class TAO_PortableServer_Export AdapterInactive : public CORBA::UserException - { - public: - - AdapterInactive (void); - AdapterInactive (const AdapterInactive &); - ~AdapterInactive (void); - - AdapterInactive &operator= (const AdapterInactive &); - - static void _tao_any_destructor (void *); - - static AdapterInactive *_downcast (CORBA::Exception *); - static const AdapterInactive *_downcast (CORBA::Exception const *); - - static CORBA::Exception *_alloc (void); - - virtual CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ); - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:129 - - virtual CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_AdapterInactive; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_enum/enum_ch.cpp:57 - - enum State - { - HOLDING, - ACTIVE, - DISCARDING, - INACTIVE - }; - - typedef State &State_out; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_State; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void activate ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableServer::POAManager::AdapterInactive - )) = 0; - -#if (TAO_HAS_MINIMUM_POA == 0) - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void hold_requests ( - ::CORBA::Boolean wait_for_completion - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableServer::POAManager::AdapterInactive - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void discard_requests ( - ::CORBA::Boolean wait_for_completion - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableServer::POAManager::AdapterInactive - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void deactivate ( - ::CORBA::Boolean etherealize_objects, - ::CORBA::Boolean wait_for_completion - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableServer::POAManager::AdapterInactive - )) = 0; - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::POAManager::State get_state ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - virtual char * get_id ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - POAManager (void); - - virtual ~POAManager (void); - - private: - // Private and unimplemented for concrete interfaces. - POAManager (const POAManager &); - - void operator= (const POAManager &); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_POAManager; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_POAMANAGER__TRAITS_) -#define _PORTABLESERVER_POAMANAGER__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::POAManager> - { - static ::PortableServer::POAManager_ptr duplicate ( - ::PortableServer::POAManager_ptr - ); - static void release ( - ::PortableServer::POAManager_ptr - ); - static ::PortableServer::POAManager_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::POAManager_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/POAManagerFactoryC.cpp b/TAO/tao/PortableServer/POAManagerFactoryC.cpp deleted file mode 100644 index d9ac86113b8..00000000000 --- a/TAO/tao/PortableServer/POAManagerFactoryC.cpp +++ /dev/null @@ -1,416 +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 - -// TAO_IDL - Generated from -// be/be_codegen.cpp:282 - - -#include "POAManagerFactoryC.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/Sequence_TypeCode_Static.h" -#include "tao/AnyTypeCode/String_TypeCode_Static.h" -#include "tao/AnyTypeCode/Struct_TypeCode_Static.h" -#include "tao/AnyTypeCode/TypeCode_Struct_Field.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Dual_Impl_T.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be/be_visitor_arg_traits.cpp:71 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -// Arg traits specializations. -namespace TAO -{ -} - - - -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::POAManagerFactory. - -PortableServer::POAManagerFactory_ptr -TAO::Objref_Traits<PortableServer::POAManagerFactory>::duplicate ( - PortableServer::POAManagerFactory_ptr p - ) -{ - return PortableServer::POAManagerFactory::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::POAManagerFactory>::release ( - PortableServer::POAManagerFactory_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::POAManagerFactory_ptr -TAO::Objref_Traits<PortableServer::POAManagerFactory>::nil (void) -{ - return PortableServer::POAManagerFactory::_nil (); -} - -::CORBA::Boolean -TAO::Objref_Traits<PortableServer::POAManagerFactory>::marshal ( - const PortableServer::POAManagerFactory_ptr p, - TAO_OutputCDR & cdr - ) -{ - return ::CORBA::Object::marshal (p, cdr); -} - -// TAO_IDL - Generated from -// be/be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PORTABLESERVER_POAMANAGERFACTORY_POAMANAGERSEQ_CS_) -#define _PORTABLESERVER_POAMANAGERFACTORY_POAMANAGERSEQ_CS_ - -PortableServer::POAManagerFactory::POAManagerSeq::POAManagerSeq (void) -{} - -PortableServer::POAManagerFactory::POAManagerSeq::POAManagerSeq ( - ::CORBA::ULong max - ) - : TAO::unbounded_object_reference_sequence< - PortableServer::POAManager, - PortableServer::POAManager_var - > - (max) -{} - -PortableServer::POAManagerFactory::POAManagerSeq::POAManagerSeq ( - ::CORBA::ULong max, - ::CORBA::ULong length, - PortableServer::POAManager_ptr * buffer, - ::CORBA::Boolean release - ) - : TAO::unbounded_object_reference_sequence< - PortableServer::POAManager, - PortableServer::POAManager_var - > - (max, length, buffer, release) -{} - -PortableServer::POAManagerFactory::POAManagerSeq::POAManagerSeq ( - const POAManagerSeq &seq - ) - : TAO::unbounded_object_reference_sequence< - PortableServer::POAManager, - PortableServer::POAManager_var - > - (seq) -{} - -PortableServer::POAManagerFactory::POAManagerSeq::~POAManagerSeq (void) -{} - -void PortableServer::POAManagerFactory::POAManagerSeq::_tao_any_destructor ( - void * _tao_void_pointer - ) -{ - POAManagerSeq * _tao_tmp_pointer = - static_cast<POAManagerSeq *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be/be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// be/be_visitor_typecode/typecode_defn.cpp:942 - -namespace PortableServer -{ - extern ::CORBA::TypeCode_ptr const _tc_POAManager; -} - - -#ifndef _TAO_TYPECODE_PortableServer_POAManagerFactory_POAManagerSeq_GUARD -#define _TAO_TYPECODE_PortableServer_POAManagerFactory_POAManagerSeq_GUARD - -namespace TAO -{ - namespace TypeCode - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - PortableServer_POAManagerFactory_POAManagerSeq_0 ( - ::CORBA::tk_sequence, - &PortableServer::_tc_POAManager, - 0U); - - ::CORBA::TypeCode_ptr const tc_PortableServer_POAManagerFactory_POAManagerSeq_0 = - &PortableServer_POAManagerFactory_POAManagerSeq_0; - - } -} - - -TAO_END_VERSIONED_NAMESPACE_DECL - - -#endif /* _TAO_TYPECODE_PortableServer_POAManagerFactory_POAManagerSeq_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_POAManagerFactory_POAManagerSeq ( - ::CORBA::tk_alias, - "IDL:omg.org/PortableServer/POAManagerFactory/POAManagerSeq:2.3", - "POAManagerSeq", - &TAO::TypeCode::tc_PortableServer_POAManagerFactory_POAManagerSeq_0); - -::CORBA::TypeCode_ptr const PortableServer::POAManagerFactory::_tc_POAManagerSeq = - &_tao_tc_PortableServer_POAManagerFactory_POAManagerSeq; - -// TAO_IDL - Generated from -// be/be_visitor_exception/exception_cs.cpp:63 - -PortableServer::POAManagerFactory::ManagerAlreadyExists::ManagerAlreadyExists (void) - : ::CORBA::UserException ( - "IDL:omg.org/PortableServer/POAManagerFactory/ManagerAlreadyExists:2.3", - "ManagerAlreadyExists" - ) -{ -} - -PortableServer::POAManagerFactory::ManagerAlreadyExists::~ManagerAlreadyExists (void) -{ -} - -PortableServer::POAManagerFactory::ManagerAlreadyExists::ManagerAlreadyExists (const ::PortableServer::POAManagerFactory::ManagerAlreadyExists &_tao_excp) - : ::CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ -} - -PortableServer::POAManagerFactory::ManagerAlreadyExists& -PortableServer::POAManagerFactory::ManagerAlreadyExists::operator= (const ::PortableServer::POAManagerFactory::ManagerAlreadyExists &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - return *this; -} - -void PortableServer::POAManagerFactory::ManagerAlreadyExists::_tao_any_destructor (void *_tao_void_pointer) -{ - ManagerAlreadyExists *_tao_tmp_pointer = - static_cast<ManagerAlreadyExists *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -PortableServer::POAManagerFactory::ManagerAlreadyExists * -PortableServer::POAManagerFactory::ManagerAlreadyExists::_downcast ( ::CORBA::Exception *_tao_excp) -{ - return dynamic_cast<ManagerAlreadyExists *> (_tao_excp); -} - -const PortableServer::POAManagerFactory::ManagerAlreadyExists * -PortableServer::POAManagerFactory::ManagerAlreadyExists::_downcast ( ::CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const ManagerAlreadyExists *> (_tao_excp); -} - -::CORBA::Exception *PortableServer::POAManagerFactory::ManagerAlreadyExists::_alloc (void) -{ - ::CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::PortableServer::POAManagerFactory::ManagerAlreadyExists, 0); - return retval; -} - -::CORBA::Exception * -PortableServer::POAManagerFactory::ManagerAlreadyExists::_tao_duplicate (void) const -{ - ::CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::PortableServer::POAManagerFactory::ManagerAlreadyExists (*this), - 0 - ); - return result; -} - -void PortableServer::POAManagerFactory::ManagerAlreadyExists::_raise (void) const -{ - TAO_RAISE (*this); -} - -void PortableServer::POAManagerFactory::ManagerAlreadyExists::_tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const -{ - ACE_THROW ( ::CORBA::MARSHAL ()); -} - -void PortableServer::POAManagerFactory::ManagerAlreadyExists::_tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ) -{ - ACE_THROW ( ::CORBA::MARSHAL ()); -} - -// TAO extension - the virtual _type method. -::CORBA::TypeCode_ptr PortableServer::POAManagerFactory::ManagerAlreadyExists::_tao_type (void) const -{ - return ::PortableServer::POAManagerFactory::_tc_ManagerAlreadyExists; -} - -// TAO_IDL - Generated from -// be/be_visitor_typecode/struct_typecode.cpp:89 - -static TAO::TypeCode::Struct_Field<char const *, ::CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POAManagerFactory_ManagerAlreadyExists = 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_POAManagerFactory_ManagerAlreadyExists ( - ::CORBA::tk_except, - "IDL:omg.org/PortableServer/POAManagerFactory/ManagerAlreadyExists:2.3", - "ManagerAlreadyExists", - _tao_fields_PortableServer_POAManagerFactory_ManagerAlreadyExists, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POAManagerFactory::_tc_ManagerAlreadyExists = - &_tao_tc_PortableServer_POAManagerFactory_ManagerAlreadyExists; - -PortableServer::POAManagerFactory::POAManagerFactory (void) -{} - -PortableServer::POAManagerFactory::~POAManagerFactory (void) -{} - -PortableServer::POAManagerFactory_ptr -PortableServer::POAManagerFactory::_narrow ( - ::CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return POAManagerFactory::_duplicate ( - dynamic_cast<POAManagerFactory_ptr> (_tao_objref) - ); -} - -PortableServer::POAManagerFactory_ptr -PortableServer::POAManagerFactory::_unchecked_narrow ( - ::CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return POAManagerFactory::_duplicate ( - dynamic_cast<POAManagerFactory_ptr> (_tao_objref) - ); -} - -PortableServer::POAManagerFactory_ptr -PortableServer::POAManagerFactory::_duplicate (POAManagerFactory_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::POAManagerFactory::_tao_release (POAManagerFactory_ptr obj) -{ - ::CORBA::release (obj); -} - -::CORBA::Boolean -PortableServer::POAManagerFactory::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/POAManagerFactory:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::POAManagerFactory::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/POAManagerFactory:2.3"; -} - -::CORBA::Boolean -PortableServer::POAManagerFactory::marshal (TAO_OutputCDR &) -{ - return false; -} - -// 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_POAManagerFactory ( - ::CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/POAManagerFactory:2.3", - "POAManagerFactory"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_POAManagerFactory = - &_tao_tc_PortableServer_POAManagerFactory; -} diff --git a/TAO/tao/PortableServer/POAManagerFactoryC.h b/TAO/tao/PortableServer/POAManagerFactoryC.h deleted file mode 100644 index b14452dfa19..00000000000 --- a/TAO/tao/PortableServer/POAManagerFactoryC.h +++ /dev/null @@ -1,382 +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 - -// TAO_IDL - Generated from -// be/be_codegen.cpp:154 - -#ifndef _TAO_IDL_POAMANAGERFACTORYC_H_ -#define _TAO_IDL_POAMANAGERFACTORYC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/AnyTypeCode/AnyTypeCode_methods.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/AnyTypeCode/PolicyA.h" -#include "tao/Sequence_T.h" -#include "tao/Objref_VarOut_T.h" -#include "tao/Seq_Var_T.h" -#include "tao/Seq_Out_T.h" -#include "tao/Versioned_Namespace.h" - -#include "tao/PolicyC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// should be generated, maybe by be_visitor_module/module_ch.cpp -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be/be_visitor_module/module_ch.cpp:49 - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be/be_interface.cpp:640 - -#if !defined (_PORTABLESERVER_POAMANAGER__VAR_OUT_CH_) -#define _PORTABLESERVER_POAMANAGER__VAR_OUT_CH_ - - class POAManager; - typedef POAManager *POAManager_ptr; - - typedef - TAO_Objref_Var_T< - POAManager - > - POAManager_var; - - typedef - TAO_Objref_Out_T< - POAManager - > - POAManager_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_interface.cpp:640 - -#if !defined (_PORTABLESERVER_POAMANAGERFACTORY__VAR_OUT_CH_) -#define _PORTABLESERVER_POAMANAGERFACTORY__VAR_OUT_CH_ - - class POAManagerFactory; - typedef POAManagerFactory *POAManagerFactory_ptr; - - typedef - TAO_Objref_Var_T< - POAManagerFactory - > - POAManagerFactory_var; - - typedef - TAO_Objref_Out_T< - POAManagerFactory - > - POAManagerFactory_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_POAMANAGERFACTORY_CH_) -#define _PORTABLESERVER_POAMANAGERFACTORY_CH_ - - class TAO_PortableServer_Export POAManagerFactory - : public virtual ::CORBA::Object - { - public: - typedef POAManagerFactory_ptr _ptr_type; - typedef POAManagerFactory_var _var_type; - - // The static operations. - static POAManagerFactory_ptr _duplicate (POAManagerFactory_ptr obj); - - static void _tao_release (POAManagerFactory_ptr obj); - - static POAManagerFactory_ptr _narrow ( - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static POAManagerFactory_ptr _unchecked_narrow ( - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static POAManagerFactory_ptr _nil (void) - { - return static_cast<POAManagerFactory_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be/be_visitor_sequence/sequence_ch.cpp:101 - -#if !defined (_PORTABLESERVER_POAMANAGERFACTORY_POAMANAGERSEQ_CH_) -#define _PORTABLESERVER_POAMANAGERFACTORY_POAMANAGERSEQ_CH_ - - class POAManagerSeq; - - typedef - TAO_VarSeq_Var_T< - POAManagerSeq - > - POAManagerSeq_var; - - typedef - TAO_Seq_Out_T< - POAManagerSeq - > - POAManagerSeq_out; - - class TAO_PortableServer_Export POAManagerSeq - : public - TAO::unbounded_object_reference_sequence< - PortableServer::POAManager, - PortableServer::POAManager_var - > - { - public: - POAManagerSeq (void); - POAManagerSeq ( ::CORBA::ULong max); - POAManagerSeq ( - ::CORBA::ULong max, - ::CORBA::ULong length, - PortableServer::POAManager_ptr* buffer, - ::CORBA::Boolean release = false - ); - POAManagerSeq (const POAManagerSeq &); - ~POAManagerSeq (void); - - static void _tao_any_destructor (void *); - - typedef POAManagerSeq_var _var_type; - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_POAManagerSeq; - - // TAO_IDL - Generated from - // be/be_visitor_exception/exception_ch.cpp:53 - -#if !defined (_PORTABLESERVER_POAMANAGERFACTORY_MANAGERALREADYEXISTS_CH_) -#define _PORTABLESERVER_POAMANAGERFACTORY_MANAGERALREADYEXISTS_CH_ - - class TAO_PortableServer_Export ManagerAlreadyExists : public ::CORBA::UserException - { - public: - - ManagerAlreadyExists (void); - ManagerAlreadyExists (const ManagerAlreadyExists &); - ~ManagerAlreadyExists (void); - - ManagerAlreadyExists &operator= (const ManagerAlreadyExists &); - - static void _tao_any_destructor (void *); - - static ManagerAlreadyExists *_downcast ( ::CORBA::Exception *); - static const ManagerAlreadyExists *_downcast ( ::CORBA::Exception const *); - - static ::CORBA::Exception *_alloc (void); - - virtual ::CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR &cdr - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR &cdr - ACE_ENV_ARG_DECL - ); - - virtual ::CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // be/be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_ManagerAlreadyExists; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::POAManager_ptr create_POAManager ( - const char * id, - const ::CORBA::PolicyList & policies - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::PortableServer::POAManagerFactory::ManagerAlreadyExists, - ::CORBA::PolicyError - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::POAManagerFactory::POAManagerSeq * list ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::POAManager_ptr find ( - const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be/be_visitor_interface/interface_ch.cpp:210 - - virtual ::CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - POAManagerFactory (void); - - virtual ~POAManagerFactory (void); - - private: - // Private and unimplemented for concrete interfaces. - POAManagerFactory (const POAManagerFactory &); - - void operator= (const POAManagerFactory &); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_POAManagerFactory; - -// TAO_IDL - Generated from -// be/be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// should be generated, maybe by be_visitor_module/module_ch.cpp -TAO_END_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be/be_visitor_traits.cpp:63 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_POAMANAGER__TRAITS_) -#define _PORTABLESERVER_POAMANAGER__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::POAManager> - { - static ::PortableServer::POAManager_ptr duplicate ( - ::PortableServer::POAManager_ptr - ); - static void release ( - ::PortableServer::POAManager_ptr - ); - static ::PortableServer::POAManager_ptr nil (void); - static ::CORBA::Boolean marshal ( - const ::PortableServer::POAManager_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ - -#if !defined (_PORTABLESERVER_POAMANAGERFACTORY__TRAITS_) -#define _PORTABLESERVER_POAMANAGERFACTORY__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::POAManagerFactory> - { - static ::PortableServer::POAManagerFactory_ptr duplicate ( - ::PortableServer::POAManagerFactory_ptr - ); - static void release ( - ::PortableServer::POAManagerFactory_ptr - ); - static ::PortableServer::POAManagerFactory_ptr nil (void); - static ::CORBA::Boolean marshal ( - const ::PortableServer::POAManagerFactory_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} -TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// be/be_codegen.cpp:1092 -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/PS_CurrentC.cpp b/TAO/tao/PortableServer/PS_CurrentC.cpp deleted file mode 100644 index e32c4f50884..00000000000 --- a/TAO/tao/PortableServer/PS_CurrentC.cpp +++ /dev/null @@ -1,311 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/PS_CurrentC.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/Struct_TypeCode_Static.h" -#include "tao/AnyTypeCode/TypeCode_Struct_Field.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Dual_Impl_T.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::Current. - -PortableServer::Current_ptr -TAO::Objref_Traits<PortableServer::Current>::duplicate ( - PortableServer::Current_ptr p - ) -{ - return PortableServer::Current::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::Current>::release ( - PortableServer::Current_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::Current_ptr -TAO::Objref_Traits<PortableServer::Current>::nil (void) -{ - return PortableServer::Current::_nil (); -} - -::CORBA::Boolean -TAO::Objref_Traits<PortableServer::Current>::marshal ( - PortableServer::Current_ptr p, - TAO_OutputCDR & cdr - ) -{ - return ::CORBA::Object::marshal (p, cdr); -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_cs.cpp:63 - -PortableServer::Current::NoContext::NoContext (void) - : ::CORBA::UserException ( - "IDL:omg.org/PortableServer/Current/NoContext:2.3", - "NoContext" - ) -{ -} - -PortableServer::Current::NoContext::~NoContext (void) -{ -} - -PortableServer::Current::NoContext::NoContext (const ::PortableServer::Current::NoContext &_tao_excp) - : ::CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ -} - -PortableServer::Current::NoContext& -PortableServer::Current::NoContext::operator= (const ::PortableServer::Current::NoContext &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - return *this; -} - -void PortableServer::Current::NoContext::_tao_any_destructor (void *_tao_void_pointer) -{ - NoContext *_tao_tmp_pointer = - static_cast<NoContext *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -PortableServer::Current::NoContext * -PortableServer::Current::NoContext::_downcast ( ::CORBA::Exception *_tao_excp) -{ - return dynamic_cast<NoContext *> (_tao_excp); -} - -const PortableServer::Current::NoContext * -PortableServer::Current::NoContext::_downcast ( ::CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const NoContext *> (_tao_excp); -} - -::CORBA::Exception *PortableServer::Current::NoContext::_alloc (void) -{ - ::CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::PortableServer::Current::NoContext, 0); - return retval; -} - -::CORBA::Exception * -PortableServer::Current::NoContext::_tao_duplicate (void) const -{ - ::CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::PortableServer::Current::NoContext (*this), - 0 - ); - return result; -} - -void PortableServer::Current::NoContext::_raise (void) const -{ - TAO_RAISE (*this); -} - -void PortableServer::Current::NoContext::_tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const -{ - ACE_THROW ( ::CORBA::MARSHAL ()); -} - -void PortableServer::Current::NoContext::_tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ) -{ - ACE_THROW ( ::CORBA::MARSHAL ()); -} - -// TAO extension - the virtual _type method. -::CORBA::TypeCode_ptr PortableServer::Current::NoContext::_tao_type (void) const -{ - return ::PortableServer::Current::_tc_NoContext; -} - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:89 - -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; - -PortableServer::Current::Current (void) -{} - -PortableServer::Current::~Current (void) -{} - -PortableServer::Current_ptr -PortableServer::Current::_narrow ( - ::CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return Current::_duplicate ( - dynamic_cast<Current_ptr> (_tao_objref) - ); -} - -PortableServer::Current_ptr -PortableServer::Current::_unchecked_narrow ( - ::CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return Current::_duplicate ( - dynamic_cast<Current_ptr> (_tao_objref) - ); -} - -PortableServer::Current_ptr -PortableServer::Current::_duplicate (Current_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::Current::_tao_release (Current_ptr obj) -{ - ::CORBA::release (obj); -} - -::CORBA::Boolean -PortableServer::Current::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Current:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/Current:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::Current::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/Current:2.3"; -} - -::CORBA::Boolean -PortableServer::Current::marshal (TAO_OutputCDR &) -{ - return false; -} - -// 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_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/PortableServer/PS_CurrentC.h b/TAO/tao/PortableServer/PS_CurrentC.h deleted file mode 100644 index f897b62f9ce..00000000000 --- a/TAO/tao/PortableServer/PS_CurrentC.h +++ /dev/null @@ -1,292 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_PS_CURRENTC_H_ -#define _TAO_IDL_PS_CURRENTC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/AnyTypeCode/AnyTypeCode_methods.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/PortableServer/PS_ForwardA.h" -#include "tao/AnyTypeCode/CurrentA.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/PortableServer/PS_ForwardC.h" -#include "tao/CurrentC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_interface.cpp:646 - -#if !defined (_PORTABLESERVER_CURRENT__VAR_OUT_CH_) -#define _PORTABLESERVER_CURRENT__VAR_OUT_CH_ - - class Current; - typedef Current *Current_ptr; - - typedef - TAO_Objref_Var_T< - Current - > - Current_var; - - typedef - TAO_Objref_Out_T< - Current - > - Current_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_CURRENT_CH_) -#define _PORTABLESERVER_CURRENT_CH_ - - class TAO_PortableServer_Export Current - : public virtual ::CORBA::Current - { - public: - typedef Current_ptr _ptr_type; - typedef Current_var _var_type; - - // The static operations. - static Current_ptr _duplicate (Current_ptr obj); - - static void _tao_release (Current_ptr obj); - - static Current_ptr _narrow ( - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static Current_ptr _unchecked_narrow ( - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static Current_ptr _nil (void) - { - return static_cast<Current_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:53 - -#if !defined (_PORTABLESERVER_CURRENT_NOCONTEXT_CH_) -#define _PORTABLESERVER_CURRENT_NOCONTEXT_CH_ - - class TAO_PortableServer_Export NoContext : public ::CORBA::UserException - { - public: - - NoContext (void); - NoContext (const NoContext &); - ~NoContext (void); - - NoContext &operator= (const NoContext &); - - static void _tao_any_destructor (void *); - - static NoContext *_downcast ( ::CORBA::Exception *); - static const NoContext *_downcast ( ::CORBA::Exception const *); - - static ::CORBA::Exception *_alloc (void); - - virtual ::CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ); - - virtual ::CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_NoContext; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::POA_ptr get_POA ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::PortableServer::Current::NoContext - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::ObjectId * get_object_id ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::PortableServer::Current::NoContext - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Object_ptr get_reference ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::PortableServer::Current::NoContext - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::Servant get_servant ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::PortableServer::Current::NoContext - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual ::CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - Current (void); - - virtual ~Current (void); - - private: - // Private and unimplemented for concrete interfaces. - Current (const Current &); - - void operator= (const Current &); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_Current; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_CURRENT__TRAITS_) -#define _PORTABLESERVER_CURRENT__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::Current> - { - static ::PortableServer::Current_ptr duplicate ( - ::PortableServer::Current_ptr - ); - static void release ( - ::PortableServer::Current_ptr - ); - static ::PortableServer::Current_ptr nil (void); - static ::CORBA::Boolean marshal ( - ::PortableServer::Current_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1040 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/PortableServerA.cpp b/TAO/tao/PortableServer/PortableServerA.cpp deleted file mode 100644 index 548d4f7ce54..00000000000 --- a/TAO/tao/PortableServer/PortableServerA.cpp +++ /dev/null @@ -1,1207 +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 "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/Sequence_TypeCode_Static.h" -#include "tao/AnyTypeCode/String_TypeCode_Static.h" -#include "tao/AnyTypeCode/Struct_TypeCode_Static.h" -#include "tao/AnyTypeCode/TypeCode_Struct_Field.h" -#include "tao/PortableServer/PortableServer.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Dual_Impl_T.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// be\be_visitor_typecode/typecode_defn.cpp:937 - -namespace PortableServer -{ - extern ::CORBA::TypeCode_ptr const _tc_POA; -} - - -#ifndef _TAO_TYPECODE_PortableServer_POAList_GUARD -#define _TAO_TYPECODE_PortableServer_POAList_GUARD -namespace TAO -{ - namespace TypeCode - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - PortableServer_POAList_0 ( - CORBA::tk_sequence, - &PortableServer::_tc_POA, - 0U); - - ::CORBA::TypeCode_ptr const tc_PortableServer_POAList_0 = - &PortableServer_POAList_0; - - } -} - - -#endif /* _TAO_TYPECODE_PortableServer_POAList_GUARD */ - -static TAO::TypeCode::Alias<char const *, - CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_POAList ( - CORBA::tk_alias, - "IDL:omg.org/PortableServer/POAList:1.0", - "POAList", - &TAO::TypeCode::tc_PortableServer_POAList_0); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_POAList = - &_tao_tc_PortableServer_POAList; -} - - - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POA_AdapterAlreadyExists = 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_POA_AdapterAlreadyExists ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POA/AdapterAlreadyExists:2.3", - "AdapterAlreadyExists", - _tao_fields_PortableServer_POA_AdapterAlreadyExists, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POA::_tc_AdapterAlreadyExists = - &_tao_tc_PortableServer_POA_AdapterAlreadyExists; - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POA_AdapterNonExistent = 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_POA_AdapterNonExistent ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POA/AdapterNonExistent:2.3", - "AdapterNonExistent", - _tao_fields_PortableServer_POA_AdapterNonExistent, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POA::_tc_AdapterNonExistent = - &_tao_tc_PortableServer_POA_AdapterNonExistent; - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const _tao_fields_PortableServer_POA_InvalidPolicy[] = - { - { "index", &CORBA::_tc_ushort } - - }; -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_POA_InvalidPolicy ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POA/InvalidPolicy:2.3", - "InvalidPolicy", - _tao_fields_PortableServer_POA_InvalidPolicy, - 1); - -::CORBA::TypeCode_ptr const PortableServer::POA::_tc_InvalidPolicy = - &_tao_tc_PortableServer_POA_InvalidPolicy; - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -#if (TAO_HAS_MINIMUM_POA == 0) - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POA_NoServant = 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_POA_NoServant ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POA/NoServant:2.3", - "NoServant", - _tao_fields_PortableServer_POA_NoServant, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POA::_tc_NoServant = - &_tao_tc_PortableServer_POA_NoServant; - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POA_ObjectAlreadyActive = 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_POA_ObjectAlreadyActive ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POA/ObjectAlreadyActive:2.3", - "ObjectAlreadyActive", - _tao_fields_PortableServer_POA_ObjectAlreadyActive, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POA::_tc_ObjectAlreadyActive = - &_tao_tc_PortableServer_POA_ObjectAlreadyActive; - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POA_ObjectNotActive = 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_POA_ObjectNotActive ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POA/ObjectNotActive:2.3", - "ObjectNotActive", - _tao_fields_PortableServer_POA_ObjectNotActive, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POA::_tc_ObjectNotActive = - &_tao_tc_PortableServer_POA_ObjectNotActive; - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POA_ServantAlreadyActive = 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_POA_ServantAlreadyActive ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POA/ServantAlreadyActive:2.3", - "ServantAlreadyActive", - _tao_fields_PortableServer_POA_ServantAlreadyActive, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POA::_tc_ServantAlreadyActive = - &_tao_tc_PortableServer_POA_ServantAlreadyActive; - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POA_ServantNotActive = 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_POA_ServantNotActive ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POA/ServantNotActive:2.3", - "ServantNotActive", - _tao_fields_PortableServer_POA_ServantNotActive, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POA::_tc_ServantNotActive = - &_tao_tc_PortableServer_POA_ServantNotActive; - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POA_WrongAdapter = 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_POA_WrongAdapter ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POA/WrongAdapter:2.3", - "WrongAdapter", - _tao_fields_PortableServer_POA_WrongAdapter, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POA::_tc_WrongAdapter = - &_tao_tc_PortableServer_POA_WrongAdapter; - -// TAO_IDL - Generated from -// be\be_visitor_typecode/struct_typecode.cpp:87 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_POA_WrongPolicy = 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_POA_WrongPolicy ( - CORBA::tk_except, - "IDL:omg.org/PortableServer/POA/WrongPolicy:2.3", - "WrongPolicy", - _tao_fields_PortableServer_POA_WrongPolicy, - 0); - -::CORBA::TypeCode_ptr const PortableServer::POA::_tc_WrongPolicy = - &_tao_tc_PortableServer_POA_WrongPolicy; - -// 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_POA ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/POA:2.3", - "POA"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_POA = - &_tao_tc_PortableServer_POA; -} - - - -// TAO_IDL - Generated from -// be\be_visitor_sequence/any_op_cs.cpp:54 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POAList>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POAList>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POAList &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POAList>::insert_copy ( - _tao_any, - PortableServer::POAList::_tao_any_destructor, - TAO::TypeCode::tc_PortableServer_POAList_0, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POAList *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POAList>::insert ( - _tao_any, - PortableServer::POAList::_tao_any_destructor, - TAO::TypeCode::tc_PortableServer_POAList_0, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POAList *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POAList *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POAList *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POAList>::extract ( - _tao_any, - PortableServer::POAList::_tao_any_destructor, - TAO::TypeCode::tc_PortableServer_POAList_0, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::POA>::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::POA>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::POA>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA_ptr _tao_elem - ) -{ - PortableServer::POA_ptr _tao_objptr = - PortableServer::POA::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::POA>::insert ( - _tao_any, - PortableServer::POA::_tao_any_destructor, - PortableServer::_tc_POA, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::POA>::extract ( - _tao_any, - PortableServer::POA::_tao_any_destructor, - PortableServer::_tc_POA, - _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::POA::AdapterAlreadyExists>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::AdapterAlreadyExists>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POA::AdapterAlreadyExists &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::AdapterAlreadyExists>::insert_copy ( - _tao_any, - PortableServer::POA::AdapterAlreadyExists::_tao_any_destructor, - PortableServer::POA::_tc_AdapterAlreadyExists, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA::AdapterAlreadyExists *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::AdapterAlreadyExists>::insert ( - _tao_any, - PortableServer::POA::AdapterAlreadyExists::_tao_any_destructor, - PortableServer::POA::_tc_AdapterAlreadyExists, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA::AdapterAlreadyExists *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POA::AdapterAlreadyExists *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POA::AdapterAlreadyExists *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POA::AdapterAlreadyExists>::extract ( - _tao_any, - PortableServer::POA::AdapterAlreadyExists::_tao_any_destructor, - PortableServer::POA::_tc_AdapterAlreadyExists, - _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::POA::AdapterNonExistent>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::AdapterNonExistent>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POA::AdapterNonExistent &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::AdapterNonExistent>::insert_copy ( - _tao_any, - PortableServer::POA::AdapterNonExistent::_tao_any_destructor, - PortableServer::POA::_tc_AdapterNonExistent, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA::AdapterNonExistent *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::AdapterNonExistent>::insert ( - _tao_any, - PortableServer::POA::AdapterNonExistent::_tao_any_destructor, - PortableServer::POA::_tc_AdapterNonExistent, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA::AdapterNonExistent *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POA::AdapterNonExistent *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POA::AdapterNonExistent *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POA::AdapterNonExistent>::extract ( - _tao_any, - PortableServer::POA::AdapterNonExistent::_tao_any_destructor, - PortableServer::POA::_tc_AdapterNonExistent, - _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::POA::InvalidPolicy>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::InvalidPolicy>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POA::InvalidPolicy &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::InvalidPolicy>::insert_copy ( - _tao_any, - PortableServer::POA::InvalidPolicy::_tao_any_destructor, - PortableServer::POA::_tc_InvalidPolicy, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA::InvalidPolicy *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::InvalidPolicy>::insert ( - _tao_any, - PortableServer::POA::InvalidPolicy::_tao_any_destructor, - PortableServer::POA::_tc_InvalidPolicy, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA::InvalidPolicy *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POA::InvalidPolicy *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POA::InvalidPolicy *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POA::InvalidPolicy>::extract ( - _tao_any, - PortableServer::POA::InvalidPolicy::_tao_any_destructor, - PortableServer::POA::_tc_InvalidPolicy, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/any_op_cs.cpp:50 - -#if (TAO_HAS_MINIMUM_POA == 0) - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::NoServant>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::NoServant>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POA::NoServant &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::NoServant>::insert_copy ( - _tao_any, - PortableServer::POA::NoServant::_tao_any_destructor, - PortableServer::POA::_tc_NoServant, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA::NoServant *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::NoServant>::insert ( - _tao_any, - PortableServer::POA::NoServant::_tao_any_destructor, - PortableServer::POA::_tc_NoServant, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA::NoServant *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POA::NoServant *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POA::NoServant *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POA::NoServant>::extract ( - _tao_any, - PortableServer::POA::NoServant::_tao_any_destructor, - PortableServer::POA::_tc_NoServant, - _tao_elem - ); -} - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - -// TAO_IDL - Generated from -// be\be_visitor_exception/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::ObjectAlreadyActive>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::ObjectAlreadyActive>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POA::ObjectAlreadyActive &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::ObjectAlreadyActive>::insert_copy ( - _tao_any, - PortableServer::POA::ObjectAlreadyActive::_tao_any_destructor, - PortableServer::POA::_tc_ObjectAlreadyActive, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA::ObjectAlreadyActive *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::ObjectAlreadyActive>::insert ( - _tao_any, - PortableServer::POA::ObjectAlreadyActive::_tao_any_destructor, - PortableServer::POA::_tc_ObjectAlreadyActive, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA::ObjectAlreadyActive *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POA::ObjectAlreadyActive *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POA::ObjectAlreadyActive *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POA::ObjectAlreadyActive>::extract ( - _tao_any, - PortableServer::POA::ObjectAlreadyActive::_tao_any_destructor, - PortableServer::POA::_tc_ObjectAlreadyActive, - _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::POA::ObjectNotActive>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::ObjectNotActive>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POA::ObjectNotActive &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::ObjectNotActive>::insert_copy ( - _tao_any, - PortableServer::POA::ObjectNotActive::_tao_any_destructor, - PortableServer::POA::_tc_ObjectNotActive, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA::ObjectNotActive *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::ObjectNotActive>::insert ( - _tao_any, - PortableServer::POA::ObjectNotActive::_tao_any_destructor, - PortableServer::POA::_tc_ObjectNotActive, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA::ObjectNotActive *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POA::ObjectNotActive *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POA::ObjectNotActive *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POA::ObjectNotActive>::extract ( - _tao_any, - PortableServer::POA::ObjectNotActive::_tao_any_destructor, - PortableServer::POA::_tc_ObjectNotActive, - _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::POA::ServantAlreadyActive>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::ServantAlreadyActive>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POA::ServantAlreadyActive &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::ServantAlreadyActive>::insert_copy ( - _tao_any, - PortableServer::POA::ServantAlreadyActive::_tao_any_destructor, - PortableServer::POA::_tc_ServantAlreadyActive, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA::ServantAlreadyActive *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::ServantAlreadyActive>::insert ( - _tao_any, - PortableServer::POA::ServantAlreadyActive::_tao_any_destructor, - PortableServer::POA::_tc_ServantAlreadyActive, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA::ServantAlreadyActive *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POA::ServantAlreadyActive *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POA::ServantAlreadyActive *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POA::ServantAlreadyActive>::extract ( - _tao_any, - PortableServer::POA::ServantAlreadyActive::_tao_any_destructor, - PortableServer::POA::_tc_ServantAlreadyActive, - _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::POA::ServantNotActive>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::ServantNotActive>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POA::ServantNotActive &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::ServantNotActive>::insert_copy ( - _tao_any, - PortableServer::POA::ServantNotActive::_tao_any_destructor, - PortableServer::POA::_tc_ServantNotActive, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA::ServantNotActive *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::ServantNotActive>::insert ( - _tao_any, - PortableServer::POA::ServantNotActive::_tao_any_destructor, - PortableServer::POA::_tc_ServantNotActive, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA::ServantNotActive *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POA::ServantNotActive *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POA::ServantNotActive *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POA::ServantNotActive>::extract ( - _tao_any, - PortableServer::POA::ServantNotActive::_tao_any_destructor, - PortableServer::POA::_tc_ServantNotActive, - _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::POA::WrongAdapter>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::WrongAdapter>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POA::WrongAdapter &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::WrongAdapter>::insert_copy ( - _tao_any, - PortableServer::POA::WrongAdapter::_tao_any_destructor, - PortableServer::POA::_tc_WrongAdapter, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA::WrongAdapter *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::WrongAdapter>::insert ( - _tao_any, - PortableServer::POA::WrongAdapter::_tao_any_destructor, - PortableServer::POA::_tc_WrongAdapter, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA::WrongAdapter *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POA::WrongAdapter *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POA::WrongAdapter *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POA::WrongAdapter>::extract ( - _tao_any, - PortableServer::POA::WrongAdapter::_tao_any_destructor, - PortableServer::POA::_tc_WrongAdapter, - _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::POA::WrongPolicy>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POA::WrongPolicy>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POA::WrongPolicy &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::WrongPolicy>::insert_copy ( - _tao_any, - PortableServer::POA::WrongPolicy::_tao_any_destructor, - PortableServer::POA::_tc_WrongPolicy, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POA::WrongPolicy *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POA::WrongPolicy>::insert ( - _tao_any, - PortableServer::POA::WrongPolicy::_tao_any_destructor, - PortableServer::POA::_tc_WrongPolicy, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POA::WrongPolicy *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POA::WrongPolicy *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POA::WrongPolicy *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POA::WrongPolicy>::extract ( - _tao_any, - PortableServer::POA::WrongPolicy::_tao_any_destructor, - PortableServer::POA::_tc_WrongPolicy, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp b/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp deleted file mode 100644 index 5db99f4446e..00000000000 --- a/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp +++ /dev/null @@ -1,119 +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 "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Enum_TypeCode_Static.h" -#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" -#include "tao/PortableServer/RequestProcessingPolicyA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Basic_Impl_T.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be\be_visitor_typecode/enum_typecode.cpp:34 - -static char const * const _tao_enumerators_PortableServer_RequestProcessingPolicyValue[] = - { - "USE_ACTIVE_OBJECT_MAP_ONLY", - "USE_DEFAULT_SERVANT", - "USE_SERVANT_MANAGER" - - }; - -static TAO::TypeCode::Enum<char const *, - char const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_RequestProcessingPolicyValue ( - "IDL:omg.org/PortableServer/RequestProcessingPolicyValue:2.3", - "RequestProcessingPolicyValue", - _tao_enumerators_PortableServer_RequestProcessingPolicyValue, - 3); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_RequestProcessingPolicyValue = - &_tao_tc_PortableServer_RequestProcessingPolicyValue; -} - - - -// 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_RequestProcessingPolicy ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/RequestProcessingPolicy:2.3", - "RequestProcessingPolicy"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_RequestProcessingPolicy = - &_tao_tc_PortableServer_RequestProcessingPolicy; -} - - - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_cs.cpp:52 - -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::RequestProcessingPolicyValue _tao_elem - ) -{ - TAO::Any_Basic_Impl_T<PortableServer::RequestProcessingPolicyValue>::insert ( - _tao_any, - PortableServer::_tc_RequestProcessingPolicyValue, - _tao_elem - ); -} - -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::RequestProcessingPolicyValue &_tao_elem - ) -{ - return - TAO::Any_Basic_Impl_T<PortableServer::RequestProcessingPolicyValue>::extract ( - _tao_any, - PortableServer::_tc_RequestProcessingPolicyValue, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/RequestProcessingPolicyA.h b/TAO/tao/PortableServer/RequestProcessingPolicyA.h deleted file mode 100644 index 71cd9e73205..00000000000 --- a/TAO/tao/PortableServer/RequestProcessingPolicyA.h +++ /dev/null @@ -1,74 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_REQUESTPROCESSINGPOLICYA_H_ -#define _TAO_IDL_REQUESTPROCESSINGPOLICYA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/RequestProcessingPolicyC.h" -#include "tao/AnyTypeCode/PolicyA.h" - - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_RequestProcessingPolicyValue; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_RequestProcessingPolicy; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::RequestProcessingPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::RequestProcessingPolicyValue &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/RequestProcessingPolicyC.cpp b/TAO/tao/PortableServer/RequestProcessingPolicyC.cpp deleted file mode 100644 index fc0a43d63bd..00000000000 --- a/TAO/tao/PortableServer/RequestProcessingPolicyC.cpp +++ /dev/null @@ -1,197 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/RequestProcessingPolicyC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::RequestProcessingPolicy. - -PortableServer::RequestProcessingPolicy_ptr -TAO::Objref_Traits<PortableServer::RequestProcessingPolicy>::duplicate ( - PortableServer::RequestProcessingPolicy_ptr p - ) -{ - return PortableServer::RequestProcessingPolicy::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::RequestProcessingPolicy>::release ( - PortableServer::RequestProcessingPolicy_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::RequestProcessingPolicy_ptr -TAO::Objref_Traits<PortableServer::RequestProcessingPolicy>::nil (void) -{ - return PortableServer::RequestProcessingPolicy::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::RequestProcessingPolicy>::marshal ( - PortableServer::RequestProcessingPolicy_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::RequestProcessingPolicy::RequestProcessingPolicy (void) -{} - -PortableServer::RequestProcessingPolicy::~RequestProcessingPolicy (void) -{} - -PortableServer::RequestProcessingPolicy_ptr -PortableServer::RequestProcessingPolicy::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return RequestProcessingPolicy::_duplicate ( - dynamic_cast<RequestProcessingPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::RequestProcessingPolicy_ptr -PortableServer::RequestProcessingPolicy::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return RequestProcessingPolicy::_duplicate ( - dynamic_cast<RequestProcessingPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::RequestProcessingPolicy_ptr -PortableServer::RequestProcessingPolicy::_duplicate (RequestProcessingPolicy_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::RequestProcessingPolicy::_tao_release (RequestProcessingPolicy_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::RequestProcessingPolicy::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Policy:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/RequestProcessingPolicy:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::RequestProcessingPolicy::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/RequestProcessingPolicy:2.3"; -} - -CORBA::Boolean -PortableServer::RequestProcessingPolicy::marshal (TAO_OutputCDR &) -{ - return false; -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_cs.cpp:51 - -CORBA::Boolean operator<< (TAO_OutputCDR & strm, PortableServer::RequestProcessingPolicyValue _tao_enumerator) -{ - return strm << static_cast<CORBA::ULong> (_tao_enumerator); -} - -CORBA::Boolean operator>> (TAO_InputCDR & strm, PortableServer::RequestProcessingPolicyValue & _tao_enumerator) -{ - CORBA::ULong _tao_temp = 0; - CORBA::Boolean const _tao_success = strm >> _tao_temp; - - if (_tao_success) - { - _tao_enumerator = static_cast<PortableServer::RequestProcessingPolicyValue> (_tao_temp); - } - - return _tao_success; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/RequestProcessingPolicyC.h b/TAO/tao/PortableServer/RequestProcessingPolicyC.h deleted file mode 100644 index cdac90a297d..00000000000 --- a/TAO/tao/PortableServer/RequestProcessingPolicyC.h +++ /dev/null @@ -1,246 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_REQUESTPROCESSINGPOLICYC_H_ -#define _TAO_IDL_REQUESTPROCESSINGPOLICYC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/PolicyC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_enum/enum_ch.cpp:57 - - enum RequestProcessingPolicyValue - { - USE_ACTIVE_OBJECT_MAP_ONLY, - USE_DEFAULT_SERVANT, - USE_SERVANT_MANAGER - }; - -#if (TAO_HAS_MINIMUM_POA == 0) - typedef RequestProcessingPolicyValue &RequestProcessingPolicyValue_out; - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY__VAR_OUT_CH_) -#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY__VAR_OUT_CH_ - - class RequestProcessingPolicy; - typedef RequestProcessingPolicy *RequestProcessingPolicy_ptr; - - typedef - TAO_Objref_Var_T< - RequestProcessingPolicy - > - RequestProcessingPolicy_var; - - typedef - TAO_Objref_Out_T< - RequestProcessingPolicy - > - RequestProcessingPolicy_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY_CH_) -#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY_CH_ - - class TAO_PortableServer_Export RequestProcessingPolicy - : public virtual ::CORBA::Policy - { - public: - typedef RequestProcessingPolicy_ptr _ptr_type; - typedef RequestProcessingPolicy_var _var_type; - - // The static operations. - static RequestProcessingPolicy_ptr _duplicate (RequestProcessingPolicy_ptr obj); - - static void _tao_release (RequestProcessingPolicy_ptr obj); - - static RequestProcessingPolicy_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static RequestProcessingPolicy_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static RequestProcessingPolicy_ptr _nil (void) - { - return static_cast<RequestProcessingPolicy_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::RequestProcessingPolicyValue value ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Policy_ptr copy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void destroy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - RequestProcessingPolicy (void); - - virtual ~RequestProcessingPolicy (void); - - private: - // Private and unimplemented for concrete interfaces. - RequestProcessingPolicy (const RequestProcessingPolicy &); - - void operator= (const RequestProcessingPolicy &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -#if (TAO_HAS_MINIMUM_POA == 0) - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY__TRAITS_) -#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::RequestProcessingPolicy> - { - static ::PortableServer::RequestProcessingPolicy_ptr duplicate ( - ::PortableServer::RequestProcessingPolicy_ptr - ); - static void release ( - ::PortableServer::RequestProcessingPolicy_ptr - ); - static ::PortableServer::RequestProcessingPolicy_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::RequestProcessingPolicy_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_ch.cpp:50 - -TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::RequestProcessingPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::RequestProcessingPolicyValue &); - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/ServantActivatorA.cpp b/TAO/tao/PortableServer/ServantActivatorA.cpp deleted file mode 100644 index 2ce0254c337..00000000000 --- a/TAO/tao/PortableServer/ServantActivatorA.cpp +++ /dev/null @@ -1,59 +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 "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/PortableServer/ServantActivatorA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -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_PortableServer_ServantActivator ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/ServantActivator:2.3", - "ServantActivator"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_ServantActivator = - &_tao_tc_PortableServer_ServantActivator; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantActivatorA.h b/TAO/tao/PortableServer/ServantActivatorA.h deleted file mode 100644 index 31a9823c2c1..00000000000 --- a/TAO/tao/PortableServer/ServantActivatorA.h +++ /dev/null @@ -1,65 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_SERVANTACTIVATORA_H_ -#define _TAO_IDL_SERVANTACTIVATORA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/ServantActivatorC.h" -#include "tao/PortableServer/PS_ForwardA.h" -#include "tao/PortableServer/ServantManagerA.h" -#include "tao/PortableServer/ForwardRequestA.h" - - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ServantActivator; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ServantActivatorC.cpp b/TAO/tao/PortableServer/ServantActivatorC.cpp deleted file mode 100644 index 8485ca95627..00000000000 --- a/TAO/tao/PortableServer/ServantActivatorC.cpp +++ /dev/null @@ -1,177 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/ServantActivatorC.h" -#include "tao/CDR.h" -#include "tao/ORB_Core.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::ServantActivator. - -PortableServer::ServantActivator_ptr -TAO::Objref_Traits<PortableServer::ServantActivator>::duplicate ( - PortableServer::ServantActivator_ptr p - ) -{ - return PortableServer::ServantActivator::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::ServantActivator>::release ( - PortableServer::ServantActivator_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::ServantActivator_ptr -TAO::Objref_Traits<PortableServer::ServantActivator>::nil (void) -{ - return PortableServer::ServantActivator::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::ServantActivator>::marshal ( - PortableServer::ServantActivator_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::ServantActivator::ServantActivator (void) -{} - -PortableServer::ServantActivator::~ServantActivator (void) -{} - -PortableServer::ServantActivator_ptr -PortableServer::ServantActivator::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ServantActivator::_duplicate ( - dynamic_cast<ServantActivator_ptr> (_tao_objref) - ); -} - -PortableServer::ServantActivator_ptr -PortableServer::ServantActivator::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ServantActivator::_duplicate ( - dynamic_cast<ServantActivator_ptr> (_tao_objref) - ); -} - -PortableServer::ServantActivator_ptr -PortableServer::ServantActivator::_duplicate (ServantActivator_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::ServantActivator::_tao_release (ServantActivator_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::ServantActivator::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/ServantManager:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/ServantActivator:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::ServantActivator::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/ServantActivator:2.3"; -} - -CORBA::Boolean -PortableServer::ServantActivator::marshal (TAO_OutputCDR &) -{ - return false; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantActivatorC.h b/TAO/tao/PortableServer/ServantActivatorC.h deleted file mode 100644 index f86eeef4a4b..00000000000 --- a/TAO/tao/PortableServer/ServantActivatorC.h +++ /dev/null @@ -1,226 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_SERVANTACTIVATORC_H_ -#define _TAO_IDL_SERVANTACTIVATORC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/PortableServer/PS_ForwardC.h" -#include "tao/PortableServer/ServantManagerC.h" -#include "tao/PortableServer/ForwardRequestC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_SERVANTACTIVATOR__VAR_OUT_CH_) -#define _PORTABLESERVER_SERVANTACTIVATOR__VAR_OUT_CH_ - - class ServantActivator; - typedef ServantActivator *ServantActivator_ptr; - - typedef - TAO_Objref_Var_T< - ServantActivator - > - ServantActivator_var; - - typedef - TAO_Objref_Out_T< - ServantActivator - > - ServantActivator_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_SERVANTACTIVATOR_CH_) -#define _PORTABLESERVER_SERVANTACTIVATOR_CH_ - - class TAO_PortableServer_Export ServantActivator - : public virtual ::PortableServer::ServantManager - { - public: - typedef ServantActivator_ptr _ptr_type; - typedef ServantActivator_var _var_type; - - // The static operations. - static ServantActivator_ptr _duplicate (ServantActivator_ptr obj); - - static void _tao_release (ServantActivator_ptr obj); - - static ServantActivator_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ServantActivator_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ServantActivator_ptr _nil (void) - { - return static_cast<ServantActivator_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::Servant incarnate ( - const ::PortableServer::ObjectId & oid, - ::PortableServer::POA_ptr adapter - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableServer::ForwardRequest - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void etherealize ( - const ::PortableServer::ObjectId & oid, - ::PortableServer::POA_ptr adapter, - ::PortableServer::Servant serv, - ::CORBA::Boolean cleanup_in_progress, - ::CORBA::Boolean remaining_activations - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - ServantActivator (void); - - virtual ~ServantActivator (void); - - private: - // Private and unimplemented for concrete interfaces. - ServantActivator (const ServantActivator &); - - void operator= (const ServantActivator &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_SERVANTACTIVATOR__TRAITS_) -#define _PORTABLESERVER_SERVANTACTIVATOR__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ServantActivator> - { - static ::PortableServer::ServantActivator_ptr duplicate ( - ::PortableServer::ServantActivator_ptr - ); - static void release ( - ::PortableServer::ServantActivator_ptr - ); - static ::PortableServer::ServantActivator_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::ServantActivator_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/ServantLocatorA.cpp b/TAO/tao/PortableServer/ServantLocatorA.cpp deleted file mode 100644 index f6afe468d3e..00000000000 --- a/TAO/tao/PortableServer/ServantLocatorA.cpp +++ /dev/null @@ -1,60 +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 "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/PortableServer/ServantLocatorA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -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_PortableServer_ServantLocator ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/ServantLocator:2.3", - "ServantLocator"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_ServantLocator = - &_tao_tc_PortableServer_ServantLocator; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantLocatorA.h b/TAO/tao/PortableServer/ServantLocatorA.h deleted file mode 100644 index 4e114ea1a86..00000000000 --- a/TAO/tao/PortableServer/ServantLocatorA.h +++ /dev/null @@ -1,66 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_SERVANTLOCATORA_H_ -#define _TAO_IDL_SERVANTLOCATORA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/ServantLocatorC.h" -#include "tao/AnyTypeCode/orb_typesA.h" -#include "tao/PortableServer/PS_ForwardA.h" -#include "tao/PortableServer/ServantManagerA.h" -#include "tao/PortableServer/ForwardRequestA.h" - - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ServantLocator; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ServantLocatorC.cpp b/TAO/tao/PortableServer/ServantLocatorC.cpp deleted file mode 100644 index d03dcd7c693..00000000000 --- a/TAO/tao/PortableServer/ServantLocatorC.cpp +++ /dev/null @@ -1,177 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/ServantLocatorC.h" -#include "tao/CDR.h" -#include "tao/ORB_Core.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::ServantLocator. - -PortableServer::ServantLocator_ptr -TAO::Objref_Traits<PortableServer::ServantLocator>::duplicate ( - PortableServer::ServantLocator_ptr p - ) -{ - return PortableServer::ServantLocator::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::ServantLocator>::release ( - PortableServer::ServantLocator_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::ServantLocator_ptr -TAO::Objref_Traits<PortableServer::ServantLocator>::nil (void) -{ - return PortableServer::ServantLocator::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::ServantLocator>::marshal ( - PortableServer::ServantLocator_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::ServantLocator::ServantLocator (void) -{} - -PortableServer::ServantLocator::~ServantLocator (void) -{} - -PortableServer::ServantLocator_ptr -PortableServer::ServantLocator::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ServantLocator::_duplicate ( - dynamic_cast<ServantLocator_ptr> (_tao_objref) - ); -} - -PortableServer::ServantLocator_ptr -PortableServer::ServantLocator::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ServantLocator::_duplicate ( - dynamic_cast<ServantLocator_ptr> (_tao_objref) - ); -} - -PortableServer::ServantLocator_ptr -PortableServer::ServantLocator::_duplicate (ServantLocator_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::ServantLocator::_tao_release (ServantLocator_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::ServantLocator::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/ServantManager:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/ServantLocator:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::ServantLocator::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/ServantLocator:2.3"; -} - -CORBA::Boolean -PortableServer::ServantLocator::marshal (TAO_OutputCDR &) -{ - return false; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantLocatorC.h b/TAO/tao/PortableServer/ServantLocatorC.h deleted file mode 100644 index 378b2df5c80..00000000000 --- a/TAO/tao/PortableServer/ServantLocatorC.h +++ /dev/null @@ -1,231 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_SERVANTLOCATORC_H_ -#define _TAO_IDL_SERVANTLOCATORC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/orb_typesC.h" -#include "tao/PortableServer/PS_ForwardC.h" -#include "tao/PortableServer/ServantManagerC.h" -#include "tao/PortableServer/ForwardRequestC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_SERVANTLOCATOR__VAR_OUT_CH_) -#define _PORTABLESERVER_SERVANTLOCATOR__VAR_OUT_CH_ - - class ServantLocator; - typedef ServantLocator *ServantLocator_ptr; - - typedef - TAO_Objref_Var_T< - ServantLocator - > - ServantLocator_var; - - typedef - TAO_Objref_Out_T< - ServantLocator - > - ServantLocator_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_SERVANTLOCATOR_CH_) -#define _PORTABLESERVER_SERVANTLOCATOR_CH_ - - class TAO_PortableServer_Export ServantLocator - : public virtual ::PortableServer::ServantManager - { - public: - typedef void *Cookie; - - typedef ServantLocator_ptr _ptr_type; - typedef ServantLocator_var _var_type; - - // The static operations. - static ServantLocator_ptr _duplicate (ServantLocator_ptr obj); - - static void _tao_release (ServantLocator_ptr obj); - - static ServantLocator_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ServantLocator_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ServantLocator_ptr _nil (void) - { - return static_cast<ServantLocator_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::Servant preinvoke ( - const ::PortableServer::ObjectId & oid, - ::PortableServer::POA_ptr adapter, - const char * operation, - ::PortableServer::ServantLocator::Cookie & the_cookie - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableServer::ForwardRequest - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void postinvoke ( - const ::PortableServer::ObjectId & oid, - ::PortableServer::POA_ptr adapter, - const char * operation, - ::PortableServer::ServantLocator::Cookie the_cookie, - ::PortableServer::Servant the_servant - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - ServantLocator (void); - - virtual ~ServantLocator (void); - - private: - // Private and unimplemented for concrete interfaces. - ServantLocator (const ServantLocator &); - - void operator= (const ServantLocator &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_SERVANTLOCATOR__TRAITS_) -#define _PORTABLESERVER_SERVANTLOCATOR__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ServantLocator> - { - static ::PortableServer::ServantLocator_ptr duplicate ( - ::PortableServer::ServantLocator_ptr - ); - static void release ( - ::PortableServer::ServantLocator_ptr - ); - static ::PortableServer::ServantLocator_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::ServantLocator_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/ServantManagerA.cpp b/TAO/tao/PortableServer/ServantManagerA.cpp deleted file mode 100644 index f260c424cdf..00000000000 --- a/TAO/tao/PortableServer/ServantManagerA.cpp +++ /dev/null @@ -1,59 +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 "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/PortableServer/ServantManagerA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -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_PortableServer_ServantManager ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/ServantManager:2.3", - "ServantManager"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_ServantManager = - &_tao_tc_PortableServer_ServantManager; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantManagerA.h b/TAO/tao/PortableServer/ServantManagerA.h deleted file mode 100644 index 25cb0d6abb9..00000000000 --- a/TAO/tao/PortableServer/ServantManagerA.h +++ /dev/null @@ -1,62 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_SERVANTMANAGERA_H_ -#define _TAO_IDL_SERVANTMANAGERA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/ServantManagerC.h" - - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ServantManager; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ServantManagerC.cpp b/TAO/tao/PortableServer/ServantManagerC.cpp deleted file mode 100644 index d95b2bf7ef9..00000000000 --- a/TAO/tao/PortableServer/ServantManagerC.cpp +++ /dev/null @@ -1,171 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/ServantManagerC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - -#if (TAO_HAS_MINIMUM_POA == 0) - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::ServantManager. - -PortableServer::ServantManager_ptr -TAO::Objref_Traits<PortableServer::ServantManager>::duplicate ( - PortableServer::ServantManager_ptr p - ) -{ - return PortableServer::ServantManager::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::ServantManager>::release ( - PortableServer::ServantManager_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::ServantManager_ptr -TAO::Objref_Traits<PortableServer::ServantManager>::nil (void) -{ - return PortableServer::ServantManager::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::ServantManager>::marshal ( - PortableServer::ServantManager_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::ServantManager::ServantManager (void) -{} - -PortableServer::ServantManager::~ServantManager (void) -{} - -PortableServer::ServantManager_ptr -PortableServer::ServantManager::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ServantManager::_duplicate ( - dynamic_cast<ServantManager_ptr> (_tao_objref) - ); -} - -PortableServer::ServantManager_ptr -PortableServer::ServantManager::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ServantManager::_duplicate ( - dynamic_cast<ServantManager_ptr> (_tao_objref) - ); -} - -PortableServer::ServantManager_ptr -PortableServer::ServantManager::_duplicate (ServantManager_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::ServantManager::_tao_release (ServantManager_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::ServantManager::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/ServantManager:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::ServantManager::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/ServantManager:2.3"; -} - -CORBA::Boolean -PortableServer::ServantManager::marshal (TAO_OutputCDR &) -{ - return false; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantManagerC.h b/TAO/tao/PortableServer/ServantManagerC.h deleted file mode 100644 index 42b1644d5b8..00000000000 --- a/TAO/tao/PortableServer/ServantManagerC.h +++ /dev/null @@ -1,193 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_SERVANTMANAGERC_H_ -#define _TAO_IDL_SERVANTMANAGERC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_SERVANTMANAGER__VAR_OUT_CH_) -#define _PORTABLESERVER_SERVANTMANAGER__VAR_OUT_CH_ - - class ServantManager; - typedef ServantManager *ServantManager_ptr; - - typedef - TAO_Objref_Var_T< - ServantManager - > - ServantManager_var; - - typedef - TAO_Objref_Out_T< - ServantManager - > - ServantManager_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_SERVANTMANAGER_CH_) -#define _PORTABLESERVER_SERVANTMANAGER_CH_ - - class TAO_PortableServer_Export ServantManager - : public virtual CORBA::Object - { - public: - typedef ServantManager_ptr _ptr_type; - typedef ServantManager_var _var_type; - - // The static operations. - static ServantManager_ptr _duplicate (ServantManager_ptr obj); - - static void _tao_release (ServantManager_ptr obj); - - static ServantManager_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ServantManager_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ServantManager_ptr _nil (void) - { - return static_cast<ServantManager_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - ServantManager (void); - - virtual ~ServantManager (void); - - private: - // Private and unimplemented for concrete interfaces. - ServantManager (const ServantManager &); - - void operator= (const ServantManager &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_SERVANTMANAGER__TRAITS_) -#define _PORTABLESERVER_SERVANTMANAGER__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ServantManager> - { - static ::PortableServer::ServantManager_ptr duplicate ( - ::PortableServer::ServantManager_ptr - ); - static void release ( - ::PortableServer::ServantManager_ptr - ); - static ::PortableServer::ServantManager_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::ServantManager_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp b/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp deleted file mode 100644 index e2474a81437..00000000000 --- a/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp +++ /dev/null @@ -1,118 +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 "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Enum_TypeCode_Static.h" -#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" -#include "tao/PortableServer/ServantRetentionPolicyA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Basic_Impl_T.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be\be_visitor_typecode/enum_typecode.cpp:34 - -static char const * const _tao_enumerators_PortableServer_ServantRetentionPolicyValue[] = - { - "RETAIN", - "NON_RETAIN" - - }; - -static TAO::TypeCode::Enum<char const *, - char const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_ServantRetentionPolicyValue ( - "IDL:omg.org/PortableServer/ServantRetentionPolicyValue:2.3", - "ServantRetentionPolicyValue", - _tao_enumerators_PortableServer_ServantRetentionPolicyValue, - 2); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_ServantRetentionPolicyValue = - &_tao_tc_PortableServer_ServantRetentionPolicyValue; -} - - - -// 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_ServantRetentionPolicy ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/ServantRetentionPolicy:2.3", - "ServantRetentionPolicy"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_ServantRetentionPolicy = - &_tao_tc_PortableServer_ServantRetentionPolicy; -} - - - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_cs.cpp:52 - -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ServantRetentionPolicyValue _tao_elem - ) -{ - TAO::Any_Basic_Impl_T<PortableServer::ServantRetentionPolicyValue>::insert ( - _tao_any, - PortableServer::_tc_ServantRetentionPolicyValue, - _tao_elem - ); -} - -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::ServantRetentionPolicyValue &_tao_elem - ) -{ - return - TAO::Any_Basic_Impl_T<PortableServer::ServantRetentionPolicyValue>::extract ( - _tao_any, - PortableServer::_tc_ServantRetentionPolicyValue, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantRetentionPolicyA.h b/TAO/tao/PortableServer/ServantRetentionPolicyA.h deleted file mode 100644 index ec53d8ff9b0..00000000000 --- a/TAO/tao/PortableServer/ServantRetentionPolicyA.h +++ /dev/null @@ -1,78 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_SERVANTRETENTIONPOLICYA_H_ -#define _TAO_IDL_SERVANTRETENTIONPOLICYA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/ServantRetentionPolicyC.h" -#include "tao/AnyTypeCode/PolicyA.h" - - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ServantRetentionPolicyValue; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ServantRetentionPolicy; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ServantRetentionPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ServantRetentionPolicyValue &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ServantRetentionPolicyC.cpp b/TAO/tao/PortableServer/ServantRetentionPolicyC.cpp deleted file mode 100644 index 72bbd0a469b..00000000000 --- a/TAO/tao/PortableServer/ServantRetentionPolicyC.cpp +++ /dev/null @@ -1,197 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/ServantRetentionPolicyC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::ServantRetentionPolicy. - -PortableServer::ServantRetentionPolicy_ptr -TAO::Objref_Traits<PortableServer::ServantRetentionPolicy>::duplicate ( - PortableServer::ServantRetentionPolicy_ptr p - ) -{ - return PortableServer::ServantRetentionPolicy::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::ServantRetentionPolicy>::release ( - PortableServer::ServantRetentionPolicy_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::ServantRetentionPolicy_ptr -TAO::Objref_Traits<PortableServer::ServantRetentionPolicy>::nil (void) -{ - return PortableServer::ServantRetentionPolicy::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::ServantRetentionPolicy>::marshal ( - PortableServer::ServantRetentionPolicy_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::ServantRetentionPolicy::ServantRetentionPolicy (void) -{} - -PortableServer::ServantRetentionPolicy::~ServantRetentionPolicy (void) -{} - -PortableServer::ServantRetentionPolicy_ptr -PortableServer::ServantRetentionPolicy::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ServantRetentionPolicy::_duplicate ( - dynamic_cast<ServantRetentionPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::ServantRetentionPolicy_ptr -PortableServer::ServantRetentionPolicy::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ServantRetentionPolicy::_duplicate ( - dynamic_cast<ServantRetentionPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::ServantRetentionPolicy_ptr -PortableServer::ServantRetentionPolicy::_duplicate (ServantRetentionPolicy_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::ServantRetentionPolicy::_tao_release (ServantRetentionPolicy_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::ServantRetentionPolicy::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Policy:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/ServantRetentionPolicy:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::ServantRetentionPolicy::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/ServantRetentionPolicy:2.3"; -} - -CORBA::Boolean -PortableServer::ServantRetentionPolicy::marshal (TAO_OutputCDR &) -{ - return false; -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_cs.cpp:51 - -CORBA::Boolean operator<< (TAO_OutputCDR & strm, PortableServer::ServantRetentionPolicyValue _tao_enumerator) -{ - return strm << static_cast<CORBA::ULong> (_tao_enumerator); -} - -CORBA::Boolean operator>> (TAO_InputCDR & strm, PortableServer::ServantRetentionPolicyValue & _tao_enumerator) -{ - CORBA::ULong _tao_temp = 0; - CORBA::Boolean const _tao_success = strm >> _tao_temp; - - if (_tao_success) - { - _tao_enumerator = static_cast<PortableServer::ServantRetentionPolicyValue> (_tao_temp); - } - - return _tao_success; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantRetentionPolicyC.h b/TAO/tao/PortableServer/ServantRetentionPolicyC.h deleted file mode 100644 index eac58902cca..00000000000 --- a/TAO/tao/PortableServer/ServantRetentionPolicyC.h +++ /dev/null @@ -1,246 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_SERVANTRETENTIONPOLICYC_H_ -#define _TAO_IDL_SERVANTRETENTIONPOLICYC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/PolicyC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_enum/enum_ch.cpp:57 - - enum ServantRetentionPolicyValue - { - RETAIN, - NON_RETAIN - }; - -#if (TAO_HAS_MINIMUM_POA == 0) - typedef ServantRetentionPolicyValue &ServantRetentionPolicyValue_out; - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY__VAR_OUT_CH_) -#define _PORTABLESERVER_SERVANTRETENTIONPOLICY__VAR_OUT_CH_ - - class ServantRetentionPolicy; - typedef ServantRetentionPolicy *ServantRetentionPolicy_ptr; - - typedef - TAO_Objref_Var_T< - ServantRetentionPolicy - > - ServantRetentionPolicy_var; - - typedef - TAO_Objref_Out_T< - ServantRetentionPolicy - > - ServantRetentionPolicy_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY_CH_) -#define _PORTABLESERVER_SERVANTRETENTIONPOLICY_CH_ - - class TAO_PortableServer_Export ServantRetentionPolicy - : public virtual ::CORBA::Policy - { - public: - typedef ServantRetentionPolicy_ptr _ptr_type; - typedef ServantRetentionPolicy_var _var_type; - - // The static operations. - static ServantRetentionPolicy_ptr _duplicate (ServantRetentionPolicy_ptr obj); - - static void _tao_release (ServantRetentionPolicy_ptr obj); - - static ServantRetentionPolicy_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ServantRetentionPolicy_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ServantRetentionPolicy_ptr _nil (void) - { - return static_cast<ServantRetentionPolicy_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::ServantRetentionPolicyValue value ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Policy_ptr copy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void destroy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - ServantRetentionPolicy (void); - - virtual ~ServantRetentionPolicy (void); - - private: - // Private and unimplemented for concrete interfaces. - ServantRetentionPolicy (const ServantRetentionPolicy &); - - void operator= (const ServantRetentionPolicy &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -#if (TAO_HAS_MINIMUM_POA == 0) - -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY__TRAITS_) -#define _PORTABLESERVER_SERVANTRETENTIONPOLICY__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ServantRetentionPolicy> - { - static ::PortableServer::ServantRetentionPolicy_ptr duplicate ( - ::PortableServer::ServantRetentionPolicy_ptr - ); - static void release ( - ::PortableServer::ServantRetentionPolicy_ptr - ); - static ::PortableServer::ServantRetentionPolicy_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::ServantRetentionPolicy_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_ch.cpp:50 - -TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::ServantRetentionPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::ServantRetentionPolicyValue &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/PortableServer/ThreadPolicyA.cpp b/TAO/tao/PortableServer/ThreadPolicyA.cpp deleted file mode 100644 index db3bb5be86d..00000000000 --- a/TAO/tao/PortableServer/ThreadPolicyA.cpp +++ /dev/null @@ -1,122 +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 "tao/orbconf.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -#include "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Enum_TypeCode_Static.h" -#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" - -#include "tao/PortableServer/ThreadPolicyA.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#include "tao/AnyTypeCode/Any_Basic_Impl_T.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// TAO_IDL - Generated from -// be\be_visitor_typecode/enum_typecode.cpp:34 - -static char const * const _tao_enumerators_PortableServer_ThreadPolicyValue[] = - { - "ORB_CTRL_MODEL", - "SINGLE_THREAD_MODEL" - - }; - -static TAO::TypeCode::Enum<char const *, - char const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_PortableServer_ThreadPolicyValue ( - "IDL:omg.org/PortableServer/ThreadPolicyValue:2.3", - "ThreadPolicyValue", - _tao_enumerators_PortableServer_ThreadPolicyValue, - 2); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_ThreadPolicyValue = - &_tao_tc_PortableServer_ThreadPolicyValue; -} - - - -// 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_ThreadPolicy ( - CORBA::tk_local_interface, - "IDL:omg.org/PortableServer/ThreadPolicy:2.3", - "ThreadPolicy"); - -namespace PortableServer -{ - ::CORBA::TypeCode_ptr const _tc_ThreadPolicy = - &_tao_tc_PortableServer_ThreadPolicy; -} - - - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_cs.cpp:52 - -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ThreadPolicyValue _tao_elem - ) -{ - TAO::Any_Basic_Impl_T<PortableServer::ThreadPolicyValue>::insert ( - _tao_any, - PortableServer::_tc_ThreadPolicyValue, - _tao_elem - ); -} - -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::ThreadPolicyValue &_tao_elem - ) -{ - return - TAO::Any_Basic_Impl_T<PortableServer::ThreadPolicyValue>::extract ( - _tao_any, - PortableServer::_tc_ThreadPolicyValue, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - diff --git a/TAO/tao/PortableServer/ThreadPolicyA.h b/TAO/tao/PortableServer/ThreadPolicyA.h deleted file mode 100644 index d0b05bc3667..00000000000 --- a/TAO/tao/PortableServer/ThreadPolicyA.h +++ /dev/null @@ -1,77 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:754 - -#ifndef _TAO_IDL_THREADPOLICYA_H_ -#define _TAO_IDL_THREADPOLICYA_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/PortableServer/ThreadPolicyC.h" -#include "tao/AnyTypeCode/PolicyA.h" - -#if (TAO_HAS_MINIMUM_POA == 0) - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:59 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ThreadPolicyValue; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ThreadPolicy; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:86 - -} // module PortableServer - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ThreadPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ThreadPolicyValue &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ThreadPolicyC.cpp b/TAO/tao/PortableServer/ThreadPolicyC.cpp deleted file mode 100644 index 20e68c44774..00000000000 --- a/TAO/tao/PortableServer/ThreadPolicyC.cpp +++ /dev/null @@ -1,197 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:277 - - -#include "tao/PortableServer/ThreadPolicyC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:70 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for PortableServer::ThreadPolicy. - -PortableServer::ThreadPolicy_ptr -TAO::Objref_Traits<PortableServer::ThreadPolicy>::duplicate ( - PortableServer::ThreadPolicy_ptr p - ) -{ - return PortableServer::ThreadPolicy::_duplicate (p); -} - -void -TAO::Objref_Traits<PortableServer::ThreadPolicy>::release ( - PortableServer::ThreadPolicy_ptr p - ) -{ - ::CORBA::release (p); -} - -PortableServer::ThreadPolicy_ptr -TAO::Objref_Traits<PortableServer::ThreadPolicy>::nil (void) -{ - return PortableServer::ThreadPolicy::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<PortableServer::ThreadPolicy>::marshal ( - PortableServer::ThreadPolicy_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -PortableServer::ThreadPolicy::ThreadPolicy (void) -{} - -PortableServer::ThreadPolicy::~ThreadPolicy (void) -{} - -PortableServer::ThreadPolicy_ptr -PortableServer::ThreadPolicy::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ThreadPolicy::_duplicate ( - dynamic_cast<ThreadPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::ThreadPolicy_ptr -PortableServer::ThreadPolicy::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - return ThreadPolicy::_duplicate ( - dynamic_cast<ThreadPolicy_ptr> (_tao_objref) - ); -} - -PortableServer::ThreadPolicy_ptr -PortableServer::ThreadPolicy::_duplicate (ThreadPolicy_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -PortableServer::ThreadPolicy::_tao_release (ThreadPolicy_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -PortableServer::ThreadPolicy::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Policy:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/PortableServer/ThreadPolicy:2.3" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* PortableServer::ThreadPolicy::_interface_repository_id (void) const -{ - return "IDL:omg.org/PortableServer/ThreadPolicy:2.3"; -} - -CORBA::Boolean -PortableServer::ThreadPolicy::marshal (TAO_OutputCDR &) -{ - return false; -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_cs.cpp:51 - -CORBA::Boolean operator<< (TAO_OutputCDR & strm, PortableServer::ThreadPolicyValue _tao_enumerator) -{ - return strm << static_cast<CORBA::ULong> (_tao_enumerator); -} - -CORBA::Boolean operator>> (TAO_InputCDR & strm, PortableServer::ThreadPolicyValue & _tao_enumerator) -{ - CORBA::ULong _tao_temp = 0; - CORBA::Boolean const _tao_success = strm >> _tao_temp; - - if (_tao_success) - { - _tao_enumerator = static_cast<PortableServer::ThreadPolicyValue> (_tao_temp); - } - - return _tao_success; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ diff --git a/TAO/tao/PortableServer/ThreadPolicyC.h b/TAO/tao/PortableServer/ThreadPolicyC.h deleted file mode 100644 index e0f835a33b7..00000000000 --- a/TAO/tao/PortableServer/ThreadPolicyC.h +++ /dev/null @@ -1,246 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:154 - -#ifndef _TAO_IDL_THREADPOLICYC_H_ -#define _TAO_IDL_THREADPOLICYC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/portableserver_export.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/PolicyC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_PortableServer_Export - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace PortableServer -{ - - // TAO_IDL - Generated from - // be\be_visitor_enum/enum_ch.cpp:57 - - enum ThreadPolicyValue - { - ORB_CTRL_MODEL, - SINGLE_THREAD_MODEL - }; - -#if (TAO_HAS_MINIMUM_POA == 0) - typedef ThreadPolicyValue &ThreadPolicyValue_out; - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_PORTABLESERVER_THREADPOLICY__VAR_OUT_CH_) -#define _PORTABLESERVER_THREADPOLICY__VAR_OUT_CH_ - - class ThreadPolicy; - typedef ThreadPolicy *ThreadPolicy_ptr; - - typedef - TAO_Objref_Var_T< - ThreadPolicy - > - ThreadPolicy_var; - - typedef - TAO_Objref_Out_T< - ThreadPolicy - > - ThreadPolicy_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLESERVER_THREADPOLICY_CH_) -#define _PORTABLESERVER_THREADPOLICY_CH_ - - class TAO_PortableServer_Export ThreadPolicy - : public virtual ::CORBA::Policy - { - public: - typedef ThreadPolicy_ptr _ptr_type; - typedef ThreadPolicy_var _var_type; - - // The static operations. - static ThreadPolicy_ptr _duplicate (ThreadPolicy_ptr obj); - - static void _tao_release (ThreadPolicy_ptr obj); - - static ThreadPolicy_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ThreadPolicy_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static ThreadPolicy_ptr _nil (void) - { - return static_cast<ThreadPolicy_ptr> (0); - } - - - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::PortableServer::ThreadPolicyValue value ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Policy_ptr copy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual void destroy ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - ThreadPolicy (void); - - virtual ~ThreadPolicy (void); - - private: - // Private and unimplemented for concrete interfaces. - ThreadPolicy (const ThreadPolicy &); - - void operator= (const ThreadPolicy &); - }; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - -} // module PortableServer - - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -#if (TAO_HAS_MINIMUM_POA == 0) -// Traits specializations. -namespace TAO -{ - -#if !defined (_PORTABLESERVER_THREADPOLICY__TRAITS_) -#define _PORTABLESERVER_THREADPOLICY__TRAITS_ - - template<> - struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ThreadPolicy> - { - static ::PortableServer::ThreadPolicy_ptr duplicate ( - ::PortableServer::ThreadPolicy_ptr - ); - static void release ( - ::PortableServer::ThreadPolicy_ptr - ); - static ::PortableServer::ThreadPolicy_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableServer::ThreadPolicy_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_visitor_enum/cdr_op_ch.cpp:50 - -TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::ThreadPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::ThreadPolicyValue &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - -// TAO_IDL - Generated from -// be\be_codegen.cpp:1028 - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/TypeCodeFactory/TypeCodeFactoryA.cpp b/TAO/tao/TypeCodeFactory/TypeCodeFactoryA.cpp deleted file mode 100644 index 5bcf47ab3d8..00000000000 --- a/TAO/tao/TypeCodeFactory/TypeCodeFactoryA.cpp +++ /dev/null @@ -1,133 +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 "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/TypeCodeFactory/TypeCodeFactoryC.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_CORBA_TypeCodeFactory ( - CORBA::tk_local_interface, - "IDL:omg.org/CORBA/TypeCodeFactory:1.0", - "TypeCodeFactory"); - -namespace CORBA -{ - ::CORBA::TypeCode_ptr const _tc_TypeCodeFactory = - &_tao_tc_CORBA_TypeCodeFactory; -} - - - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<CORBA::TypeCodeFactory>::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<CORBA::TypeCodeFactory>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<CORBA::TypeCodeFactory>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::TypeCodeFactory_ptr _tao_elem - ) -{ - CORBA::TypeCodeFactory_ptr _tao_objptr = - CORBA::TypeCodeFactory::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::TypeCodeFactory_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<CORBA::TypeCodeFactory>::insert ( - _tao_any, - CORBA::TypeCodeFactory::_tao_any_destructor, - CORBA::_tc_TypeCodeFactory, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - CORBA::TypeCodeFactory_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<CORBA::TypeCodeFactory>::extract ( - _tao_any, - CORBA::TypeCodeFactory::_tao_any_destructor, - CORBA::_tc_TypeCodeFactory, - _tao_elem - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.cpp b/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.cpp deleted file mode 100644 index 75c2d968c94..00000000000 --- a/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.cpp +++ /dev/null @@ -1,192 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:291 - - -#include "tao/TypeCodeFactory/TypeCodeFactoryC.h" -#include "tao/CDR.h" -#include "ace/OS_NS_string.h" - -#if defined (__BORLANDC__) -#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig -#endif /* __BORLANDC__ */ - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:69 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for CORBA::TypeCodeFactory. - -CORBA::TypeCodeFactory_ptr -TAO::Objref_Traits<CORBA::TypeCodeFactory>::duplicate ( - CORBA::TypeCodeFactory_ptr p - ) -{ - return CORBA::TypeCodeFactory::_duplicate (p); -} - -void -TAO::Objref_Traits<CORBA::TypeCodeFactory>::release ( - CORBA::TypeCodeFactory_ptr p - ) -{ - ::CORBA::release (p); -} - -CORBA::TypeCodeFactory_ptr -TAO::Objref_Traits<CORBA::TypeCodeFactory>::nil (void) -{ - return CORBA::TypeCodeFactory::_nil (); -} - -CORBA::Boolean -TAO::Objref_Traits<CORBA::TypeCodeFactory>::marshal ( - CORBA::TypeCodeFactory_ptr p, - TAO_OutputCDR & cdr - ) -{ - return CORBA::Object::marshal (p, cdr); -} - -CORBA::TypeCodeFactory::TypeCodeFactory (void) -{} - -CORBA::TypeCodeFactory::~TypeCodeFactory (void) -{} - -void -CORBA::TypeCodeFactory::_tao_any_destructor (void *_tao_void_pointer) -{ - TypeCodeFactory *_tao_tmp_pointer = - static_cast<TypeCodeFactory *> (_tao_void_pointer); - ::CORBA::release (_tao_tmp_pointer); -} - -CORBA::TypeCodeFactory_ptr -CORBA::TypeCodeFactory::_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if (CORBA::is_nil (_tao_objref)) - { - return TypeCodeFactory::_nil (); - } - - TypeCodeFactory_ptr proxy = - dynamic_cast<TypeCodeFactory_ptr> (_tao_objref); - - return TypeCodeFactory::_duplicate (proxy); -} - -CORBA::TypeCodeFactory_ptr -CORBA::TypeCodeFactory::_unchecked_narrow ( - CORBA::Object_ptr _tao_objref - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if (CORBA::is_nil (_tao_objref)) - { - return TypeCodeFactory::_nil (); - } - - TypeCodeFactory_ptr proxy = - dynamic_cast<TypeCodeFactory_ptr> (_tao_objref); - - return TypeCodeFactory::_duplicate (proxy); -} - -CORBA::TypeCodeFactory_ptr -CORBA::TypeCodeFactory::_duplicate (TypeCodeFactory_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -CORBA::TypeCodeFactory::_tao_release (TypeCodeFactory_ptr obj) -{ - ::CORBA::release (obj); -} - -CORBA::Boolean -CORBA::TypeCodeFactory::_is_a ( - const char *value - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/TypeCodeFactory:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/LocalObject:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return false; - } -} - -const char* CORBA::TypeCodeFactory::_interface_repository_id (void) const -{ - return "IDL:omg.org/CORBA/TypeCodeFactory:1.0"; -} - -CORBA::Boolean -CORBA::TypeCodeFactory::marshal (TAO_OutputCDR &) -{ - return false; -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.h b/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.h deleted file mode 100644 index 8548e8e4cee..00000000000 --- a/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.h +++ /dev/null @@ -1,473 +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 - -// TAO_IDL - Generated from -// be\be_codegen.cpp:153 - -#ifndef _TAO_IDL_ORIG_TYPECODEFACTORYC_H_ -#define _TAO_IDL_ORIG_TYPECODEFACTORYC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/TypeCodeFactory/typecodefactory_export.h" -#include "tao/AnyTypeCode/TypeCode.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Object.h" -#include "tao/Objref_VarOut_T.h" - -#include "tao/IFR_Client/IFR_ExtendedC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_TypeCodeFactory_Export - -#if defined(_MSC_VER) -#pragma warning(push) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option push -w-rvl -w-rch -w-ccc -w-inl -#endif /* __BORLANDC__ */ - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:48 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace CORBA -{ - - // TAO_IDL - Generated from - // be\be_interface.cpp:598 - -#if !defined (_CORBA_TYPECODEFACTORY__VAR_OUT_CH_) -#define _CORBA_TYPECODEFACTORY__VAR_OUT_CH_ - - class TypeCodeFactory; - typedef TypeCodeFactory *TypeCodeFactory_ptr; - - typedef - TAO_Objref_Var_T< - TypeCodeFactory - > - TypeCodeFactory_var; - - typedef - TAO_Objref_Out_T< - TypeCodeFactory - > - TypeCodeFactory_out; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_CORBA_TYPECODEFACTORY_CH_) -#define _CORBA_TYPECODEFACTORY_CH_ - - class TAO_TypeCodeFactory_Export TypeCodeFactory - : public virtual CORBA::Object - { - public: - typedef TypeCodeFactory_ptr _ptr_type; - typedef TypeCodeFactory_var _var_type; - - // The static operations. - static TypeCodeFactory_ptr _duplicate (TypeCodeFactory_ptr obj); - - static void _tao_release (TypeCodeFactory_ptr obj); - - static TypeCodeFactory_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static TypeCodeFactory_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static TypeCodeFactory_ptr _nil (void) - { - return static_cast<TypeCodeFactory_ptr> (0); - } - - static void _tao_any_destructor (void *); - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_struct_tc ( - const char * id, - const char * name, - const ::CORBA::StructMemberSeq & members - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_union_tc ( - const char * id, - const char * name, - ::CORBA::TypeCode_ptr discriminator_type, - const ::CORBA::UnionMemberSeq & members - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_enum_tc ( - const char * id, - const char * name, - const ::CORBA::EnumMemberSeq & members - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_alias_tc ( - const char * id, - const char * name, - ::CORBA::TypeCode_ptr original_type - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_exception_tc ( - const char * id, - const char * name, - const ::CORBA::StructMemberSeq & members - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_interface_tc ( - const char * id, - const char * name - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_string_tc ( - ::CORBA::ULong bound - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_wstring_tc ( - ::CORBA::ULong bound - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_fixed_tc ( - ::CORBA::UShort digits, - ::CORBA::UShort scale - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_sequence_tc ( - ::CORBA::ULong bound, - ::CORBA::TypeCode_ptr element_type - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_array_tc ( - ::CORBA::ULong length, - ::CORBA::TypeCode_ptr element_type - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_value_tc ( - const char * id, - const char * name, - ::CORBA::ValueModifier type_modifier, - ::CORBA::TypeCode_ptr concrete_base, - const ::CORBA::ValueMemberSeq & members - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_value_box_tc ( - const char * id, - const char * name, - ::CORBA::TypeCode_ptr boxed_type - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_native_tc ( - const char * id, - const char * name - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_recursive_tc ( - const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_abstract_interface_tc ( - const char * id, - const char * name - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_local_interface_tc ( - const char * id, - const char * name - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_component_tc ( - const char * id, - const char * name - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_home_tc ( - const char * id, - const char * name - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::TypeCode_ptr create_event_tc ( - const char * id, - const char * name, - ::CORBA::ValueModifier type_modifier, - ::CORBA::TypeCode_ptr concrete_base, - const ::CORBA::ValueMemberSeq & members - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - TypeCodeFactory (void); - - virtual ~TypeCodeFactory (void); - - private: - // Private and unimplemented for concrete interfaces. - TypeCodeFactory (const TypeCodeFactory &); - - void operator= (const TypeCodeFactory &); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_TypeCodeFactory_Export ::CORBA::TypeCode_ptr const _tc_TypeCodeFactory; - -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 - -} // module CORBA - -// TAO_IDL - Generated from -// be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ - -#if !defined (_CORBA_TYPECODEFACTORY__TRAITS_CH_) -#define _CORBA_TYPECODEFACTORY__TRAITS_CH_ - - template<> - struct TAO_TypeCodeFactory_Export Objref_Traits< ::CORBA::TypeCodeFactory> - { - static ::CORBA::TypeCodeFactory_ptr duplicate ( - ::CORBA::TypeCodeFactory_ptr - ); - static void release ( - ::CORBA::TypeCodeFactory_ptr - ); - static ::CORBA::TypeCodeFactory_ptr nil (void); - static CORBA::Boolean marshal ( - ::CORBA::TypeCodeFactory_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_TypeCodeFactory_Export void operator<<= (CORBA::Any &, CORBA::TypeCodeFactory_ptr); // copying -TAO_TypeCodeFactory_Export void operator<<= (CORBA::Any &, CORBA::TypeCodeFactory_ptr *); // non-copying -TAO_TypeCodeFactory_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::TypeCodeFactory_ptr &); - -// TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/TAO/tao/Valuetype/StringValueC.cpp b/TAO/tao/Valuetype/StringValueC.cpp deleted file mode 100644 index 848cf644b2e..00000000000 --- a/TAO/tao/Valuetype/StringValueC.cpp +++ /dev/null @@ -1,416 +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 - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:291 - - -#include "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/String_TypeCode_Static.h" -#include "tao/AnyTypeCode/Value_TypeCode_Static.h" -#include "tao/AnyTypeCode/TypeCode_Value_Field.h" -#include "tao/AnyTypeCode/Recursive_Type_TypeCode.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" - -#include "tao/Valuetype/StringValueC.h" -#include "tao/Valuetype/ValueFactory.h" -#include "tao/CDR.h" - -#if defined (__BORLANDC__) -#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig -#endif /* __BORLANDC__ */ - -#if !defined (__ACE_INLINE__) -#include "tao/Valuetype/StringValueC.inl" -#endif /* !defined INLINE */ - -// TAO_IDL - Generated from -// .\be\be_visitor_arg_traits.cpp:70 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - -static TAO::TypeCode::Alias<char const *, - CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_CORBA_StringValue ( - CORBA::tk_value_box, - "IDL:omg.org/CORBA/StringValue:1.0", - "StringValue", - &CORBA::_tc_string); - -namespace CORBA -{ - ::CORBA::TypeCode_ptr const _tc_StringValue = - &_tao_tc_CORBA_StringValue; -} - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_cs.cpp:63 - -CORBA::StringValue::~StringValue (void) -{ -} - -CORBA::StringValue * -CORBA::StringValue::_downcast (CORBA::ValueBase *v) -{ - return dynamic_cast< ::CORBA::StringValue * > (v); -} - - -CORBA::ValueBase * -CORBA::StringValue::_copy_value (void) -{ - CORBA::ValueBase *result = 0; - ACE_NEW_RETURN ( - result, - StringValue (*this), - 0); - - return result; -} - -const char * -CORBA::StringValue::_tao_obv_repository_id (void) const -{ - return this->_tao_obv_static_repository_id (); -} - -void -CORBA::StringValue::_tao_obv_truncatable_repo_ids (Repository_Id_List& ids) const -{ - ids.push_back (this->_tao_obv_static_repository_id ()); -} - -CORBA::Boolean -CORBA::StringValue::_tao_unmarshal ( - TAO_InputCDR &strm, - StringValue *&vb_object - ) -{ - CORBA::Boolean is_null_object; - if (CORBA::ValueBase::_tao_validate_box_type ( - strm, - StringValue::_tao_obv_static_repository_id (), - is_null_object - ) == 0) - { - return 0; - } - - vb_object = 0; - if (is_null_object) - { - return 1; - } - - ACE_NEW_RETURN ( - vb_object, - StringValue, - 0); - - return (strm >> vb_object->_pd_value); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - -static TAO::TypeCode::Alias<char const *, - CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_CORBA_WStringValue ( - CORBA::tk_value_box, - "IDL:omg.org/CORBA/WStringValue:1.0", - "WStringValue", - &CORBA::_tc_wstring); - -namespace CORBA -{ - ::CORBA::TypeCode_ptr const _tc_WStringValue = - &_tao_tc_CORBA_WStringValue; -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_cs.cpp:63 -CORBA::WStringValue::~WStringValue (void) -{ -} - -CORBA::WStringValue * -CORBA::WStringValue::_downcast (CORBA::ValueBase *v) -{ - return dynamic_cast< ::CORBA::WStringValue * > (v); -} - - -CORBA::ValueBase * -CORBA::WStringValue::_copy_value (void) -{ - CORBA::ValueBase *result = 0; - ACE_NEW_RETURN ( - result, - WStringValue (*this), - 0); - - return result; -} - -const char * -CORBA::WStringValue::_tao_obv_repository_id (void) const -{ - return this->_tao_obv_static_repository_id (); -} - -void -CORBA::WStringValue::_tao_obv_truncatable_repo_ids (Repository_Id_List& ids) const -{ - ids.push_back (this->_tao_obv_static_repository_id ()); -} - -CORBA::Boolean -CORBA::WStringValue::_tao_unmarshal ( - TAO_InputCDR &strm, - WStringValue *&vb_object - ) -{ - CORBA::Boolean is_null_object; - if (CORBA::ValueBase::_tao_validate_box_type ( - strm, - WStringValue::_tao_obv_static_repository_id (), - is_null_object - ) == 0) - { - return 0; - } - - vb_object = 0; - if (is_null_object) - { - return 1; - } - - ACE_NEW_RETURN ( - vb_object, - WStringValue, - 0); - - return (strm >> vb_object->_pd_value); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/any_op_cs.cpp:56 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<CORBA::StringValue>::to_value ( - CORBA::ValueBase *&_tao_elem - ) const - { - CORBA::add_ref (this->value_); - _tao_elem = this->value_; - return 1; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::StringValue *_tao_elem - ) -{ - CORBA::add_ref (_tao_elem); - _tao_any <<= &_tao_elem; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::StringValue **_tao_elem - ) -{ - TAO::Any_Impl_T<CORBA::StringValue>::insert ( - _tao_any, - CORBA::StringValue::_tao_any_destructor, - CORBA::_tc_StringValue, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - CORBA::StringValue *&_tao_elem - ) -{ - return - TAO::Any_Impl_T<CORBA::StringValue>::extract ( - _tao_any, - CORBA::StringValue::_tao_any_destructor, - CORBA::_tc_StringValue, - _tao_elem - ); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/any_op_cs.cpp:56 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<CORBA::WStringValue>::to_value ( - CORBA::ValueBase *&_tao_elem - ) const - { - CORBA::add_ref (this->value_); - _tao_elem = this->value_; - return 1; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::WStringValue *_tao_elem - ) -{ - CORBA::add_ref (_tao_elem); - _tao_any <<= &_tao_elem; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::WStringValue **_tao_elem - ) -{ - TAO::Any_Impl_T<CORBA::WStringValue>::insert ( - _tao_any, - CORBA::WStringValue::_tao_any_destructor, - CORBA::_tc_WStringValue, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - CORBA::WStringValue *&_tao_elem - ) -{ - return - TAO::Any_Impl_T<CORBA::WStringValue>::extract ( - _tao_any, - CORBA::WStringValue::_tao_any_destructor, - CORBA::_tc_WStringValue, - _tao_elem - ); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/cdr_op_cs.cpp:52 - -CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - CORBA::StringValue *_tao_valuebox - ) -{ - return - CORBA::ValueBase::_tao_marshal ( - strm, - _tao_valuebox, - reinterpret_cast<ptrdiff_t> (&CORBA::StringValue::_downcast) - ); -} - -CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - CORBA::StringValue *&_tao_valuebox - ) -{ - return CORBA::StringValue::_tao_unmarshal (strm, _tao_valuebox); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/cdr_op_cs.cpp:52 - -CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - CORBA::WStringValue *_tao_valuebox - ) -{ - return - CORBA::ValueBase::_tao_marshal ( - strm, - _tao_valuebox, - reinterpret_cast<ptrdiff_t> (&CORBA::WStringValue::_downcast) - ); -} - -CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - CORBA::WStringValue *&_tao_valuebox - ) -{ - return CORBA::WStringValue::_tao_unmarshal (strm, _tao_valuebox); -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/Valuetype/StringValueC.h b/TAO/tao/Valuetype/StringValueC.h deleted file mode 100644 index fa8d1e68cab..00000000000 --- a/TAO/tao/Valuetype/StringValueC.h +++ /dev/null @@ -1,330 +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 - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:153 - -#ifndef _TAO_IDL_STRINGVALUEC_H_ -#define _TAO_IDL_STRINGVALUEC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/Valuetype/valuetype_export.h" -#include "tao/Valuetype/ValueBase.h" -#include "tao/CDR.h" -#include "tao/Valuetype/Valuetype_Adapter_Impl.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Valuetype/Value_VarOut_T.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_Valuetype_Export - -#if defined(_MSC_VER) -#pragma warning(push) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option push -w-rvl -w-rch -w-ccc -w-inl -#endif /* __BORLANDC__ */ - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:48 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace CORBA -{ - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:52 - -#if !defined (_CORBA_STRINGVALUE_CH_) -#define _CORBA_STRINGVALUE_CH_ - - class StringValue; - - typedef - TAO_Value_Var_T< - StringValue - > - StringValue_var; - - typedef - TAO_Value_Out_T< - StringValue - > - StringValue_out; - - class TAO_Valuetype_Export StringValue - : public virtual CORBA::DefaultValueRefCountBase - { - public: - - static StringValue* _downcast (CORBA::ValueBase *); - CORBA::ValueBase * _copy_value (void); - - virtual const char* _tao_obv_repository_id (void) const; - virtual void _tao_obv_truncatable_repo_ids (Repository_Id_List &) const; - - static const char* _tao_obv_static_repository_id (void); - - static CORBA::Boolean _tao_unmarshal ( - TAO_InputCDR &, - StringValue *& - ); - - - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:403 - - // constructors - StringValue (void); - StringValue (CORBA::Char * val); - StringValue (const CORBA::Char * val); - StringValue (const CORBA::String_var& var); - StringValue (const StringValue& val); - // assignment operators - StringValue& operator= (CORBA::Char * val); - - StringValue& operator= (const CORBA::Char * val); - - StringValue& operator= (const CORBA::String_var& var); - - // accessor - const CORBA::Char * _value (void) const; - - // modifiers - void _value (CORBA::Char * val); - void _value (const CORBA::Char * val); - void _value (const CORBA::String_var& var); - - // access to the boxed value for method signatures - const CORBA::Char * _boxed_in (void) const; - CORBA::Char *& _boxed_inout (void); - CORBA::Char *& _boxed_out (void); - // allows access and modification using a slot. - char & operator[] (CORBA::ULong slot); - - // allows only accessing thru a slot. - char operator[] (CORBA::ULong slot) const; - - private: - CORBA::String_var _pd_value; - - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:115 - - protected: - virtual ~StringValue (void); - virtual CORBA::Boolean _tao_marshal_v (TAO_OutputCDR &) const; - virtual CORBA::Boolean _tao_unmarshal_v (TAO_InputCDR &); - virtual CORBA::Boolean _tao_match_formal_type (ptrdiff_t ) const; - - private: - void operator= (const StringValue & val); - - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_Valuetype_Export ::CORBA::TypeCode_ptr const _tc_StringValue; - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:52 - -#if !defined (_CORBA_WSTRINGVALUE_CH_) -#define _CORBA_WSTRINGVALUE_CH_ - - class WStringValue; - - typedef - TAO_Value_Var_T< - WStringValue - > - WStringValue_var; - - typedef - TAO_Value_Out_T< - WStringValue - > - WStringValue_out; - - class TAO_Valuetype_Export WStringValue - : public virtual CORBA::DefaultValueRefCountBase - { - public: - - static WStringValue* _downcast (CORBA::ValueBase *); - CORBA::ValueBase * _copy_value (void); - - virtual const char* _tao_obv_repository_id (void) const; - virtual void _tao_obv_truncatable_repo_ids (Repository_Id_List &) const; - - static const char* _tao_obv_static_repository_id (void); - - static CORBA::Boolean _tao_unmarshal ( - TAO_InputCDR &, - WStringValue *& - ); - - - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:403 - - // constructors - WStringValue (void); - WStringValue (CORBA::WChar * val); - WStringValue (const CORBA::WChar * val); - WStringValue (const CORBA::WString_var& var); - WStringValue (const WStringValue& val); - // assignment operators - WStringValue& operator= (CORBA::WChar * val); - - WStringValue& operator= (const CORBA::WChar * val); - - WStringValue& operator= (const CORBA::WString_var& var); - - // accessor - const CORBA::WChar * _value (void) const; - - // modifiers - void _value (CORBA::WChar * val); - void _value (const CORBA::WChar * val); - void _value (const CORBA::WString_var& var); - - // access to the boxed value for method signatures - const CORBA::WChar * _boxed_in (void) const; - CORBA::WChar *& _boxed_inout (void); - CORBA::WChar *& _boxed_out (void); - // allows access and modification using a slot. - CORBA::WChar & operator[] (CORBA::ULong slot); - - // allows only accessing thru a slot. - CORBA::WChar operator[] (CORBA::ULong slot) const; - - private: - CORBA::WString_var _pd_value; - - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:115 - - protected: - virtual ~WStringValue (void); - virtual CORBA::Boolean _tao_marshal_v (TAO_OutputCDR &) const; - virtual CORBA::Boolean _tao_unmarshal_v (TAO_InputCDR &); - virtual CORBA::Boolean _tao_match_formal_type (ptrdiff_t ) const; - - private: - void operator= (const WStringValue & val); - - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_Valuetype_Export ::CORBA::TypeCode_ptr const _tc_WStringValue; - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:66 - -} // module CORBA - -// TAO_IDL - Generated from -// .\be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ -} - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/any_op_ch.cpp:53 - -TAO_Valuetype_Export void operator<<= (CORBA::Any &, CORBA::StringValue *); // copying -TAO_Valuetype_Export void operator<<= (CORBA::Any &, CORBA::StringValue **); // non-copying -TAO_Valuetype_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::StringValue *&); - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/any_op_ch.cpp:53 - -TAO_Valuetype_Export void operator<<= (CORBA::Any &, CORBA::WStringValue *); // copying -TAO_Valuetype_Export void operator<<= (CORBA::Any &, CORBA::WStringValue **); // non-copying -TAO_Valuetype_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::WStringValue *&); - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/cdr_op_ch.cpp:50 - -TAO_Valuetype_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::StringValue *); -TAO_Valuetype_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::StringValue *&); - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/cdr_op_ch.cpp:50 - -TAO_Valuetype_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::WStringValue *); -TAO_Valuetype_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::WStringValue *&); - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:955 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#if defined (__ACE_INLINE__) -#include "tao/Valuetype/StringValueC.inl" -#endif /* defined INLINE */ - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/Valuetype/StringValueC.inl b/TAO/tao/Valuetype/StringValueC.inl deleted file mode 100644 index a7b1df82545..00000000000 --- a/TAO/tao/Valuetype/StringValueC.inl +++ /dev/null @@ -1,303 +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 - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ci.cpp:332 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_INLINE -CORBA::StringValue::StringValue (void) -{} - -ACE_INLINE -CORBA::StringValue::StringValue (CORBA::Char * val) -{ - this->_pd_value = val; -} - -ACE_INLINE -CORBA::StringValue::StringValue (const CORBA::StringValue& val) - : ::CORBA::ValueBase (val), - ::CORBA::DefaultValueRefCountBase (val) -{ - this->_pd_value = val._pd_value; -} - -ACE_INLINE CORBA::StringValue & -CORBA::StringValue::operator= (CORBA::Char * val) -{ - this->_pd_value = val; - return *this; -} - -ACE_INLINE -CORBA::StringValue::StringValue (const CORBA::Char * val) -{ - this->_pd_value = val; -} - -ACE_INLINE -CORBA::StringValue::StringValue (const CORBA::String_var& var) -{ - this->_pd_value = var; -} - -ACE_INLINE CORBA::StringValue & -CORBA::StringValue::operator= (const CORBA::Char * val) -{ - this->_pd_value = val; - return *this; -} - -ACE_INLINE CORBA::StringValue & -CORBA::StringValue::operator= (const CORBA::String_var& var) -{ - this->_pd_value = var; - return *this; -} - -ACE_INLINE const CORBA::Char * -CORBA::StringValue::_value (void) const -{ - return this->_pd_value.in (); -} - -ACE_INLINE void -CORBA::StringValue::_value (CORBA::Char * val) -{ - this->_pd_value = val; -} - -ACE_INLINE void -CORBA::StringValue::_value (const CORBA::Char * val) -{ - this->_pd_value = val; -} - -ACE_INLINE void -CORBA::StringValue::_value (const CORBA::String_var& var) -{ - this->_pd_value = var; -} - -ACE_INLINE const CORBA::Char * -CORBA::StringValue::_boxed_in (void) const -{ - return this->_pd_value.in (); -} - -ACE_INLINE CORBA::Char *& -CORBA::StringValue::_boxed_inout (void) -{ - return this->_pd_value.inout (); -} - -ACE_INLINE CORBA::Char *& -CORBA::StringValue::_boxed_out (void) -{ - return this->_pd_value.out (); -} - -ACE_INLINE char & -CORBA::StringValue::operator[] (CORBA::ULong slot) -{ - return this->_pd_value[slot]; -} - -ACE_INLINE char -CORBA::StringValue::operator[] (CORBA::ULong slot) const -{ - return this->_pd_value[slot]; -} - -ACE_INLINE CORBA::Boolean -CORBA::StringValue::_tao_marshal_v (TAO_OutputCDR & strm) const -{ - return (strm << this->_pd_value); -} - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ci.cpp:60 -ACE_INLINE const char* -CORBA::StringValue::_tao_obv_static_repository_id () -{ - return "IDL:omg.org/CORBA/StringValue:1.0"; -} - -ACE_INLINE CORBA::Boolean -CORBA::StringValue::_tao_unmarshal_v (TAO_InputCDR & ) -{ - return 1; -} - -ACE_INLINE CORBA::Boolean -CORBA::StringValue::_tao_match_formal_type (ptrdiff_t formal_type_id) const -{ - return formal_type_id == - reinterpret_cast<ptrdiff_t> (&CORBA::StringValue::_downcast); -} - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ci.cpp:332 - -ACE_INLINE -CORBA::WStringValue::WStringValue (void) -{} - -ACE_INLINE -CORBA::WStringValue::WStringValue (CORBA::WChar * val) -{ - this->_pd_value = val; -} - -ACE_INLINE -CORBA::WStringValue::WStringValue (const CORBA::WStringValue& val) - : ::CORBA::ValueBase (val), - ::CORBA::DefaultValueRefCountBase (val) -{ - this->_pd_value = val._pd_value; -} - -ACE_INLINE CORBA::WStringValue & -CORBA::WStringValue::operator= (CORBA::WChar * val) -{ - this->_pd_value = val; - return *this; -} - -ACE_INLINE -CORBA::WStringValue::WStringValue (const CORBA::WChar * val) -{ - this->_pd_value = val; -} - -ACE_INLINE -CORBA::WStringValue::WStringValue (const CORBA::WString_var& var) -{ - this->_pd_value = var; -} - -ACE_INLINE CORBA::WStringValue & -CORBA::WStringValue::operator= (const CORBA::WChar * val) -{ - this->_pd_value = val; - return *this; -} - -ACE_INLINE CORBA::WStringValue & -CORBA::WStringValue::operator= (const CORBA::WString_var& var) -{ - this->_pd_value = var; - return *this; -} - -ACE_INLINE const CORBA::WChar * -CORBA::WStringValue::_value (void) const -{ - return this->_pd_value.in (); -} - -ACE_INLINE void -CORBA::WStringValue::_value (CORBA::WChar * val) -{ - this->_pd_value = val; -} - -ACE_INLINE void -CORBA::WStringValue::_value (const CORBA::WChar * val) -{ - this->_pd_value = val; -} - -ACE_INLINE void -CORBA::WStringValue::_value (const CORBA::WString_var& var) -{ - this->_pd_value = var; -} - -ACE_INLINE const CORBA::WChar * -CORBA::WStringValue::_boxed_in (void) const -{ - return this->_pd_value.in (); -} - -ACE_INLINE CORBA::WChar *& -CORBA::WStringValue::_boxed_inout (void) -{ - return this->_pd_value.inout (); -} - -ACE_INLINE CORBA::WChar *& -CORBA::WStringValue::_boxed_out (void) -{ - return this->_pd_value.out (); -} - -ACE_INLINE CORBA::WChar & -CORBA::WStringValue::operator[] (CORBA::ULong slot) -{ - return this->_pd_value[slot]; -} - -ACE_INLINE CORBA::WChar -CORBA::WStringValue::operator[] (CORBA::ULong slot) const -{ - return this->_pd_value[slot]; -} - -ACE_INLINE CORBA::Boolean -CORBA::WStringValue::_tao_marshal_v (TAO_OutputCDR & strm) const -{ - return (strm << this->_pd_value); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ci.cpp:60 -ACE_INLINE const char* -CORBA::WStringValue::_tao_obv_static_repository_id () -{ - return "IDL:omg.org/CORBA/WStringValue:1.0"; -} - -ACE_INLINE CORBA::Boolean -CORBA::WStringValue::_tao_unmarshal_v (TAO_InputCDR & ) -{ - return 1; -} - -ACE_INLINE CORBA::Boolean -CORBA::WStringValue::_tao_match_formal_type (ptrdiff_t formal_type_id) const -{ - return formal_type_id == - reinterpret_cast<ptrdiff_t> (&CORBA::WStringValue::_downcast); -} - -TAO_END_VERSIONED_NAMESPACE_DECL |