diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-08-16 19:53:02 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-08-16 19:53:02 +0000 |
commit | 084f11012bd608c15b9d5ca840d0bff054959a68 (patch) | |
tree | 6108293a661bcb0a081ddefcac855cc633f1ecd2 | |
parent | 974ea490d561133a993f92c7c8599e8299b260d4 (diff) | |
download | ATCD-084f11012bd608c15b9d5ca840d0bff054959a68.tar.gz |
ChangeLogTag: Mon Aug 15 10:48:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
59 files changed, 1574 insertions, 2426 deletions
diff --git a/TAO/tao/PortableServer/AdapterActivatorA.cpp b/TAO/tao/PortableServer/AdapterActivatorA.cpp index e8b799f99ea..919f249a06a 100644 --- a/TAO/tao/PortableServer/AdapterActivatorA.cpp +++ b/TAO/tao/PortableServer/AdapterActivatorA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "AdapterActivatorC.h" +#include "AdapterActivatorA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -53,81 +53,4 @@ namespace PortableServer &_tao_tc_PortableServer_AdapterActivator; } - - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::AdapterActivator>::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::AdapterActivator>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::AdapterActivator>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::AdapterActivator_ptr _tao_elem - ) -{ - PortableServer::AdapterActivator_ptr _tao_objptr = - PortableServer::AdapterActivator::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::AdapterActivator_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::AdapterActivator>::insert ( - _tao_any, - PortableServer::AdapterActivator::_tao_any_destructor, - PortableServer::_tc_AdapterActivator, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::AdapterActivator_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::AdapterActivator>::extract ( - _tao_any, - PortableServer::AdapterActivator::_tao_any_destructor, - PortableServer::_tc_AdapterActivator, - _tao_elem - ); -} - #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/AdapterActivatorA.h b/TAO/tao/PortableServer/AdapterActivatorA.h new file mode 100644 index 00000000000..b67fd60fcae --- /dev/null +++ b/TAO/tao/PortableServer/AdapterActivatorA.h @@ -0,0 +1,59 @@ +// -*- 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 "portableserver_export.h" +#include "AdapterActivatorC.h" +#include "tao/PortableServer/PS_ForwardA.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +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 + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/AdapterActivatorC.cpp b/TAO/tao/PortableServer/AdapterActivatorC.cpp index 9e68f0c7308..14a2fbb7712 100644 --- a/TAO/tao/PortableServer/AdapterActivatorC.cpp +++ b/TAO/tao/PortableServer/AdapterActivatorC.cpp @@ -26,17 +26,13 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "AdapterActivatorC.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:70 @@ -90,14 +86,6 @@ PortableServer::AdapterActivator::AdapterActivator (void) PortableServer::AdapterActivator::~AdapterActivator (void) {} -void -PortableServer::AdapterActivator::_tao_any_destructor (void *_tao_void_pointer) -{ - AdapterActivator *_tao_tmp_pointer = - static_cast<AdapterActivator *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::AdapterActivator_ptr PortableServer::AdapterActivator::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/AdapterActivatorC.h b/TAO/tao/PortableServer/AdapterActivatorC.h index 8eb1558e581..f2f020051a9 100644 --- a/TAO/tao/PortableServer/AdapterActivatorC.h +++ b/TAO/tao/PortableServer/AdapterActivatorC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_ADAPTERACTIVATORC_H_ -#define _TAO_IDL_ORIG_ADAPTERACTIVATORC_H_ +#ifndef _TAO_IDL_ADAPTERACTIVATORC_H_ +#define _TAO_IDL_ADAPTERACTIVATORC_H_ #include /**/ "ace/pre.h" @@ -54,17 +54,8 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 #if (TAO_HAS_MINIMUM_POA == 0) @@ -126,7 +117,7 @@ namespace PortableServer return static_cast<AdapterActivator_ptr> (0); } - static void _tao_any_destructor (void *); + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 @@ -165,14 +156,9 @@ namespace PortableServer }; #endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_AdapterActivator; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer @@ -183,8 +169,8 @@ namespace PortableServer namespace TAO { -#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR__TRAITS_CH_) -#define _PORTABLESERVER_ADAPTERACTIVATOR__TRAITS_CH_ +#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR__TRAITS_) +#define _PORTABLESERVER_ADAPTERACTIVATOR__TRAITS_ template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::AdapterActivator> @@ -205,25 +191,10 @@ namespace TAO #endif /* end #if !defined */ } -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::AdapterActivator_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::AdapterActivator_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::AdapterActivator_ptr &); - #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ // TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/ForwardRequestA.cpp b/TAO/tao/PortableServer/ForwardRequestA.cpp index 739e1fa0f9a..94b7aa7216f 100644 --- a/TAO/tao/PortableServer/ForwardRequestA.cpp +++ b/TAO/tao/PortableServer/ForwardRequestA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "ForwardRequestC.h" +#include "ForwardRequestA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -35,13 +35,19 @@ #include "tao/AnyTypeCode/Any.h" #include "tao/AnyTypeCode/Any_Dual_Impl_T.h" +// 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 *, @@ -53,7 +59,7 @@ static TAO::TypeCode::Struct<char const *, "ForwardRequest", _tao_fields_PortableServer_ForwardRequest, 1); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_ForwardRequest = @@ -64,7 +70,7 @@ namespace PortableServer #if (TAO_HAS_MINIMUM_POA == 0) -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/any_op_cs.cpp:50 namespace TAO @@ -76,12 +82,12 @@ namespace TAO ) { CORBA::String_var id; - + if (!(cdr >> id.out ())) { return false; } - + ACE_TRY_NEW_ENV { this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); @@ -92,7 +98,7 @@ namespace TAO return false; } ACE_ENDTRY; - + return true; } } diff --git a/TAO/tao/PortableServer/ForwardRequestA.h b/TAO/tao/PortableServer/ForwardRequestA.h new file mode 100644 index 00000000000..11f8a66ffd8 --- /dev/null +++ b/TAO/tao/PortableServer/ForwardRequestA.h @@ -0,0 +1,66 @@ +// -*- 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 "portableserver_export.h" +#include "ForwardRequestC.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +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 *&); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ForwardRequestC.cpp b/TAO/tao/PortableServer/ForwardRequestC.cpp index 1389d40971e..c062858725e 100644 --- a/TAO/tao/PortableServer/ForwardRequestC.cpp +++ b/TAO/tao/PortableServer/ForwardRequestC.cpp @@ -26,7 +26,7 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "ForwardRequestC.h" @@ -34,10 +34,6 @@ #include "tao/SystemException.h" #include "ace/OS_NS_string.h" -#if defined (__BORLANDC__) -#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig -#endif /* __BORLANDC__ */ - #if (TAO_HAS_MINIMUM_POA == 0) // TAO_IDL - Generated from @@ -166,11 +162,7 @@ PortableServer::ForwardRequest::ForwardRequest ( this->forward_reference = CORBA::Object::_duplicate (_tao_forward_reference); } -// 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_exception/cdr_op_cs.cpp:60 diff --git a/TAO/tao/PortableServer/ForwardRequestC.h b/TAO/tao/PortableServer/ForwardRequestC.h index a9f92232cc7..54511944fb5 100644 --- a/TAO/tao/PortableServer/ForwardRequestC.h +++ b/TAO/tao/PortableServer/ForwardRequestC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_FORWARDREQUESTC_H_ -#define _TAO_IDL_ORIG_FORWARDREQUESTC_H_ +#ifndef _TAO_IDL_FORWARDREQUESTC_H_ +#define _TAO_IDL_FORWARDREQUESTC_H_ #include /**/ "ace/pre.h" @@ -50,47 +50,38 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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__ */ - #if (TAO_HAS_MINIMUM_POA == 0) // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:48 +// be\be_visitor_module/module_ch.cpp:49 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; @@ -99,34 +90,29 @@ namespace PortableServer 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; }; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ForwardRequest; #endif /* end #if !defined */ // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer @@ -139,31 +125,15 @@ namespace TAO } // TAO_IDL - Generated from -// be\be_visitor_exception/any_op_ch.cpp:52 - -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_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_IDL - Generated from -// be\be_codegen.cpp:955 - #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// TAO_IDL - Generated from +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/IdAssignmentPolicyA.cpp b/TAO/tao/PortableServer/IdAssignmentPolicyA.cpp index c53caab5951..395f34da510 100644 --- a/TAO/tao/PortableServer/IdAssignmentPolicyA.cpp +++ b/TAO/tao/PortableServer/IdAssignmentPolicyA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "IdAssignmentPolicyC.h" +#include "IdAssignmentPolicyA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -43,7 +43,7 @@ static char const * const _tao_enumerators_PortableServer_IdAssignmentPolicyValu { "USER_ID", "SYSTEM_ID" - + }; static TAO::TypeCode::Enum<char const *, @@ -54,7 +54,7 @@ static TAO::TypeCode::Enum<char const *, "IdAssignmentPolicyValue", _tao_enumerators_PortableServer_IdAssignmentPolicyValue, 2); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_IdAssignmentPolicyValue = @@ -72,7 +72,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/PortableServer/IdAssignmentPolicy:2.3", "IdAssignmentPolicy"); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_IdAssignmentPolicy = @@ -105,81 +105,6 @@ CORBA::Boolean operator>>= ( TAO::Any_Basic_Impl_T<PortableServer::IdAssignmentPolicyValue>::extract ( _tao_any, PortableServer::_tc_IdAssignmentPolicyValue, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::IdAssignmentPolicy>::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::IdAssignmentPolicy>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::IdAssignmentPolicy>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::IdAssignmentPolicy_ptr _tao_elem - ) -{ - PortableServer::IdAssignmentPolicy_ptr _tao_objptr = - PortableServer::IdAssignmentPolicy::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::IdAssignmentPolicy_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::IdAssignmentPolicy>::insert ( - _tao_any, - PortableServer::IdAssignmentPolicy::_tao_any_destructor, - PortableServer::_tc_IdAssignmentPolicy, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::IdAssignmentPolicy_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::IdAssignmentPolicy>::extract ( - _tao_any, - PortableServer::IdAssignmentPolicy::_tao_any_destructor, - PortableServer::_tc_IdAssignmentPolicy, - _tao_elem + _tao_elem ); } diff --git a/TAO/tao/PortableServer/IdAssignmentPolicyA.h b/TAO/tao/PortableServer/IdAssignmentPolicyA.h new file mode 100644 index 00000000000..5e640efa07f --- /dev/null +++ b/TAO/tao/PortableServer/IdAssignmentPolicyA.h @@ -0,0 +1,70 @@ +// -*- 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 "portableserver_export.h" +#include "IdAssignmentPolicyC.h" +#include "tao/AnyTypeCode/PolicyA.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +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 &); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp b/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp index 5dac367c80d..dae4a91d05b 100644 --- a/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp +++ b/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp @@ -26,17 +26,13 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "IdAssignmentPolicyC.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:70 @@ -88,14 +84,6 @@ PortableServer::IdAssignmentPolicy::IdAssignmentPolicy (void) PortableServer::IdAssignmentPolicy::~IdAssignmentPolicy (void) {} -void -PortableServer::IdAssignmentPolicy::_tao_any_destructor (void *_tao_void_pointer) -{ - IdAssignmentPolicy *_tao_tmp_pointer = - static_cast<IdAssignmentPolicy *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::IdAssignmentPolicy_ptr PortableServer::IdAssignmentPolicy::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/IdAssignmentPolicyC.h b/TAO/tao/PortableServer/IdAssignmentPolicyC.h index 1773460d112..f7c43ec160d 100644 --- a/TAO/tao/PortableServer/IdAssignmentPolicyC.h +++ b/TAO/tao/PortableServer/IdAssignmentPolicyC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_IDASSIGNMENTPOLICYC_H_ -#define _TAO_IDL_ORIG_IDASSIGNMENTPOLICYC_H_ +#ifndef _TAO_IDL_IDASSIGNMENTPOLICYC_H_ +#define _TAO_IDL_IDASSIGNMENTPOLICYC_H_ #include /**/ "ace/pre.h" @@ -54,17 +54,8 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 namespace PortableServer { @@ -81,11 +72,6 @@ namespace PortableServer typedef IdAssignmentPolicyValue &IdAssignmentPolicyValue_out; // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_IdAssignmentPolicyValue; - - // TAO_IDL - Generated from // be\be_interface.cpp:598 #if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY__VAR_OUT_CH_) @@ -141,7 +127,7 @@ namespace PortableServer return static_cast<IdAssignmentPolicy_ptr> (0); } - static void _tao_any_destructor (void *); + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 @@ -198,14 +184,9 @@ namespace PortableServer }; #endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_IdAssignmentPolicy; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer @@ -216,8 +197,8 @@ namespace PortableServer namespace TAO { -#if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY__TRAITS_CH_) -#define _PORTABLESERVER_IDASSIGNMENTPOLICY__TRAITS_CH_ +#if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY__TRAITS_) +#define _PORTABLESERVER_IDASSIGNMENTPOLICY__TRAITS_ template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::IdAssignmentPolicy> @@ -239,34 +220,13 @@ namespace TAO } // TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:51 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::IdAssignmentPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::IdAssignmentPolicyValue &); - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::IdAssignmentPolicy_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::IdAssignmentPolicy_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::IdAssignmentPolicy_ptr &); - -// 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:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/IdUniquenessPolicyA.cpp b/TAO/tao/PortableServer/IdUniquenessPolicyA.cpp index 904f5d82752..2fc8e7ec024 100644 --- a/TAO/tao/PortableServer/IdUniquenessPolicyA.cpp +++ b/TAO/tao/PortableServer/IdUniquenessPolicyA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "IdUniquenessPolicyC.h" +#include "IdUniquenessPolicyA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -43,7 +43,7 @@ static char const * const _tao_enumerators_PortableServer_IdUniquenessPolicyValu { "UNIQUE_ID", "MULTIPLE_ID" - + }; static TAO::TypeCode::Enum<char const *, @@ -54,7 +54,7 @@ static TAO::TypeCode::Enum<char const *, "IdUniquenessPolicyValue", _tao_enumerators_PortableServer_IdUniquenessPolicyValue, 2); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_IdUniquenessPolicyValue = @@ -72,7 +72,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/PortableServer/IdUniquenessPolicy:2.3", "IdUniquenessPolicy"); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_IdUniquenessPolicy = @@ -105,81 +105,6 @@ CORBA::Boolean operator>>= ( TAO::Any_Basic_Impl_T<PortableServer::IdUniquenessPolicyValue>::extract ( _tao_any, PortableServer::_tc_IdUniquenessPolicyValue, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::IdUniquenessPolicy>::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::IdUniquenessPolicy>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::IdUniquenessPolicy>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::IdUniquenessPolicy_ptr _tao_elem - ) -{ - PortableServer::IdUniquenessPolicy_ptr _tao_objptr = - PortableServer::IdUniquenessPolicy::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::IdUniquenessPolicy_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::IdUniquenessPolicy>::insert ( - _tao_any, - PortableServer::IdUniquenessPolicy::_tao_any_destructor, - PortableServer::_tc_IdUniquenessPolicy, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::IdUniquenessPolicy_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::IdUniquenessPolicy>::extract ( - _tao_any, - PortableServer::IdUniquenessPolicy::_tao_any_destructor, - PortableServer::_tc_IdUniquenessPolicy, - _tao_elem + _tao_elem ); } diff --git a/TAO/tao/PortableServer/IdUniquenessPolicyA.h b/TAO/tao/PortableServer/IdUniquenessPolicyA.h new file mode 100644 index 00000000000..22d04465329 --- /dev/null +++ b/TAO/tao/PortableServer/IdUniquenessPolicyA.h @@ -0,0 +1,70 @@ +// -*- 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 "portableserver_export.h" +#include "IdUniquenessPolicyC.h" +#include "tao/AnyTypeCode/PolicyA.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +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 &); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/IdUniquenessPolicyC.cpp b/TAO/tao/PortableServer/IdUniquenessPolicyC.cpp index 2e2ab82386d..340160fd2fc 100644 --- a/TAO/tao/PortableServer/IdUniquenessPolicyC.cpp +++ b/TAO/tao/PortableServer/IdUniquenessPolicyC.cpp @@ -26,17 +26,13 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "IdUniquenessPolicyC.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:70 @@ -88,14 +84,6 @@ PortableServer::IdUniquenessPolicy::IdUniquenessPolicy (void) PortableServer::IdUniquenessPolicy::~IdUniquenessPolicy (void) {} -void -PortableServer::IdUniquenessPolicy::_tao_any_destructor (void *_tao_void_pointer) -{ - IdUniquenessPolicy *_tao_tmp_pointer = - static_cast<IdUniquenessPolicy *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::IdUniquenessPolicy_ptr PortableServer::IdUniquenessPolicy::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/IdUniquenessPolicyC.h b/TAO/tao/PortableServer/IdUniquenessPolicyC.h index 936c9f6270a..dbdeb5d2ed6 100644 --- a/TAO/tao/PortableServer/IdUniquenessPolicyC.h +++ b/TAO/tao/PortableServer/IdUniquenessPolicyC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_IDUNIQUENESSPOLICYC_H_ -#define _TAO_IDL_ORIG_IDUNIQUENESSPOLICYC_H_ +#ifndef _TAO_IDL_IDUNIQUENESSPOLICYC_H_ +#define _TAO_IDL_IDUNIQUENESSPOLICYC_H_ #include /**/ "ace/pre.h" @@ -54,17 +54,8 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 namespace PortableServer { @@ -81,11 +72,6 @@ namespace PortableServer typedef IdUniquenessPolicyValue &IdUniquenessPolicyValue_out; // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_IdUniquenessPolicyValue; - - // TAO_IDL - Generated from // be\be_interface.cpp:598 #if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY__VAR_OUT_CH_) @@ -141,7 +127,7 @@ namespace PortableServer return static_cast<IdUniquenessPolicy_ptr> (0); } - static void _tao_any_destructor (void *); + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 @@ -198,14 +184,9 @@ namespace PortableServer }; #endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_IdUniquenessPolicy; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer @@ -216,8 +197,8 @@ namespace PortableServer namespace TAO { -#if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY__TRAITS_CH_) -#define _PORTABLESERVER_IDUNIQUENESSPOLICY__TRAITS_CH_ +#if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY__TRAITS_) +#define _PORTABLESERVER_IDUNIQUENESSPOLICY__TRAITS_ template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::IdUniquenessPolicy> @@ -239,34 +220,13 @@ namespace TAO } // TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:51 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::IdUniquenessPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::IdUniquenessPolicyValue &); - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::IdUniquenessPolicy_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::IdUniquenessPolicy_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::IdUniquenessPolicy_ptr &); - -// 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:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/ImplicitActivationPolicyA.cpp b/TAO/tao/PortableServer/ImplicitActivationPolicyA.cpp index 103b7207883..9db229c2063 100644 --- a/TAO/tao/PortableServer/ImplicitActivationPolicyA.cpp +++ b/TAO/tao/PortableServer/ImplicitActivationPolicyA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "ImplicitActivationPolicyC.h" +#include "ImplicitActivationPolicyA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -45,7 +45,7 @@ static char const * const _tao_enumerators_PortableServer_ImplicitActivationPoli { "IMPLICIT_ACTIVATION", "NO_IMPLICIT_ACTIVATION" - + }; static TAO::TypeCode::Enum<char const *, @@ -56,7 +56,7 @@ static TAO::TypeCode::Enum<char const *, "ImplicitActivationPolicyValue", _tao_enumerators_PortableServer_ImplicitActivationPolicyValue, 2); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_ImplicitActivationPolicyValue = @@ -74,7 +74,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/PortableServer/ImplicitActivationPolicy:2.3", "ImplicitActivationPolicy"); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_ImplicitActivationPolicy = @@ -107,82 +107,7 @@ CORBA::Boolean operator>>= ( TAO::Any_Basic_Impl_T<PortableServer::ImplicitActivationPolicyValue>::extract ( _tao_any, PortableServer::_tc_ImplicitActivationPolicyValue, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ImplicitActivationPolicy>::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::ImplicitActivationPolicy>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ImplicitActivationPolicy>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ImplicitActivationPolicy_ptr _tao_elem - ) -{ - PortableServer::ImplicitActivationPolicy_ptr _tao_objptr = - PortableServer::ImplicitActivationPolicy::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ImplicitActivationPolicy_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::ImplicitActivationPolicy>::insert ( - _tao_any, - PortableServer::ImplicitActivationPolicy::_tao_any_destructor, - PortableServer::_tc_ImplicitActivationPolicy, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::ImplicitActivationPolicy_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::ImplicitActivationPolicy>::extract ( - _tao_any, - PortableServer::ImplicitActivationPolicy::_tao_any_destructor, - PortableServer::_tc_ImplicitActivationPolicy, - _tao_elem + _tao_elem ); } diff --git a/TAO/tao/PortableServer/ImplicitActivationPolicyA.h b/TAO/tao/PortableServer/ImplicitActivationPolicyA.h new file mode 100644 index 00000000000..70e35ef75ac --- /dev/null +++ b/TAO/tao/PortableServer/ImplicitActivationPolicyA.h @@ -0,0 +1,70 @@ +// -*- 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 "portableserver_export.h" +#include "ImplicitActivationPolicyC.h" +#include "tao/AnyTypeCode/PolicyA.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +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 &); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ImplicitActivationPolicyC.cpp b/TAO/tao/PortableServer/ImplicitActivationPolicyC.cpp index b837fe536a1..825dd9af720 100644 --- a/TAO/tao/PortableServer/ImplicitActivationPolicyC.cpp +++ b/TAO/tao/PortableServer/ImplicitActivationPolicyC.cpp @@ -26,17 +26,13 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "ImplicitActivationPolicyC.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:70 @@ -90,14 +86,6 @@ PortableServer::ImplicitActivationPolicy::ImplicitActivationPolicy (void) PortableServer::ImplicitActivationPolicy::~ImplicitActivationPolicy (void) {} -void -PortableServer::ImplicitActivationPolicy::_tao_any_destructor (void *_tao_void_pointer) -{ - ImplicitActivationPolicy *_tao_tmp_pointer = - static_cast<ImplicitActivationPolicy *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::ImplicitActivationPolicy_ptr PortableServer::ImplicitActivationPolicy::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/ImplicitActivationPolicyC.h b/TAO/tao/PortableServer/ImplicitActivationPolicyC.h index d91ea7858f4..3f849791505 100644 --- a/TAO/tao/PortableServer/ImplicitActivationPolicyC.h +++ b/TAO/tao/PortableServer/ImplicitActivationPolicyC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_IMPLICITACTIVATIONPOLICYC_H_ -#define _TAO_IDL_ORIG_IMPLICITACTIVATIONPOLICYC_H_ +#ifndef _TAO_IDL_IMPLICITACTIVATIONPOLICYC_H_ +#define _TAO_IDL_IMPLICITACTIVATIONPOLICYC_H_ #include /**/ "ace/pre.h" @@ -54,17 +54,8 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 namespace PortableServer { @@ -82,11 +73,6 @@ namespace PortableServer typedef ImplicitActivationPolicyValue &ImplicitActivationPolicyValue_out; // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ImplicitActivationPolicyValue; - - // TAO_IDL - Generated from // be\be_interface.cpp:598 #if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY__VAR_OUT_CH_) @@ -142,7 +128,7 @@ namespace PortableServer return static_cast<ImplicitActivationPolicy_ptr> (0); } - static void _tao_any_destructor (void *); + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 @@ -199,14 +185,9 @@ namespace PortableServer }; #endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ImplicitActivationPolicy; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ @@ -220,8 +201,8 @@ namespace TAO { #if (TAO_HAS_MINIMUM_POA == 0) -#if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY__TRAITS_CH_) -#define _PORTABLESERVER_IMPLICITACTIVATIONPOLICY__TRAITS_CH_ +#if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY__TRAITS_) +#define _PORTABLESERVER_IMPLICITACTIVATIONPOLICY__TRAITS_ template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ImplicitActivationPolicy> @@ -240,26 +221,9 @@ namespace TAO }; #endif /* end #if !defined */ - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ } // TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:51 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ImplicitActivationPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ImplicitActivationPolicyValue &); - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ImplicitActivationPolicy_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ImplicitActivationPolicy_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ImplicitActivationPolicy_ptr &); - -// TAO_IDL - Generated from // be\be_visitor_enum/cdr_op_ch.cpp:50 TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::ImplicitActivationPolicyValue); @@ -268,15 +232,7 @@ TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableSer #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ // TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/LifespanPolicyA.cpp b/TAO/tao/PortableServer/LifespanPolicyA.cpp index 9a2e6e6d5fe..d9cd21d3b48 100644 --- a/TAO/tao/PortableServer/LifespanPolicyA.cpp +++ b/TAO/tao/PortableServer/LifespanPolicyA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "LifespanPolicyC.h" +#include "LifespanPolicyA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -43,7 +43,7 @@ static char const * const _tao_enumerators_PortableServer_LifespanPolicyValue[] { "TRANSIENT", "PERSISTENT" - + }; static TAO::TypeCode::Enum<char const *, @@ -54,7 +54,7 @@ static TAO::TypeCode::Enum<char const *, "LifespanPolicyValue", _tao_enumerators_PortableServer_LifespanPolicyValue, 2); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_LifespanPolicyValue = @@ -72,7 +72,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/PortableServer/LifespanPolicy:2.3", "LifespanPolicy"); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_LifespanPolicy = @@ -105,81 +105,6 @@ CORBA::Boolean operator>>= ( TAO::Any_Basic_Impl_T<PortableServer::LifespanPolicyValue>::extract ( _tao_any, PortableServer::_tc_LifespanPolicyValue, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::LifespanPolicy>::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::LifespanPolicy>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::LifespanPolicy>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::LifespanPolicy_ptr _tao_elem - ) -{ - PortableServer::LifespanPolicy_ptr _tao_objptr = - PortableServer::LifespanPolicy::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::LifespanPolicy_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::LifespanPolicy>::insert ( - _tao_any, - PortableServer::LifespanPolicy::_tao_any_destructor, - PortableServer::_tc_LifespanPolicy, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::LifespanPolicy_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::LifespanPolicy>::extract ( - _tao_any, - PortableServer::LifespanPolicy::_tao_any_destructor, - PortableServer::_tc_LifespanPolicy, - _tao_elem + _tao_elem ); } diff --git a/TAO/tao/PortableServer/LifespanPolicyA.h b/TAO/tao/PortableServer/LifespanPolicyA.h new file mode 100644 index 00000000000..cd12e1ef5b5 --- /dev/null +++ b/TAO/tao/PortableServer/LifespanPolicyA.h @@ -0,0 +1,70 @@ +// -*- 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 "portableserver_export.h" +#include "LifespanPolicyC.h" +#include "tao/AnyTypeCode/PolicyA.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +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 &); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/LifespanPolicyC.cpp b/TAO/tao/PortableServer/LifespanPolicyC.cpp index b53023fc5af..832e35bf202 100644 --- a/TAO/tao/PortableServer/LifespanPolicyC.cpp +++ b/TAO/tao/PortableServer/LifespanPolicyC.cpp @@ -26,17 +26,13 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "LifespanPolicyC.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:70 @@ -88,14 +84,6 @@ PortableServer::LifespanPolicy::LifespanPolicy (void) PortableServer::LifespanPolicy::~LifespanPolicy (void) {} -void -PortableServer::LifespanPolicy::_tao_any_destructor (void *_tao_void_pointer) -{ - LifespanPolicy *_tao_tmp_pointer = - static_cast<LifespanPolicy *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::LifespanPolicy_ptr PortableServer::LifespanPolicy::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/LifespanPolicyC.h b/TAO/tao/PortableServer/LifespanPolicyC.h index b3eb4d69ed9..6863d502a76 100644 --- a/TAO/tao/PortableServer/LifespanPolicyC.h +++ b/TAO/tao/PortableServer/LifespanPolicyC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_LIFESPANPOLICYC_H_ -#define _TAO_IDL_ORIG_LIFESPANPOLICYC_H_ +#ifndef _TAO_IDL_LIFESPANPOLICYC_H_ +#define _TAO_IDL_LIFESPANPOLICYC_H_ #include /**/ "ace/pre.h" @@ -54,17 +54,8 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 namespace PortableServer { @@ -81,11 +72,6 @@ namespace PortableServer typedef LifespanPolicyValue &LifespanPolicyValue_out; // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_LifespanPolicyValue; - - // TAO_IDL - Generated from // be\be_interface.cpp:598 #if !defined (_PORTABLESERVER_LIFESPANPOLICY__VAR_OUT_CH_) @@ -141,7 +127,7 @@ namespace PortableServer return static_cast<LifespanPolicy_ptr> (0); } - static void _tao_any_destructor (void *); + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 @@ -198,14 +184,9 @@ namespace PortableServer }; #endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_LifespanPolicy; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer @@ -216,8 +197,8 @@ namespace PortableServer namespace TAO { -#if !defined (_PORTABLESERVER_LIFESPANPOLICY__TRAITS_CH_) -#define _PORTABLESERVER_LIFESPANPOLICY__TRAITS_CH_ +#if !defined (_PORTABLESERVER_LIFESPANPOLICY__TRAITS_) +#define _PORTABLESERVER_LIFESPANPOLICY__TRAITS_ template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::LifespanPolicy> @@ -239,34 +220,13 @@ namespace TAO } // TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:51 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::LifespanPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::LifespanPolicyValue &); - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::LifespanPolicy_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::LifespanPolicy_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::LifespanPolicy_ptr &); - -// 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:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/POAManagerA.cpp b/TAO/tao/PortableServer/POAManagerA.cpp deleted file mode 100644 index b290aec7a92..00000000000 --- a/TAO/tao/PortableServer/POAManagerA.cpp +++ /dev/null @@ -1,296 +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 "POAManagerC.h" -#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/CDR.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" - -// TAO_IDL - Generated from -// be/be_visitor_typecode/struct_typecode.cpp:74 - -static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const * const _tao_fields_PortableServer_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; - -// 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_IDL - Generated from -// be/be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::POAManager>::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::POAManager>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::POAManager>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POAManager_ptr _tao_elem - ) -{ - PortableServer::POAManager_ptr _tao_objptr = - PortableServer::POAManager::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POAManager_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::POAManager>::insert ( - _tao_any, - PortableServer::POAManager::_tao_any_destructor, - PortableServer::_tc_POAManager, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POAManager_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::POAManager>::extract ( - _tao_any, - PortableServer::POAManager::_tao_any_destructor, - PortableServer::_tc_POAManager, - _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::POAManager::AdapterInactive>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Dual_Impl_T<PortableServer::POAManager::AdapterInactive>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableServer::POAManager::AdapterInactive &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POAManager::AdapterInactive>::insert_copy ( - _tao_any, - PortableServer::POAManager::AdapterInactive::_tao_any_destructor, - PortableServer::POAManager::_tc_AdapterInactive, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POAManager::AdapterInactive *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableServer::POAManager::AdapterInactive>::insert ( - _tao_any, - PortableServer::POAManager::AdapterInactive::_tao_any_destructor, - PortableServer::POAManager::_tc_AdapterInactive, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POAManager::AdapterInactive *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const PortableServer::POAManager::AdapterInactive *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableServer::POAManager::AdapterInactive *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableServer::POAManager::AdapterInactive>::extract ( - _tao_any, - PortableServer::POAManager::AdapterInactive::_tao_any_destructor, - PortableServer::POAManager::_tc_AdapterInactive, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_enum/any_op_cs.cpp:52 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Basic_Impl_T<PortableServer::POAManager::State>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Basic_Impl_T<PortableServer::POAManager::State>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -void operator<<= ( - CORBA::Any &_tao_any, - PortableServer::POAManager::State _tao_elem - ) -{ - TAO::Any_Basic_Impl_T<PortableServer::POAManager::State>::insert ( - _tao_any, - PortableServer::POAManager::_tc_State, - _tao_elem - ); -} - -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::POAManager::State &_tao_elem - ) -{ - return - TAO::Any_Basic_Impl_T<PortableServer::POAManager::State>::extract ( - _tao_any, - PortableServer::POAManager::_tc_State, - _tao_elem - ); -} diff --git a/TAO/tao/PortableServer/POAManagerC.cpp b/TAO/tao/PortableServer/POAManagerC.cpp index b4ea95318c3..45f95ccca10 100644 --- a/TAO/tao/PortableServer/POAManagerC.cpp +++ b/TAO/tao/PortableServer/POAManagerC.cpp @@ -26,19 +26,25 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "POAManagerC.h" #include "tao/CDR.h" +#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_Impl_T.h" +#include "tao/AnyTypeCode/Any_Dual_Impl_T.h" +#include "tao/AnyTypeCode/Any_Basic_Impl_T.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 +// be\be_visitor_arg_traits.cpp:70 // Arg traits specializations. namespace TAO @@ -82,7 +88,7 @@ TAO::Objref_Traits<PortableServer::POAManager>::marshal ( return CORBA::Object::marshal (p, cdr); } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/exception_cs.cpp:63 PortableServer::POAManager::AdapterInactive::AdapterInactive (void) @@ -177,20 +183,54 @@ CORBA::TypeCode_ptr PortableServer::POAManager::AdapterInactive::_tao_type (void 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) {} -void -PortableServer::POAManager::_tao_any_destructor (void *_tao_void_pointer) -{ - POAManager *_tao_tmp_pointer = - static_cast<POAManager *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::POAManager_ptr PortableServer::POAManager::_narrow ( CORBA::Object_ptr _tao_objref @@ -198,7 +238,8 @@ PortableServer::POAManager::_narrow ( ) { return POAManager::_duplicate ( - dynamic_cast<POAManager_ptr> (_tao_objref)); + dynamic_cast<POAManager_ptr> (_tao_objref) + ); } PortableServer::POAManager_ptr @@ -207,7 +248,9 @@ PortableServer::POAManager::_unchecked_narrow ( ACE_ENV_ARG_DECL_NOT_USED ) { - return POAManager::_duplicate (dynamic_cast<POAManager_ptr> (_tao_objref)); + return POAManager::_duplicate ( + dynamic_cast<POAManager_ptr> (_tao_objref) + ); } PortableServer::POAManager_ptr @@ -217,7 +260,7 @@ PortableServer::POAManager::_duplicate (POAManager_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -266,3 +309,21 @@ 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; +} + + diff --git a/TAO/tao/PortableServer/POAManagerC.h b/TAO/tao/PortableServer/POAManagerC.h index 52606904b70..d3ecf299d88 100644 --- a/TAO/tao/PortableServer/POAManagerC.h +++ b/TAO/tao/PortableServer/POAManagerC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_POAMANAGERC_H_ -#define _TAO_IDL_ORIG_POAMANAGERC_H_ +#ifndef _TAO_IDL_POAMANAGERC_H_ +#define _TAO_IDL_POAMANAGERC_H_ #include /**/ "ace/pre.h" @@ -52,17 +52,8 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 namespace PortableServer { @@ -123,10 +114,10 @@ namespace PortableServer return static_cast<POAManager_ptr> (0); } - static void _tao_any_destructor (void *); + // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:51 + // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_PORTABLESERVER_POAMANAGER_ADAPTERINACTIVE_CH_) #define _PORTABLESERVER_POAMANAGER_ADAPTERINACTIVE_CH_ @@ -163,13 +154,13 @@ namespace PortableServer ); // TAO_IDL - Generated from - // be\be_visitor_exception/exception_ch.cpp:127 + // 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:44 + // be\be_visitor_typecode/typecode_decl.cpp:49 static ::CORBA::TypeCode_ptr const _tc_AdapterInactive; @@ -189,7 +180,7 @@ namespace PortableServer typedef State &State_out; // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 + // be\be_visitor_typecode/typecode_decl.cpp:49 static ::CORBA::TypeCode_ptr const _tc_State; @@ -207,8 +198,6 @@ namespace PortableServer // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 -#if (TAO_HAS_MINIMUM_POA == 0) - virtual void hold_requests ( ::CORBA::Boolean wait_for_completion ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -243,8 +232,6 @@ namespace PortableServer ::PortableServer::POAManager::AdapterInactive )) = 0; -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ - // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 @@ -282,12 +269,12 @@ namespace PortableServer #endif /* end #if !defined */ // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 + // 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:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer @@ -298,8 +285,8 @@ namespace PortableServer namespace TAO { -#if !defined (_PORTABLESERVER_POAMANAGER__TRAITS_CH_) -#define _PORTABLESERVER_POAMANAGER__TRAITS_CH_ +#if !defined (_PORTABLESERVER_POAMANAGER__TRAITS_) +#define _PORTABLESERVER_POAMANAGER__TRAITS_ template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::POAManager> @@ -321,36 +308,7 @@ namespace TAO } // TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::POAManager_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::POAManager_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::POAManager_ptr &); - -// TAO_IDL - Generated from -// be\be_visitor_exception/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, const PortableServer::POAManager::AdapterInactive &); // copying version -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::POAManager::AdapterInactive*); // noncopying version -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::POAManager::AdapterInactive *&); // deprecated -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableServer::POAManager::AdapterInactive *&); - -// TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:51 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::POAManager::State); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::POAManager::State &); - -// TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/PS_ForwardA.cpp b/TAO/tao/PortableServer/PS_ForwardA.cpp index dfc61323c84..c9ba5596b79 100644 --- a/TAO/tao/PortableServer/PS_ForwardA.cpp +++ b/TAO/tao/PortableServer/PS_ForwardA.cpp @@ -25,13 +25,12 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "PS_ForwardC.h" +#include "PS_ForwardA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" #include "tao/CDR.h" #include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/OctetSeqA.h" // TAO_IDL - Generated from // be\be_visitor_typecode/alias_typecode.cpp:50 @@ -44,7 +43,7 @@ static TAO::TypeCode::Alias<char const *, "IDL:omg.org/PortableServer/ObjectId:2.3", "ObjectId", &CORBA::_tc_OctetSeq); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_ObjectId = diff --git a/TAO/tao/PortableServer/PS_ForwardA.h b/TAO/tao/PortableServer/PS_ForwardA.h new file mode 100644 index 00000000000..7818c218778 --- /dev/null +++ b/TAO/tao/PortableServer/PS_ForwardA.h @@ -0,0 +1,59 @@ +// -*- 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_PS_FORWARDA_H_ +#define _TAO_IDL_PS_FORWARDA_H_ + +#include /**/ "ace/pre.h" + +#include "portableserver_export.h" +#include "PS_ForwardC.h" +#include "tao/AnyTypeCode/OctetSeqA.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +namespace PortableServer +{ + + // TAO_IDL - Generated from + // be\be_visitor_typecode/typecode_decl.cpp:49 + + extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ObjectId; + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:86 + +} // module PortableServer + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/PS_ForwardC.cpp b/TAO/tao/PortableServer/PS_ForwardC.cpp index f788c63a7a5..c39046225ac 100644 --- a/TAO/tao/PortableServer/PS_ForwardC.cpp +++ b/TAO/tao/PortableServer/PS_ForwardC.cpp @@ -26,17 +26,13 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "PS_ForwardC.h" #include "tao/CDR.h" #include "tao/ORB_Core.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:70 diff --git a/TAO/tao/PortableServer/PS_ForwardC.h b/TAO/tao/PortableServer/PS_ForwardC.h index afded66da78..24cb55a00f1 100644 --- a/TAO/tao/PortableServer/PS_ForwardC.h +++ b/TAO/tao/PortableServer/PS_ForwardC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_PS_FORWARDC_H_ -#define _TAO_IDL_ORIG_PS_FORWARDC_H_ +#ifndef _TAO_IDL_PS_FORWARDC_H_ +#define _TAO_IDL_PS_FORWARDC_H_ #include /**/ "ace/pre.h" @@ -52,15 +52,6 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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__ */ - class TAO_ServantBase; class TAO_ServantBase_var; class TAO_Local_ServantBase; @@ -68,7 +59,7 @@ class TAO_Root_POA; class TAO_DynamicImplementation; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:48 +// be\be_visitor_module/module_ch.cpp:49 namespace PortableServer { @@ -79,34 +70,29 @@ namespace PortableServer typedef TAO_Local_ServantBase LocalServantBase; typedef TAO_DynamicImplementation DynamicImplementation; - + // TAO_IDL - Generated from // be\be_visitor_typedef/typedef_ch.cpp:472 - + typedef CORBA::OctetSeq ObjectId; typedef CORBA::OctetSeq_var ObjectId_var; typedef CORBA::OctetSeq_out ObjectId_out; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ObjectId; - + // TAO_IDL - Generated from // be\be_interface.cpp:598 #if !defined (_PORTABLESERVER_POA__VAR_OUT_CH_) #define _PORTABLESERVER_POA__VAR_OUT_CH_ - + class POA; typedef POA *POA_ptr; - + typedef TAO_Objref_Var_T< POA > POA_var; - + typedef TAO_Objref_Out_T< POA @@ -116,7 +102,7 @@ namespace PortableServer #endif /* end #if !defined */ // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer @@ -129,15 +115,7 @@ namespace TAO } // TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/PortableServerC.h b/TAO/tao/PortableServer/PortableServerC.h index 6bd28fe3dc2..1287ed243e3 100644 --- a/TAO/tao/PortableServer/PortableServerC.h +++ b/TAO/tao/PortableServer/PortableServerC.h @@ -85,15 +85,15 @@ namespace PortableServer { - + // TAO_IDL - Generated from // be\be_visitor_sequence/sequence_ch.cpp:101 #if !defined (_PORTABLESERVER_POALIST_CH_) #define _PORTABLESERVER_POALIST_CH_ - + class POAList; - + typedef TAO_MngSeq_Var_T< POAList, @@ -103,7 +103,7 @@ namespace PortableServer > > POAList_var; - + typedef TAO_MngSeq_Out_T< POAList, @@ -114,7 +114,7 @@ namespace PortableServer > > POAList_out; - + class TAO_PortableServer_Export POAList : public TAO_Unbounded_Object_Sequence< @@ -128,74 +128,74 @@ namespace PortableServer POAList ( CORBA::ULong max, CORBA::ULong length, - POA_ptr* buffer, + POA_ptr* buffer, CORBA::Boolean release = 0 ); POAList (const POAList &); ~POAList (void); - + static void _tao_any_destructor (void *); - + typedef POAList_var _var_type; }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_POAList; - + // TAO_IDL - Generated from // be\be_visitor_constant/constant_ch.cpp:52 - + const CORBA::PolicyType THREAD_POLICY_ID = 16U; - + // TAO_IDL - Generated from // be\be_visitor_constant/constant_ch.cpp:52 - + const CORBA::PolicyType LIFESPAN_POLICY_ID = 17U; - + // TAO_IDL - Generated from // be\be_visitor_constant/constant_ch.cpp:52 - + const CORBA::PolicyType ID_UNIQUENESS_POLICY_ID = 18U; - + // TAO_IDL - Generated from // be\be_visitor_constant/constant_ch.cpp:52 - + const CORBA::PolicyType ID_ASSIGNMENT_POLICY_ID = 19U; - + // TAO_IDL - Generated from // be\be_visitor_constant/constant_ch.cpp:52 - + const CORBA::PolicyType IMPLICIT_ACTIVATION_POLICY_ID = 20U; - + // TAO_IDL - Generated from // be\be_visitor_constant/constant_ch.cpp:52 - + const CORBA::PolicyType SERVANT_RETENTION_POLICY_ID = 21U; - + // TAO_IDL - Generated from // be\be_visitor_constant/constant_ch.cpp:52 - + const CORBA::PolicyType REQUEST_PROCESSING_POLICY_ID = 22U; - + // 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 @@ -203,22 +203,22 @@ namespace PortableServer POAManager_out; #endif /* end #if !defined */ - + // 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 @@ -226,22 +226,22 @@ namespace PortableServer AdapterActivator_out; #endif /* end #if !defined */ - + // 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 @@ -249,22 +249,22 @@ namespace PortableServer ServantManager_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_interface.cpp:598 #if !defined (_PORTABLESERVER_POA__VAR_OUT_CH_) #define _PORTABLESERVER_POA__VAR_OUT_CH_ - + class POA; typedef POA *POA_ptr; - + typedef TAO_Objref_Var_T< POA > POA_var; - + typedef TAO_Objref_Out_T< POA @@ -272,65 +272,65 @@ namespace PortableServer POA_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_PORTABLESERVER_POA_CH_) #define _PORTABLESERVER_POA_CH_ - + class TAO_PortableServer_Export POA : public virtual CORBA::Object { public: typedef POA_ptr _ptr_type; typedef POA_var _var_type; - + // The static operations. static POA_ptr _duplicate (POA_ptr obj); - + static void _tao_release (POA_ptr obj); - + static POA_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static POA_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static POA_ptr _nil (void) { return static_cast<POA_ptr> (0); } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_PORTABLESERVER_POA_ADAPTERALREADYEXISTS_CH_) #define _PORTABLESERVER_POA_ADAPTERALREADYEXISTS_CH_ - + class TAO_PortableServer_Export AdapterAlreadyExists : public CORBA::UserException { public: - + AdapterAlreadyExists (void); AdapterAlreadyExists (const AdapterAlreadyExists &); ~AdapterAlreadyExists (void); AdapterAlreadyExists &operator= (const AdapterAlreadyExists &); - + static void _tao_any_destructor (void *); - + static AdapterAlreadyExists *_downcast (CORBA::Exception *); static const AdapterAlreadyExists *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -339,48 +339,48 @@ namespace PortableServer 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:44 - + static ::CORBA::TypeCode_ptr const _tc_AdapterAlreadyExists; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_PORTABLESERVER_POA_ADAPTERNONEXISTENT_CH_) #define _PORTABLESERVER_POA_ADAPTERNONEXISTENT_CH_ - + class TAO_PortableServer_Export AdapterNonExistent : public CORBA::UserException { public: - + AdapterNonExistent (void); AdapterNonExistent (const AdapterNonExistent &); ~AdapterNonExistent (void); AdapterNonExistent &operator= (const AdapterNonExistent &); - + static void _tao_any_destructor (void *); - + static AdapterNonExistent *_downcast (CORBA::Exception *); static const AdapterNonExistent *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -389,49 +389,49 @@ namespace PortableServer 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:44 - + static ::CORBA::TypeCode_ptr const _tc_AdapterNonExistent; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_PORTABLESERVER_POA_INVALIDPOLICY_CH_) #define _PORTABLESERVER_POA_INVALIDPOLICY_CH_ - + class TAO_PortableServer_Export InvalidPolicy : public CORBA::UserException { public: - + CORBA::UShort index; InvalidPolicy (void); InvalidPolicy (const InvalidPolicy &); ~InvalidPolicy (void); InvalidPolicy &operator= (const InvalidPolicy &); - + static void _tao_any_destructor (void *); - + static InvalidPolicy *_downcast (CORBA::Exception *); static const InvalidPolicy *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -440,32 +440,32 @@ namespace PortableServer 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 - + InvalidPolicy ( CORBA::UShort _tao_index ); - + // 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:44 - + static ::CORBA::TypeCode_ptr const _tc_InvalidPolicy; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 @@ -473,24 +473,24 @@ namespace PortableServer #if !defined (_PORTABLESERVER_POA_NOSERVANT_CH_) #define _PORTABLESERVER_POA_NOSERVANT_CH_ - + class TAO_PortableServer_Export NoServant : public CORBA::UserException { public: - + NoServant (void); NoServant (const NoServant &); ~NoServant (void); NoServant &operator= (const NoServant &); - + static void _tao_any_destructor (void *); - + static NoServant *_downcast (CORBA::Exception *); static const NoServant *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -499,25 +499,25 @@ namespace PortableServer 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:44 - + static ::CORBA::TypeCode_ptr const _tc_NoServant; #endif /* end #if !defined */ - + #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ // TAO_IDL - Generated from @@ -525,24 +525,24 @@ namespace PortableServer #if !defined (_PORTABLESERVER_POA_OBJECTALREADYACTIVE_CH_) #define _PORTABLESERVER_POA_OBJECTALREADYACTIVE_CH_ - + class TAO_PortableServer_Export ObjectAlreadyActive : public CORBA::UserException { public: - + ObjectAlreadyActive (void); ObjectAlreadyActive (const ObjectAlreadyActive &); ~ObjectAlreadyActive (void); ObjectAlreadyActive &operator= (const ObjectAlreadyActive &); - + static void _tao_any_destructor (void *); - + static ObjectAlreadyActive *_downcast (CORBA::Exception *); static const ObjectAlreadyActive *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -551,48 +551,48 @@ namespace PortableServer 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:44 - + static ::CORBA::TypeCode_ptr const _tc_ObjectAlreadyActive; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_PORTABLESERVER_POA_OBJECTNOTACTIVE_CH_) #define _PORTABLESERVER_POA_OBJECTNOTACTIVE_CH_ - + class TAO_PortableServer_Export ObjectNotActive : public CORBA::UserException { public: - + ObjectNotActive (void); ObjectNotActive (const ObjectNotActive &); ~ObjectNotActive (void); ObjectNotActive &operator= (const ObjectNotActive &); - + static void _tao_any_destructor (void *); - + static ObjectNotActive *_downcast (CORBA::Exception *); static const ObjectNotActive *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -601,48 +601,48 @@ namespace PortableServer 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:44 - + static ::CORBA::TypeCode_ptr const _tc_ObjectNotActive; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_PORTABLESERVER_POA_SERVANTALREADYACTIVE_CH_) #define _PORTABLESERVER_POA_SERVANTALREADYACTIVE_CH_ - + class TAO_PortableServer_Export ServantAlreadyActive : public CORBA::UserException { public: - + ServantAlreadyActive (void); ServantAlreadyActive (const ServantAlreadyActive &); ~ServantAlreadyActive (void); ServantAlreadyActive &operator= (const ServantAlreadyActive &); - + static void _tao_any_destructor (void *); - + static ServantAlreadyActive *_downcast (CORBA::Exception *); static const ServantAlreadyActive *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -651,48 +651,48 @@ namespace PortableServer 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:44 - + static ::CORBA::TypeCode_ptr const _tc_ServantAlreadyActive; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_PORTABLESERVER_POA_SERVANTNOTACTIVE_CH_) #define _PORTABLESERVER_POA_SERVANTNOTACTIVE_CH_ - + class TAO_PortableServer_Export ServantNotActive : public CORBA::UserException { public: - + ServantNotActive (void); ServantNotActive (const ServantNotActive &); ~ServantNotActive (void); ServantNotActive &operator= (const ServantNotActive &); - + static void _tao_any_destructor (void *); - + static ServantNotActive *_downcast (CORBA::Exception *); static const ServantNotActive *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -701,48 +701,48 @@ namespace PortableServer 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:44 - + static ::CORBA::TypeCode_ptr const _tc_ServantNotActive; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_PORTABLESERVER_POA_WRONGADAPTER_CH_) #define _PORTABLESERVER_POA_WRONGADAPTER_CH_ - + class TAO_PortableServer_Export WrongAdapter : public CORBA::UserException { public: - + WrongAdapter (void); WrongAdapter (const WrongAdapter &); ~WrongAdapter (void); WrongAdapter &operator= (const WrongAdapter &); - + static void _tao_any_destructor (void *); - + static WrongAdapter *_downcast (CORBA::Exception *); static const WrongAdapter *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -751,48 +751,48 @@ namespace PortableServer 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:44 - + static ::CORBA::TypeCode_ptr const _tc_WrongAdapter; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_PORTABLESERVER_POA_WRONGPOLICY_CH_) #define _PORTABLESERVER_POA_WRONGPOLICY_CH_ - + class TAO_PortableServer_Export WrongPolicy : public CORBA::UserException { public: - + WrongPolicy (void); WrongPolicy (const WrongPolicy &); ~WrongPolicy (void); WrongPolicy &operator= (const WrongPolicy &); - + static void _tao_any_destructor (void *); - + static WrongPolicy *_downcast (CORBA::Exception *); static const WrongPolicy *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -801,28 +801,28 @@ namespace PortableServer 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:44 - + static ::CORBA::TypeCode_ptr const _tc_WrongPolicy; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::PortableServer::POA_ptr create_POA ( const char * adapter_name, ::PortableServer::POAManager_ptr a_POAManager, @@ -834,10 +834,10 @@ namespace PortableServer ::PortableServer::POA::AdapterAlreadyExists, ::PortableServer::POA::InvalidPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::PortableServer::POA_ptr find_POA ( const char * adapter_name, ::CORBA::Boolean activate_it @@ -847,10 +847,10 @@ namespace PortableServer CORBA::SystemException, ::PortableServer::POA::AdapterNonExistent )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void destroy ( ::CORBA::Boolean etherealize_objects, ::CORBA::Boolean wait_for_completion @@ -859,10 +859,10 @@ namespace PortableServer ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + #if (TAO_HAS_MINIMUM_POA == 0) virtual ::PortableServer::ThreadPolicy_ptr create_thread_policy ( ::PortableServer::ThreadPolicyValue value @@ -872,10 +872,10 @@ namespace PortableServer CORBA::SystemException )) = 0; #endif /* TAO_HAS_MINIMUM_POA == 0 */ - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::PortableServer::LifespanPolicy_ptr create_lifespan_policy ( ::PortableServer::LifespanPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -883,10 +883,10 @@ namespace PortableServer ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::PortableServer::IdUniquenessPolicy_ptr create_id_uniqueness_policy ( ::PortableServer::IdUniquenessPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -894,10 +894,10 @@ namespace PortableServer ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::PortableServer::IdAssignmentPolicy_ptr create_id_assignment_policy ( ::PortableServer::IdAssignmentPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -905,10 +905,10 @@ namespace PortableServer ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + #if (TAO_HAS_MINIMUM_POA == 0) virtual ::PortableServer::ImplicitActivationPolicy_ptr create_implicit_activation_policy ( ::PortableServer::ImplicitActivationPolicyValue value @@ -918,10 +918,10 @@ namespace PortableServer CORBA::SystemException )) = 0; #endif /* TAO_HAS_MINIMUM_POA == 0 */ - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + #if (TAO_HAS_MINIMUM_POA == 0) virtual ::PortableServer::ServantRetentionPolicy_ptr create_servant_retention_policy ( ::PortableServer::ServantRetentionPolicyValue value @@ -931,10 +931,10 @@ namespace PortableServer CORBA::SystemException )) = 0; #endif /* TAO_HAS_MINIMUM_POA == 0 */ - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + #if (TAO_HAS_MINIMUM_POA == 0) virtual ::PortableServer::RequestProcessingPolicy_ptr create_request_processing_policy ( ::PortableServer::RequestProcessingPolicyValue value @@ -944,50 +944,50 @@ namespace PortableServer CORBA::SystemException )) = 0; #endif /* TAO_HAS_MINIMUM_POA == 0 */ - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual char * the_name ( 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::POA_ptr the_parent ( 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::POAList * the_children ( 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 the_POAManager ( 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 - + #if (TAO_HAS_MINIMUM_POA == 0) virtual ::PortableServer::AdapterActivator_ptr the_activator ( @@ -996,10 +996,10 @@ namespace PortableServer ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void the_activator ( ::PortableServer::AdapterActivator_ptr the_activator ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1008,10 +1008,10 @@ namespace PortableServer CORBA::SystemException )) = 0; #endif /* TAO_HAS_MINIMUM_POA == 0 */ - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + #if (TAO_HAS_MINIMUM_POA == 0) virtual ::PortableServer::ServantManager_ptr get_servant_manager ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS @@ -1020,10 +1020,10 @@ namespace PortableServer CORBA::SystemException, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void set_servant_manager ( ::PortableServer::ServantManager_ptr imgr ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1033,10 +1033,10 @@ namespace PortableServer ::PortableServer::POA::WrongPolicy )) = 0; #endif /* TAO_HAS_MINIMUM_POA == 0 */ - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + #if (TAO_HAS_MINIMUM_POA == 0) virtual ::PortableServer::Servant get_servant ( @@ -1047,10 +1047,10 @@ namespace PortableServer ::PortableServer::POA::NoServant, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void set_servant ( ::PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1059,12 +1059,12 @@ namespace PortableServer CORBA::SystemException, ::PortableServer::POA::WrongPolicy )) = 0; - + #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::PortableServer::ObjectId * activate_object ( ::PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1074,10 +1074,10 @@ namespace PortableServer ::PortableServer::POA::ServantAlreadyActive, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void activate_object_with_id ( const ::PortableServer::ObjectId & id, ::PortableServer::Servant p_servant @@ -1089,10 +1089,10 @@ namespace PortableServer ::PortableServer::POA::ObjectAlreadyActive, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void deactivate_object ( const ::PortableServer::ObjectId & oid ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1102,10 +1102,10 @@ namespace PortableServer ::PortableServer::POA::ObjectNotActive, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Object_ptr create_reference ( const char * intf ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1114,10 +1114,10 @@ namespace PortableServer CORBA::SystemException, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Object_ptr create_reference_with_id ( const ::PortableServer::ObjectId & oid, const char * intf @@ -1126,10 +1126,10 @@ namespace PortableServer ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::PortableServer::ObjectId * servant_to_id ( ::PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1139,10 +1139,10 @@ namespace PortableServer ::PortableServer::POA::ServantNotActive, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Object_ptr servant_to_reference ( ::PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1152,10 +1152,10 @@ namespace PortableServer ::PortableServer::POA::ServantNotActive, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::PortableServer::Servant reference_to_servant ( ::CORBA::Object_ptr reference ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1166,10 +1166,10 @@ namespace PortableServer ::PortableServer::POA::WrongAdapter, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::PortableServer::ObjectId * reference_to_id ( ::CORBA::Object_ptr reference ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1179,10 +1179,10 @@ namespace PortableServer ::PortableServer::POA::WrongAdapter, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::PortableServer::Servant id_to_servant ( const ::PortableServer::ObjectId & oid ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1192,10 +1192,10 @@ namespace PortableServer ::PortableServer::POA::ObjectNotActive, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Object_ptr id_to_reference ( const ::PortableServer::ObjectId & oid ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -1205,46 +1205,46 @@ namespace PortableServer ::PortableServer::POA::ObjectNotActive, ::PortableServer::POA::WrongPolicy )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::CORBA::OctetSeq * 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. POA (void); - + virtual ~POA (void); - + private: // Private and unimplemented for concrete interfaces. POA (const POA &); - + void operator= (const POA &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_POA; // TAO_IDL - Generated from @@ -1259,9 +1259,9 @@ namespace PortableServer namespace TAO { -#if !defined (_PORTABLESERVER_POAMANAGER__TRAITS_CH_) -#define _PORTABLESERVER_POAMANAGER__TRAITS_CH_ - +#if !defined (_PORTABLESERVER_POAMANAGER__TRAITS_) +#define _PORTABLESERVER_POAMANAGER__TRAITS_ + template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::POAManager> { @@ -1280,9 +1280,9 @@ namespace TAO #endif /* end #if !defined */ -#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR__TRAITS_CH_) -#define _PORTABLESERVER_ADAPTERACTIVATOR__TRAITS_CH_ - +#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR__TRAITS_) +#define _PORTABLESERVER_ADAPTERACTIVATOR__TRAITS_ + template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::AdapterActivator> { @@ -1301,9 +1301,9 @@ namespace TAO #endif /* end #if !defined */ -#if !defined (_PORTABLESERVER_SERVANTMANAGER__TRAITS_CH_) -#define _PORTABLESERVER_SERVANTMANAGER__TRAITS_CH_ - +#if !defined (_PORTABLESERVER_SERVANTMANAGER__TRAITS_) +#define _PORTABLESERVER_SERVANTMANAGER__TRAITS_ + template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ServantManager> { @@ -1322,9 +1322,9 @@ namespace TAO #endif /* end #if !defined */ -#if !defined (_PORTABLESERVER_POA__TRAITS_CH_) -#define _PORTABLESERVER_POA__TRAITS_CH_ - +#if !defined (_PORTABLESERVER_POA__TRAITS_) +#define _PORTABLESERVER_POA__TRAITS_ + template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::POA> { diff --git a/TAO/tao/PortableServer/PortableServerS.h b/TAO/tao/PortableServer/PortableServerS.h index c52e7d0ecc5..5b1c718ab1c 100644 --- a/TAO/tao/PortableServer/PortableServerS.h +++ b/TAO/tao/PortableServer/PortableServerS.h @@ -1,11 +1,76 @@ -/* @file PortableServerS.h - * - * $Id$ - * - * @author Matt Murphy <murphym@cs.uri.edu> - * - * This file is here and is empty because code generated from pidl files with - * local interfaces incorrectly includes this file. It is not needed but - * will caouse compile errors with local interface generated code. - * - */ +// -*- 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:373 + +#ifndef _TAO_IDL_PORTABLESERVERS_H_ +#define _TAO_IDL_PORTABLESERVERS_H_ + +#include /**/ "ace/pre.h" + +#include "PortableServerC.h" +#include "tao/Policy_ForwardS.h" +#include "tao/OctetSeqS.h" +#include "tao/orb_typesS.h" +#include "tao/PortableServer/PS_ForwardS.h" +#include "tao/PortableServer/IdAssignmentPolicyS.h" +#include "tao/PortableServer/IdUniquenessPolicyS.h" +#include "tao/PortableServer/ImplicitActivationPolicyS.h" +#include "tao/PortableServer/LifespanPolicyS.h" +#include "tao/PortableServer/RequestProcessingPolicyS.h" +#include "tao/PortableServer/ServantRetentionPolicyS.h" +#include "tao/PortableServer/ThreadPolicyS.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_sh.cpp:49 + +namespace POA_PortableServer +{ + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_sh.cpp:80 + +} // module PortableServer + +// TAO_IDL - Generated from +// be\be_codegen.cpp:1060 + + +#if defined (__ACE_INLINE__) +#include "PortableServerS.inl" +#endif /* defined INLINE */ + +#include /**/ "ace/post.h" +#endif /* ifndef */ + diff --git a/TAO/tao/PortableServer/PortableServer_includeC.h b/TAO/tao/PortableServer/PortableServer_includeC.h index 38649c85687..152ccaf4f6a 100644 --- a/TAO/tao/PortableServer/PortableServer_includeC.h +++ b/TAO/tao/PortableServer/PortableServer_includeC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_PORTABLESERVER_INCLUDEC_H_ -#define _TAO_IDL_ORIG_PORTABLESERVER_INCLUDEC_H_ +#ifndef _TAO_IDL_PORTABLESERVER_INCLUDEC_H_ +#define _TAO_IDL_PORTABLESERVER_INCLUDEC_H_ #include /**/ "ace/pre.h" @@ -52,15 +52,6 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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_traits.cpp:61 @@ -70,15 +61,7 @@ namespace TAO } // TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/PortableServer_includeS.h b/TAO/tao/PortableServer/PortableServer_includeS.h index ef06f9a4ce2..17b1360599e 100644 --- a/TAO/tao/PortableServer/PortableServer_includeS.h +++ b/TAO/tao/PortableServer/PortableServer_includeS.h @@ -25,43 +25,4 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -// TAO_IDL - Generated from -// be\be_codegen.cpp:390 - -#ifndef _TAO_IDL_ORIG_PORTABLESERVER_INCLUDES_H_ -#define _TAO_IDL_ORIG_PORTABLESERVER_INCLUDES_H_ - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/PortableServerS.h" -#include "PortableServer_includeC.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - - -#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_codegen.cpp:997 - - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ - -#include /**/ "ace/post.h" -#endif /* ifndef */ - +// Skeleton file generation suppressed with command line option -SS diff --git a/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp b/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp index f6a809b204b..542527f8a7b 100644 --- a/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp +++ b/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "RequestProcessingPolicyC.h" +#include "RequestProcessingPolicyA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -46,7 +46,7 @@ static char const * const _tao_enumerators_PortableServer_RequestProcessingPolic "USE_ACTIVE_OBJECT_MAP_ONLY", "USE_DEFAULT_SERVANT", "USE_SERVANT_MANAGER" - + }; static TAO::TypeCode::Enum<char const *, @@ -57,7 +57,7 @@ static TAO::TypeCode::Enum<char const *, "RequestProcessingPolicyValue", _tao_enumerators_PortableServer_RequestProcessingPolicyValue, 3); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_RequestProcessingPolicyValue = @@ -75,7 +75,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/PortableServer/RequestProcessingPolicy:2.3", "RequestProcessingPolicy"); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_RequestProcessingPolicy = @@ -108,82 +108,7 @@ CORBA::Boolean operator>>= ( TAO::Any_Basic_Impl_T<PortableServer::RequestProcessingPolicyValue>::extract ( _tao_any, PortableServer::_tc_RequestProcessingPolicyValue, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::RequestProcessingPolicy>::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::RequestProcessingPolicy>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::RequestProcessingPolicy>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::RequestProcessingPolicy_ptr _tao_elem - ) -{ - PortableServer::RequestProcessingPolicy_ptr _tao_objptr = - PortableServer::RequestProcessingPolicy::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::RequestProcessingPolicy_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::RequestProcessingPolicy>::insert ( - _tao_any, - PortableServer::RequestProcessingPolicy::_tao_any_destructor, - PortableServer::_tc_RequestProcessingPolicy, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::RequestProcessingPolicy_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::RequestProcessingPolicy>::extract ( - _tao_any, - PortableServer::RequestProcessingPolicy::_tao_any_destructor, - PortableServer::_tc_RequestProcessingPolicy, - _tao_elem + _tao_elem ); } diff --git a/TAO/tao/PortableServer/RequestProcessingPolicyA.h b/TAO/tao/PortableServer/RequestProcessingPolicyA.h new file mode 100644 index 00000000000..a00d7522145 --- /dev/null +++ b/TAO/tao/PortableServer/RequestProcessingPolicyA.h @@ -0,0 +1,70 @@ +// -*- 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 "portableserver_export.h" +#include "RequestProcessingPolicyC.h" +#include "tao/AnyTypeCode/PolicyA.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +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 &); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/RequestProcessingPolicyC.cpp b/TAO/tao/PortableServer/RequestProcessingPolicyC.cpp index 0cf4d5d6df0..c33d79df47f 100644 --- a/TAO/tao/PortableServer/RequestProcessingPolicyC.cpp +++ b/TAO/tao/PortableServer/RequestProcessingPolicyC.cpp @@ -26,17 +26,13 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "RequestProcessingPolicyC.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:70 @@ -90,14 +86,6 @@ PortableServer::RequestProcessingPolicy::RequestProcessingPolicy (void) PortableServer::RequestProcessingPolicy::~RequestProcessingPolicy (void) {} -void -PortableServer::RequestProcessingPolicy::_tao_any_destructor (void *_tao_void_pointer) -{ - RequestProcessingPolicy *_tao_tmp_pointer = - static_cast<RequestProcessingPolicy *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::RequestProcessingPolicy_ptr PortableServer::RequestProcessingPolicy::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/RequestProcessingPolicyC.h b/TAO/tao/PortableServer/RequestProcessingPolicyC.h index 467d161657d..6cb0d952943 100644 --- a/TAO/tao/PortableServer/RequestProcessingPolicyC.h +++ b/TAO/tao/PortableServer/RequestProcessingPolicyC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_REQUESTPROCESSINGPOLICYC_H_ -#define _TAO_IDL_ORIG_REQUESTPROCESSINGPOLICYC_H_ +#ifndef _TAO_IDL_REQUESTPROCESSINGPOLICYC_H_ +#define _TAO_IDL_REQUESTPROCESSINGPOLICYC_H_ #include /**/ "ace/pre.h" @@ -54,54 +54,40 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 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_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_RequestProcessingPolicyValue; - + // 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 @@ -109,121 +95,116 @@ namespace PortableServer 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); } - - static void _tao_any_destructor (void *); - + + + // 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_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_RequestProcessingPolicy; -#endif /* TAO_HAS_MINIMUM_POA == 0 */ // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer +#endif /* TAO_HAS_MINIMUM_POA == 0 */ // TAO_IDL - Generated from // be\be_visitor_traits.cpp:61 +#if (TAO_HAS_MINIMUM_POA == 0) + // Traits specializations. namespace TAO { -#if (TAO_HAS_MINIMUM_POA == 0) +#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY__TRAITS_) +#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY__TRAITS_ -#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY__TRAITS_CH_) -#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY__TRAITS_CH_ - template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::RequestProcessingPolicy> { @@ -241,27 +222,9 @@ namespace TAO }; #endif /* end #if !defined */ - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - } // TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:51 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::RequestProcessingPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::RequestProcessingPolicyValue &); - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::RequestProcessingPolicy_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::RequestProcessingPolicy_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::RequestProcessingPolicy_ptr &); - -// TAO_IDL - Generated from // be\be_visitor_enum/cdr_op_ch.cpp:50 TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::RequestProcessingPolicyValue); @@ -270,15 +233,7 @@ TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableSer #endif /* TAO_HAS_MINIMUM_POA == 0 */ // TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/ServantActivatorA.cpp b/TAO/tao/PortableServer/ServantActivatorA.cpp index adc559e5647..95230e368af 100644 --- a/TAO/tao/PortableServer/ServantActivatorA.cpp +++ b/TAO/tao/PortableServer/ServantActivatorA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "ServantActivatorC.h" +#include "ServantActivatorA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -52,81 +52,4 @@ namespace PortableServer &_tao_tc_PortableServer_ServantActivator; } - - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ServantActivator>::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::ServantActivator>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ServantActivator>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ServantActivator_ptr _tao_elem - ) -{ - PortableServer::ServantActivator_ptr _tao_objptr = - PortableServer::ServantActivator::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ServantActivator_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::ServantActivator>::insert ( - _tao_any, - PortableServer::ServantActivator::_tao_any_destructor, - PortableServer::_tc_ServantActivator, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::ServantActivator_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::ServantActivator>::extract ( - _tao_any, - PortableServer::ServantActivator::_tao_any_destructor, - PortableServer::_tc_ServantActivator, - _tao_elem - ); -} - #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantActivatorA.h b/TAO/tao/PortableServer/ServantActivatorA.h new file mode 100644 index 00000000000..da5bc2387bf --- /dev/null +++ b/TAO/tao/PortableServer/ServantActivatorA.h @@ -0,0 +1,61 @@ +// -*- 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 "portableserver_export.h" +#include "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 + +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 + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ServantActivatorC.cpp b/TAO/tao/PortableServer/ServantActivatorC.cpp index 22d57868f4b..2a2333d0567 100644 --- a/TAO/tao/PortableServer/ServantActivatorC.cpp +++ b/TAO/tao/PortableServer/ServantActivatorC.cpp @@ -26,7 +26,7 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "ServantActivatorC.h" @@ -34,10 +34,6 @@ #include "tao/ORB_Core.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:70 @@ -91,14 +87,6 @@ PortableServer::ServantActivator::ServantActivator (void) PortableServer::ServantActivator::~ServantActivator (void) {} -void -PortableServer::ServantActivator::_tao_any_destructor (void *_tao_void_pointer) -{ - ServantActivator *_tao_tmp_pointer = - static_cast<ServantActivator *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::ServantActivator_ptr PortableServer::ServantActivator::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/ServantActivatorC.h b/TAO/tao/PortableServer/ServantActivatorC.h index 64de4071d28..53e28b18c8a 100644 --- a/TAO/tao/PortableServer/ServantActivatorC.h +++ b/TAO/tao/PortableServer/ServantActivatorC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_SERVANTACTIVATORC_H_ -#define _TAO_IDL_ORIG_SERVANTACTIVATORC_H_ +#ifndef _TAO_IDL_SERVANTACTIVATORC_H_ +#define _TAO_IDL_SERVANTACTIVATORC_H_ #include /**/ "ace/pre.h" @@ -56,17 +56,8 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 #if (TAO_HAS_MINIMUM_POA == 0) @@ -129,7 +120,7 @@ namespace PortableServer return static_cast<ServantActivator_ptr> (0); } - static void _tao_any_destructor (void *); + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 @@ -184,14 +175,9 @@ namespace PortableServer }; #endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ServantActivator; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer @@ -202,8 +188,8 @@ namespace PortableServer namespace TAO { -#if !defined (_PORTABLESERVER_SERVANTACTIVATOR__TRAITS_CH_) -#define _PORTABLESERVER_SERVANTACTIVATOR__TRAITS_CH_ +#if !defined (_PORTABLESERVER_SERVANTACTIVATOR__TRAITS_) +#define _PORTABLESERVER_SERVANTACTIVATOR__TRAITS_ template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ServantActivator> @@ -224,25 +210,10 @@ namespace TAO #endif /* end #if !defined */ } -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ServantActivator_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ServantActivator_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ServantActivator_ptr &); - #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ // TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/ServantLocatorA.cpp b/TAO/tao/PortableServer/ServantLocatorA.cpp index 8e6ecb5e767..fed82639ced 100644 --- a/TAO/tao/PortableServer/ServantLocatorA.cpp +++ b/TAO/tao/PortableServer/ServantLocatorA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "ServantLocatorC.h" +#include "ServantLocatorA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -53,81 +53,4 @@ namespace PortableServer &_tao_tc_PortableServer_ServantLocator; } - - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ServantLocator>::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::ServantLocator>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ServantLocator>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ServantLocator_ptr _tao_elem - ) -{ - PortableServer::ServantLocator_ptr _tao_objptr = - PortableServer::ServantLocator::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ServantLocator_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::ServantLocator>::insert ( - _tao_any, - PortableServer::ServantLocator::_tao_any_destructor, - PortableServer::_tc_ServantLocator, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::ServantLocator_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::ServantLocator>::extract ( - _tao_any, - PortableServer::ServantLocator::_tao_any_destructor, - PortableServer::_tc_ServantLocator, - _tao_elem - ); -} - #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantLocatorA.h b/TAO/tao/PortableServer/ServantLocatorA.h new file mode 100644 index 00000000000..223062154e4 --- /dev/null +++ b/TAO/tao/PortableServer/ServantLocatorA.h @@ -0,0 +1,62 @@ +// -*- 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 "portableserver_export.h" +#include "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 + +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 + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ServantLocatorC.cpp b/TAO/tao/PortableServer/ServantLocatorC.cpp index b1a9623c479..e20acbb995d 100644 --- a/TAO/tao/PortableServer/ServantLocatorC.cpp +++ b/TAO/tao/PortableServer/ServantLocatorC.cpp @@ -26,7 +26,7 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "ServantLocatorC.h" @@ -34,10 +34,6 @@ #include "tao/ORB_Core.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:70 @@ -91,14 +87,6 @@ PortableServer::ServantLocator::ServantLocator (void) PortableServer::ServantLocator::~ServantLocator (void) {} -void -PortableServer::ServantLocator::_tao_any_destructor (void *_tao_void_pointer) -{ - ServantLocator *_tao_tmp_pointer = - static_cast<ServantLocator *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::ServantLocator_ptr PortableServer::ServantLocator::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/ServantLocatorC.h b/TAO/tao/PortableServer/ServantLocatorC.h index be2020ff060..d0333809f29 100644 --- a/TAO/tao/PortableServer/ServantLocatorC.h +++ b/TAO/tao/PortableServer/ServantLocatorC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_SERVANTLOCATORC_H_ -#define _TAO_IDL_ORIG_SERVANTLOCATORC_H_ +#ifndef _TAO_IDL_SERVANTLOCATORC_H_ +#define _TAO_IDL_SERVANTLOCATORC_H_ #include /**/ "ace/pre.h" @@ -57,17 +57,8 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 #if (TAO_HAS_MINIMUM_POA == 0) @@ -132,7 +123,7 @@ namespace PortableServer return static_cast<ServantLocator_ptr> (0); } - static void _tao_any_destructor (void *); + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 @@ -189,14 +180,9 @@ namespace PortableServer }; #endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ServantLocator; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer @@ -207,8 +193,8 @@ namespace PortableServer namespace TAO { -#if !defined (_PORTABLESERVER_SERVANTLOCATOR__TRAITS_CH_) -#define _PORTABLESERVER_SERVANTLOCATOR__TRAITS_CH_ +#if !defined (_PORTABLESERVER_SERVANTLOCATOR__TRAITS_) +#define _PORTABLESERVER_SERVANTLOCATOR__TRAITS_ template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ServantLocator> @@ -229,25 +215,10 @@ namespace TAO #endif /* end #if !defined */ } -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ServantLocator_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ServantLocator_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ServantLocator_ptr &); - #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ // TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/ServantManagerA.cpp b/TAO/tao/PortableServer/ServantManagerA.cpp index b28b9d4f18f..5f6d30238b9 100644 --- a/TAO/tao/PortableServer/ServantManagerA.cpp +++ b/TAO/tao/PortableServer/ServantManagerA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "ServantManagerC.h" +#include "ServantManagerA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -52,81 +52,4 @@ namespace PortableServer &_tao_tc_PortableServer_ServantManager; } - - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ServantManager>::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::ServantManager>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ServantManager>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ServantManager_ptr _tao_elem - ) -{ - PortableServer::ServantManager_ptr _tao_objptr = - PortableServer::ServantManager::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ServantManager_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::ServantManager>::insert ( - _tao_any, - PortableServer::ServantManager::_tao_any_destructor, - PortableServer::_tc_ServantManager, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::ServantManager_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::ServantManager>::extract ( - _tao_any, - PortableServer::ServantManager::_tao_any_destructor, - PortableServer::_tc_ServantManager, - _tao_elem - ); -} - #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ diff --git a/TAO/tao/PortableServer/ServantManagerA.h b/TAO/tao/PortableServer/ServantManagerA.h new file mode 100644 index 00000000000..a3b630bc035 --- /dev/null +++ b/TAO/tao/PortableServer/ServantManagerA.h @@ -0,0 +1,58 @@ +// -*- 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 "portableserver_export.h" +#include "ServantManagerC.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +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 + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ServantManagerC.cpp b/TAO/tao/PortableServer/ServantManagerC.cpp index da86770afba..a870d15bb09 100644 --- a/TAO/tao/PortableServer/ServantManagerC.cpp +++ b/TAO/tao/PortableServer/ServantManagerC.cpp @@ -26,17 +26,13 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "ServantManagerC.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:70 @@ -89,14 +85,6 @@ PortableServer::ServantManager::ServantManager (void) PortableServer::ServantManager::~ServantManager (void) {} -void -PortableServer::ServantManager::_tao_any_destructor (void *_tao_void_pointer) -{ - ServantManager *_tao_tmp_pointer = - static_cast<ServantManager *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::ServantManager_ptr PortableServer::ServantManager::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/ServantManagerC.h b/TAO/tao/PortableServer/ServantManagerC.h index 564ed3ac737..bc6f82dc2ce 100644 --- a/TAO/tao/PortableServer/ServantManagerC.h +++ b/TAO/tao/PortableServer/ServantManagerC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_SERVANTMANAGERC_H_ -#define _TAO_IDL_ORIG_SERVANTMANAGERC_H_ +#ifndef _TAO_IDL_SERVANTMANAGERC_H_ +#define _TAO_IDL_SERVANTMANAGERC_H_ #include /**/ "ace/pre.h" @@ -51,17 +51,8 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 #if (TAO_HAS_MINIMUM_POA == 0) @@ -124,7 +115,7 @@ namespace PortableServer return static_cast<ServantManager_ptr> (0); } - static void _tao_any_destructor (void *); + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:210 @@ -151,14 +142,9 @@ namespace PortableServer }; #endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ServantManager; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer @@ -169,8 +155,8 @@ namespace PortableServer namespace TAO { -#if !defined (_PORTABLESERVER_SERVANTMANAGER__TRAITS_CH_) -#define _PORTABLESERVER_SERVANTMANAGER__TRAITS_CH_ +#if !defined (_PORTABLESERVER_SERVANTMANAGER__TRAITS_) +#define _PORTABLESERVER_SERVANTMANAGER__TRAITS_ template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ServantManager> @@ -191,25 +177,10 @@ namespace TAO #endif /* end #if !defined */ } -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ServantManager_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ServantManager_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ServantManager_ptr &); - #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ // TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp b/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp index 17cca802dc9..70f4a4512e1 100644 --- a/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp +++ b/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "ServantRetentionPolicyC.h" +#include "ServantRetentionPolicyA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -45,7 +45,7 @@ static char const * const _tao_enumerators_PortableServer_ServantRetentionPolicy { "RETAIN", "NON_RETAIN" - + }; static TAO::TypeCode::Enum<char const *, @@ -56,7 +56,7 @@ static TAO::TypeCode::Enum<char const *, "ServantRetentionPolicyValue", _tao_enumerators_PortableServer_ServantRetentionPolicyValue, 2); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_ServantRetentionPolicyValue = @@ -74,7 +74,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/PortableServer/ServantRetentionPolicy:2.3", "ServantRetentionPolicy"); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_ServantRetentionPolicy = @@ -107,82 +107,7 @@ CORBA::Boolean operator>>= ( TAO::Any_Basic_Impl_T<PortableServer::ServantRetentionPolicyValue>::extract ( _tao_any, PortableServer::_tc_ServantRetentionPolicyValue, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ServantRetentionPolicy>::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::ServantRetentionPolicy>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ServantRetentionPolicy>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ServantRetentionPolicy_ptr _tao_elem - ) -{ - PortableServer::ServantRetentionPolicy_ptr _tao_objptr = - PortableServer::ServantRetentionPolicy::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ServantRetentionPolicy_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::ServantRetentionPolicy>::insert ( - _tao_any, - PortableServer::ServantRetentionPolicy::_tao_any_destructor, - PortableServer::_tc_ServantRetentionPolicy, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::ServantRetentionPolicy_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::ServantRetentionPolicy>::extract ( - _tao_any, - PortableServer::ServantRetentionPolicy::_tao_any_destructor, - PortableServer::_tc_ServantRetentionPolicy, - _tao_elem + _tao_elem ); } diff --git a/TAO/tao/PortableServer/ServantRetentionPolicyA.h b/TAO/tao/PortableServer/ServantRetentionPolicyA.h new file mode 100644 index 00000000000..0ffcf36340c --- /dev/null +++ b/TAO/tao/PortableServer/ServantRetentionPolicyA.h @@ -0,0 +1,70 @@ +// -*- 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 "portableserver_export.h" +#include "ServantRetentionPolicyC.h" +#include "tao/AnyTypeCode/PolicyA.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +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 &); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ServantRetentionPolicyC.cpp b/TAO/tao/PortableServer/ServantRetentionPolicyC.cpp index 4af9830fee6..a1593b6f7a5 100644 --- a/TAO/tao/PortableServer/ServantRetentionPolicyC.cpp +++ b/TAO/tao/PortableServer/ServantRetentionPolicyC.cpp @@ -26,17 +26,13 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "ServantRetentionPolicyC.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:70 @@ -90,14 +86,6 @@ PortableServer::ServantRetentionPolicy::ServantRetentionPolicy (void) PortableServer::ServantRetentionPolicy::~ServantRetentionPolicy (void) {} -void -PortableServer::ServantRetentionPolicy::_tao_any_destructor (void *_tao_void_pointer) -{ - ServantRetentionPolicy *_tao_tmp_pointer = - static_cast<ServantRetentionPolicy *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::ServantRetentionPolicy_ptr PortableServer::ServantRetentionPolicy::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/ServantRetentionPolicyC.h b/TAO/tao/PortableServer/ServantRetentionPolicyC.h index 7e34b498328..5aac210495d 100644 --- a/TAO/tao/PortableServer/ServantRetentionPolicyC.h +++ b/TAO/tao/PortableServer/ServantRetentionPolicyC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_SERVANTRETENTIONPOLICYC_H_ -#define _TAO_IDL_ORIG_SERVANTRETENTIONPOLICYC_H_ +#ifndef _TAO_IDL_SERVANTRETENTIONPOLICYC_H_ +#define _TAO_IDL_SERVANTRETENTIONPOLICYC_H_ #include /**/ "ace/pre.h" @@ -54,53 +54,39 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 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_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ServantRetentionPolicyValue; - + // 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 @@ -108,105 +94,100 @@ namespace PortableServer 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); } - - static void _tao_any_destructor (void *); - + + + // 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_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ServantRetentionPolicy; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ @@ -215,15 +196,15 @@ namespace PortableServer // TAO_IDL - Generated from // be\be_visitor_traits.cpp:61 +#if (TAO_HAS_MINIMUM_POA == 0) + // Traits specializations. namespace TAO { -#if (TAO_HAS_MINIMUM_POA == 0) +#if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY__TRAITS_) +#define _PORTABLESERVER_SERVANTRETENTIONPOLICY__TRAITS_ -#if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY__TRAITS_CH_) -#define _PORTABLESERVER_SERVANTRETENTIONPOLICY__TRAITS_CH_ - template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ServantRetentionPolicy> { @@ -241,26 +222,9 @@ namespace TAO }; #endif /* end #if !defined */ - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ } // TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:51 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ServantRetentionPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ServantRetentionPolicyValue &); - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ServantRetentionPolicy_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ServantRetentionPolicy_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ServantRetentionPolicy_ptr &); - -// TAO_IDL - Generated from // be\be_visitor_enum/cdr_op_ch.cpp:50 TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::ServantRetentionPolicyValue); @@ -269,15 +233,7 @@ TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableSer #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ // TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" diff --git a/TAO/tao/PortableServer/ThreadPolicyA.cpp b/TAO/tao/PortableServer/ThreadPolicyA.cpp index 9ebac17f564..aac6c73f79a 100644 --- a/TAO/tao/PortableServer/ThreadPolicyA.cpp +++ b/TAO/tao/PortableServer/ThreadPolicyA.cpp @@ -25,7 +25,7 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#include "ThreadPolicyC.h" +#include "ThreadPolicyA.h" #include "tao/AnyTypeCode/Null_RefCount_Policy.h" #include "tao/AnyTypeCode/TypeCode_Constants.h" #include "tao/AnyTypeCode/Alias_TypeCode_Static.h" @@ -45,7 +45,7 @@ static char const * const _tao_enumerators_PortableServer_ThreadPolicyValue[] = { "ORB_CTRL_MODEL", "SINGLE_THREAD_MODEL" - + }; static TAO::TypeCode::Enum<char const *, @@ -56,7 +56,7 @@ static TAO::TypeCode::Enum<char const *, "ThreadPolicyValue", _tao_enumerators_PortableServer_ThreadPolicyValue, 2); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_ThreadPolicyValue = @@ -74,7 +74,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/PortableServer/ThreadPolicy:2.3", "ThreadPolicy"); - + namespace PortableServer { ::CORBA::TypeCode_ptr const _tc_ThreadPolicy = @@ -107,82 +107,7 @@ CORBA::Boolean operator>>= ( TAO::Any_Basic_Impl_T<PortableServer::ThreadPolicyValue>::extract ( _tao_any, PortableServer::_tc_ThreadPolicyValue, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_cs.cpp:50 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ThreadPolicy>::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::ThreadPolicy>::marshal_value (TAO_OutputCDR &) - { - return false; - } - - template<> - CORBA::Boolean - Any_Impl_T<PortableServer::ThreadPolicy>::demarshal_value (TAO_InputCDR &) - { - return false; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ThreadPolicy_ptr _tao_elem - ) -{ - PortableServer::ThreadPolicy_ptr _tao_objptr = - PortableServer::ThreadPolicy::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableServer::ThreadPolicy_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableServer::ThreadPolicy>::insert ( - _tao_any, - PortableServer::ThreadPolicy::_tao_any_destructor, - PortableServer::_tc_ThreadPolicy, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableServer::ThreadPolicy_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableServer::ThreadPolicy>::extract ( - _tao_any, - PortableServer::ThreadPolicy::_tao_any_destructor, - PortableServer::_tc_ThreadPolicy, - _tao_elem + _tao_elem ); } diff --git a/TAO/tao/PortableServer/ThreadPolicyA.h b/TAO/tao/PortableServer/ThreadPolicyA.h new file mode 100644 index 00000000000..0f5c471402b --- /dev/null +++ b/TAO/tao/PortableServer/ThreadPolicyA.h @@ -0,0 +1,70 @@ +// -*- 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 "portableserver_export.h" +#include "ThreadPolicyC.h" +#include "tao/AnyTypeCode/PolicyA.h" + + +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:59 + +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 &); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/ThreadPolicyC.cpp b/TAO/tao/PortableServer/ThreadPolicyC.cpp index 413cdbcdfcd..ac2f91049f7 100644 --- a/TAO/tao/PortableServer/ThreadPolicyC.cpp +++ b/TAO/tao/PortableServer/ThreadPolicyC.cpp @@ -26,17 +26,13 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:291 +// be\be_codegen.cpp:277 #include "ThreadPolicyC.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:70 @@ -90,14 +86,6 @@ PortableServer::ThreadPolicy::ThreadPolicy (void) PortableServer::ThreadPolicy::~ThreadPolicy (void) {} -void -PortableServer::ThreadPolicy::_tao_any_destructor (void *_tao_void_pointer) -{ - ThreadPolicy *_tao_tmp_pointer = - static_cast<ThreadPolicy *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); -} - PortableServer::ThreadPolicy_ptr PortableServer::ThreadPolicy::_narrow ( CORBA::Object_ptr _tao_objref diff --git a/TAO/tao/PortableServer/ThreadPolicyC.h b/TAO/tao/PortableServer/ThreadPolicyC.h index 16481e23122..aad589c4fb3 100644 --- a/TAO/tao/PortableServer/ThreadPolicyC.h +++ b/TAO/tao/PortableServer/ThreadPolicyC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:153 +// be\be_codegen.cpp:154 -#ifndef _TAO_IDL_ORIG_THREADPOLICYC_H_ -#define _TAO_IDL_ORIG_THREADPOLICYC_H_ +#ifndef _TAO_IDL_THREADPOLICYC_H_ +#define _TAO_IDL_THREADPOLICYC_H_ #include /**/ "ace/pre.h" @@ -54,53 +54,39 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_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 +// be\be_visitor_module/module_ch.cpp:49 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_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ThreadPolicyValue; - + // 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 @@ -108,122 +94,116 @@ namespace PortableServer 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); } - - static void _tao_any_destructor (void *); - + + + // 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_typecode/typecode_decl.cpp:44 - - extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_ThreadPolicy; - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// be\be_visitor_module/module_ch.cpp:78 } // module PortableServer +#endif /* TAO_HAS_MINIMUM_POA == 0 */ + // TAO_IDL - Generated from // be\be_visitor_traits.cpp:61 +#if (TAO_HAS_MINIMUM_POA == 0) // Traits specializations. namespace TAO { -#if (TAO_HAS_MINIMUM_POA == 0) +#if !defined (_PORTABLESERVER_THREADPOLICY__TRAITS_) +#define _PORTABLESERVER_THREADPOLICY__TRAITS_ -#if !defined (_PORTABLESERVER_THREADPOLICY__TRAITS_CH_) -#define _PORTABLESERVER_THREADPOLICY__TRAITS_CH_ - template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::ThreadPolicy> { @@ -241,27 +221,9 @@ namespace TAO }; #endif /* end #if !defined */ - -#endif /* TAO_HAS_MINIMUM_POA == 0 */ - } // TAO_IDL - Generated from -// be\be_visitor_enum/any_op_ch.cpp:51 - -#if (TAO_HAS_MINIMUM_POA == 0) - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ThreadPolicyValue); -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ThreadPolicyValue &); - -// TAO_IDL - Generated from -// be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ThreadPolicy_ptr); // copying -TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ThreadPolicy_ptr *); // non-copying -TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ThreadPolicy_ptr &); - -// TAO_IDL - Generated from // be\be_visitor_enum/cdr_op_ch.cpp:50 TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, PortableServer::ThreadPolicyValue); @@ -270,15 +232,7 @@ TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableSer #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ // TAO_IDL - Generated from -// be\be_codegen.cpp:955 - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ +// be\be_codegen.cpp:1028 #include /**/ "ace/post.h" |