--- InterfaceC.cpp Fri Dec 01 16:26:18 2000 +++ ..\..\..\tao\InterfaceC.cpp Mon Nov 27 19:24:33 2000 @@ -1,6 +1,6 @@ // -*- C++ -*- // -// $Id$ +/* $Id$ */ // **** Code generated by the The ACE ORB (TAO) IDL Compiler **** // TAO and the TAO IDL Compiler have been developed by: @@ -21,6 +21,11 @@ #include "InterfaceC.h" +#if (TAO_HAS_INTERFACE_REPOSITORY == 1) + +#include "tao/Stub.h" +#include "tao/Invocation.h" + #if !defined (__ACE_INLINE__) #include "InterfaceC.i" #endif /* !defined INLINE */ @@ -66,7 +71,7 @@ 12, ACE_NTOHL (0x646b5f50), ACE_NTOHL (0x726f7669), ACE_NTOHL (0x64657300), // name = dk_Provides 8, ACE_NTOHL (0x646b5f55), ACE_NTOHL (0x73657300), // name = dk_Uses }; -static CORBA::TypeCode _tc_TAO_tc_IR_DefinitionKind (CORBA::tk_enum, sizeof (_oc_IR_DefinitionKind), (char *) &_oc_IR_DefinitionKind, 0, sizeof (IR::DefinitionKind)); +static CORBA::TypeCode _tc_TAO_tc_IR_DefinitionKind (CORBA::tk_enum, sizeof (_oc_IR_DefinitionKind), (char *) &_oc_IR_DefinitionKind, 0, sizeof (IR_DefinitionKind)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_DefinitionKind, &_tc_TAO_tc_IR_DefinitionKind) @@ -76,15 +81,15 @@ // Base & Remote Proxy Implementation. // -CORBA::_TAO_IRObject_Proxy_Impl::_TAO_IRObject_Proxy_Impl (void) +_TAO_IRObject_Proxy_Impl::_TAO_IRObject_Proxy_Impl (void) {} -CORBA::_TAO_IRObject_Remote_Proxy_Impl::_TAO_IRObject_Remote_Proxy_Impl (void) +_TAO_IRObject_Remote_Proxy_Impl::_TAO_IRObject_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::DefinitionKind CORBA::_TAO_IRObject_Remote_Proxy_Impl::def_kind ( +IR_DefinitionKind _TAO_IRObject_Remote_Proxy_Impl::def_kind ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -93,7 +98,7 @@ )) { - IR::DefinitionKind _tao_retval = (IR::DefinitionKind)0; + IR_DefinitionKind _tao_retval = (IR_DefinitionKind)0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -109,46 +114,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_def_kind_get ri ( - "_get_def_kind", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -157,7 +137,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -167,55 +147,24 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - IR::DefinitionKind _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void CORBA::_TAO_IRObject_Remote_Proxy_Impl::destroy ( +void _TAO_IRObject_Remote_Proxy_Impl::destroy ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - - - +{ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -229,46 +178,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_destroy ri ( - "destroy", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -277,36 +201,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -319,32 +220,32 @@ // Remote & Base Proxy Broker Implementation // -CORBA::_TAO_IRObject_Proxy_Broker::_TAO_IRObject_Proxy_Broker (void) +_TAO_IRObject_Proxy_Broker::_TAO_IRObject_Proxy_Broker (void) { } -CORBA::_TAO_IRObject_Proxy_Broker::~_TAO_IRObject_Proxy_Broker (void) +_TAO_IRObject_Proxy_Broker::~_TAO_IRObject_Proxy_Broker (void) { } -// Factory Member function Implementation. -CORBA::_TAO_IRObject_Remote_Proxy_Broker *CORBA::_TAO_IRObject_Remote_Proxy_Broker::the_TAO_IRObject_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_IRObject_Remote_Proxy_Broker *the_TAO_IRObject_Remote_Proxy_Broker (void) { - static ::CORBA::_TAO_IRObject_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_IRObject_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -CORBA::_TAO_IRObject_Remote_Proxy_Broker::_TAO_IRObject_Remote_Proxy_Broker (void) +_TAO_IRObject_Remote_Proxy_Broker::_TAO_IRObject_Remote_Proxy_Broker (void) { } -CORBA::_TAO_IRObject_Remote_Proxy_Broker::~_TAO_IRObject_Remote_Proxy_Broker (void) +_TAO_IRObject_Remote_Proxy_Broker::~_TAO_IRObject_Remote_Proxy_Broker (void) { } -CORBA::_TAO_IRObject_Proxy_Impl& -CORBA::_TAO_IRObject_Remote_Proxy_Broker::select_proxy ( - ::CORBA::IRObject *object, +_TAO_IRObject_Proxy_Impl& +_TAO_IRObject_Remote_Proxy_Broker::select_proxy ( + CORBA_IRObject *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -360,109 +261,109 @@ // default constructor -CORBA::IRObject::IRObject (int collocated) +CORBA_IRObject::CORBA_IRObject (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -CORBA::IRObject::~IRObject (void) +CORBA_IRObject::~CORBA_IRObject (void) {} void -CORBA::IRObject::_tao_setup_collocation (int collocated) +CORBA_IRObject::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_IRObject_Proxy_Broker_ = - ::CORBA__TAO_IRObject_Proxy_Broker_Factory_function_pointer (this); + _TAO_IRObject_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_IRObject_Proxy_Broker_ = - ::CORBA::_TAO_IRObject_Remote_Proxy_Broker::the_TAO_IRObject_Remote_Proxy_Broker (); + the_TAO_IRObject_Remote_Proxy_Broker (); } -void CORBA::IRObject::_tao_any_destructor (void *x) +void CORBA_IRObject::_tao_any_destructor (void *x) { - IRObject *tmp = ACE_static_cast (IRObject*,x); + CORBA_IRObject *tmp = ACE_static_cast (CORBA_IRObject*,x); CORBA::release (tmp); } -CORBA::IRObject_ptr CORBA::IRObject::_narrow ( +CORBA_IRObject_ptr CORBA_IRObject::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return IRObject::_nil (); + return CORBA_IRObject::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/CORBA/IRObject:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (IRObject::_nil ()); + ACE_CHECK_RETURN (CORBA_IRObject::_nil ()); if (is_a == 0) - return IRObject::_nil (); + return CORBA_IRObject::_nil (); } - return IRObject::_unchecked_narrow (obj, ACE_TRY_ENV); + return CORBA_IRObject::_unchecked_narrow (obj, ACE_TRY_ENV); } -CORBA::IRObject_ptr CORBA::IRObject::_unchecked_narrow ( +CORBA_IRObject_ptr CORBA_IRObject::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return IRObject::_nil (); + return CORBA_IRObject::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - IRObject_ptr default_proxy = IRObject::_nil (); + CORBA_IRObject_ptr default_proxy = CORBA_IRObject::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&CORBA__TAO_IRObject_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () && _TAO_IRObject_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::CORBA::IRObject ( + CORBA_IRObject ( stub, 1, obj->_servant ()), - IRObject::_nil ()); + CORBA_IRObject::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::CORBA::IRObject (stub, 0, obj->_servant ()), IRObject::_nil ()); + ACE_NEW_RETURN (default_proxy, CORBA_IRObject (stub, 0, obj->_servant ()), CORBA_IRObject::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - IRObject_ptr, + CORBA_IRObject_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &IRObject::_narrow + &CORBA_IRObject::_narrow ) ) ); } -CORBA::IRObject_ptr -CORBA::IRObject::_duplicate (IRObject_ptr obj) +CORBA_IRObject_ptr +CORBA_IRObject::_duplicate (CORBA_IRObject_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean CORBA::IRObject::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean CORBA_IRObject::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) || @@ -472,12 +373,12 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *CORBA::IRObject::_tao_QueryInterface (ptr_arith_t type) +void *CORBA_IRObject::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::CORBA, IRObject)::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow)) retv = ACE_reinterpret_cast (void *, @@ -488,12 +389,12 @@ return retv; } -const char* CORBA::IRObject::_interface_repository_id (void) const +const char* CORBA_IRObject::_interface_repository_id (void) const { return "IDL:omg.org/CORBA/IRObject:1.0"; } -IR::DefinitionKind CORBA::IRObject::def_kind ( +IR_DefinitionKind CORBA_IRObject::def_kind ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -507,7 +408,7 @@ ); } -void CORBA::IRObject::destroy ( +void CORBA_IRObject::destroy ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -521,95 +422,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_def_kind_get::TAO_ClientRequestInfo_CORBA_IRObject_def_kind_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_def_kind_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_def_kind_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_def_kind_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_def_kind_get::result (IR::DefinitionKind result) -{ - // update the result - this->result_ = result; -} - -CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_destroy::TAO_ClientRequestInfo_CORBA_IRObject_destroy ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_destroy::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_destroy::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -CORBA::IRObject::TAO_ClientRequestInfo_CORBA_IRObject_destroy::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_CORBA_IRObject[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x434f5242), ACE_NTOHL (0x412f4952), ACE_NTOHL (0x4f626a65), ACE_NTOHL (0x63743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/IRObject:1.0 - 9, ACE_NTOHL (0x49524f62), ACE_NTOHL (0x6a656374), ACE_NTOHL (0x0), // name = IRObject + 9, ACE_NTOHL (0x49524f62), ACE_NTOHL (0x6a656374), ACE_NTOHL (0x0), // name = CORBA_IRObject }; -static CORBA::TypeCode _tc_TAO_tc_CORBA_IRObject (CORBA::tk_objref, sizeof (_oc_CORBA_IRObject), (char *) &_oc_CORBA_IRObject, 0, sizeof (CORBA::IRObject)); +static CORBA::TypeCode _tc_TAO_tc_CORBA_IRObject (CORBA::tk_objref, sizeof (_oc_CORBA_IRObject), (char *) &_oc_CORBA_IRObject, 0, sizeof (CORBA_IRObject)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (CORBA) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_IRObject, &_tc_TAO_tc_CORBA_IRObject) @@ -635,45 +454,67 @@ TAO_NAMESPACE_BEGIN (CORBA) TAO_NAMESPACE_DEFINE (const CORBA::Short, PUBLIC_MEMBER, 1) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_Identifier[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x64656e74), ACE_NTOHL (0x69666965), ACE_NTOHL (0x723a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/Identifier:1.0 11, ACE_NTOHL (0x4964656e), ACE_NTOHL (0x74696669), ACE_NTOHL (0x65720000), // name = Identifier - CORBA::tk_string, - 0U, // string length + CORBA::tk_alias, // typecode kind for typedefs + 68, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + 33, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x434f5242), ACE_NTOHL (0x412f4964), ACE_NTOHL (0x656e7469), ACE_NTOHL (0x66696572), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/Identifier:1.0 + 11, ACE_NTOHL (0x4964656e), ACE_NTOHL (0x74696669), ACE_NTOHL (0x65720000), // name = Identifier + CORBA::tk_string, + 0U, // string length + }; static CORBA::TypeCode _tc_TAO_tc_IR_Identifier (CORBA::tk_alias, sizeof (_oc_IR_Identifier), (char *) &_oc_IR_Identifier, 0, sizeof (IR::Identifier)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Identifier, &_tc_TAO_tc_IR_Identifier) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_ScopedName[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x636f7065), ACE_NTOHL (0x644e616d), ACE_NTOHL (0x653a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/ScopedName:1.0 11, ACE_NTOHL (0x53636f70), ACE_NTOHL (0x65644e61), ACE_NTOHL (0x6d650000), // name = ScopedName - CORBA::tk_string, - 0U, // string length + CORBA::tk_alias, // typecode kind for typedefs + 68, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + 33, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x434f5242), ACE_NTOHL (0x412f5363), ACE_NTOHL (0x6f706564), ACE_NTOHL (0x4e616d65), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/ScopedName:1.0 + 11, ACE_NTOHL (0x53636f70), ACE_NTOHL (0x65644e61), ACE_NTOHL (0x6d650000), // name = ScopedName + CORBA::tk_string, + 0U, // string length + }; static CORBA::TypeCode _tc_TAO_tc_IR_ScopedName (CORBA::tk_alias, sizeof (_oc_IR_ScopedName), (char *) &_oc_IR_ScopedName, 0, sizeof (IR::ScopedName)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ScopedName, &_tc_TAO_tc_IR_ScopedName) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_RepositoryId[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f52), ACE_NTOHL (0x65706f73), ACE_NTOHL (0x69746f72), ACE_NTOHL (0x7949643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/RepositoryId:1.0 - 13, ACE_NTOHL (0x5265706f), ACE_NTOHL (0x7369746f), ACE_NTOHL (0x72794964), ACE_NTOHL (0x0), // name = RepositoryId - CORBA::tk_string, - 0U, // string length + 13, ACE_NTOHL (0x5265706f), ACE_NTOHL (0x7369746f), ACE_NTOHL (0x72794964), ACE_NTOHL (0x0), // name = IR_RepositoryId + CORBA::tk_alias, // typecode kind for typedefs + 72, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + 35, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x434f5242), ACE_NTOHL (0x412f5265), ACE_NTOHL (0x706f7369), ACE_NTOHL (0x746f7279), ACE_NTOHL (0x49643a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/RepositoryId:1.0 + 13, ACE_NTOHL (0x5265706f), ACE_NTOHL (0x7369746f), ACE_NTOHL (0x72794964), ACE_NTOHL (0x0), // name = IR_RepositoryId + CORBA::tk_string, + 0U, // string length + }; static CORBA::TypeCode _tc_TAO_tc_IR_RepositoryId (CORBA::tk_alias, sizeof (_oc_IR_RepositoryId), (char *) &_oc_IR_RepositoryId, 0, sizeof (IR::RepositoryId)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_RepositoryId, &_tc_TAO_tc_IR_RepositoryId) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_VersionSpec[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -692,15 +533,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_Contained_Proxy_Impl::_TAO_Contained_Proxy_Impl (void) +_TAO_Contained_Proxy_Impl::_TAO_Contained_Proxy_Impl (void) {} -IR::_TAO_Contained_Remote_Proxy_Impl::_TAO_Contained_Remote_Proxy_Impl (void) +_TAO_Contained_Remote_Proxy_Impl::_TAO_Contained_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -char * IR::_TAO_Contained_Remote_Proxy_Impl::id ( +char * _TAO_Contained_Remote_Proxy_Impl::id ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -725,46 +566,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_get ri ( - "_get_id", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -773,7 +589,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -783,45 +599,17 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - char * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_Contained_Remote_Proxy_Impl::id ( +void _TAO_Contained_Remote_Proxy_Impl::id ( CORBA_Object *_collocated_tao_target_, const char * id, CORBA::Environment &ACE_TRY_ENV @@ -829,11 +617,7 @@ ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - - - +{ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -847,56 +631,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_set ri ( - "_set_id", - _tao_call.service_info (), - _collocated_tao_target_, - id, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << id) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -905,50 +663,25 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -char * IR::_TAO_Contained_Remote_Proxy_Impl::name ( +char * _TAO_Contained_Remote_Proxy_Impl::name ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ CORBA::String_var _tao_safe_retval; - - + TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); @@ -962,46 +695,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_get ri ( - "_get_name", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -1010,7 +718,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -1020,45 +728,17 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - char * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_Contained_Remote_Proxy_Impl::name ( +void _TAO_Contained_Remote_Proxy_Impl::name ( CORBA_Object *_collocated_tao_target_, const char * name, CORBA::Environment &ACE_TRY_ENV @@ -1066,11 +746,7 @@ ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - - - +{ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -1084,56 +760,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_set ri ( - "_set_name", - _tao_call.service_info (), - _collocated_tao_target_, - name, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << name) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -1142,41 +792,18 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -char * IR::_TAO_Contained_Remote_Proxy_Impl::version ( +char * _TAO_Contained_Remote_Proxy_Impl::version ( CORBA_Object *_collocated_tao_target_, - CORBA::Environment &ACE_TRY_ENV + CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException @@ -1199,46 +826,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_get ri ( - "_get_version", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -1247,7 +849,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -1257,45 +859,17 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - char * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_Contained_Remote_Proxy_Impl::version ( +void _TAO_Contained_Remote_Proxy_Impl::version ( CORBA_Object *_collocated_tao_target_, const char * version, CORBA::Environment &ACE_TRY_ENV @@ -1303,15 +877,10 @@ ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - - - +{ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, @@ -1321,56 +890,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_set ri ( - "_set_version", - _tao_call.service_info (), - _collocated_tao_target_, - version, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << version) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -1379,55 +922,30 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::Container_ptr IR::_TAO_Contained_Remote_Proxy_Impl::defined_in ( +IR_Container_ptr _TAO_Contained_Remote_Proxy_Impl::defined_in ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - IR::Container_ptr _tao_retval = IR::Container::_nil (); - IR::Container_var _tao_safe_retval (_tao_retval); +{ + IR_Container_ptr _tao_retval = IR_Container::_nil (); + IR_Container_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, @@ -1437,46 +955,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_defined_in_get ri ( - "_get_defined_in", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -1485,7 +978,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -1495,60 +988,29 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::Container_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -char * IR::_TAO_Contained_Remote_Proxy_Impl::absolute_name ( +char * _TAO_Contained_Remote_Proxy_Impl::absolute_name ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ CORBA::String_var _tao_safe_retval; - - + TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, @@ -1558,46 +1020,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_absolute_name_get ri ( - "_get_absolute_name", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -1606,7 +1043,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -1616,61 +1053,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - char * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::Repository_ptr IR::_TAO_Contained_Remote_Proxy_Impl::containing_repository ( +IR_Repository_ptr _TAO_Contained_Remote_Proxy_Impl::containing_repository ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - IR::Repository_ptr _tao_retval = IR::Repository::_nil (); - IR::Repository_var _tao_safe_retval (_tao_retval); - - +{ + IR_Repository_ptr _tao_retval = IR_Repository::_nil (); + IR_Repository_var _tao_safe_retval (_tao_retval); + TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, @@ -1680,46 +1086,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_containing_repository_get ri ( - "_get_containing_repository", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -1728,7 +1109,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -1738,62 +1119,32 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::Repository_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::Contained::Description * IR::_TAO_Contained_Remote_Proxy_Impl::describe ( +IR_Contained::Description * _TAO_Contained_Remote_Proxy_Impl::describe ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - IR::Contained::Description *_tao_retval = 0; +{ + IR_Contained::Description *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - - ACE_NEW_RETURN (_tao_retval, IR::Contained::Description, _tao_retval); - IR::Contained::Description_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_Contained::Description, _tao_retval); + IR_Contained::Description_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "describe", @@ -1802,46 +1153,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_describe ri ( - "describe", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -1850,7 +1176,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -1860,47 +1186,19 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::Contained::Description * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_Contained_Remote_Proxy_Impl::move ( +void _TAO_Contained_Remote_Proxy_Impl::move ( CORBA_Object *_collocated_tao_target_, - IR::Container_ptr new_container, + IR_Container_ptr new_container, const char * new_name, const char * new_version, CORBA::Environment &ACE_TRY_ENV @@ -1908,16 +1206,11 @@ ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - - - +{ TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - - + TAO_GIOP_Twoway_Invocation _tao_call ( istub, "move", @@ -1926,46 +1219,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Contained::TAO_ClientRequestInfo_IR_Contained_move ri ( - "move", - _tao_call.service_info (), - _collocated_tao_target_, - new_container, - new_name, - new_version, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -1973,13 +1238,13 @@ (_tao_out << new_name) && (_tao_out << new_version) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -1988,36 +1253,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -2030,32 +1272,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_Contained_Proxy_Broker::_TAO_Contained_Proxy_Broker (void) +_TAO_Contained_Proxy_Broker::_TAO_Contained_Proxy_Broker (void) { } -IR::_TAO_Contained_Proxy_Broker::~_TAO_Contained_Proxy_Broker (void) +_TAO_Contained_Proxy_Broker::~_TAO_Contained_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_Contained_Remote_Proxy_Broker *IR::_TAO_Contained_Remote_Proxy_Broker::the_TAO_Contained_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_Contained_Remote_Proxy_Broker *the_TAO_Contained_Remote_Proxy_Broker (void) { - static ::IR::_TAO_Contained_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_Contained_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_Contained_Remote_Proxy_Broker::_TAO_Contained_Remote_Proxy_Broker (void) +_TAO_Contained_Remote_Proxy_Broker::_TAO_Contained_Remote_Proxy_Broker (void) { } -IR::_TAO_Contained_Remote_Proxy_Broker::~_TAO_Contained_Remote_Proxy_Broker (void) +_TAO_Contained_Remote_Proxy_Broker::~_TAO_Contained_Remote_Proxy_Broker (void) { } -IR::_TAO_Contained_Proxy_Impl& -IR::_TAO_Contained_Remote_Proxy_Broker::select_proxy ( - ::IR::Contained *object, +_TAO_Contained_Proxy_Impl& +_TAO_Contained_Remote_Proxy_Broker::select_proxy ( + IR_Contained *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -2071,110 +1313,109 @@ // default constructor -IR::Contained::Contained (int collocated) +IR_Contained::IR_Contained (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::Contained::~Contained (void) +IR_Contained::~IR_Contained (void) {} void -IR::Contained::_tao_setup_collocation (int collocated) +IR_Contained::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_Contained_Proxy_Broker_ = - ::IR__TAO_Contained_Proxy_Broker_Factory_function_pointer (this); + _TAO_Contained_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_Contained_Proxy_Broker_ = - ::IR::_TAO_Contained_Remote_Proxy_Broker::the_TAO_Contained_Remote_Proxy_Broker (); - - ACE_NESTED_CLASS (CORBA,IRObject)::_tao_setup_collocation (collocated); + ::the_TAO_Contained_Remote_Proxy_Broker (); + CORBA_IRObject::_tao_setup_collocation (collocated); } -void IR::Contained::_tao_any_destructor (void *x) +void IR_Contained::_tao_any_destructor (void *x) { - Contained *tmp = ACE_static_cast (Contained*,x); + IR_Contained *tmp = ACE_static_cast (IR_Contained*,x); CORBA::release (tmp); } -IR::Contained_ptr IR::Contained::_narrow ( +IR_Contained_ptr IR_Contained::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return Contained::_nil (); + return IR_Contained::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/Contained:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (Contained::_nil ()); + ACE_CHECK_RETURN (IR_Contained::_nil ()); if (is_a == 0) - return Contained::_nil (); + return IR_Contained::_nil (); } - return Contained::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_Contained::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::Contained_ptr IR::Contained::_unchecked_narrow ( +IR_Contained_ptr IR_Contained::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return Contained::_nil (); + return IR_Contained::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - Contained_ptr default_proxy = Contained::_nil (); + IR_Contained_ptr default_proxy = IR_Contained::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_Contained_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_Contained_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::Contained ( + IR_Contained ( stub, 1, obj->_servant ()), - Contained::_nil ()); + IR_Contained::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::Contained (stub, 0, obj->_servant ()), Contained::_nil ()); + ACE_NEW_RETURN (default_proxy, IR_Contained (stub, 0, obj->_servant ()), IR_Contained::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - Contained_ptr, + IR_Contained_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &Contained::_narrow + &IR_Contained::_narrow ) ) ); } -IR::Contained_ptr -IR::Contained::_duplicate (Contained_ptr obj) +IR_Contained_ptr +IR_Contained::_duplicate (IR_Contained_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::Contained::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_Contained::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) || @@ -2185,22 +1426,22 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::Contained::_tao_QueryInterface (ptr_arith_t type) +void *IR_Contained::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -2213,34 +1454,32 @@ return retv; } -const char* IR::Contained::_interface_repository_id (void) const +const char* IR_Contained::_interface_repository_id (void) const { return "IDL:omg.org/IR/Contained:1.0"; } -char * IR::Contained::id ( +char * IR_Contained::id ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ return this->the_TAO_Contained_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).id ( this, ACE_TRY_ENV ); } -void IR::Contained::id ( +void IR_Contained::id ( const char * id, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ this->the_TAO_Contained_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).id ( this, id, @@ -2248,7 +1487,7 @@ ); } -char * IR::Contained::name ( +char * IR_Contained::name ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -2262,15 +1501,14 @@ ); } -void IR::Contained::name ( +void IR_Contained::name ( const char * name, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ this->the_TAO_Contained_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).name ( this, name, @@ -2278,29 +1516,27 @@ ); } -char * IR::Contained::version ( +char * IR_Contained::version ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ return this->the_TAO_Contained_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).version ( this, ACE_TRY_ENV ); } -void IR::Contained::version ( +void IR_Contained::version ( const char * version, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ this->the_TAO_Contained_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).version ( this, version, @@ -2308,42 +1544,39 @@ ); } -IR::Container_ptr IR::Contained::defined_in ( +IR_Container_ptr IR_Contained::defined_in ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ return this->the_TAO_Contained_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).defined_in ( this, ACE_TRY_ENV ); } -char * IR::Contained::absolute_name ( +char * IR_Contained::absolute_name ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ return this->the_TAO_Contained_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).absolute_name ( this, ACE_TRY_ENV ); } -IR::Repository_ptr IR::Contained::containing_repository ( +IR_Repository_ptr IR_Contained::containing_repository ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ return this->the_TAO_Contained_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).containing_repository ( this, ACE_TRY_ENV @@ -2402,31 +1635,30 @@ CORBA::tk_any, }; -static CORBA::TypeCode _tc_TAO_tc_IR_Contained_Description (CORBA::tk_struct, sizeof (_oc_IR_Contained_Description), (char *) &_oc_IR_Contained_Description, 0, sizeof (IR::Contained::Description)); -CORBA::TypeCode_ptr IR::Contained::_tc_Description = &_tc_TAO_tc_IR_Contained_Description; +static CORBA::TypeCode _tc_TAO_tc_IR_Contained_Description (CORBA::tk_struct, sizeof (_oc_IR_Contained_Description), (char *) &_oc_IR_Contained_Description, 0, sizeof (IR_Contained::Description)); +CORBA::TypeCode_ptr IR_Contained::_tc_Description = &_tc_TAO_tc_IR_Contained_Description; -void IR::Contained::Description::_tao_any_destructor (void *x) +void IR_Contained::Description::_tao_any_destructor (void *x) { Description *tmp = ACE_static_cast (Description*,x); delete tmp; } -IR::Contained::Description * IR::Contained::describe ( +IR_Contained::Description * IR_Contained::describe ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ return this->the_TAO_Contained_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).describe ( this, ACE_TRY_ENV ); } -void IR::Contained::move ( - IR::Container_ptr new_container, +void IR_Contained::move ( + IR_Container_ptr new_container, const char * new_name, const char * new_version, CORBA::Environment &ACE_TRY_ENV @@ -2434,8 +1666,7 @@ ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ this->the_TAO_Contained_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).move ( this, new_container, @@ -2445,651 +1676,153 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_get::TAO_ClientRequestInfo_IR_Contained_id_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +static const CORBA::Long _oc_IR_Contained[] = { - // Generate the exception list on demand - return 0; -} + TAO_ENCAP_BYTE_ORDER, // byte order + 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7461), ACE_NTOHL (0x696e6564), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/Contained:1.0 + 10, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x64000000), // name = IR_Contained +}; +static CORBA::TypeCode _tc_TAO_tc_IR_Contained (CORBA::tk_objref, sizeof (_oc_IR_Contained), (char *) &_oc_IR_Contained, 0, sizeof (IR_Contained)); +TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) +TAO_NAMESPACE_BEGIN (IR) +TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Contained, &_tc_TAO_tc_IR_Contained) +TAO_NAMESPACE_END +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + + // The Base_Sequence functions, please see tao/Sequence.h + void + _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::_allocate_buffer (CORBA::ULong length) + { + IR_InterfaceDef **tmp = 0; + tmp = _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::allocbuf (length); + + if (this->buffer_ != 0) + { + IR_InterfaceDef **old = ACE_reinterpret_cast (IR_InterfaceDef**, this->buffer_); + for (CORBA::ULong i = 0; i < this->length_; ++i) + if (!this->release_) + tmp[i] = IR_InterfaceDef::_duplicate (old[i]); + else + tmp[i] = old[i]; + + if (this->release_) + delete[] old; + + } + this->buffer_ = tmp; + } + + void + _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::_deallocate_buffer (void) + { + if (this->buffer_ == 0 || this->release_ == 0) + return; + IR_InterfaceDef **tmp = ACE_reinterpret_cast (IR_InterfaceDef**, this->buffer_); + for (CORBA::ULong i = 0; i < this->length_; ++i) + { + CORBA::release (tmp[i]); + tmp[i] = IR_InterfaceDef::_nil (); + } + _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::freebuf (tmp); + this->buffer_ = 0; + } + + _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::~_TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq (void) + { + this->_deallocate_buffer (); + } + + void + _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + { + IR_InterfaceDef **tmp = ACE_reinterpret_cast (IR_InterfaceDef**, this->buffer_); + + for (CORBA::ULong i = nl; i < ol; ++i) + { + CORBA::release (tmp[i]); + tmp[i] = IR_InterfaceDef::_nil (); + } + } + void + _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::_downcast ( + void* target, + CORBA_Object *src, + CORBA_Environment &ACE_TRY_ENV + ) + { + IR_InterfaceDef **tmp = ACE_static_cast (IR_InterfaceDef**, target); + *tmp = IR_InterfaceDef::_narrow (src, ACE_TRY_ENV); + } -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} + CORBA_Object* + _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::_upcast (void *src) const + { + IR_InterfaceDef **tmp = ACE_static_cast (IR_InterfaceDef**, src); + return *tmp; + } + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -void -IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_get::result (char * result) -{ - // update the result - this->result_ = result; -} +// ************************************************************* +// IR_InterfaceDefSeq +// ************************************************************* -IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_set::TAO_ClientRequestInfo_IR_Contained_id_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id) +IR_InterfaceDefSeq::IR_InterfaceDefSeq (void) {} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +IR_InterfaceDefSeq::IR_InterfaceDefSeq (CORBA::ULong max) // uses max size + : +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq +#else /* TAO_USE_SEQUENCE_TEMPLATES */ + TAO_Unbounded_Object_Sequence +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + (max) +{} +IR_InterfaceDefSeq::IR_InterfaceDefSeq (CORBA::ULong max, CORBA::ULong length, IR_InterfaceDef_ptr *buffer, CORBA::Boolean release) + : +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq +#else /* TAO_USE_SEQUENCE_TEMPLATES */ + TAO_Unbounded_Object_Sequence +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + (max, length, buffer, release) +{} +IR_InterfaceDefSeq::IR_InterfaceDefSeq (const IR_InterfaceDefSeq &seq) // copy ctor + : +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq +#else /* TAO_USE_SEQUENCE_TEMPLATES */ + TAO_Unbounded_Object_Sequence +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + (seq) +{} +IR_InterfaceDefSeq::~IR_InterfaceDefSeq (void) // dtor +{} +void IR_InterfaceDefSeq::_tao_any_destructor (void *x) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; + IR_InterfaceDefSeq *tmp = ACE_static_cast (IR_InterfaceDefSeq*,x); + delete tmp; } -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +static const CORBA::Long _oc_IR_InterfaceDefSeq[] = { - // Generate the exception list on demand - return 0; -} - + TAO_ENCAP_BYTE_ORDER, // byte order + 35, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e746572), ACE_NTOHL (0x66616365), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/InterfaceDefSeq:1.0 + 16, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x53657100), // name = IR_InterfaceDefSeq + CORBA::tk_sequence, // typecode kind + 76, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + CORBA::tk_objref, // typecode kind + 60, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e746572), ACE_NTOHL (0x66616365), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/InterfaceDef:1.0 + 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_InterfaceDef -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_id_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_get::TAO_ClientRequestInfo_IR_Contained_name_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_get::result (char * result) -{ - // update the result - this->result_ = result; -} - -IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_set::TAO_ClientRequestInfo_IR_Contained_name_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * name, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - name_ (name) -{} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_name_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_get::TAO_ClientRequestInfo_IR_Contained_version_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_get::result (char * result) -{ - // update the result - this->result_ = result; -} - -IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_set::TAO_ClientRequestInfo_IR_Contained_version_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * version, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - version_ (version) -{} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_version_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::Contained::TAO_ClientRequestInfo_IR_Contained_defined_in_get::TAO_ClientRequestInfo_IR_Contained_defined_in_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_defined_in_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_defined_in_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_defined_in_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Contained::TAO_ClientRequestInfo_IR_Contained_defined_in_get::result (IR::Container_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Contained::TAO_ClientRequestInfo_IR_Contained_absolute_name_get::TAO_ClientRequestInfo_IR_Contained_absolute_name_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_absolute_name_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_absolute_name_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_absolute_name_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Contained::TAO_ClientRequestInfo_IR_Contained_absolute_name_get::result (char * result) -{ - // update the result - this->result_ = result; -} - -IR::Contained::TAO_ClientRequestInfo_IR_Contained_containing_repository_get::TAO_ClientRequestInfo_IR_Contained_containing_repository_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_containing_repository_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_containing_repository_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_containing_repository_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Contained::TAO_ClientRequestInfo_IR_Contained_containing_repository_get::result (IR::Repository_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Contained::TAO_ClientRequestInfo_IR_Contained_describe::TAO_ClientRequestInfo_IR_Contained_describe ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_describe::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_describe::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_describe::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Contained::TAO_ClientRequestInfo_IR_Contained_describe::result (ACE_NESTED_CLASS (IR::Contained,Description) * result) -{ - // update the result - this->result_ = result; -} - -IR::Contained::TAO_ClientRequestInfo_IR_Contained_move::TAO_ClientRequestInfo_IR_Contained_move ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::Container_ptr new_container, - const char * new_name, - const char * new_version, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - new_container_ (new_container), - new_name_ (new_name), - new_version_ (new_version) -{} - -Dynamic::ParameterList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_move::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_new_container = this->parameter_list_.length (); - this->parameter_list_.length (length_new_container + 1); - this->parameter_list_[length_new_container].argument <<= this->new_container_; - - this->parameter_list_[length_new_container].mode = Dynamic::PARAM_IN; - CORBA::ULong length_new_name = this->parameter_list_.length (); - this->parameter_list_.length (length_new_name + 1); - this->parameter_list_[length_new_name].argument <<= new_name_; - this->parameter_list_[length_new_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_new_version = this->parameter_list_.length (); - this->parameter_list_.length (length_new_version + 1); - this->parameter_list_[length_new_version].argument <<= new_version_; - this->parameter_list_[length_new_version].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_move::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Contained::TAO_ClientRequestInfo_IR_Contained_move::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ -static const CORBA::Long _oc_IR_Contained[] = -{ - TAO_ENCAP_BYTE_ORDER, // byte order - 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7461), ACE_NTOHL (0x696e6564), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/Contained:1.0 - 10, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x64000000), // name = Contained -}; -static CORBA::TypeCode _tc_TAO_tc_IR_Contained (CORBA::tk_objref, sizeof (_oc_IR_Contained), (char *) &_oc_IR_Contained, 0, sizeof (IR::Contained)); -TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) -TAO_NAMESPACE_BEGIN (IR) -TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Contained, &_tc_TAO_tc_IR_Contained) -TAO_NAMESPACE_END - -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) - -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_INTERFACEDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_INTERFACEDEFSEQ_CS_ - - // The Base_Sequence functions, please see tao/Sequence.h - void - IR::_TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::_allocate_buffer (CORBA::ULong length) - { - IR::InterfaceDef **tmp = 0; - tmp = _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::allocbuf (length); - - if (this->buffer_ != 0) - { - IR::InterfaceDef **old = ACE_reinterpret_cast (IR::InterfaceDef**, this->buffer_); - for (CORBA::ULong i = 0; i < this->length_; ++i) - if (!this->release_) - tmp[i] = IR::InterfaceDef::_duplicate (old[i]); - else - tmp[i] = old[i]; - - if (this->release_) - delete[] old; - - } - this->buffer_ = tmp; - } - - void - IR::_TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::_deallocate_buffer (void) - { - if (this->buffer_ == 0 || this->release_ == 0) - return; - IR::InterfaceDef **tmp = ACE_reinterpret_cast (IR::InterfaceDef**, this->buffer_); - for (CORBA::ULong i = 0; i < this->length_; ++i) - { - CORBA::release (tmp[i]); - tmp[i] = IR::InterfaceDef::_nil (); - } - _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::freebuf (tmp); - this->buffer_ = 0; - } - - IR::_TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::~_TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq (void) - { - this->_deallocate_buffer (); - } - - void - IR::_TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) - { - IR::InterfaceDef **tmp = ACE_reinterpret_cast (IR::InterfaceDef**, this->buffer_); - - for (CORBA::ULong i = nl; i < ol; ++i) - { - CORBA::release (tmp[i]); - tmp[i] = IR::InterfaceDef::_nil (); - } - } - void - IR::_TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::_downcast ( - void* target, - CORBA_Object *src, - CORBA_Environment &ACE_TRY_ENV - ) - { - IR::InterfaceDef **tmp = ACE_static_cast (IR::InterfaceDef**, target); - *tmp = IR::InterfaceDef::_narrow (src, ACE_TRY_ENV); - } - - CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq::_upcast (void *src) const - { - IR::InterfaceDef **tmp = ACE_static_cast (IR::InterfaceDef**, src); - return *tmp; - } - -#endif /* end #if !defined */ - - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - -#if !defined (_TAO_IR_INTERFACEDEFSEQ_CS_) -#define _TAO_IR_INTERFACEDEFSEQ_CS_ - -// ************************************************************* -// IR::InterfaceDefSeq -// ************************************************************* - -IR::InterfaceDefSeq::InterfaceDefSeq (void) -{} -IR::InterfaceDefSeq::InterfaceDefSeq (CORBA::ULong max) // uses max size - : -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) - _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq -#else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - (max) -{} -IR::InterfaceDefSeq::InterfaceDefSeq (CORBA::ULong max, CORBA::ULong length, IR::InterfaceDef_ptr *buffer, CORBA::Boolean release) - : -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) - _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq -#else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - (max, length, buffer, release) -{} -IR::InterfaceDefSeq::InterfaceDefSeq (const InterfaceDefSeq &seq) // copy ctor - : -#if !defined (TAO_USE_SEQUENCE_TEMPLATES) - _TAO_Unbounded_Object_Sequence_IR_InterfaceDefSeq -#else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - (seq) -{} -IR::InterfaceDefSeq::~InterfaceDefSeq (void) // dtor -{} -void IR::InterfaceDefSeq::_tao_any_destructor (void *x) -{ - InterfaceDefSeq *tmp = ACE_static_cast (InterfaceDefSeq*,x); - delete tmp; -} - - -#endif /* end #if !defined */ - -static const CORBA::Long _oc_IR_InterfaceDefSeq[] = -{ - TAO_ENCAP_BYTE_ORDER, // byte order - 35, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e746572), ACE_NTOHL (0x66616365), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/InterfaceDefSeq:1.0 - 16, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x53657100), // name = InterfaceDefSeq - CORBA::tk_sequence, // typecode kind - 76, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - CORBA::tk_objref, // typecode kind - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e746572), ACE_NTOHL (0x66616365), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/InterfaceDef:1.0 - 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = InterfaceDef - - 0U, + 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_InterfaceDefSeq (CORBA::tk_alias, sizeof (_oc_IR_InterfaceDefSeq), (char *) &_oc_IR_InterfaceDefSeq, 0, sizeof (IR::InterfaceDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_InterfaceDefSeq (CORBA::tk_alias, sizeof (_oc_IR_InterfaceDefSeq), (char *) &_oc_IR_InterfaceDefSeq, 0, sizeof (IR_InterfaceDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_InterfaceDefSeq, &_tc_TAO_tc_IR_InterfaceDefSeq) @@ -3097,22 +1830,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_VALUEDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_VALUEDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::ValueDef **tmp = 0; + IR_ValueDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::ValueDef **old = ACE_reinterpret_cast (IR::ValueDef**, this->buffer_); + IR_ValueDef **old = ACE_reinterpret_cast (IR_ValueDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::ValueDef::_duplicate (old[i]); + tmp[i] = IR_ValueDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -3124,111 +1854,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::ValueDef **tmp = ACE_reinterpret_cast (IR::ValueDef**, this->buffer_); + IR_ValueDef **tmp = ACE_reinterpret_cast (IR_ValueDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::ValueDef::_nil (); + tmp[i] = IR_ValueDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::~_TAO_Unbounded_Object_Sequence_IR_ValueDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::~_TAO_Unbounded_Object_Sequence_IR_ValueDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::ValueDef **tmp = ACE_reinterpret_cast (IR::ValueDef**, this->buffer_); + IR_ValueDef **tmp = ACE_reinterpret_cast (IR_ValueDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::ValueDef::_nil (); + tmp[i] = IR_ValueDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::ValueDef **tmp = ACE_static_cast (IR::ValueDef**, target); - *tmp = IR::ValueDef::_narrow (src, ACE_TRY_ENV); + IR_ValueDef **tmp = ACE_static_cast (IR_ValueDef**, target); + *tmp = IR_ValueDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq::_upcast (void *src) const { - IR::ValueDef **tmp = ACE_static_cast (IR::ValueDef**, src); + IR_ValueDef **tmp = ACE_static_cast (IR_ValueDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_VALUEDEFSEQ_CS_) -#define _TAO_IR_VALUEDEFSEQ_CS_ - // ************************************************************* -// IR::ValueDefSeq +// IR_ValueDefSeq // ************************************************************* -IR::ValueDefSeq::ValueDefSeq (void) +IR_ValueDefSeq::IR_ValueDefSeq (void) {} -IR::ValueDefSeq::ValueDefSeq (CORBA::ULong max) // uses max size +IR_ValueDefSeq::IR_ValueDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ValueDefSeq::ValueDefSeq (CORBA::ULong max, CORBA::ULong length, IR::ValueDef_ptr *buffer, CORBA::Boolean release) +IR_ValueDefSeq::IR_ValueDefSeq (CORBA::ULong max, CORBA::ULong length, IR_ValueDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ValueDefSeq::ValueDefSeq (const ValueDefSeq &seq) // copy ctor +IR_ValueDefSeq::IR_ValueDefSeq (const IR_ValueDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ValueDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ValueDefSeq::~ValueDefSeq (void) // dtor +IR_ValueDefSeq::~IR_ValueDefSeq (void) // dtor {} -void IR::ValueDefSeq::_tao_any_destructor (void *x) +void IR_ValueDefSeq::_tao_any_destructor (void *x) { - ValueDefSeq *tmp = ACE_static_cast (ValueDefSeq*,x); + IR_ValueDefSeq *tmp = ACE_static_cast (IR_ValueDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ValueDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f56), ACE_NTOHL (0x616c7565), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ValueDefSeq:1.0 - 12, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65446566), ACE_NTOHL (0x53657100), // name = ValueDefSeq + 12, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65446566), ACE_NTOHL (0x53657100), // name = IR_ValueDefSeq CORBA::tk_sequence, // typecode kind 68, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -3236,12 +1957,12 @@ 52, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f56), ACE_NTOHL (0x616c7565), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/ValueDef:1.0 - 9, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = ValueDef + 9, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_ValueDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ValueDefSeq (CORBA::tk_alias, sizeof (_oc_IR_ValueDefSeq), (char *) &_oc_IR_ValueDefSeq, 0, sizeof (IR::ValueDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ValueDefSeq (CORBA::tk_alias, sizeof (_oc_IR_ValueDefSeq), (char *) &_oc_IR_ValueDefSeq, 0, sizeof (IR_ValueDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ValueDefSeq, &_tc_TAO_tc_IR_ValueDefSeq) @@ -3249,22 +1970,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_COMPONENTDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_COMPONENTDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::ComponentDef **tmp = 0; + IR_ComponentDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::ComponentDef **old = ACE_reinterpret_cast (IR::ComponentDef**, this->buffer_); + IR_ComponentDef **old = ACE_reinterpret_cast (IR_ComponentDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::ComponentDef::_duplicate (old[i]); + tmp[i] = IR_ComponentDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -3276,111 +1994,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::ComponentDef **tmp = ACE_reinterpret_cast (IR::ComponentDef**, this->buffer_); + IR_ComponentDef **tmp = ACE_reinterpret_cast (IR_ComponentDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::ComponentDef::_nil (); + tmp[i] = IR_ComponentDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::~_TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::~_TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::ComponentDef **tmp = ACE_reinterpret_cast (IR::ComponentDef**, this->buffer_); + IR_ComponentDef **tmp = ACE_reinterpret_cast (IR_ComponentDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::ComponentDef::_nil (); + tmp[i] = IR_ComponentDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::ComponentDef **tmp = ACE_static_cast (IR::ComponentDef**, target); - *tmp = IR::ComponentDef::_narrow (src, ACE_TRY_ENV); + IR_ComponentDef **tmp = ACE_static_cast (IR_ComponentDef**, target); + *tmp = IR_ComponentDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq::_upcast (void *src) const { - IR::ComponentDef **tmp = ACE_static_cast (IR::ComponentDef**, src); + IR_ComponentDef **tmp = ACE_static_cast (IR_ComponentDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_COMPONENTDEFSEQ_CS_) -#define _TAO_IR_COMPONENTDEFSEQ_CS_ - // ************************************************************* -// IR::ComponentDefSeq +// IR_ComponentDefSeq // ************************************************************* -IR::ComponentDefSeq::ComponentDefSeq (void) +IR_ComponentDefSeq::IR_ComponentDefSeq (void) {} -IR::ComponentDefSeq::ComponentDefSeq (CORBA::ULong max) // uses max size +IR_ComponentDefSeq::IR_ComponentDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ComponentDefSeq::ComponentDefSeq (CORBA::ULong max, CORBA::ULong length, IR::ComponentDef_ptr *buffer, CORBA::Boolean release) +IR_ComponentDefSeq::IR_ComponentDefSeq (CORBA::ULong max, CORBA::ULong length, IR_ComponentDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ComponentDefSeq::ComponentDefSeq (const ComponentDefSeq &seq) // copy ctor +IR_ComponentDefSeq::IR_ComponentDefSeq (const IR_ComponentDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ComponentDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ComponentDefSeq::~ComponentDefSeq (void) // dtor +IR_ComponentDefSeq::~IR_ComponentDefSeq (void) // dtor {} -void IR::ComponentDefSeq::_tao_any_destructor (void *x) +void IR_ComponentDefSeq::_tao_any_destructor (void *x) { - ComponentDefSeq *tmp = ACE_static_cast (ComponentDefSeq*,x); + IR_ComponentDefSeq *tmp = ACE_static_cast (IR_ComponentDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ComponentDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 35, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6d706f), ACE_NTOHL (0x6e656e74), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ComponentDefSeq:1.0 - 16, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74446566), ACE_NTOHL (0x53657100), // name = ComponentDefSeq + 16, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74446566), ACE_NTOHL (0x53657100), // name = IR_ComponentDefSeq CORBA::tk_sequence, // typecode kind 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -3388,12 +2097,12 @@ 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6d706f), ACE_NTOHL (0x6e656e74), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/ComponentDef:1.0 - 13, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74446566), ACE_NTOHL (0x0), // name = ComponentDef + 13, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74446566), ACE_NTOHL (0x0), // name = IR_ComponentDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ComponentDefSeq (CORBA::tk_alias, sizeof (_oc_IR_ComponentDefSeq), (char *) &_oc_IR_ComponentDefSeq, 0, sizeof (IR::ComponentDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ComponentDefSeq (CORBA::tk_alias, sizeof (_oc_IR_ComponentDefSeq), (char *) &_oc_IR_ComponentDefSeq, 0, sizeof (IR_ComponentDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ComponentDefSeq, &_tc_TAO_tc_IR_ComponentDefSeq) @@ -3401,22 +2110,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_PROVIDESDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_PROVIDESDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::ProvidesDef **tmp = 0; + IR_ProvidesDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::ProvidesDef **old = ACE_reinterpret_cast (IR::ProvidesDef**, this->buffer_); + IR_ProvidesDef **old = ACE_reinterpret_cast (IR_ProvidesDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::ProvidesDef::_duplicate (old[i]); + tmp[i] = IR_ProvidesDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -3428,111 +2134,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::ProvidesDef **tmp = ACE_reinterpret_cast (IR::ProvidesDef**, this->buffer_); + IR_ProvidesDef **tmp = ACE_reinterpret_cast (IR_ProvidesDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::ProvidesDef::_nil (); + tmp[i] = IR_ProvidesDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::~_TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::~_TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::ProvidesDef **tmp = ACE_reinterpret_cast (IR::ProvidesDef**, this->buffer_); + IR_ProvidesDef **tmp = ACE_reinterpret_cast (IR_ProvidesDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::ProvidesDef::_nil (); + tmp[i] = IR_ProvidesDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::ProvidesDef **tmp = ACE_static_cast (IR::ProvidesDef**, target); - *tmp = IR::ProvidesDef::_narrow (src, ACE_TRY_ENV); + IR_ProvidesDef **tmp = ACE_static_cast (IR_ProvidesDef**, target); + *tmp = IR_ProvidesDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq::_upcast (void *src) const { - IR::ProvidesDef **tmp = ACE_static_cast (IR::ProvidesDef**, src); + IR_ProvidesDef **tmp = ACE_static_cast (IR_ProvidesDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_PROVIDESDEFSEQ_CS_) -#define _TAO_IR_PROVIDESDEFSEQ_CS_ - // ************************************************************* -// IR::ProvidesDefSeq +// IR_ProvidesDefSeq // ************************************************************* -IR::ProvidesDefSeq::ProvidesDefSeq (void) +IR_ProvidesDefSeq::IR_ProvidesDefSeq (void) {} -IR::ProvidesDefSeq::ProvidesDefSeq (CORBA::ULong max) // uses max size +IR_ProvidesDefSeq::IR_ProvidesDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ProvidesDefSeq::ProvidesDefSeq (CORBA::ULong max, CORBA::ULong length, IR::ProvidesDef_ptr *buffer, CORBA::Boolean release) +IR_ProvidesDefSeq::IR_ProvidesDefSeq (CORBA::ULong max, CORBA::ULong length, IR_ProvidesDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ProvidesDefSeq::ProvidesDefSeq (const ProvidesDefSeq &seq) // copy ctor +IR_ProvidesDefSeq::IR_ProvidesDefSeq (const IR_ProvidesDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ProvidesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ProvidesDefSeq::~ProvidesDefSeq (void) // dtor +IR_ProvidesDefSeq::~IR_ProvidesDefSeq (void) // dtor {} -void IR::ProvidesDefSeq::_tao_any_destructor (void *x) +void IR_ProvidesDefSeq::_tao_any_destructor (void *x) { - ProvidesDefSeq *tmp = ACE_static_cast (ProvidesDefSeq*,x); + IR_ProvidesDefSeq *tmp = ACE_static_cast (IR_ProvidesDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ProvidesDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 34, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x726f7669), ACE_NTOHL (0x64657344), ACE_NTOHL (0x65665365), ACE_NTOHL (0x713a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/ProvidesDefSeq:1.0 - 15, ACE_NTOHL (0x50726f76), ACE_NTOHL (0x69646573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = ProvidesDefSeq + 15, ACE_NTOHL (0x50726f76), ACE_NTOHL (0x69646573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = IR_ProvidesDefSeq CORBA::tk_sequence, // typecode kind 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -3540,12 +2237,12 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x726f7669), ACE_NTOHL (0x64657344), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ProvidesDef:1.0 - 12, ACE_NTOHL (0x50726f76), ACE_NTOHL (0x69646573), ACE_NTOHL (0x44656600), // name = ProvidesDef + 12, ACE_NTOHL (0x50726f76), ACE_NTOHL (0x69646573), ACE_NTOHL (0x44656600), // name = IR_ProvidesDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ProvidesDefSeq (CORBA::tk_alias, sizeof (_oc_IR_ProvidesDefSeq), (char *) &_oc_IR_ProvidesDefSeq, 0, sizeof (IR::ProvidesDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ProvidesDefSeq (CORBA::tk_alias, sizeof (_oc_IR_ProvidesDefSeq), (char *) &_oc_IR_ProvidesDefSeq, 0, sizeof (IR_ProvidesDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ProvidesDefSeq, &_tc_TAO_tc_IR_ProvidesDefSeq) @@ -3553,22 +2250,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_USESDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_USESDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::UsesDef **tmp = 0; + IR_UsesDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::UsesDef **old = ACE_reinterpret_cast (IR::UsesDef**, this->buffer_); + IR_UsesDef **old = ACE_reinterpret_cast (IR_UsesDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::UsesDef::_duplicate (old[i]); + tmp[i] = IR_UsesDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -3580,111 +2274,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::UsesDef **tmp = ACE_reinterpret_cast (IR::UsesDef**, this->buffer_); + IR_UsesDef **tmp = ACE_reinterpret_cast (IR_UsesDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::UsesDef::_nil (); + tmp[i] = IR_UsesDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::~_TAO_Unbounded_Object_Sequence_IR_UsesDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::~_TAO_Unbounded_Object_Sequence_IR_UsesDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::UsesDef **tmp = ACE_reinterpret_cast (IR::UsesDef**, this->buffer_); + IR_UsesDef **tmp = ACE_reinterpret_cast (IR_UsesDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::UsesDef::_nil (); + tmp[i] = IR_UsesDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::UsesDef **tmp = ACE_static_cast (IR::UsesDef**, target); - *tmp = IR::UsesDef::_narrow (src, ACE_TRY_ENV); + IR_UsesDef **tmp = ACE_static_cast (IR_UsesDef**, target); + *tmp = IR_UsesDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq::_upcast (void *src) const { - IR::UsesDef **tmp = ACE_static_cast (IR::UsesDef**, src); + IR_UsesDef **tmp = ACE_static_cast (IR_UsesDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_USESDEFSEQ_CS_) -#define _TAO_IR_USESDEFSEQ_CS_ - // ************************************************************* -// IR::UsesDefSeq +// IR_UsesDefSeq // ************************************************************* -IR::UsesDefSeq::UsesDefSeq (void) +IR_UsesDefSeq::IR_UsesDefSeq (void) {} -IR::UsesDefSeq::UsesDefSeq (CORBA::ULong max) // uses max size +IR_UsesDefSeq::IR_UsesDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::UsesDefSeq::UsesDefSeq (CORBA::ULong max, CORBA::ULong length, IR::UsesDef_ptr *buffer, CORBA::Boolean release) +IR_UsesDefSeq::IR_UsesDefSeq (CORBA::ULong max, CORBA::ULong length, IR_UsesDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::UsesDefSeq::UsesDefSeq (const UsesDefSeq &seq) // copy ctor +IR_UsesDefSeq::IR_UsesDefSeq (const IR_UsesDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_UsesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::UsesDefSeq::~UsesDefSeq (void) // dtor +IR_UsesDefSeq::~IR_UsesDefSeq (void) // dtor {} -void IR::UsesDefSeq::_tao_any_destructor (void *x) +void IR_UsesDefSeq::_tao_any_destructor (void *x) { - UsesDefSeq *tmp = ACE_static_cast (UsesDefSeq*,x); + IR_UsesDefSeq *tmp = ACE_static_cast (IR_UsesDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_UsesDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f55), ACE_NTOHL (0x73657344), ACE_NTOHL (0x65665365), ACE_NTOHL (0x713a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/UsesDefSeq:1.0 - 11, ACE_NTOHL (0x55736573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = UsesDefSeq + 11, ACE_NTOHL (0x55736573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = IR_UsesDefSeq CORBA::tk_sequence, // typecode kind 64, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -3692,12 +2377,12 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f55), ACE_NTOHL (0x73657344), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/UsesDef:1.0 - 8, ACE_NTOHL (0x55736573), ACE_NTOHL (0x44656600), // name = UsesDef + 8, ACE_NTOHL (0x55736573), ACE_NTOHL (0x44656600), // name = IR_UsesDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_UsesDefSeq (CORBA::tk_alias, sizeof (_oc_IR_UsesDefSeq), (char *) &_oc_IR_UsesDefSeq, 0, sizeof (IR::UsesDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_UsesDefSeq (CORBA::tk_alias, sizeof (_oc_IR_UsesDefSeq), (char *) &_oc_IR_UsesDefSeq, 0, sizeof (IR_UsesDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UsesDefSeq, &_tc_TAO_tc_IR_UsesDefSeq) @@ -3705,22 +2390,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_HOMEDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_HOMEDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::HomeDef **tmp = 0; + IR_HomeDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::HomeDef **old = ACE_reinterpret_cast (IR::HomeDef**, this->buffer_); + IR_HomeDef **old = ACE_reinterpret_cast (IR_HomeDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::HomeDef::_duplicate (old[i]); + tmp[i] = IR_HomeDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -3732,111 +2414,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::HomeDef **tmp = ACE_reinterpret_cast (IR::HomeDef**, this->buffer_); + IR_HomeDef **tmp = ACE_reinterpret_cast (IR_HomeDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::HomeDef::_nil (); + tmp[i] = IR_HomeDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::~_TAO_Unbounded_Object_Sequence_IR_HomeDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::~_TAO_Unbounded_Object_Sequence_IR_HomeDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::HomeDef **tmp = ACE_reinterpret_cast (IR::HomeDef**, this->buffer_); + IR_HomeDef **tmp = ACE_reinterpret_cast (IR_HomeDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::HomeDef::_nil (); + tmp[i] = IR_HomeDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::HomeDef **tmp = ACE_static_cast (IR::HomeDef**, target); - *tmp = IR::HomeDef::_narrow (src, ACE_TRY_ENV); + IR_HomeDef **tmp = ACE_static_cast (IR_HomeDef**, target); + *tmp = IR_HomeDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq::_upcast (void *src) const { - IR::HomeDef **tmp = ACE_static_cast (IR::HomeDef**, src); + IR_HomeDef **tmp = ACE_static_cast (IR_HomeDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_HOMEDEFSEQ_CS_) -#define _TAO_IR_HOMEDEFSEQ_CS_ - // ************************************************************* -// IR::HomeDefSeq +// IR_HomeDefSeq // ************************************************************* -IR::HomeDefSeq::HomeDefSeq (void) +IR_HomeDefSeq::IR_HomeDefSeq (void) {} -IR::HomeDefSeq::HomeDefSeq (CORBA::ULong max) // uses max size +IR_HomeDefSeq::IR_HomeDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::HomeDefSeq::HomeDefSeq (CORBA::ULong max, CORBA::ULong length, IR::HomeDef_ptr *buffer, CORBA::Boolean release) +IR_HomeDefSeq::IR_HomeDefSeq (CORBA::ULong max, CORBA::ULong length, IR_HomeDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::HomeDefSeq::HomeDefSeq (const HomeDefSeq &seq) // copy ctor +IR_HomeDefSeq::IR_HomeDefSeq (const IR_HomeDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_HomeDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::HomeDefSeq::~HomeDefSeq (void) // dtor +IR_HomeDefSeq::~IR_HomeDefSeq (void) // dtor {} -void IR::HomeDefSeq::_tao_any_destructor (void *x) +void IR_HomeDefSeq::_tao_any_destructor (void *x) { - HomeDefSeq *tmp = ACE_static_cast (HomeDefSeq*,x); + IR_HomeDefSeq *tmp = ACE_static_cast (IR_HomeDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_HomeDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f48), ACE_NTOHL (0x6f6d6544), ACE_NTOHL (0x65665365), ACE_NTOHL (0x713a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/HomeDefSeq:1.0 - 11, ACE_NTOHL (0x486f6d65), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = HomeDefSeq + 11, ACE_NTOHL (0x486f6d65), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = IR_HomeDefSeq CORBA::tk_sequence, // typecode kind 64, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -3844,12 +2517,12 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f48), ACE_NTOHL (0x6f6d6544), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/HomeDef:1.0 - 8, ACE_NTOHL (0x486f6d65), ACE_NTOHL (0x44656600), // name = HomeDef + 8, ACE_NTOHL (0x486f6d65), ACE_NTOHL (0x44656600), // name = IR_HomeDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_HomeDefSeq (CORBA::tk_alias, sizeof (_oc_IR_HomeDefSeq), (char *) &_oc_IR_HomeDefSeq, 0, sizeof (IR::HomeDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_HomeDefSeq (CORBA::tk_alias, sizeof (_oc_IR_HomeDefSeq), (char *) &_oc_IR_HomeDefSeq, 0, sizeof (IR_HomeDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_HomeDefSeq, &_tc_TAO_tc_IR_HomeDefSeq) @@ -3857,22 +2530,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_EMITSDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_EMITSDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::EmitsDef **tmp = 0; + IR_EmitsDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::EmitsDef **old = ACE_reinterpret_cast (IR::EmitsDef**, this->buffer_); + IR_EmitsDef **old = ACE_reinterpret_cast (IR_EmitsDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::EmitsDef::_duplicate (old[i]); + tmp[i] = IR_EmitsDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -3884,111 +2554,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::EmitsDef **tmp = ACE_reinterpret_cast (IR::EmitsDef**, this->buffer_); + IR_EmitsDef **tmp = ACE_reinterpret_cast (IR_EmitsDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::EmitsDef::_nil (); + tmp[i] = IR_EmitsDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::~_TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::~_TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::EmitsDef **tmp = ACE_reinterpret_cast (IR::EmitsDef**, this->buffer_); + IR_EmitsDef **tmp = ACE_reinterpret_cast (IR_EmitsDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::EmitsDef::_nil (); + tmp[i] = IR_EmitsDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::EmitsDef **tmp = ACE_static_cast (IR::EmitsDef**, target); - *tmp = IR::EmitsDef::_narrow (src, ACE_TRY_ENV); + IR_EmitsDef **tmp = ACE_static_cast (IR_EmitsDef**, target); + *tmp = IR_EmitsDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq::_upcast (void *src) const { - IR::EmitsDef **tmp = ACE_static_cast (IR::EmitsDef**, src); + IR_EmitsDef **tmp = ACE_static_cast (IR_EmitsDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_EMITSDEFSEQ_CS_) -#define _TAO_IR_EMITSDEFSEQ_CS_ - // ************************************************************* -// IR::EmitsDefSeq +// IR_EmitsDefSeq // ************************************************************* -IR::EmitsDefSeq::EmitsDefSeq (void) +IR_EmitsDefSeq::IR_EmitsDefSeq (void) {} -IR::EmitsDefSeq::EmitsDefSeq (CORBA::ULong max) // uses max size +IR_EmitsDefSeq::IR_EmitsDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::EmitsDefSeq::EmitsDefSeq (CORBA::ULong max, CORBA::ULong length, IR::EmitsDef_ptr *buffer, CORBA::Boolean release) +IR_EmitsDefSeq::IR_EmitsDefSeq (CORBA::ULong max, CORBA::ULong length, IR_EmitsDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::EmitsDefSeq::EmitsDefSeq (const EmitsDefSeq &seq) // copy ctor +IR_EmitsDefSeq::IR_EmitsDefSeq (const IR_EmitsDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_EmitsDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::EmitsDefSeq::~EmitsDefSeq (void) // dtor +IR_EmitsDefSeq::~IR_EmitsDefSeq (void) // dtor {} -void IR::EmitsDefSeq::_tao_any_destructor (void *x) +void IR_EmitsDefSeq::_tao_any_destructor (void *x) { - EmitsDefSeq *tmp = ACE_static_cast (EmitsDefSeq*,x); + IR_EmitsDefSeq *tmp = ACE_static_cast (IR_EmitsDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_EmitsDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f45), ACE_NTOHL (0x6d697473), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/EmitsDefSeq:1.0 - 12, ACE_NTOHL (0x456d6974), ACE_NTOHL (0x73446566), ACE_NTOHL (0x53657100), // name = EmitsDefSeq + 12, ACE_NTOHL (0x456d6974), ACE_NTOHL (0x73446566), ACE_NTOHL (0x53657100), // name = IR_EmitsDefSeq CORBA::tk_sequence, // typecode kind 68, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -3996,12 +2657,12 @@ 52, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f45), ACE_NTOHL (0x6d697473), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/EmitsDef:1.0 - 9, ACE_NTOHL (0x456d6974), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = EmitsDef + 9, ACE_NTOHL (0x456d6974), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = IR_EmitsDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_EmitsDefSeq (CORBA::tk_alias, sizeof (_oc_IR_EmitsDefSeq), (char *) &_oc_IR_EmitsDefSeq, 0, sizeof (IR::EmitsDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_EmitsDefSeq (CORBA::tk_alias, sizeof (_oc_IR_EmitsDefSeq), (char *) &_oc_IR_EmitsDefSeq, 0, sizeof (IR_EmitsDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_EmitsDefSeq, &_tc_TAO_tc_IR_EmitsDefSeq) @@ -4009,22 +2670,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_PUBLISHESDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_PUBLISHESDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::PublishesDef **tmp = 0; + IR_PublishesDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::PublishesDef **old = ACE_reinterpret_cast (IR::PublishesDef**, this->buffer_); + IR_PublishesDef **old = ACE_reinterpret_cast (IR_PublishesDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::PublishesDef::_duplicate (old[i]); + tmp[i] = IR_PublishesDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -4036,111 +2694,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::PublishesDef **tmp = ACE_reinterpret_cast (IR::PublishesDef**, this->buffer_); + IR_PublishesDef **tmp = ACE_reinterpret_cast (IR_PublishesDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::PublishesDef::_nil (); + tmp[i] = IR_PublishesDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::~_TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::~_TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::PublishesDef **tmp = ACE_reinterpret_cast (IR::PublishesDef**, this->buffer_); + IR_PublishesDef **tmp = ACE_reinterpret_cast (IR_PublishesDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::PublishesDef::_nil (); + tmp[i] = IR_PublishesDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::PublishesDef **tmp = ACE_static_cast (IR::PublishesDef**, target); - *tmp = IR::PublishesDef::_narrow (src, ACE_TRY_ENV); + IR_PublishesDef **tmp = ACE_static_cast (IR_PublishesDef**, target); + *tmp = IR_PublishesDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq::_upcast (void *src) const { - IR::PublishesDef **tmp = ACE_static_cast (IR::PublishesDef**, src); + IR_PublishesDef **tmp = ACE_static_cast (IR_PublishesDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_PUBLISHESDEFSEQ_CS_) -#define _TAO_IR_PUBLISHESDEFSEQ_CS_ - // ************************************************************* -// IR::PublishesDefSeq +// IR_PublishesDefSeq // ************************************************************* -IR::PublishesDefSeq::PublishesDefSeq (void) +IR_PublishesDefSeq::IR_PublishesDefSeq (void) {} -IR::PublishesDefSeq::PublishesDefSeq (CORBA::ULong max) // uses max size +IR_PublishesDefSeq::IR_PublishesDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::PublishesDefSeq::PublishesDefSeq (CORBA::ULong max, CORBA::ULong length, IR::PublishesDef_ptr *buffer, CORBA::Boolean release) +IR_PublishesDefSeq::IR_PublishesDefSeq (CORBA::ULong max, CORBA::ULong length, IR_PublishesDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::PublishesDefSeq::PublishesDefSeq (const PublishesDefSeq &seq) // copy ctor +IR_PublishesDefSeq::IR_PublishesDefSeq (const IR_PublishesDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_PublishesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::PublishesDefSeq::~PublishesDefSeq (void) // dtor +IR_PublishesDefSeq::~IR_PublishesDefSeq (void) // dtor {} -void IR::PublishesDefSeq::_tao_any_destructor (void *x) +void IR_PublishesDefSeq::_tao_any_destructor (void *x) { - PublishesDefSeq *tmp = ACE_static_cast (PublishesDefSeq*,x); + IR_PublishesDefSeq *tmp = ACE_static_cast (IR_PublishesDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_PublishesDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 35, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x75626c69), ACE_NTOHL (0x73686573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/PublishesDefSeq:1.0 - 16, ACE_NTOHL (0x5075626c), ACE_NTOHL (0x69736865), ACE_NTOHL (0x73446566), ACE_NTOHL (0x53657100), // name = PublishesDefSeq + 16, ACE_NTOHL (0x5075626c), ACE_NTOHL (0x69736865), ACE_NTOHL (0x73446566), ACE_NTOHL (0x53657100), // name = IR_PublishesDefSeq CORBA::tk_sequence, // typecode kind 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -4148,12 +2797,12 @@ 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x75626c69), ACE_NTOHL (0x73686573), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/PublishesDef:1.0 - 13, ACE_NTOHL (0x5075626c), ACE_NTOHL (0x69736865), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = PublishesDef + 13, ACE_NTOHL (0x5075626c), ACE_NTOHL (0x69736865), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = IR_PublishesDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_PublishesDefSeq (CORBA::tk_alias, sizeof (_oc_IR_PublishesDefSeq), (char *) &_oc_IR_PublishesDefSeq, 0, sizeof (IR::PublishesDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_PublishesDefSeq (CORBA::tk_alias, sizeof (_oc_IR_PublishesDefSeq), (char *) &_oc_IR_PublishesDefSeq, 0, sizeof (IR_PublishesDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_PublishesDefSeq, &_tc_TAO_tc_IR_PublishesDefSeq) @@ -4161,22 +2810,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_CONSUMESDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_CONSUMESDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::ConsumesDef **tmp = 0; + IR_ConsumesDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::ConsumesDef **old = ACE_reinterpret_cast (IR::ConsumesDef**, this->buffer_); + IR_ConsumesDef **old = ACE_reinterpret_cast (IR_ConsumesDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::ConsumesDef::_duplicate (old[i]); + tmp[i] = IR_ConsumesDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -4188,111 +2834,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::ConsumesDef **tmp = ACE_reinterpret_cast (IR::ConsumesDef**, this->buffer_); + IR_ConsumesDef **tmp = ACE_reinterpret_cast (IR_ConsumesDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::ConsumesDef::_nil (); + tmp[i] = IR_ConsumesDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::~_TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::~_TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::ConsumesDef **tmp = ACE_reinterpret_cast (IR::ConsumesDef**, this->buffer_); + IR_ConsumesDef **tmp = ACE_reinterpret_cast (IR_ConsumesDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::ConsumesDef::_nil (); + tmp[i] = IR_ConsumesDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::ConsumesDef **tmp = ACE_static_cast (IR::ConsumesDef**, target); - *tmp = IR::ConsumesDef::_narrow (src, ACE_TRY_ENV); + IR_ConsumesDef **tmp = ACE_static_cast (IR_ConsumesDef**, target); + *tmp = IR_ConsumesDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq::_upcast (void *src) const { - IR::ConsumesDef **tmp = ACE_static_cast (IR::ConsumesDef**, src); + IR_ConsumesDef **tmp = ACE_static_cast (IR_ConsumesDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_CONSUMESDEFSEQ_CS_) -#define _TAO_IR_CONSUMESDEFSEQ_CS_ - // ************************************************************* -// IR::ConsumesDefSeq +// IR_ConsumesDefSeq // ************************************************************* -IR::ConsumesDefSeq::ConsumesDefSeq (void) +IR_ConsumesDefSeq::IR_ConsumesDefSeq (void) {} -IR::ConsumesDefSeq::ConsumesDefSeq (CORBA::ULong max) // uses max size +IR_ConsumesDefSeq::IR_ConsumesDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ConsumesDefSeq::ConsumesDefSeq (CORBA::ULong max, CORBA::ULong length, IR::ConsumesDef_ptr *buffer, CORBA::Boolean release) +IR_ConsumesDefSeq::IR_ConsumesDefSeq (CORBA::ULong max, CORBA::ULong length, IR_ConsumesDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ConsumesDefSeq::ConsumesDefSeq (const ConsumesDefSeq &seq) // copy ctor +IR_ConsumesDefSeq::IR_ConsumesDefSeq (const IR_ConsumesDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ConsumesDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ConsumesDefSeq::~ConsumesDefSeq (void) // dtor +IR_ConsumesDefSeq::~IR_ConsumesDefSeq (void) // dtor {} -void IR::ConsumesDefSeq::_tao_any_destructor (void *x) +void IR_ConsumesDefSeq::_tao_any_destructor (void *x) { - ConsumesDefSeq *tmp = ACE_static_cast (ConsumesDefSeq*,x); + IR_ConsumesDefSeq *tmp = ACE_static_cast (IR_ConsumesDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ConsumesDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 34, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7375), ACE_NTOHL (0x6d657344), ACE_NTOHL (0x65665365), ACE_NTOHL (0x713a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/ConsumesDefSeq:1.0 - 15, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x756d6573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = ConsumesDefSeq + 15, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x756d6573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = IR_ConsumesDefSeq CORBA::tk_sequence, // typecode kind 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -4300,12 +2937,12 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7375), ACE_NTOHL (0x6d657344), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ConsumesDef:1.0 - 12, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x756d6573), ACE_NTOHL (0x44656600), // name = ConsumesDef + 12, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x756d6573), ACE_NTOHL (0x44656600), // name = IR_ConsumesDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ConsumesDefSeq (CORBA::tk_alias, sizeof (_oc_IR_ConsumesDefSeq), (char *) &_oc_IR_ConsumesDefSeq, 0, sizeof (IR::ConsumesDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ConsumesDefSeq (CORBA::tk_alias, sizeof (_oc_IR_ConsumesDefSeq), (char *) &_oc_IR_ConsumesDefSeq, 0, sizeof (IR_ConsumesDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ConsumesDefSeq, &_tc_TAO_tc_IR_ConsumesDefSeq) @@ -4313,22 +2950,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_FACTORYDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_FACTORYDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::FactoryDef **tmp = 0; + IR_FactoryDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::FactoryDef **old = ACE_reinterpret_cast (IR::FactoryDef**, this->buffer_); + IR_FactoryDef **old = ACE_reinterpret_cast (IR_FactoryDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::FactoryDef::_duplicate (old[i]); + tmp[i] = IR_FactoryDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -4340,111 +2974,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::FactoryDef **tmp = ACE_reinterpret_cast (IR::FactoryDef**, this->buffer_); + IR_FactoryDef **tmp = ACE_reinterpret_cast (IR_FactoryDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::FactoryDef::_nil (); + tmp[i] = IR_FactoryDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::~_TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::~_TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::FactoryDef **tmp = ACE_reinterpret_cast (IR::FactoryDef**, this->buffer_); + IR_FactoryDef **tmp = ACE_reinterpret_cast (IR_FactoryDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::FactoryDef::_nil (); + tmp[i] = IR_FactoryDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::FactoryDef **tmp = ACE_static_cast (IR::FactoryDef**, target); - *tmp = IR::FactoryDef::_narrow (src, ACE_TRY_ENV); + IR_FactoryDef **tmp = ACE_static_cast (IR_FactoryDef**, target); + *tmp = IR_FactoryDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq::_upcast (void *src) const { - IR::FactoryDef **tmp = ACE_static_cast (IR::FactoryDef**, src); + IR_FactoryDef **tmp = ACE_static_cast (IR_FactoryDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_FACTORYDEFSEQ_CS_) -#define _TAO_IR_FACTORYDEFSEQ_CS_ - // ************************************************************* -// IR::FactoryDefSeq +// IR_FactoryDefSeq // ************************************************************* -IR::FactoryDefSeq::FactoryDefSeq (void) +IR_FactoryDefSeq::IR_FactoryDefSeq (void) {} -IR::FactoryDefSeq::FactoryDefSeq (CORBA::ULong max) // uses max size +IR_FactoryDefSeq::IR_FactoryDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::FactoryDefSeq::FactoryDefSeq (CORBA::ULong max, CORBA::ULong length, IR::FactoryDef_ptr *buffer, CORBA::Boolean release) +IR_FactoryDefSeq::IR_FactoryDefSeq (CORBA::ULong max, CORBA::ULong length, IR_FactoryDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::FactoryDefSeq::FactoryDefSeq (const FactoryDefSeq &seq) // copy ctor +IR_FactoryDefSeq::IR_FactoryDefSeq (const IR_FactoryDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_FactoryDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::FactoryDefSeq::~FactoryDefSeq (void) // dtor +IR_FactoryDefSeq::~IR_FactoryDefSeq (void) // dtor {} -void IR::FactoryDefSeq::_tao_any_destructor (void *x) +void IR_FactoryDefSeq::_tao_any_destructor (void *x) { - FactoryDefSeq *tmp = ACE_static_cast (FactoryDefSeq*,x); + IR_FactoryDefSeq *tmp = ACE_static_cast (IR_FactoryDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_FactoryDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 33, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x6163746f), ACE_NTOHL (0x72794465), ACE_NTOHL (0x66536571), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/FactoryDefSeq:1.0 - 14, ACE_NTOHL (0x46616374), ACE_NTOHL (0x6f727944), ACE_NTOHL (0x65665365), ACE_NTOHL (0x71000000), // name = FactoryDefSeq + 14, ACE_NTOHL (0x46616374), ACE_NTOHL (0x6f727944), ACE_NTOHL (0x65665365), ACE_NTOHL (0x71000000), // name = IR_FactoryDefSeq CORBA::tk_sequence, // typecode kind 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -4452,12 +3077,12 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x6163746f), ACE_NTOHL (0x72794465), ACE_NTOHL (0x663a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/FactoryDef:1.0 - 11, ACE_NTOHL (0x46616374), ACE_NTOHL (0x6f727944), ACE_NTOHL (0x65660000), // name = FactoryDef + 11, ACE_NTOHL (0x46616374), ACE_NTOHL (0x6f727944), ACE_NTOHL (0x65660000), // name = IR_FactoryDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_FactoryDefSeq (CORBA::tk_alias, sizeof (_oc_IR_FactoryDefSeq), (char *) &_oc_IR_FactoryDefSeq, 0, sizeof (IR::FactoryDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_FactoryDefSeq (CORBA::tk_alias, sizeof (_oc_IR_FactoryDefSeq), (char *) &_oc_IR_FactoryDefSeq, 0, sizeof (IR_FactoryDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_FactoryDefSeq, &_tc_TAO_tc_IR_FactoryDefSeq) @@ -4465,22 +3090,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_FINDERDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_FINDERDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::FinderDef **tmp = 0; + IR_FinderDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::FinderDef **old = ACE_reinterpret_cast (IR::FinderDef**, this->buffer_); + IR_FinderDef **old = ACE_reinterpret_cast (IR_FinderDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::FinderDef::_duplicate (old[i]); + tmp[i] = IR_FinderDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -4492,111 +3114,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::FinderDef **tmp = ACE_reinterpret_cast (IR::FinderDef**, this->buffer_); + IR_FinderDef **tmp = ACE_reinterpret_cast (IR_FinderDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::FinderDef::_nil (); + tmp[i] = IR_FinderDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::~_TAO_Unbounded_Object_Sequence_IR_FinderDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::~_TAO_Unbounded_Object_Sequence_IR_FinderDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::FinderDef **tmp = ACE_reinterpret_cast (IR::FinderDef**, this->buffer_); + IR_FinderDef **tmp = ACE_reinterpret_cast (IR_FinderDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::FinderDef::_nil (); + tmp[i] = IR_FinderDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::FinderDef **tmp = ACE_static_cast (IR::FinderDef**, target); - *tmp = IR::FinderDef::_narrow (src, ACE_TRY_ENV); + IR_FinderDef **tmp = ACE_static_cast (IR_FinderDef**, target); + *tmp = IR_FinderDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq::_upcast (void *src) const { - IR::FinderDef **tmp = ACE_static_cast (IR::FinderDef**, src); + IR_FinderDef **tmp = ACE_static_cast (IR_FinderDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_FINDERDEFSEQ_CS_) -#define _TAO_IR_FINDERDEFSEQ_CS_ - // ************************************************************* -// IR::FinderDefSeq +// IR_FinderDefSeq // ************************************************************* -IR::FinderDefSeq::FinderDefSeq (void) +IR_FinderDefSeq::IR_FinderDefSeq (void) {} -IR::FinderDefSeq::FinderDefSeq (CORBA::ULong max) // uses max size +IR_FinderDefSeq::IR_FinderDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::FinderDefSeq::FinderDefSeq (CORBA::ULong max, CORBA::ULong length, IR::FinderDef_ptr *buffer, CORBA::Boolean release) +IR_FinderDefSeq::IR_FinderDefSeq (CORBA::ULong max, CORBA::ULong length, IR_FinderDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::FinderDefSeq::FinderDefSeq (const FinderDefSeq &seq) // copy ctor +IR_FinderDefSeq::IR_FinderDefSeq (const IR_FinderDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_FinderDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::FinderDefSeq::~FinderDefSeq (void) // dtor +IR_FinderDefSeq::~IR_FinderDefSeq (void) // dtor {} -void IR::FinderDefSeq::_tao_any_destructor (void *x) +void IR_FinderDefSeq::_tao_any_destructor (void *x) { - FinderDefSeq *tmp = ACE_static_cast (FinderDefSeq*,x); + IR_FinderDefSeq *tmp = ACE_static_cast (IR_FinderDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_FinderDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x696e6465), ACE_NTOHL (0x72446566), ACE_NTOHL (0x5365713a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/FinderDefSeq:1.0 - 13, ACE_NTOHL (0x46696e64), ACE_NTOHL (0x65724465), ACE_NTOHL (0x66536571), ACE_NTOHL (0x0), // name = FinderDefSeq + 13, ACE_NTOHL (0x46696e64), ACE_NTOHL (0x65724465), ACE_NTOHL (0x66536571), ACE_NTOHL (0x0), // name = IR_FinderDefSeq CORBA::tk_sequence, // typecode kind 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -4604,12 +3217,12 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x696e6465), ACE_NTOHL (0x72446566), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/FinderDef:1.0 - 10, ACE_NTOHL (0x46696e64), ACE_NTOHL (0x65724465), ACE_NTOHL (0x66000000), // name = FinderDef + 10, ACE_NTOHL (0x46696e64), ACE_NTOHL (0x65724465), ACE_NTOHL (0x66000000), // name = IR_FinderDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_FinderDefSeq (CORBA::tk_alias, sizeof (_oc_IR_FinderDefSeq), (char *) &_oc_IR_FinderDefSeq, 0, sizeof (IR::FinderDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_FinderDefSeq (CORBA::tk_alias, sizeof (_oc_IR_FinderDefSeq), (char *) &_oc_IR_FinderDefSeq, 0, sizeof (IR_FinderDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_FinderDefSeq, &_tc_TAO_tc_IR_FinderDefSeq) @@ -4617,22 +3230,19 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_CONTAINEDSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_CONTAINEDSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_ContainedSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_ContainedSeq::_allocate_buffer (CORBA::ULong length) { - IR::Contained **tmp = 0; + IR_Contained **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_ContainedSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::Contained **old = ACE_reinterpret_cast (IR::Contained**, this->buffer_); + IR_Contained **old = ACE_reinterpret_cast (IR_Contained**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::Contained::_duplicate (old[i]); + tmp[i] = IR_Contained::_duplicate (old[i]); else tmp[i] = old[i]; @@ -4644,111 +3254,102 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_ContainedSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_ContainedSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::Contained **tmp = ACE_reinterpret_cast (IR::Contained**, this->buffer_); + IR_Contained **tmp = ACE_reinterpret_cast (IR_Contained**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::Contained::_nil (); + tmp[i] = IR_Contained::_nil (); } _TAO_Unbounded_Object_Sequence_IR_ContainedSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_ContainedSeq::~_TAO_Unbounded_Object_Sequence_IR_ContainedSeq (void) + _TAO_Unbounded_Object_Sequence_IR_ContainedSeq::~_TAO_Unbounded_Object_Sequence_IR_ContainedSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_ContainedSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_ContainedSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::Contained **tmp = ACE_reinterpret_cast (IR::Contained**, this->buffer_); + IR_Contained **tmp = ACE_reinterpret_cast (IR_Contained**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::Contained::_nil (); + tmp[i] = IR_Contained::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_ContainedSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_ContainedSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::Contained **tmp = ACE_static_cast (IR::Contained**, target); - *tmp = IR::Contained::_narrow (src, ACE_TRY_ENV); + IR_Contained **tmp = ACE_static_cast (IR_Contained**, target); + *tmp = IR_Contained::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_ContainedSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_ContainedSeq::_upcast (void *src) const { - IR::Contained **tmp = ACE_static_cast (IR::Contained**, src); + IR_Contained **tmp = ACE_static_cast (IR_Contained**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_CONTAINEDSEQ_CS_) -#define _TAO_IR_CONTAINEDSEQ_CS_ - // ************************************************************* -// IR::ContainedSeq +// IR_ContainedSeq // ************************************************************* -IR::ContainedSeq::ContainedSeq (void) +IR_ContainedSeq::IR_ContainedSeq (void) {} -IR::ContainedSeq::ContainedSeq (CORBA::ULong max) // uses max size +IR_ContainedSeq::IR_ContainedSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ContainedSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ContainedSeq::ContainedSeq (CORBA::ULong max, CORBA::ULong length, IR::Contained_ptr *buffer, CORBA::Boolean release) +IR_ContainedSeq::IR_ContainedSeq (CORBA::ULong max, CORBA::ULong length, IR_Contained_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ContainedSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ContainedSeq::ContainedSeq (const ContainedSeq &seq) // copy ctor +IR_ContainedSeq::IR_ContainedSeq (const IR_ContainedSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ContainedSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ContainedSeq::~ContainedSeq (void) // dtor +IR_ContainedSeq::~IR_ContainedSeq (void) // dtor {} -void IR::ContainedSeq::_tao_any_destructor (void *x) +void IR_ContainedSeq::_tao_any_destructor (void *x) { - ContainedSeq *tmp = ACE_static_cast (ContainedSeq*,x); + IR_ContainedSeq *tmp = ACE_static_cast (IR_ContainedSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ContainedSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7461), ACE_NTOHL (0x696e6564), ACE_NTOHL (0x5365713a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/ContainedSeq:1.0 - 13, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x64536571), ACE_NTOHL (0x0), // name = ContainedSeq + 13, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x64536571), ACE_NTOHL (0x0), // name = IR_ContainedSeq CORBA::tk_sequence, // typecode kind 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -4756,21 +3357,22 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7461), ACE_NTOHL (0x696e6564), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/Contained:1.0 - 10, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x64000000), // name = Contained + 10, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x64000000), // name = IR_Contained 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ContainedSeq (CORBA::tk_alias, sizeof (_oc_IR_ContainedSeq), (char *) &_oc_IR_ContainedSeq, 0, sizeof (IR::ContainedSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ContainedSeq (CORBA::tk_alias, sizeof (_oc_IR_ContainedSeq), (char *) &_oc_IR_ContainedSeq, 0, sizeof (IR_ContainedSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ContainedSeq, &_tc_TAO_tc_IR_ContainedSeq) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_StructMember[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x74727563), ACE_NTOHL (0x744d656d), ACE_NTOHL (0x6265723a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/StructMember:1.0 - 13, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x0), // name = StructMember + 13, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x0), // name = IR_StructMember 3, // member count 5, ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name CORBA::tk_alias, // typecode kind for typedefs @@ -4789,35 +3391,32 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType }; -static CORBA::TypeCode _tc_TAO_tc_IR_StructMember (CORBA::tk_struct, sizeof (_oc_IR_StructMember), (char *) &_oc_IR_StructMember, 0, sizeof (IR::StructMember)); +static CORBA::TypeCode _tc_TAO_tc_IR_StructMember (CORBA::tk_struct, sizeof (_oc_IR_StructMember), (char *) &_oc_IR_StructMember, 0, sizeof (IR_StructMember)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_StructMember, &_tc_TAO_tc_IR_StructMember) TAO_NAMESPACE_END -void IR::StructMember::_tao_any_destructor (void *x) + +void IR_StructMember::_tao_any_destructor (void *x) { - StructMember *tmp = ACE_static_cast (StructMember*,x); + IR_StructMember *tmp = ACE_static_cast (IR_StructMember*,x); delete tmp; } - #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_STRUCTMEMBERSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_STRUCTMEMBERSEQ_CS_ - void - IR::_TAO_Unbounded_Sequence_IR_StructMemberSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Sequence_IR_StructMemberSeq::_allocate_buffer (CORBA::ULong length) { - IR::StructMember* tmp = 0; + IR_StructMember* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_StructMemberSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::StructMember *old = ACE_reinterpret_cast (IR::StructMember *,this->buffer_); + IR_StructMember *old = ACE_reinterpret_cast (IR_StructMember *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -4830,80 +3429,70 @@ } void - IR::_TAO_Unbounded_Sequence_IR_StructMemberSeq::_deallocate_buffer (void) + _TAO_Unbounded_Sequence_IR_StructMemberSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::StructMember *tmp = ACE_reinterpret_cast (IR::StructMember *,this->buffer_); + IR_StructMember *tmp = ACE_reinterpret_cast (IR_StructMember *,this->buffer_); _TAO_Unbounded_Sequence_IR_StructMemberSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Sequence_IR_StructMemberSeq::~_TAO_Unbounded_Sequence_IR_StructMemberSeq (void) // Dtor. + _TAO_Unbounded_Sequence_IR_StructMemberSeq::~_TAO_Unbounded_Sequence_IR_StructMemberSeq (void) // Dtor. { this->_deallocate_buffer (); } - -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_STRUCTMEMBERSEQ_CS_) -#define _TAO_IR_STRUCTMEMBERSEQ_CS_ - // ************************************************************* -// IR::StructMemberSeq +// IR_StructMemberSeq // ************************************************************* -IR::StructMemberSeq::StructMemberSeq (void) +IR_StructMemberSeq::IR_StructMemberSeq (void) {} -IR::StructMemberSeq::StructMemberSeq (CORBA::ULong max) // uses max size +IR_StructMemberSeq::IR_StructMemberSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_StructMemberSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::StructMemberSeq::StructMemberSeq (CORBA::ULong max, CORBA::ULong length, IR::StructMember *buffer, CORBA::Boolean release) +IR_StructMemberSeq::IR_StructMemberSeq (CORBA::ULong max, CORBA::ULong length, IR_StructMember *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_StructMemberSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::StructMemberSeq::StructMemberSeq (const StructMemberSeq &seq) // copy ctor +IR_StructMemberSeq::IR_StructMemberSeq (const IR_StructMemberSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_StructMemberSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::StructMemberSeq::~StructMemberSeq (void) // dtor +IR_StructMemberSeq::~IR_StructMemberSeq (void) // dtor {} -void IR::StructMemberSeq::_tao_any_destructor (void *x) +void IR_StructMemberSeq::_tao_any_destructor (void *x) { - StructMemberSeq *tmp = ACE_static_cast (StructMemberSeq*,x); + IR_StructMemberSeq *tmp = ACE_static_cast (IR_StructMemberSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_StructMemberSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 35, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x74727563), ACE_NTOHL (0x744d656d), ACE_NTOHL (0x62657253), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/StructMemberSeq:1.0 - 16, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x53657100), // name = StructMemberSeq + 16, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x53657100), // name = IR_StructMemberSeq CORBA::tk_sequence, // typecode kind 252, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -4911,7 +3500,7 @@ 236, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x74727563), ACE_NTOHL (0x744d656d), ACE_NTOHL (0x6265723a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/StructMember:1.0 - 13, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x0), // name = StructMember + 13, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x0), // name = IR_StructMember 3, // member count 5, ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name CORBA::tk_alias, // typecode kind for typedefs @@ -4930,29 +3519,30 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_StructMemberSeq (CORBA::tk_alias, sizeof (_oc_IR_StructMemberSeq), (char *) &_oc_IR_StructMemberSeq, 0, sizeof (IR::StructMemberSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_StructMemberSeq (CORBA::tk_alias, sizeof (_oc_IR_StructMemberSeq), (char *) &_oc_IR_StructMemberSeq, 0, sizeof (IR_StructMemberSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_StructMemberSeq, &_tc_TAO_tc_IR_StructMemberSeq) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_Initializer[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e697469), ACE_NTOHL (0x616c697a), ACE_NTOHL (0x65723a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/Initializer:1.0 - 12, ACE_NTOHL (0x496e6974), ACE_NTOHL (0x69616c69), ACE_NTOHL (0x7a657200), // name = Initializer + 12, ACE_NTOHL (0x496e6974), ACE_NTOHL (0x69616c69), ACE_NTOHL (0x7a657200), // name = IR_Initializer 2, // member count 8, ACE_NTOHL (0x6d656d62), ACE_NTOHL (0x65727300), // name = members CORBA::tk_alias, // typecode kind for typedefs 324, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 35, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x74727563), ACE_NTOHL (0x744d656d), ACE_NTOHL (0x62657253), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/StructMemberSeq:1.0 - 16, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x53657100), // name = StructMemberSeq + 16, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x53657100), // name = IR_StructMemberSeq CORBA::tk_sequence, // typecode kind 252, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -4960,7 +3550,7 @@ 236, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x74727563), ACE_NTOHL (0x744d656d), ACE_NTOHL (0x6265723a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/StructMember:1.0 - 13, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x0), // name = StructMember + 13, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x0), // name = IR_StructMember 3, // member count 5, ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name CORBA::tk_alias, // typecode kind for typedefs @@ -4979,7 +3569,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 0U, @@ -4995,32 +3585,29 @@ 0U, // string length }; -static CORBA::TypeCode _tc_TAO_tc_IR_Initializer (CORBA::tk_struct, sizeof (_oc_IR_Initializer), (char *) &_oc_IR_Initializer, 0, sizeof (IR::Initializer)); +static CORBA::TypeCode _tc_TAO_tc_IR_Initializer (CORBA::tk_struct, sizeof (_oc_IR_Initializer), (char *) &_oc_IR_Initializer, 0, sizeof (IR_Initializer)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Initializer, &_tc_TAO_tc_IR_Initializer) TAO_NAMESPACE_END -void IR::Initializer::_tao_any_destructor (void *x) + +void IR_Initializer::_tao_any_destructor (void *x) { - Initializer *tmp = ACE_static_cast (Initializer*,x); + IR_Initializer *tmp = ACE_static_cast (IR_Initializer*,x); delete tmp; } - #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_INITIALIZERSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_INITIALIZERSEQ_CS_ - void - IR::_TAO_Unbounded_Sequence_IR_InitializerSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Sequence_IR_InitializerSeq::_allocate_buffer (CORBA::ULong length) { - IR::Initializer* tmp = 0; + IR_Initializer* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_InitializerSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::Initializer *old = ACE_reinterpret_cast (IR::Initializer *,this->buffer_); + IR_Initializer *old = ACE_reinterpret_cast (IR_Initializer *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -5033,80 +3620,70 @@ } void - IR::_TAO_Unbounded_Sequence_IR_InitializerSeq::_deallocate_buffer (void) + _TAO_Unbounded_Sequence_IR_InitializerSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::Initializer *tmp = ACE_reinterpret_cast (IR::Initializer *,this->buffer_); + IR_Initializer *tmp = ACE_reinterpret_cast (IR_Initializer *,this->buffer_); _TAO_Unbounded_Sequence_IR_InitializerSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Sequence_IR_InitializerSeq::~_TAO_Unbounded_Sequence_IR_InitializerSeq (void) // Dtor. + _TAO_Unbounded_Sequence_IR_InitializerSeq::~_TAO_Unbounded_Sequence_IR_InitializerSeq (void) // Dtor. { this->_deallocate_buffer (); } - -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_INITIALIZERSEQ_CS_) -#define _TAO_IR_INITIALIZERSEQ_CS_ - // ************************************************************* -// IR::InitializerSeq +// IR_InitializerSeq // ************************************************************* -IR::InitializerSeq::InitializerSeq (void) +IR_InitializerSeq::IR_InitializerSeq (void) {} -IR::InitializerSeq::InitializerSeq (CORBA::ULong max) // uses max size +IR_InitializerSeq::IR_InitializerSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_InitializerSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::InitializerSeq::InitializerSeq (CORBA::ULong max, CORBA::ULong length, IR::Initializer *buffer, CORBA::Boolean release) +IR_InitializerSeq::IR_InitializerSeq (CORBA::ULong max, CORBA::ULong length, IR_Initializer *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_InitializerSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::InitializerSeq::InitializerSeq (const InitializerSeq &seq) // copy ctor +IR_InitializerSeq::IR_InitializerSeq (const IR_InitializerSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_InitializerSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::InitializerSeq::~InitializerSeq (void) // dtor +IR_InitializerSeq::~IR_InitializerSeq (void) // dtor {} -void IR::InitializerSeq::_tao_any_destructor (void *x) +void IR_InitializerSeq::_tao_any_destructor (void *x) { - InitializerSeq *tmp = ACE_static_cast (InitializerSeq*,x); + IR_InitializerSeq *tmp = ACE_static_cast (IR_InitializerSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_InitializerSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 34, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e697469), ACE_NTOHL (0x616c697a), ACE_NTOHL (0x65725365), ACE_NTOHL (0x713a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/InitializerSeq:1.0 - 15, ACE_NTOHL (0x496e6974), ACE_NTOHL (0x69616c69), ACE_NTOHL (0x7a657253), ACE_NTOHL (0x65710000), // name = InitializerSeq + 15, ACE_NTOHL (0x496e6974), ACE_NTOHL (0x69616c69), ACE_NTOHL (0x7a657253), ACE_NTOHL (0x65710000), // name = IR_InitializerSeq CORBA::tk_sequence, // typecode kind 504, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -5114,14 +3691,14 @@ 488, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e697469), ACE_NTOHL (0x616c697a), ACE_NTOHL (0x65723a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/Initializer:1.0 - 12, ACE_NTOHL (0x496e6974), ACE_NTOHL (0x69616c69), ACE_NTOHL (0x7a657200), // name = Initializer + 12, ACE_NTOHL (0x496e6974), ACE_NTOHL (0x69616c69), ACE_NTOHL (0x7a657200), // name = IR_Initializer 2, // member count 8, ACE_NTOHL (0x6d656d62), ACE_NTOHL (0x65727300), // name = members CORBA::tk_alias, // typecode kind for typedefs 324, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 35, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x74727563), ACE_NTOHL (0x744d656d), ACE_NTOHL (0x62657253), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/StructMemberSeq:1.0 - 16, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x53657100), // name = StructMemberSeq + 16, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x53657100), // name = IR_StructMemberSeq CORBA::tk_sequence, // typecode kind 252, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -5129,7 +3706,7 @@ 236, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x74727563), ACE_NTOHL (0x744d656d), ACE_NTOHL (0x6265723a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/StructMember:1.0 - 13, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x0), // name = StructMember + 13, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x0), // name = IR_StructMember 3, // member count 5, ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name CORBA::tk_alias, // typecode kind for typedefs @@ -5148,7 +3725,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 0U, @@ -5167,16 +3744,17 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_InitializerSeq (CORBA::tk_alias, sizeof (_oc_IR_InitializerSeq), (char *) &_oc_IR_InitializerSeq, 0, sizeof (IR::InitializerSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_InitializerSeq (CORBA::tk_alias, sizeof (_oc_IR_InitializerSeq), (char *) &_oc_IR_InitializerSeq, 0, sizeof (IR_InitializerSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_InitializerSeq, &_tc_TAO_tc_IR_InitializerSeq) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_UnionMember[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f55), ACE_NTOHL (0x6e696f6e), ACE_NTOHL (0x4d656d62), ACE_NTOHL (0x65723a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/UnionMember:1.0 - 12, ACE_NTOHL (0x556e696f), ACE_NTOHL (0x6e4d656d), ACE_NTOHL (0x62657200), // name = UnionMember + 12, ACE_NTOHL (0x556e696f), ACE_NTOHL (0x6e4d656d), ACE_NTOHL (0x62657200), // name = IR_UnionMember 4, // member count 5, ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name CORBA::tk_alias, // typecode kind for typedefs @@ -5198,35 +3776,32 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType }; -static CORBA::TypeCode _tc_TAO_tc_IR_UnionMember (CORBA::tk_struct, sizeof (_oc_IR_UnionMember), (char *) &_oc_IR_UnionMember, 0, sizeof (IR::UnionMember)); +static CORBA::TypeCode _tc_TAO_tc_IR_UnionMember (CORBA::tk_struct, sizeof (_oc_IR_UnionMember), (char *) &_oc_IR_UnionMember, 0, sizeof (IR_UnionMember)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UnionMember, &_tc_TAO_tc_IR_UnionMember) TAO_NAMESPACE_END -void IR::UnionMember::_tao_any_destructor (void *x) + +void IR_UnionMember::_tao_any_destructor (void *x) { - UnionMember *tmp = ACE_static_cast (UnionMember*,x); + IR_UnionMember *tmp = ACE_static_cast (IR_UnionMember*,x); delete tmp; } - #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_UNIONMEMBERSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_UNIONMEMBERSEQ_CS_ - void - IR::_TAO_Unbounded_Sequence_IR_UnionMemberSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Sequence_IR_UnionMemberSeq::_allocate_buffer (CORBA::ULong length) { - IR::UnionMember* tmp = 0; + IR_UnionMember* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_UnionMemberSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::UnionMember *old = ACE_reinterpret_cast (IR::UnionMember *,this->buffer_); + IR_UnionMember *old = ACE_reinterpret_cast (IR_UnionMember *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -5239,80 +3814,70 @@ } void - IR::_TAO_Unbounded_Sequence_IR_UnionMemberSeq::_deallocate_buffer (void) + _TAO_Unbounded_Sequence_IR_UnionMemberSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::UnionMember *tmp = ACE_reinterpret_cast (IR::UnionMember *,this->buffer_); + IR_UnionMember *tmp = ACE_reinterpret_cast (IR_UnionMember *,this->buffer_); _TAO_Unbounded_Sequence_IR_UnionMemberSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Sequence_IR_UnionMemberSeq::~_TAO_Unbounded_Sequence_IR_UnionMemberSeq (void) // Dtor. + _TAO_Unbounded_Sequence_IR_UnionMemberSeq::~_TAO_Unbounded_Sequence_IR_UnionMemberSeq (void) // Dtor. { this->_deallocate_buffer (); } - -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_UNIONMEMBERSEQ_CS_) -#define _TAO_IR_UNIONMEMBERSEQ_CS_ - // ************************************************************* -// IR::UnionMemberSeq +// IR_UnionMemberSeq // ************************************************************* -IR::UnionMemberSeq::UnionMemberSeq (void) +IR_UnionMemberSeq::IR_UnionMemberSeq (void) {} -IR::UnionMemberSeq::UnionMemberSeq (CORBA::ULong max) // uses max size +IR_UnionMemberSeq::IR_UnionMemberSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_UnionMemberSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::UnionMemberSeq::UnionMemberSeq (CORBA::ULong max, CORBA::ULong length, IR::UnionMember *buffer, CORBA::Boolean release) +IR_UnionMemberSeq::IR_UnionMemberSeq (CORBA::ULong max, CORBA::ULong length, IR_UnionMember *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_UnionMemberSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::UnionMemberSeq::UnionMemberSeq (const UnionMemberSeq &seq) // copy ctor +IR_UnionMemberSeq::IR_UnionMemberSeq (const IR_UnionMemberSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_UnionMemberSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::UnionMemberSeq::~UnionMemberSeq (void) // dtor +IR_UnionMemberSeq::~IR_UnionMemberSeq (void) // dtor {} -void IR::UnionMemberSeq::_tao_any_destructor (void *x) +void IR_UnionMemberSeq::_tao_any_destructor (void *x) { - UnionMemberSeq *tmp = ACE_static_cast (UnionMemberSeq*,x); + IR_UnionMemberSeq *tmp = ACE_static_cast (IR_UnionMemberSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_UnionMemberSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 34, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f55), ACE_NTOHL (0x6e696f6e), ACE_NTOHL (0x4d656d62), ACE_NTOHL (0x65725365), ACE_NTOHL (0x713a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/UnionMemberSeq:1.0 - 15, ACE_NTOHL (0x556e696f), ACE_NTOHL (0x6e4d656d), ACE_NTOHL (0x62657253), ACE_NTOHL (0x65710000), // name = UnionMemberSeq + 15, ACE_NTOHL (0x556e696f), ACE_NTOHL (0x6e4d656d), ACE_NTOHL (0x62657253), ACE_NTOHL (0x65710000), // name = IR_UnionMemberSeq CORBA::tk_sequence, // typecode kind 264, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -5320,7 +3885,7 @@ 248, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f55), ACE_NTOHL (0x6e696f6e), ACE_NTOHL (0x4d656d62), ACE_NTOHL (0x65723a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/UnionMember:1.0 - 12, ACE_NTOHL (0x556e696f), ACE_NTOHL (0x6e4d656d), ACE_NTOHL (0x62657200), // name = UnionMember + 12, ACE_NTOHL (0x556e696f), ACE_NTOHL (0x6e4d656d), ACE_NTOHL (0x62657200), // name = IR_UnionMember 4, // member count 5, ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name CORBA::tk_alias, // typecode kind for typedefs @@ -5342,28 +3907,25 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_UnionMemberSeq (CORBA::tk_alias, sizeof (_oc_IR_UnionMemberSeq), (char *) &_oc_IR_UnionMemberSeq, 0, sizeof (IR::UnionMemberSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_UnionMemberSeq (CORBA::tk_alias, sizeof (_oc_IR_UnionMemberSeq), (char *) &_oc_IR_UnionMemberSeq, 0, sizeof (IR_UnionMemberSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UnionMemberSeq, &_tc_TAO_tc_IR_UnionMemberSeq) TAO_NAMESPACE_END -#if !defined (_TAO_IR_ENUMMEMBERSEQ_CS_) -#define _TAO_IR_ENUMMEMBERSEQ_CS_ - // ************************************************************* -// IR::EnumMemberSeq +// IR_EnumMemberSeq // ************************************************************* -IR::EnumMemberSeq::EnumMemberSeq (void) +IR_EnumMemberSeq::IR_EnumMemberSeq (void) {} -IR::EnumMemberSeq::EnumMemberSeq (CORBA::ULong max) // uses max size +IR_EnumMemberSeq::IR_EnumMemberSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) TAO_Unbounded_String_Sequence @@ -5372,7 +3934,7 @@ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::EnumMemberSeq::EnumMemberSeq (CORBA::ULong max, CORBA::ULong length, char * *buffer, CORBA::Boolean release) +IR_EnumMemberSeq::IR_EnumMemberSeq (CORBA::ULong max, CORBA::ULong length, char * *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) TAO_Unbounded_String_Sequence @@ -5381,7 +3943,7 @@ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::EnumMemberSeq::EnumMemberSeq (const EnumMemberSeq &seq) // copy ctor +IR_EnumMemberSeq::IR_EnumMemberSeq (const IR_EnumMemberSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) TAO_Unbounded_String_Sequence @@ -5390,22 +3952,19 @@ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::EnumMemberSeq::~EnumMemberSeq (void) // dtor +IR_EnumMemberSeq::~IR_EnumMemberSeq (void) // dtor {} -void IR::EnumMemberSeq::_tao_any_destructor (void *x) +void IR_EnumMemberSeq::_tao_any_destructor (void *x) { - EnumMemberSeq *tmp = ACE_static_cast (EnumMemberSeq*,x); + IR_EnumMemberSeq *tmp = ACE_static_cast (IR_EnumMemberSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_EnumMemberSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 33, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f45), ACE_NTOHL (0x6e756d4d), ACE_NTOHL (0x656d6265), ACE_NTOHL (0x72536571), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/EnumMemberSeq:1.0 - 14, ACE_NTOHL (0x456e756d), ACE_NTOHL (0x4d656d62), ACE_NTOHL (0x65725365), ACE_NTOHL (0x71000000), // name = EnumMemberSeq + 14, ACE_NTOHL (0x456e756d), ACE_NTOHL (0x4d656d62), ACE_NTOHL (0x65725365), ACE_NTOHL (0x71000000), // name = IR_EnumMemberSeq CORBA::tk_sequence, // typecode kind 80, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -5420,7 +3979,7 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_EnumMemberSeq (CORBA::tk_alias, sizeof (_oc_IR_EnumMemberSeq), (char *) &_oc_IR_EnumMemberSeq, 0, sizeof (IR::EnumMemberSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_EnumMemberSeq (CORBA::tk_alias, sizeof (_oc_IR_EnumMemberSeq), (char *) &_oc_IR_EnumMemberSeq, 0, sizeof (IR_EnumMemberSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_EnumMemberSeq, &_tc_TAO_tc_IR_EnumMemberSeq) @@ -5430,15 +3989,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_Container_Proxy_Impl::_TAO_Container_Proxy_Impl (void) +_TAO_Container_Proxy_Impl::_TAO_Container_Proxy_Impl (void) {} -IR::_TAO_Container_Remote_Proxy_Impl::_TAO_Container_Remote_Proxy_Impl (void) +_TAO_Container_Remote_Proxy_Impl::_TAO_Container_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::Contained_ptr IR::_TAO_Container_Remote_Proxy_Impl::lookup ( +IR_Contained_ptr _TAO_Container_Remote_Proxy_Impl::lookup ( CORBA_Object *_collocated_tao_target_, const char * search_name, CORBA::Environment &ACE_TRY_ENV @@ -5446,10 +4005,9 @@ ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - IR::Contained_ptr _tao_retval = IR::Contained::_nil (); - IR::Contained_var _tao_safe_retval (_tao_retval); +{ + IR_Contained_ptr _tao_retval = IR_Contained::_nil (); + IR_Contained_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -5465,57 +4023,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_lookup ri ( - "lookup", - _tao_call.service_info (), - _collocated_tao_target_, - search_name, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << search_name) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -5524,7 +4056,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -5534,65 +4066,34 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::Contained_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ContainedSeq * IR::_TAO_Container_Remote_Proxy_Impl::contents ( +IR_ContainedSeq * _TAO_Container_Remote_Proxy_Impl::contents ( CORBA_Object *_collocated_tao_target_, - IR::DefinitionKind limit_type, + IR_DefinitionKind limit_type, CORBA::Boolean exclude_inherited, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - IR::ContainedSeq *_tao_retval = 0; - - +{ + IR_ContainedSeq *_tao_retval = 0; + TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - - ACE_NEW_RETURN (_tao_retval, IR::ContainedSeq, _tao_retval); - IR::ContainedSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_ContainedSeq, _tao_retval); + IR_ContainedSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "contents", @@ -5601,59 +4102,32 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_contents ri ( - "contents", - _tao_call.service_info (), - _collocated_tao_target_, - limit_type, - exclude_inherited, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << limit_type) && (_tao_out << CORBA::Any::from_boolean (exclude_inherited)) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -5662,7 +4136,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -5672,67 +4146,36 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ContainedSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ContainedSeq * IR::_TAO_Container_Remote_Proxy_Impl::lookup_name ( +IR_ContainedSeq * _TAO_Container_Remote_Proxy_Impl::lookup_name ( CORBA_Object *_collocated_tao_target_, const char * search_name, CORBA::Long levels_to_search, - IR::DefinitionKind limit_type, + IR_DefinitionKind limit_type, CORBA::Boolean exclude_inherited, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - - IR::ContainedSeq *_tao_retval = 0; - +{ + IR_ContainedSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - - ACE_NEW_RETURN (_tao_retval, IR::ContainedSeq, _tao_retval); - IR::ContainedSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_ContainedSeq, _tao_retval); + IR_ContainedSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "lookup_name", @@ -5741,47 +4184,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_lookup_name ri ( - "lookup_name", - _tao_call.service_info (), - _collocated_tao_target_, - search_name, - levels_to_search, - limit_type, - exclude_inherited, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -5790,14 +4204,14 @@ (_tao_out << limit_type) && (_tao_out << CORBA::Any::from_boolean (exclude_inherited)) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -5806,7 +4220,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -5816,47 +4230,20 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ContainedSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::Container::DescriptionSeq * IR::_TAO_Container_Remote_Proxy_Impl::describe_contents ( +IR_Container::DescriptionSeq * _TAO_Container_Remote_Proxy_Impl::describe_contents ( CORBA_Object *_collocated_tao_target_, - IR::DefinitionKind limit_type, + IR_DefinitionKind limit_type, CORBA::Boolean exclude_inherited, CORBA::Long max_returned_objs, CORBA::Environment &ACE_TRY_ENV @@ -5865,17 +4252,14 @@ CORBA::SystemException )) { - - IR::Container::DescriptionSeq *_tao_retval = 0; - + IR_Container::DescriptionSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - - ACE_NEW_RETURN (_tao_retval, IR::Container::DescriptionSeq, _tao_retval); - IR::Container::DescriptionSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_Container::DescriptionSeq, _tao_retval); + IR_Container::DescriptionSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "describe_contents", @@ -5884,46 +4268,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_describe_contents ri ( - "describe_contents", - _tao_call.service_info (), - _collocated_tao_target_, - limit_type, - exclude_inherited, - max_returned_objs, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -5931,14 +4287,14 @@ (_tao_out << CORBA::Any::from_boolean (exclude_inherited)) && (_tao_out << max_returned_objs) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -5947,7 +4303,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -5957,45 +4313,17 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::Container::DescriptionSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ModuleDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_module ( +IR_ModuleDef_ptr _TAO_Container_Remote_Proxy_Impl::create_module ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, @@ -6006,16 +4334,13 @@ CORBA::SystemException )) { - - IR::ModuleDef_ptr _tao_retval = IR::ModuleDef::_nil (); - IR::ModuleDef_var _tao_safe_retval (_tao_retval); - + IR_ModuleDef_ptr _tao_retval = IR_ModuleDef::_nil (); + IR_ModuleDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_module", @@ -6024,46 +4349,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_module ri ( - "create_module", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -6071,14 +4368,14 @@ (_tao_out << name) && (_tao_out << version) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -6087,7 +4384,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -6097,50 +4394,23 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ModuleDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ConstantDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_constant ( +IR_ConstantDef_ptr _TAO_Container_Remote_Proxy_Impl::create_constant ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::IDLType_ptr type, + IR_IDLType_ptr type, const CORBA::Any & value, CORBA::Environment &ACE_TRY_ENV ) @@ -6148,15 +4418,12 @@ CORBA::SystemException )) { - - IR::ConstantDef_ptr _tao_retval = IR::ConstantDef::_nil (); - IR::ConstantDef_var _tao_safe_retval (_tao_retval); - + IR_ConstantDef_ptr _tao_retval = IR_ConstantDef::_nil (); + IR_ConstantDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, @@ -6166,48 +4433,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_constant ri ( - "create_constant", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - type, - value, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -6217,14 +4454,14 @@ (_tao_out << type) && (_tao_out << value) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -6233,7 +4470,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -6243,66 +4480,36 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ConstantDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::StructDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_struct ( +IR_StructDef_ptr _TAO_Container_Remote_Proxy_Impl::create_struct ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - const IR::StructMemberSeq & members, + const IR_StructMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::StructDef_ptr _tao_retval = IR::StructDef::_nil (); - IR::StructDef_var _tao_safe_retval (_tao_retval); - + IR_StructDef_ptr _tao_retval = IR_StructDef::_nil (); + IR_StructDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_struct", @@ -6311,47 +4518,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_struct ri ( - "create_struct", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - members, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -6360,14 +4538,14 @@ (_tao_out << version) && (_tao_out << members) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -6376,7 +4554,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -6386,67 +4564,37 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::StructDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::UnionDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_union ( +IR_UnionDef_ptr _TAO_Container_Remote_Proxy_Impl::create_union ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::IDLType_ptr discriminator_type, - const IR::UnionMemberSeq & members, + IR_IDLType_ptr discriminator_type, + const IR_UnionMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::UnionDef_ptr _tao_retval = IR::UnionDef::_nil (); - IR::UnionDef_var _tao_safe_retval (_tao_retval); - + IR_UnionDef_ptr _tao_retval = IR_UnionDef::_nil (); + IR_UnionDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_union", @@ -6455,48 +4603,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_union ri ( - "create_union", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - discriminator_type, - members, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -6506,14 +4624,14 @@ (_tao_out << discriminator_type) && (_tao_out << members) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -6522,7 +4640,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -6532,66 +4650,36 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::UnionDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::EnumDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_enum ( +IR_EnumDef_ptr _TAO_Container_Remote_Proxy_Impl::create_enum ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - const IR::EnumMemberSeq & members, + const IR_EnumMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::EnumDef_ptr _tao_retval = IR::EnumDef::_nil (); - IR::EnumDef_var _tao_safe_retval (_tao_retval); - + IR_EnumDef_ptr _tao_retval = IR_EnumDef::_nil (); + IR_EnumDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_enum", @@ -6600,47 +4688,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_enum ri ( - "create_enum", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - members, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -6649,14 +4708,14 @@ (_tao_out << version) && (_tao_out << members) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -6665,7 +4724,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -6675,66 +4734,36 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::EnumDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::AliasDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_alias ( +IR_AliasDef_ptr _TAO_Container_Remote_Proxy_Impl::create_alias ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::IDLType_ptr original_type, + IR_IDLType_ptr original_type, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::AliasDef_ptr _tao_retval = IR::AliasDef::_nil (); - IR::AliasDef_var _tao_safe_retval (_tao_retval); - + IR_AliasDef_ptr _tao_retval = IR_AliasDef::_nil (); + IR_AliasDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_alias", @@ -6743,47 +4772,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_alias ri ( - "create_alias", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - original_type, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -6792,14 +4792,14 @@ (_tao_out << version) && (_tao_out << original_type) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -6808,7 +4808,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -6818,50 +4818,23 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::AliasDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::InterfaceDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_interface ( +IR_InterfaceDef_ptr _TAO_Container_Remote_Proxy_Impl::create_interface ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - const IR::InterfaceDefSeq & base_interfaces, + const IR_InterfaceDefSeq & base_interfaces, CORBA::Boolean is_abstract, CORBA::Boolean is_local, CORBA::Environment &ACE_TRY_ENV @@ -6870,16 +4843,14 @@ CORBA::SystemException )) { - - IR::InterfaceDef_ptr _tao_retval = IR::InterfaceDef::_nil (); - IR::InterfaceDef_var _tao_safe_retval (_tao_retval); + IR_InterfaceDef_ptr _tao_retval = IR_InterfaceDef::_nil (); + IR_InterfaceDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_interface", @@ -6888,49 +4859,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_interface ri ( - "create_interface", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - base_interfaces, - is_abstract, - is_local, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -6941,14 +4881,14 @@ (_tao_out << CORBA::Any::from_boolean (is_abstract)) && (_tao_out << CORBA::Any::from_boolean (is_local)) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -6957,7 +4897,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -6967,72 +4907,42 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::InterfaceDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ValueDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_value ( +IR_ValueDef_ptr _TAO_Container_Remote_Proxy_Impl::create_value ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, CORBA::Boolean is_custom, CORBA::Boolean is_abstract, - IR::ValueDef_ptr base_value, + IR_ValueDef_ptr base_value, CORBA::Boolean is_truncatable, - const IR::ValueDefSeq & abstract_base_values, - const IR::InterfaceDefSeq & supported_interfaces, - const IR::InitializerSeq & initializers, + const IR_ValueDefSeq & abstract_base_values, + const IR_InterfaceDefSeq & supported_interfaces, + const IR_InitializerSeq & initializers, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::ValueDef_ptr _tao_retval = IR::ValueDef::_nil (); - IR::ValueDef_var _tao_safe_retval (_tao_retval); - + IR_ValueDef_ptr _tao_retval = IR_ValueDef::_nil (); + IR_ValueDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_value", @@ -7041,53 +4951,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_value ri ( - "create_value", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - is_custom, - is_abstract, - base_value, - is_truncatable, - abstract_base_values, - supported_interfaces, - initializers, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -7102,14 +4977,14 @@ (_tao_out << supported_interfaces) && (_tao_out << initializers) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -7118,7 +4993,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -7128,66 +5003,36 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ValueDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ValueBoxDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_value_box ( +IR_ValueBoxDef_ptr _TAO_Container_Remote_Proxy_Impl::create_value_box ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::IDLType_ptr original_type_def, + IR_IDLType_ptr original_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::ValueBoxDef_ptr _tao_retval = IR::ValueBoxDef::_nil (); - IR::ValueBoxDef_var _tao_safe_retval (_tao_retval); - + IR_ValueBoxDef_ptr _tao_retval = IR_ValueBoxDef::_nil (); + IR_ValueBoxDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_value_box", @@ -7196,47 +5041,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_value_box ri ( - "create_value_box", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - original_type_def, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -7245,14 +5061,14 @@ (_tao_out << version) && (_tao_out << original_type_def) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -7261,7 +5077,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -7271,66 +5087,36 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ValueBoxDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ExceptionDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_exception ( +IR_ExceptionDef_ptr _TAO_Container_Remote_Proxy_Impl::create_exception ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - const IR::StructMemberSeq & members, + const IR_StructMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::ExceptionDef_ptr _tao_retval = IR::ExceptionDef::_nil (); - IR::ExceptionDef_var _tao_safe_retval (_tao_retval); - + IR_ExceptionDef_ptr _tao_retval = IR_ExceptionDef::_nil (); + IR_ExceptionDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_exception", @@ -7339,47 +5125,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_exception ri ( - "create_exception", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - members, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -7388,14 +5145,14 @@ (_tao_out << version) && (_tao_out << members) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -7404,7 +5161,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -7414,45 +5171,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ExceptionDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::NativeDef_ptr IR::_TAO_Container_Remote_Proxy_Impl::create_native ( +IR_NativeDef_ptr _TAO_Container_Remote_Proxy_Impl::create_native ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, @@ -7463,16 +5193,13 @@ CORBA::SystemException )) { - - IR::NativeDef_ptr _tao_retval = IR::NativeDef::_nil (); - IR::NativeDef_var _tao_safe_retval (_tao_retval); - + IR_NativeDef_ptr _tao_retval = IR_NativeDef::_nil (); + IR_NativeDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_native", @@ -7481,46 +5208,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Container::TAO_ClientRequestInfo_IR_Container_create_native ri ( - "create_native", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -7528,14 +5227,14 @@ (_tao_out << name) && (_tao_out << version) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -7544,7 +5243,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -7554,41 +5253,14 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::NativeDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } @@ -7602,32 +5274,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_Container_Proxy_Broker::_TAO_Container_Proxy_Broker (void) +_TAO_Container_Proxy_Broker::_TAO_Container_Proxy_Broker (void) { } -IR::_TAO_Container_Proxy_Broker::~_TAO_Container_Proxy_Broker (void) +_TAO_Container_Proxy_Broker::~_TAO_Container_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_Container_Remote_Proxy_Broker *IR::_TAO_Container_Remote_Proxy_Broker::the_TAO_Container_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_Container_Remote_Proxy_Broker *the_TAO_Container_Remote_Proxy_Broker (void) { - static ::IR::_TAO_Container_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_Container_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_Container_Remote_Proxy_Broker::_TAO_Container_Remote_Proxy_Broker (void) +_TAO_Container_Remote_Proxy_Broker::_TAO_Container_Remote_Proxy_Broker (void) { } -IR::_TAO_Container_Remote_Proxy_Broker::~_TAO_Container_Remote_Proxy_Broker (void) +_TAO_Container_Remote_Proxy_Broker::~_TAO_Container_Remote_Proxy_Broker (void) { } -IR::_TAO_Container_Proxy_Impl& -IR::_TAO_Container_Remote_Proxy_Broker::select_proxy ( - ::IR::Container *object, +_TAO_Container_Proxy_Impl& +_TAO_Container_Remote_Proxy_Broker::select_proxy ( + ::IR_Container *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -7643,110 +5315,110 @@ // default constructor -IR::Container::Container (int collocated) +IR_Container::IR_Container (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::Container::~Container (void) +IR_Container::~IR_Container (void) {} void -IR::Container::_tao_setup_collocation (int collocated) +IR_Container::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_Container_Proxy_Broker_ = - ::IR__TAO_Container_Proxy_Broker_Factory_function_pointer (this); + _TAO_Container_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_Container_Proxy_Broker_ = - ::IR::_TAO_Container_Remote_Proxy_Broker::the_TAO_Container_Remote_Proxy_Broker (); + ::the_TAO_Container_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (CORBA,IRObject)::_tao_setup_collocation (collocated); + CORBA_IRObject::_tao_setup_collocation (collocated); } -void IR::Container::_tao_any_destructor (void *x) +void IR_Container::_tao_any_destructor (void *x) { - Container *tmp = ACE_static_cast (Container*,x); + IR_Container *tmp = ACE_static_cast (IR_Container*,x); CORBA::release (tmp); } -IR::Container_ptr IR::Container::_narrow ( +IR_Container_ptr IR_Container::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return Container::_nil (); + return IR_Container::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/Container:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (Container::_nil ()); + ACE_CHECK_RETURN (IR_Container::_nil ()); if (is_a == 0) - return Container::_nil (); + return IR_Container::_nil (); } - return Container::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_Container::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::Container_ptr IR::Container::_unchecked_narrow ( +IR_Container_ptr IR_Container::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return Container::_nil (); + return IR_Container::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - Container_ptr default_proxy = Container::_nil (); + IR_Container_ptr default_proxy = IR_Container::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_Container_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_Container_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::Container ( + ::IR_Container ( stub, 1, obj->_servant ()), - Container::_nil ()); + IR_Container::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::Container (stub, 0, obj->_servant ()), Container::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_Container (stub, 0, obj->_servant ()), IR_Container::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - Container_ptr, + IR_Container_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &Container::_narrow + &IR_Container::_narrow ) ) ); } -IR::Container_ptr -IR::Container::_duplicate (Container_ptr obj) +IR_Container_ptr +IR_Container::_duplicate (IR_Container_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::Container::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_Container::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) || @@ -7757,22 +5429,22 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::Container::_tao_QueryInterface (ptr_arith_t type) +void *IR_Container::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -7785,20 +5457,19 @@ return retv; } -const char* IR::Container::_interface_repository_id (void) const +const char* IR_Container::_interface_repository_id (void) const { return "IDL:omg.org/IR/Container:1.0"; } -IR::Contained_ptr IR::Container::lookup ( +IR_Contained_ptr IR_Container::lookup ( const char * search_name, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).lookup ( this, search_name, @@ -7806,8 +5477,8 @@ ); } -IR::ContainedSeq * IR::Container::contents ( - IR::DefinitionKind limit_type, +IR_ContainedSeq * IR_Container::contents ( + IR_DefinitionKind limit_type, CORBA::Boolean exclude_inherited, CORBA::Environment &ACE_TRY_ENV ) @@ -7815,7 +5486,6 @@ CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).contents ( this, limit_type, @@ -7824,10 +5494,10 @@ ); } -IR::ContainedSeq * IR::Container::lookup_name ( +IR_ContainedSeq * IR_Container::lookup_name ( const char * search_name, CORBA::Long levels_to_search, - IR::DefinitionKind limit_type, + IR_DefinitionKind limit_type, CORBA::Boolean exclude_inherited, CORBA::Environment &ACE_TRY_ENV ) @@ -7835,7 +5505,6 @@ CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).lookup_name ( this, search_name, @@ -7857,7 +5526,7 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7461), ACE_NTOHL (0x696e6564), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/Contained:1.0 - 10, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x64000000), // name = Contained + 10, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x64000000), // name = IR_Contained 5, ACE_NTOHL (0x6b696e64), ACE_NTOHL (0x0), // name = kind CORBA::tk_enum, // typecode kind @@ -7905,30 +5574,26 @@ CORBA::tk_any, }; -static CORBA::TypeCode _tc_TAO_tc_IR_Container_Description (CORBA::tk_struct, sizeof (_oc_IR_Container_Description), (char *) &_oc_IR_Container_Description, 0, sizeof (IR::Container::Description)); -CORBA::TypeCode_ptr IR::Container::_tc_Description = &_tc_TAO_tc_IR_Container_Description; +static CORBA::TypeCode _tc_TAO_tc_IR_Container_Description (CORBA::tk_struct, sizeof (_oc_IR_Container_Description), (char *) &_oc_IR_Container_Description, 0, sizeof (IR_Container::Description)); +CORBA::TypeCode_ptr IR_Container::_tc_Description = &_tc_TAO_tc_IR_Container_Description; -void IR::Container::Description::_tao_any_destructor (void *x) +void IR_Container::Description::_tao_any_destructor (void *x) { Description *tmp = ACE_static_cast (Description*,x); delete tmp; } - #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_CONTAINER_DESCRIPTIONSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_CONTAINER_DESCRIPTIONSEQ_CS_ - void - IR::Container::_TAO_Unbounded_Sequence_IR_Container_DescriptionSeq::_allocate_buffer (CORBA::ULong length) + IR_Container::_TAO_Unbounded_Sequence_IR_Container_DescriptionSeq::_allocate_buffer (CORBA::ULong length) { - IR::Container::Description* tmp = 0; + IR_Container::Description* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_Container_DescriptionSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::Container::Description *old = ACE_reinterpret_cast (IR::Container::Description *,this->buffer_); + IR_Container::Description *old = ACE_reinterpret_cast (IR_Container::Description *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -7941,75 +5606,66 @@ } void - IR::Container::_TAO_Unbounded_Sequence_IR_Container_DescriptionSeq::_deallocate_buffer (void) + IR_Container::_TAO_Unbounded_Sequence_IR_Container_DescriptionSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::Container::Description *tmp = ACE_reinterpret_cast (IR::Container::Description *,this->buffer_); + IR_Container::Description *tmp = ACE_reinterpret_cast (IR_Container::Description *,this->buffer_); _TAO_Unbounded_Sequence_IR_Container_DescriptionSeq::freebuf (tmp); this->buffer_ = 0; } - IR::Container::_TAO_Unbounded_Sequence_IR_Container_DescriptionSeq::~_TAO_Unbounded_Sequence_IR_Container_DescriptionSeq (void) // Dtor. + IR_Container::_TAO_Unbounded_Sequence_IR_Container_DescriptionSeq::~_TAO_Unbounded_Sequence_IR_Container_DescriptionSeq (void) // Dtor. { this->_deallocate_buffer (); } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_CONTAINER_DESCRIPTIONSEQ_CS_) -#define _TAO_IR_CONTAINER_DESCRIPTIONSEQ_CS_ - // ************************************************************* -// IR::Container::DescriptionSeq +// IR_Container::DescriptionSeq // ************************************************************* -IR::Container::DescriptionSeq::DescriptionSeq (void) +IR_Container::DescriptionSeq::DescriptionSeq (void) {} -IR::Container::DescriptionSeq::DescriptionSeq (CORBA::ULong max) // uses max size +IR_Container::DescriptionSeq::DescriptionSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_Container_DescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::Container::DescriptionSeq::DescriptionSeq (CORBA::ULong max, CORBA::ULong length, IR::Container::Description *buffer, CORBA::Boolean release) +IR_Container::DescriptionSeq::DescriptionSeq (CORBA::ULong max, CORBA::ULong length, IR_Container::Description *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_Container_DescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::Container::DescriptionSeq::DescriptionSeq (const DescriptionSeq &seq) // copy ctor +IR_Container::DescriptionSeq::DescriptionSeq (const DescriptionSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_Container_DescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::Container::DescriptionSeq::~DescriptionSeq (void) // dtor +IR_Container::DescriptionSeq::~DescriptionSeq (void) // dtor {} -void IR::Container::DescriptionSeq::_tao_any_destructor (void *x) +void IR_Container::DescriptionSeq::_tao_any_destructor (void *x) { DescriptionSeq *tmp = ACE_static_cast (DescriptionSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_Container_DescriptionSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -8029,7 +5685,7 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7461), ACE_NTOHL (0x696e6564), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/Contained:1.0 - 10, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x64000000), // name = Contained + 10, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x64000000), // name = IR_Contained 5, ACE_NTOHL (0x6b696e64), ACE_NTOHL (0x0), // name = kind CORBA::tk_enum, // typecode kind @@ -8080,11 +5736,11 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_Container_DescriptionSeq (CORBA::tk_alias, sizeof (_oc_IR_Container_DescriptionSeq), (char *) &_oc_IR_Container_DescriptionSeq, 0, sizeof (IR::Container::DescriptionSeq)); -CORBA::TypeCode_ptr IR::Container::_tc_DescriptionSeq = &_tc_TAO_tc_IR_Container_DescriptionSeq; +static CORBA::TypeCode _tc_TAO_tc_IR_Container_DescriptionSeq (CORBA::tk_alias, sizeof (_oc_IR_Container_DescriptionSeq), (char *) &_oc_IR_Container_DescriptionSeq, 0, sizeof (IR_Container::DescriptionSeq)); +CORBA::TypeCode_ptr IR_Container::_tc_DescriptionSeq = &_tc_TAO_tc_IR_Container_DescriptionSeq; -IR::Container::DescriptionSeq * IR::Container::describe_contents ( - IR::DefinitionKind limit_type, +IR_Container::DescriptionSeq * IR_Container::describe_contents ( + IR_DefinitionKind limit_type, CORBA::Boolean exclude_inherited, CORBA::Long max_returned_objs, CORBA::Environment &ACE_TRY_ENV @@ -8093,7 +5749,6 @@ CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).describe_contents ( this, limit_type, @@ -8103,7 +5758,7 @@ ); } -IR::ModuleDef_ptr IR::Container::create_module ( +IR_ModuleDef_ptr IR_Container::create_module ( const char * id, const char * name, const char * version, @@ -8113,7 +5768,6 @@ CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_module ( this, id, @@ -8123,11 +5777,11 @@ ); } -IR::ConstantDef_ptr IR::Container::create_constant ( +IR_ConstantDef_ptr IR_Container::create_constant ( const char * id, const char * name, const char * version, - IR::IDLType_ptr type, + IR_IDLType_ptr type, const CORBA::Any & value, CORBA::Environment &ACE_TRY_ENV ) @@ -8135,7 +5789,6 @@ CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_constant ( this, id, @@ -8147,18 +5800,17 @@ ); } -IR::StructDef_ptr IR::Container::create_struct ( +IR_StructDef_ptr IR_Container::create_struct ( const char * id, const char * name, const char * version, - const IR::StructMemberSeq & members, + const IR_StructMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_struct ( this, id, @@ -8169,19 +5821,18 @@ ); } -IR::UnionDef_ptr IR::Container::create_union ( +IR_UnionDef_ptr IR_Container::create_union ( const char * id, const char * name, const char * version, - IR::IDLType_ptr discriminator_type, - const IR::UnionMemberSeq & members, + IR_IDLType_ptr discriminator_type, + const IR_UnionMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_union ( this, id, @@ -8193,18 +5844,17 @@ ); } -IR::EnumDef_ptr IR::Container::create_enum ( +IR_EnumDef_ptr IR_Container::create_enum ( const char * id, const char * name, const char * version, - const IR::EnumMemberSeq & members, + const IR_EnumMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_enum ( this, id, @@ -8215,18 +5865,17 @@ ); } -IR::AliasDef_ptr IR::Container::create_alias ( +IR_AliasDef_ptr IR_Container::create_alias ( const char * id, const char * name, const char * version, - IR::IDLType_ptr original_type, + IR_IDLType_ptr original_type, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_alias ( this, id, @@ -8237,11 +5886,11 @@ ); } -IR::InterfaceDef_ptr IR::Container::create_interface ( +IR_InterfaceDef_ptr IR_Container::create_interface ( const char * id, const char * name, const char * version, - const IR::InterfaceDefSeq & base_interfaces, + const IR_InterfaceDefSeq & base_interfaces, CORBA::Boolean is_abstract, CORBA::Boolean is_local, CORBA::Environment &ACE_TRY_ENV @@ -8250,7 +5899,6 @@ CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_interface ( this, id, @@ -8263,24 +5911,23 @@ ); } -IR::ValueDef_ptr IR::Container::create_value ( +IR_ValueDef_ptr IR_Container::create_value ( const char * id, const char * name, const char * version, CORBA::Boolean is_custom, CORBA::Boolean is_abstract, - IR::ValueDef_ptr base_value, + IR_ValueDef_ptr base_value, CORBA::Boolean is_truncatable, - const IR::ValueDefSeq & abstract_base_values, - const IR::InterfaceDefSeq & supported_interfaces, - const IR::InitializerSeq & initializers, + const IR_ValueDefSeq & abstract_base_values, + const IR_InterfaceDefSeq & supported_interfaces, + const IR_InitializerSeq & initializers, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_value ( this, id, @@ -8297,18 +5944,17 @@ ); } -IR::ValueBoxDef_ptr IR::Container::create_value_box ( +IR_ValueBoxDef_ptr IR_Container::create_value_box ( const char * id, const char * name, const char * version, - IR::IDLType_ptr original_type_def, + IR_IDLType_ptr original_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_value_box ( this, id, @@ -8319,18 +5965,17 @@ ); } -IR::ExceptionDef_ptr IR::Container::create_exception ( +IR_ExceptionDef_ptr IR_Container::create_exception ( const char * id, const char * name, const char * version, - const IR::StructMemberSeq & members, + const IR_StructMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_exception ( this, id, @@ -8341,7 +5986,7 @@ ); } -IR::NativeDef_ptr IR::Container::create_native ( +IR_NativeDef_ptr IR_Container::create_native ( const char * id, const char * name, const char * version, @@ -8351,7 +5996,6 @@ CORBA::SystemException )) { - return this->the_TAO_Container_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_native ( this, id, @@ -8361,1453 +6005,316 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::Container::TAO_ClientRequestInfo_IR_Container_lookup::TAO_ClientRequestInfo_IR_Container_lookup ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * search_name, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - search_name_ (search_name) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_lookup::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +static const CORBA::Long _oc_IR_Container[] = { - // Generate the arg list on demand - CORBA::ULong length_search_name = this->parameter_list_.length (); - this->parameter_list_.length (length_search_name + 1); - this->parameter_list_[length_search_name].argument <<= search_name_; - this->parameter_list_[length_search_name].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} + TAO_ENCAP_BYTE_ORDER, // byte order + 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7461), ACE_NTOHL (0x696e6572), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/Container:1.0 + 10, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x72000000), // name = IR_Container +}; +static CORBA::TypeCode _tc_TAO_tc_IR_Container (CORBA::tk_objref, sizeof (_oc_IR_Container), (char *) &_oc_IR_Container, 0, sizeof (IR_Container)); +TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) +TAO_NAMESPACE_BEGIN (IR) +TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Container, &_tc_TAO_tc_IR_Container) +TAO_NAMESPACE_END -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_lookup::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} +/////////////////////////////////////////////////////////////////////// +// Base & Remote Proxy Implementation. +// +_TAO_IDLType_Proxy_Impl::_TAO_IDLType_Proxy_Impl (void) +{} -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_lookup::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} +_TAO_IDLType_Remote_Proxy_Impl::_TAO_IDLType_Remote_Proxy_Impl (void) +{} -void -IR::Container::TAO_ClientRequestInfo_IR_Container_lookup::result (IR::Contained_ptr result) -{ - // update the result - this->result_ = result; -} +// Remote Implementation of the IDL interface methods -IR::Container::TAO_ClientRequestInfo_IR_Container_contents::TAO_ClientRequestInfo_IR_Container_contents ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::DefinitionKind & limit_type, - const CORBA::Boolean & exclude_inherited, - CORBA::Environment & +CORBA::TypeCode_ptr _TAO_IDLType_Remote_Proxy_Impl::type ( + CORBA_Object *_collocated_tao_target_, + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - limit_type_ (limit_type), - exclude_inherited_ (exclude_inherited) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_contents::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_limit_type = this->parameter_list_.length (); - this->parameter_list_.length (length_limit_type + 1); - this->parameter_list_[length_limit_type].argument <<= this->limit_type_; - - this->parameter_list_[length_limit_type].mode = Dynamic::PARAM_IN; - CORBA::ULong length_exclude_inherited = this->parameter_list_.length (); - this->parameter_list_.length (length_exclude_inherited + 1); - this->parameter_list_[length_exclude_inherited].argument <<= CORBA::Any::from_boolean (this->exclude_inherited_); - this->parameter_list_[length_exclude_inherited].mode = Dynamic::PARAM_IN; + ACE_THROW_SPEC (( + CORBA::SystemException + )) +{ + CORBA::TypeCode_ptr _tao_retval = CORBA::TypeCode::_nil (); + CORBA::TypeCode_var _tao_safe_retval (_tao_retval); - return &this->parameter_list_; -} + TAO_Stub *istub = _collocated_tao_target_->_stubobj (); + if (istub == 0) + ACE_THROW_RETURN (CORBA::INTERNAL (), 0); -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_contents::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} + TAO_GIOP_Twoway_Invocation _tao_call ( + istub, + "_get_type", + 9, + 0, + istub->orb_core () + ); + for (;;) + { + _tao_call.start (ACE_TRY_ENV); + ACE_CHECK_RETURN (0); + + CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; + + _tao_call.prepare_header ( + ACE_static_cast (CORBA::Octet, _tao_response_flag), + ACE_TRY_ENV + ); + ACE_CHECK_RETURN (0); + int _invoke_status = + _tao_call.invoke (0, 0, ACE_TRY_ENV); + ACE_CHECK_RETURN (0); + + if (_invoke_status == TAO_INVOKE_RESTART) + { + _tao_call.restart_flag (1); + continue; + } + if (_invoke_status != TAO_INVOKE_OK) + { + ACE_THROW_RETURN ( + CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), + 0 + ); + } + TAO_InputCDR &_tao_in = _tao_call.inp_stream (); + if (!( + (_tao_in >> _tao_safe_retval.inout ()) + )) + { + ACE_THROW_RETURN ( + CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), + 0 + ); + } + break; + } -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_contents::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; + return _tao_safe_retval._retn (); } -void -IR::Container::TAO_ClientRequestInfo_IR_Container_contents::result (IR::ContainedSeq * result) -{ - // update the result - this->result_ = result; -} -IR::Container::TAO_ClientRequestInfo_IR_Container_lookup_name::TAO_ClientRequestInfo_IR_Container_lookup_name ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * search_name, - const CORBA::Long & levels_to_search, - IR::DefinitionKind & limit_type, - const CORBA::Boolean & exclude_inherited, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - search_name_ (search_name), - levels_to_search_ (levels_to_search), - limit_type_ (limit_type), - exclude_inherited_ (exclude_inherited) -{} +// +// End Base & Remote Proxy Implemeentation. +/////////////////////////////////////////////////////////////////////// + -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_lookup_name::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +/////////////////////////////////////////////////////////////////////// +// Remote & Base Proxy Broker Implementation +// + +_TAO_IDLType_Proxy_Broker::_TAO_IDLType_Proxy_Broker (void) { - // Generate the arg list on demand - CORBA::ULong length_search_name = this->parameter_list_.length (); - this->parameter_list_.length (length_search_name + 1); - this->parameter_list_[length_search_name].argument <<= search_name_; - this->parameter_list_[length_search_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_levels_to_search = this->parameter_list_.length (); - this->parameter_list_.length (length_levels_to_search + 1); - this->parameter_list_[length_levels_to_search].argument <<= levels_to_search_; - this->parameter_list_[length_levels_to_search].mode = Dynamic::PARAM_IN; - CORBA::ULong length_limit_type = this->parameter_list_.length (); - this->parameter_list_.length (length_limit_type + 1); - this->parameter_list_[length_limit_type].argument <<= this->limit_type_; - - this->parameter_list_[length_limit_type].mode = Dynamic::PARAM_IN; - CORBA::ULong length_exclude_inherited = this->parameter_list_.length (); - this->parameter_list_.length (length_exclude_inherited + 1); - this->parameter_list_[length_exclude_inherited].argument <<= CORBA::Any::from_boolean (this->exclude_inherited_); - this->parameter_list_[length_exclude_inherited].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; } -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_lookup_name::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +_TAO_IDLType_Proxy_Broker::~_TAO_IDLType_Proxy_Broker (void) { - // Generate the exception list on demand - return 0; } - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_lookup_name::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +// Factory function Implementation. +_TAO_IDLType_Remote_Proxy_Broker *the_TAO_IDLType_Remote_Proxy_Broker (void) { - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; + static ::_TAO_IDLType_Remote_Proxy_Broker remote_proxy_broker; + return &remote_proxy_broker; } -void -IR::Container::TAO_ClientRequestInfo_IR_Container_lookup_name::result (IR::ContainedSeq * result) +_TAO_IDLType_Remote_Proxy_Broker::_TAO_IDLType_Remote_Proxy_Broker (void) { - // update the result - this->result_ = result; } -IR::Container::TAO_ClientRequestInfo_IR_Container_describe_contents::TAO_ClientRequestInfo_IR_Container_describe_contents ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::DefinitionKind & limit_type, - const CORBA::Boolean & exclude_inherited, - const CORBA::Long & max_returned_objs, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - limit_type_ (limit_type), - exclude_inherited_ (exclude_inherited), - max_returned_objs_ (max_returned_objs) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_describe_contents::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +_TAO_IDLType_Remote_Proxy_Broker::~_TAO_IDLType_Remote_Proxy_Broker (void) { - // Generate the arg list on demand - CORBA::ULong length_limit_type = this->parameter_list_.length (); - this->parameter_list_.length (length_limit_type + 1); - this->parameter_list_[length_limit_type].argument <<= this->limit_type_; - - this->parameter_list_[length_limit_type].mode = Dynamic::PARAM_IN; - CORBA::ULong length_exclude_inherited = this->parameter_list_.length (); - this->parameter_list_.length (length_exclude_inherited + 1); - this->parameter_list_[length_exclude_inherited].argument <<= CORBA::Any::from_boolean (this->exclude_inherited_); - this->parameter_list_[length_exclude_inherited].mode = Dynamic::PARAM_IN; - CORBA::ULong length_max_returned_objs = this->parameter_list_.length (); - this->parameter_list_.length (length_max_returned_objs + 1); - this->parameter_list_[length_max_returned_objs].argument <<= max_returned_objs_; - this->parameter_list_[length_max_returned_objs].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; } -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_describe_contents::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +_TAO_IDLType_Proxy_Impl& +_TAO_IDLType_Remote_Proxy_Broker::select_proxy ( + ::IR_IDLType *object, + CORBA::Environment &ACE_TRY_ENV +) { - // Generate the exception list on demand - return 0; + ACE_UNUSED_ARG (object); + ACE_UNUSED_ARG (ACE_TRY_ENV); + return remote_proxy_impl_; } -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_describe_contents::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} +// +// End Remote & Base Proxy Broker Implementation +/////////////////////////////////////////////////////////////////////// + -void -IR::Container::TAO_ClientRequestInfo_IR_Container_describe_contents::result (ACE_NESTED_CLASS (IR::Container,DescriptionSeq) * result) +// default constructor +IR_IDLType::IR_IDLType (int collocated) { - // update the result - this->result_ = result; + this->_tao_setup_collocation (collocated); } -IR::Container::TAO_ClientRequestInfo_IR_Container_create_module::TAO_ClientRequestInfo_IR_Container_create_module ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version) +// destructor +IR_IDLType::~IR_IDLType (void) {} -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_module::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +void +IR_IDLType::_tao_setup_collocation (int collocated) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; + if (collocated) + this->the_TAO_IDLType_Proxy_Broker_ = + _TAO_IDLType_Proxy_Broker_Factory_function_pointer (this); + else + this->the_TAO_IDLType_Proxy_Broker_ = + ::the_TAO_IDLType_Remote_Proxy_Broker (); + + CORBA_IRObject::_tao_setup_collocation (collocated); - return &this->parameter_list_; } -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_module::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +void IR_IDLType::_tao_any_destructor (void *x) { - // Generate the exception list on demand - return 0; + IR_IDLType *tmp = ACE_static_cast (IR_IDLType*,x); + CORBA::release (tmp); } - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_module::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +IR_IDLType_ptr IR_IDLType::_narrow ( + CORBA::Object_ptr obj, + CORBA::Environment &ACE_TRY_ENV + ) { - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; + if (CORBA::is_nil (obj)) + return IR_IDLType::_nil (); + if (! obj->_is_local ()) + { + CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/IDLType:1.0", ACE_TRY_ENV); + ACE_CHECK_RETURN (IR_IDLType::_nil ()); + if (is_a == 0) + return IR_IDLType::_nil (); + } + return IR_IDLType::_unchecked_narrow (obj, ACE_TRY_ENV); } -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_module::result (IR::ModuleDef_ptr result) +IR_IDLType_ptr IR_IDLType::_unchecked_narrow ( + CORBA::Object_ptr obj, + CORBA::Environment & + ) { - // update the result - this->result_ = result; -} + if (CORBA::is_nil (obj)) + return IR_IDLType::_nil (); + if (! obj->_is_local ()) + { + TAO_Stub* stub = obj->_stubobj (); + if (stub) + stub->_incr_refcnt (); + IR_IDLType_ptr default_proxy = IR_IDLType::_nil (); -IR::Container::TAO_ClientRequestInfo_IR_Container_create_constant::TAO_ClientRequestInfo_IR_Container_create_constant ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::IDLType_ptr type, - const CORBA::Any & value, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - type_ (type), - value_ (value) -{} + if ( + !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && + stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && + obj->_is_collocated () &&_TAO_IDLType_Proxy_Broker_Factory_function_pointer != 0 + ) + { + ACE_NEW_RETURN ( + default_proxy, + ::IR_IDLType ( + stub, + 1, + obj->_servant ()), + + IR_IDLType::_nil ()); + } + if (CORBA::is_nil (default_proxy)) + ACE_NEW_RETURN (default_proxy, ::IR_IDLType (stub, 0, obj->_servant ()), IR_IDLType::_nil ()); + return default_proxy; + } + else + return + ACE_reinterpret_cast + ( + IR_IDLType_ptr, + obj->_tao_QueryInterface + ( + ACE_reinterpret_cast + ( + ptr_arith_t, + &IR_IDLType::_narrow + ) + ) + ); +} -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_constant::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +IR_IDLType_ptr +IR_IDLType::_duplicate (IR_IDLType_ptr obj) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_type = this->parameter_list_.length (); - this->parameter_list_.length (length_type + 1); - this->parameter_list_[length_type].argument <<= this->type_; - - this->parameter_list_[length_type].mode = Dynamic::PARAM_IN; - CORBA::ULong length_value = this->parameter_list_.length (); - this->parameter_list_.length (length_value + 1); - this->parameter_list_[length_value].argument <<= value_; - this->parameter_list_[length_value].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; + if (!CORBA::is_nil (obj)) + obj->_add_ref (); + return obj; } -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_constant::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +CORBA::Boolean IR_IDLType::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { - // Generate the exception list on demand - return 0; + if ( + (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) || + (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) || + (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0"))) + return 1; // success using local knowledge + else + return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_constant::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +void *IR_IDLType::_tao_QueryInterface (ptr_arith_t type) { - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; + void *retv = 0; + if (type == ACE_reinterpret_cast + (ptr_arith_t, + &IR_IDLType::_narrow)) + retv = ACE_reinterpret_cast (void*, this); + else if (type == ACE_reinterpret_cast + (ptr_arith_t, + &CORBA_IRObject::_narrow)) + retv = ACE_reinterpret_cast + ( + void *, + ACE_static_cast + ( + CORBA_IRObject_ptr, + this + ) + ); + else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow)) + retv = ACE_reinterpret_cast (void *, + ACE_static_cast (CORBA::Object_ptr, this)); + + if (retv) + this->_add_ref (); + return retv; } -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_constant::result (IR::ConstantDef_ptr result) +const char* IR_IDLType::_interface_repository_id (void) const { - // update the result - this->result_ = result; + return "IDL:omg.org/IR/IDLType:1.0"; } -IR::Container::TAO_ClientRequestInfo_IR_Container_create_struct::TAO_ClientRequestInfo_IR_Container_create_struct ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - const IR::StructMemberSeq & members, - CORBA::Environment & +CORBA::TypeCode_ptr IR_IDLType::type ( + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - members_ (members) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_struct::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_members = this->parameter_list_.length (); - this->parameter_list_.length (length_members + 1); - this->parameter_list_[length_members].argument <<= this->members_; - - this->parameter_list_[length_members].mode = Dynamic::PARAM_IN; - return &this->parameter_list_; + return this->the_TAO_IDLType_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).type ( + this, + ACE_TRY_ENV + ); } -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_struct::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_struct::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_struct::result (IR::StructDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Container::TAO_ClientRequestInfo_IR_Container_create_union::TAO_ClientRequestInfo_IR_Container_create_union ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::IDLType_ptr discriminator_type, - const IR::UnionMemberSeq & members, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - discriminator_type_ (discriminator_type), - members_ (members) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_union::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_discriminator_type = this->parameter_list_.length (); - this->parameter_list_.length (length_discriminator_type + 1); - this->parameter_list_[length_discriminator_type].argument <<= this->discriminator_type_; - - this->parameter_list_[length_discriminator_type].mode = Dynamic::PARAM_IN; - CORBA::ULong length_members = this->parameter_list_.length (); - this->parameter_list_.length (length_members + 1); - this->parameter_list_[length_members].argument <<= this->members_; - - this->parameter_list_[length_members].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_union::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_union::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_union::result (IR::UnionDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Container::TAO_ClientRequestInfo_IR_Container_create_enum::TAO_ClientRequestInfo_IR_Container_create_enum ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - const IR::EnumMemberSeq & members, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - members_ (members) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_enum::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_members = this->parameter_list_.length (); - this->parameter_list_.length (length_members + 1); - this->parameter_list_[length_members].argument <<= this->members_; - - this->parameter_list_[length_members].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_enum::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_enum::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_enum::result (IR::EnumDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Container::TAO_ClientRequestInfo_IR_Container_create_alias::TAO_ClientRequestInfo_IR_Container_create_alias ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::IDLType_ptr original_type, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - original_type_ (original_type) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_alias::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_original_type = this->parameter_list_.length (); - this->parameter_list_.length (length_original_type + 1); - this->parameter_list_[length_original_type].argument <<= this->original_type_; - - this->parameter_list_[length_original_type].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_alias::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_alias::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_alias::result (IR::AliasDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Container::TAO_ClientRequestInfo_IR_Container_create_interface::TAO_ClientRequestInfo_IR_Container_create_interface ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - const IR::InterfaceDefSeq & base_interfaces, - const CORBA::Boolean & is_abstract, - const CORBA::Boolean & is_local, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - base_interfaces_ (base_interfaces), - is_abstract_ (is_abstract), - is_local_ (is_local) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_interface::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_base_interfaces = this->parameter_list_.length (); - this->parameter_list_.length (length_base_interfaces + 1); - this->parameter_list_[length_base_interfaces].argument <<= this->base_interfaces_; - - this->parameter_list_[length_base_interfaces].mode = Dynamic::PARAM_IN; - CORBA::ULong length_is_abstract = this->parameter_list_.length (); - this->parameter_list_.length (length_is_abstract + 1); - this->parameter_list_[length_is_abstract].argument <<= CORBA::Any::from_boolean (this->is_abstract_); - this->parameter_list_[length_is_abstract].mode = Dynamic::PARAM_IN; - CORBA::ULong length_is_local = this->parameter_list_.length (); - this->parameter_list_.length (length_is_local + 1); - this->parameter_list_[length_is_local].argument <<= CORBA::Any::from_boolean (this->is_local_); - this->parameter_list_[length_is_local].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_interface::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_interface::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_interface::result (IR::InterfaceDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Container::TAO_ClientRequestInfo_IR_Container_create_value::TAO_ClientRequestInfo_IR_Container_create_value ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - const CORBA::Boolean & is_custom, - const CORBA::Boolean & is_abstract, - IR::ValueDef_ptr base_value, - const CORBA::Boolean & is_truncatable, - const IR::ValueDefSeq & abstract_base_values, - const IR::InterfaceDefSeq & supported_interfaces, - const IR::InitializerSeq & initializers, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - is_custom_ (is_custom), - is_abstract_ (is_abstract), - base_value_ (base_value), - is_truncatable_ (is_truncatable), - abstract_base_values_ (abstract_base_values), - supported_interfaces_ (supported_interfaces), - initializers_ (initializers) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_value::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_is_custom = this->parameter_list_.length (); - this->parameter_list_.length (length_is_custom + 1); - this->parameter_list_[length_is_custom].argument <<= CORBA::Any::from_boolean (this->is_custom_); - this->parameter_list_[length_is_custom].mode = Dynamic::PARAM_IN; - CORBA::ULong length_is_abstract = this->parameter_list_.length (); - this->parameter_list_.length (length_is_abstract + 1); - this->parameter_list_[length_is_abstract].argument <<= CORBA::Any::from_boolean (this->is_abstract_); - this->parameter_list_[length_is_abstract].mode = Dynamic::PARAM_IN; - CORBA::ULong length_base_value = this->parameter_list_.length (); - this->parameter_list_.length (length_base_value + 1); - this->parameter_list_[length_base_value].argument <<= this->base_value_; - - this->parameter_list_[length_base_value].mode = Dynamic::PARAM_IN; - CORBA::ULong length_is_truncatable = this->parameter_list_.length (); - this->parameter_list_.length (length_is_truncatable + 1); - this->parameter_list_[length_is_truncatable].argument <<= CORBA::Any::from_boolean (this->is_truncatable_); - this->parameter_list_[length_is_truncatable].mode = Dynamic::PARAM_IN; - CORBA::ULong length_abstract_base_values = this->parameter_list_.length (); - this->parameter_list_.length (length_abstract_base_values + 1); - this->parameter_list_[length_abstract_base_values].argument <<= this->abstract_base_values_; - - this->parameter_list_[length_abstract_base_values].mode = Dynamic::PARAM_IN; - CORBA::ULong length_supported_interfaces = this->parameter_list_.length (); - this->parameter_list_.length (length_supported_interfaces + 1); - this->parameter_list_[length_supported_interfaces].argument <<= this->supported_interfaces_; - - this->parameter_list_[length_supported_interfaces].mode = Dynamic::PARAM_IN; - CORBA::ULong length_initializers = this->parameter_list_.length (); - this->parameter_list_.length (length_initializers + 1); - this->parameter_list_[length_initializers].argument <<= this->initializers_; - - this->parameter_list_[length_initializers].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_value::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_value::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_value::result (IR::ValueDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Container::TAO_ClientRequestInfo_IR_Container_create_value_box::TAO_ClientRequestInfo_IR_Container_create_value_box ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::IDLType_ptr original_type_def, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - original_type_def_ (original_type_def) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_value_box::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_original_type_def = this->parameter_list_.length (); - this->parameter_list_.length (length_original_type_def + 1); - this->parameter_list_[length_original_type_def].argument <<= this->original_type_def_; - - this->parameter_list_[length_original_type_def].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_value_box::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_value_box::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_value_box::result (IR::ValueBoxDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Container::TAO_ClientRequestInfo_IR_Container_create_exception::TAO_ClientRequestInfo_IR_Container_create_exception ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - const IR::StructMemberSeq & members, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - members_ (members) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_exception::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_members = this->parameter_list_.length (); - this->parameter_list_.length (length_members + 1); - this->parameter_list_[length_members].argument <<= this->members_; - - this->parameter_list_[length_members].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_exception::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_exception::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_exception::result (IR::ExceptionDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Container::TAO_ClientRequestInfo_IR_Container_create_native::TAO_ClientRequestInfo_IR_Container_create_native ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version) -{} - -Dynamic::ParameterList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_native::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_native::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Container::TAO_ClientRequestInfo_IR_Container_create_native::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Container::TAO_ClientRequestInfo_IR_Container_create_native::result (IR::NativeDef_ptr result) -{ - // update the result - this->result_ = result; -} - -#endif /* TAO_HAS_INTERCEPTORS */ -static const CORBA::Long _oc_IR_Container[] = -{ - TAO_ENCAP_BYTE_ORDER, // byte order - 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7461), ACE_NTOHL (0x696e6572), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/Container:1.0 - 10, ACE_NTOHL (0x436f6e74), ACE_NTOHL (0x61696e65), ACE_NTOHL (0x72000000), // name = Container -}; -static CORBA::TypeCode _tc_TAO_tc_IR_Container (CORBA::tk_objref, sizeof (_oc_IR_Container), (char *) &_oc_IR_Container, 0, sizeof (IR::Container)); -TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) -TAO_NAMESPACE_BEGIN (IR) -TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Container, &_tc_TAO_tc_IR_Container) -TAO_NAMESPACE_END - -/////////////////////////////////////////////////////////////////////// -// Base & Remote Proxy Implementation. -// - -IR::_TAO_IDLType_Proxy_Impl::_TAO_IDLType_Proxy_Impl (void) -{} - -IR::_TAO_IDLType_Remote_Proxy_Impl::_TAO_IDLType_Remote_Proxy_Impl (void) -{} - -// Remote Implementation of the IDL interface methods - -CORBA::TypeCode_ptr IR::_TAO_IDLType_Remote_Proxy_Impl::type ( - CORBA_Object *_collocated_tao_target_, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - CORBA::TypeCode_ptr _tao_retval = CORBA::TypeCode::_nil (); - CORBA::TypeCode_var _tao_safe_retval (_tao_retval); - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); - if (istub == 0) - ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - - - TAO_GIOP_Twoway_Invocation _tao_call ( - istub, - "_get_type", - 9, - 0, - istub->orb_core () - ); - -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::IDLType::TAO_ClientRequestInfo_IR_IDLType_type_get ri ( - "_get_type", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - - for (;;) - { - _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); - - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); - CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; - - _tao_call.prepare_header ( - ACE_static_cast (CORBA::Octet, _tao_response_flag), - ACE_TRY_ENV - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); - int _invoke_status = - _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); - - if (_invoke_status == TAO_INVOKE_RESTART) - { - _tao_call.restart_flag (1); - continue; - } - if (_invoke_status != TAO_INVOKE_OK) - { - TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), - 0 - ); - } - TAO_InputCDR &_tao_in = _tao_call.inp_stream (); - if (!( - (_tao_in >> _tao_safe_retval.inout ()) - )) - { - TAO_INTERCEPTOR_THROW_RETURN ( - CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), - 0 - ); - } - TAO_INTERCEPTOR ( - CORBA::TypeCode_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); - break; - } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ - return _tao_safe_retval._retn (); -} - - -// -// End Base & Remote Proxy Implemeentation. -/////////////////////////////////////////////////////////////////////// - - -/////////////////////////////////////////////////////////////////////// -// Remote & Base Proxy Broker Implementation -// - -IR::_TAO_IDLType_Proxy_Broker::_TAO_IDLType_Proxy_Broker (void) -{ -} - -IR::_TAO_IDLType_Proxy_Broker::~_TAO_IDLType_Proxy_Broker (void) -{ -} - -// Factory Member function Implementation. -IR::_TAO_IDLType_Remote_Proxy_Broker *IR::_TAO_IDLType_Remote_Proxy_Broker::the_TAO_IDLType_Remote_Proxy_Broker (void) -{ - static ::IR::_TAO_IDLType_Remote_Proxy_Broker remote_proxy_broker; - return &remote_proxy_broker; -} - -IR::_TAO_IDLType_Remote_Proxy_Broker::_TAO_IDLType_Remote_Proxy_Broker (void) -{ -} - -IR::_TAO_IDLType_Remote_Proxy_Broker::~_TAO_IDLType_Remote_Proxy_Broker (void) -{ -} - -IR::_TAO_IDLType_Proxy_Impl& -IR::_TAO_IDLType_Remote_Proxy_Broker::select_proxy ( - ::IR::IDLType *object, - CORBA::Environment &ACE_TRY_ENV -) -{ - ACE_UNUSED_ARG (object); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return remote_proxy_impl_; -} - - -// -// End Remote & Base Proxy Broker Implementation -/////////////////////////////////////////////////////////////////////// - - -// default constructor -IR::IDLType::IDLType (int collocated) -{ - this->_tao_setup_collocation (collocated); -} - -// destructor -IR::IDLType::~IDLType (void) -{} - -void -IR::IDLType::_tao_setup_collocation (int collocated) -{ - if (collocated) - this->the_TAO_IDLType_Proxy_Broker_ = - ::IR__TAO_IDLType_Proxy_Broker_Factory_function_pointer (this); - else - this->the_TAO_IDLType_Proxy_Broker_ = - ::IR::_TAO_IDLType_Remote_Proxy_Broker::the_TAO_IDLType_Remote_Proxy_Broker (); - - ACE_NESTED_CLASS (CORBA,IRObject)::_tao_setup_collocation (collocated); - -} - -void IR::IDLType::_tao_any_destructor (void *x) -{ - IDLType *tmp = ACE_static_cast (IDLType*,x); - CORBA::release (tmp); -} - -IR::IDLType_ptr IR::IDLType::_narrow ( - CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV - ) -{ - if (CORBA::is_nil (obj)) - return IDLType::_nil (); - if (! obj->_is_local ()) - { - CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/IDLType:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (IDLType::_nil ()); - if (is_a == 0) - return IDLType::_nil (); - } - return IDLType::_unchecked_narrow (obj, ACE_TRY_ENV); -} - -IR::IDLType_ptr IR::IDLType::_unchecked_narrow ( - CORBA::Object_ptr obj, - CORBA::Environment & - ) -{ - if (CORBA::is_nil (obj)) - return IDLType::_nil (); - if (! obj->_is_local ()) - { - TAO_Stub* stub = obj->_stubobj (); - if (stub) - stub->_incr_refcnt (); - IDLType_ptr default_proxy = IDLType::_nil (); - - if ( - !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && - stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_IDLType_Proxy_Broker_Factory_function_pointer != 0 - ) - { - ACE_NEW_RETURN ( - default_proxy, - ::IR::IDLType ( - stub, - 1, - obj->_servant ()), - - IDLType::_nil ()); - } - if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::IDLType (stub, 0, obj->_servant ()), IDLType::_nil ()); - return default_proxy; - } - else - return - ACE_reinterpret_cast - ( - IDLType_ptr, - obj->_tao_QueryInterface - ( - ACE_reinterpret_cast - ( - ptr_arith_t, - &IDLType::_narrow - ) - ) - ); -} - -IR::IDLType_ptr -IR::IDLType::_duplicate (IDLType_ptr obj) -{ - if (!CORBA::is_nil (obj)) - obj->_add_ref (); - return obj; -} - -CORBA::Boolean IR::IDLType::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) -{ - if ( - (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) || - (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) || - (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0"))) - return 1; // success using local knowledge - else - return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); -} - -void *IR::IDLType::_tao_QueryInterface (ptr_arith_t type) -{ - void *retv = 0; - if (type == ACE_reinterpret_cast - (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) - retv = ACE_reinterpret_cast (void*, this); - else if (type == ACE_reinterpret_cast - (ptr_arith_t, - &::CORBA::IRObject::_narrow)) - retv = ACE_reinterpret_cast - ( - void *, - ACE_static_cast - ( - CORBA::IRObject_ptr, - this - ) - ); - else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow)) - retv = ACE_reinterpret_cast (void *, - ACE_static_cast (CORBA::Object_ptr, this)); - - if (retv) - this->_add_ref (); - return retv; -} - -const char* IR::IDLType::_interface_repository_id (void) const -{ - return "IDL:omg.org/IR/IDLType:1.0"; -} - -CORBA::TypeCode_ptr IR::IDLType::type ( - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_IDLType_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).type ( - this, - ACE_TRY_ENV - ); -} - - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::IDLType::TAO_ClientRequestInfo_IR_IDLType_type_get::TAO_ClientRequestInfo_IR_IDLType_type_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::IDLType::TAO_ClientRequestInfo_IR_IDLType_type_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::IDLType::TAO_ClientRequestInfo_IR_IDLType_type_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::IDLType::TAO_ClientRequestInfo_IR_IDLType_type_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::IDLType::TAO_ClientRequestInfo_IR_IDLType_type_get::result (CORBA::TypeCode_ptr result) -{ - // update the result - this->result_ = result; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_IDLType[] = { TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType }; -static CORBA::TypeCode _tc_TAO_tc_IR_IDLType (CORBA::tk_objref, sizeof (_oc_IR_IDLType), (char *) &_oc_IR_IDLType, 0, sizeof (IR::IDLType)); +static CORBA::TypeCode _tc_TAO_tc_IR_IDLType (CORBA::tk_objref, sizeof (_oc_IR_IDLType), (char *) &_oc_IR_IDLType, 0, sizeof (IR_IDLType)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_IDLType, &_tc_TAO_tc_IR_IDLType) @@ -9841,7 +6348,7 @@ 11, ACE_NTOHL (0x706b5f77), ACE_NTOHL (0x73747269), ACE_NTOHL (0x6e670000), // name = pk_wstring 14, ACE_NTOHL (0x706b5f76), ACE_NTOHL (0x616c7565), ACE_NTOHL (0x5f626173), ACE_NTOHL (0x65000000), // name = pk_value_base }; -static CORBA::TypeCode _tc_TAO_tc_IR_PrimitiveKind (CORBA::tk_enum, sizeof (_oc_IR_PrimitiveKind), (char *) &_oc_IR_PrimitiveKind, 0, sizeof (IR::PrimitiveKind)); +static CORBA::TypeCode _tc_TAO_tc_IR_PrimitiveKind (CORBA::tk_enum, sizeof (_oc_IR_PrimitiveKind), (char *) &_oc_IR_PrimitiveKind, 0, sizeof (IR_PrimitiveKind)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_PrimitiveKind, &_tc_TAO_tc_IR_PrimitiveKind) @@ -9851,15 +6358,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_Repository_Proxy_Impl::_TAO_Repository_Proxy_Impl (void) +_TAO_Repository_Proxy_Impl::_TAO_Repository_Proxy_Impl (void) {} -IR::_TAO_Repository_Remote_Proxy_Impl::_TAO_Repository_Remote_Proxy_Impl (void) +_TAO_Repository_Remote_Proxy_Impl::_TAO_Repository_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::Contained_ptr IR::_TAO_Repository_Remote_Proxy_Impl::lookup_id ( +IR_Contained_ptr _TAO_Repository_Remote_Proxy_Impl::lookup_id ( CORBA_Object *_collocated_tao_target_, const char * search_id, CORBA::Environment &ACE_TRY_ENV @@ -9868,16 +6375,13 @@ CORBA::SystemException )) { - - IR::Contained_ptr _tao_retval = IR::Contained::_nil (); - IR::Contained_var _tao_safe_retval (_tao_retval); - + IR_Contained_ptr _tao_retval = IR_Contained::_nil (); + IR_Contained_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "lookup_id", @@ -9886,57 +6390,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Repository::TAO_ClientRequestInfo_IR_Repository_lookup_id ri ( - "lookup_id", - _tao_call.service_info (), - _collocated_tao_target_, - search_id, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << search_id) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -9945,7 +6423,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -9955,45 +6433,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::Contained_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -CORBA::TypeCode_ptr IR::_TAO_Repository_Remote_Proxy_Impl::get_canonical_typecode ( +CORBA::TypeCode_ptr _TAO_Repository_Remote_Proxy_Impl::get_canonical_typecode ( CORBA_Object *_collocated_tao_target_, CORBA::TypeCode_ptr tc, CORBA::Environment &ACE_TRY_ENV @@ -10002,16 +6453,13 @@ CORBA::SystemException )) { - CORBA::TypeCode_ptr _tao_retval = CORBA::TypeCode::_nil (); CORBA::TypeCode_var _tao_safe_retval (_tao_retval); - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "get_canonical_typecode", @@ -10020,57 +6468,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_canonical_typecode ri ( - "get_canonical_typecode", - _tao_call.service_info (), - _collocated_tao_target_, - tc, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << tc) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -10079,7 +6501,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -10089,63 +6511,33 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - CORBA::TypeCode_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::PrimitiveDef_ptr IR::_TAO_Repository_Remote_Proxy_Impl::get_primitive ( +IR_PrimitiveDef_ptr _TAO_Repository_Remote_Proxy_Impl::get_primitive ( CORBA_Object *_collocated_tao_target_, - IR::PrimitiveKind kind, + IR_PrimitiveKind kind, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::PrimitiveDef_ptr _tao_retval = IR::PrimitiveDef::_nil (); - IR::PrimitiveDef_var _tao_safe_retval (_tao_retval); - + IR_PrimitiveDef_ptr _tao_retval = IR_PrimitiveDef::_nil (); + IR_PrimitiveDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "get_primitive", @@ -10154,57 +6546,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_primitive ri ( - "get_primitive", - _tao_call.service_info (), - _collocated_tao_target_, - kind, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << kind) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -10213,7 +6579,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -10223,45 +6589,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::PrimitiveDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::StringDef_ptr IR::_TAO_Repository_Remote_Proxy_Impl::create_string ( +IR_StringDef_ptr _TAO_Repository_Remote_Proxy_Impl::create_string ( CORBA_Object *_collocated_tao_target_, CORBA::ULong bound, CORBA::Environment &ACE_TRY_ENV @@ -10270,15 +6609,12 @@ CORBA::SystemException )) { - - IR::StringDef_ptr _tao_retval = IR::StringDef::_nil (); - IR::StringDef_var _tao_safe_retval (_tao_retval); - + IR_StringDef_ptr _tao_retval = IR_StringDef::_nil (); + IR_StringDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, @@ -10288,57 +6624,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_string ri ( - "create_string", - _tao_call.service_info (), - _collocated_tao_target_, - bound, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << bound) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -10347,7 +6657,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -10357,45 +6667,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::StringDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::WstringDef_ptr IR::_TAO_Repository_Remote_Proxy_Impl::create_wstring ( +IR_WstringDef_ptr _TAO_Repository_Remote_Proxy_Impl::create_wstring ( CORBA_Object *_collocated_tao_target_, CORBA::ULong bound, CORBA::Environment &ACE_TRY_ENV @@ -10404,16 +6687,13 @@ CORBA::SystemException )) { - - IR::WstringDef_ptr _tao_retval = IR::WstringDef::_nil (); - IR::WstringDef_var _tao_safe_retval (_tao_retval); - + IR_WstringDef_ptr _tao_retval = IR_WstringDef::_nil (); + IR_WstringDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_wstring", @@ -10422,57 +6702,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_wstring ri ( - "create_wstring", - _tao_call.service_info (), - _collocated_tao_target_, - bound, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << bound) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -10481,7 +6735,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -10491,64 +6745,34 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::WstringDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::SequenceDef_ptr IR::_TAO_Repository_Remote_Proxy_Impl::create_sequence ( +IR_SequenceDef_ptr _TAO_Repository_Remote_Proxy_Impl::create_sequence ( CORBA_Object *_collocated_tao_target_, CORBA::ULong bound, - IR::IDLType_ptr element_type, + IR_IDLType_ptr element_type, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::SequenceDef_ptr _tao_retval = IR::SequenceDef::_nil (); - IR::SequenceDef_var _tao_safe_retval (_tao_retval); - + IR_SequenceDef_ptr _tao_retval = IR_SequenceDef::_nil (); + IR_SequenceDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_sequence", @@ -10557,59 +6781,32 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_sequence ri ( - "create_sequence", - _tao_call.service_info (), - _collocated_tao_target_, - bound, - element_type, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << bound) && (_tao_out << element_type) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -10618,7 +6815,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -10628,125 +6825,68 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::SequenceDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ArrayDef_ptr IR::_TAO_Repository_Remote_Proxy_Impl::create_array ( +IR_ArrayDef_ptr _TAO_Repository_Remote_Proxy_Impl::create_array ( CORBA_Object *_collocated_tao_target_, CORBA::ULong length, - IR::IDLType_ptr element_type, + IR_IDLType_ptr element_type, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::ArrayDef_ptr _tao_retval = IR::ArrayDef::_nil (); - IR::ArrayDef_var _tao_safe_retval (_tao_retval); - + IR_ArrayDef_ptr _tao_retval = IR_ArrayDef::_nil (); + IR_ArrayDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_array", 12, 1, - istub->orb_core () - ); - -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_array ri ( - "create_array", - _tao_call.service_info (), - _collocated_tao_target_, - length, - element_type, - ACE_TRY_ENV + istub->orb_core () ); - ACE_CHECK_RETURN (0); - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << length) && (_tao_out << element_type) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -10755,7 +6895,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -10765,45 +6905,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ArrayDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::FixedDef_ptr IR::_TAO_Repository_Remote_Proxy_Impl::create_fixed ( +IR_FixedDef_ptr _TAO_Repository_Remote_Proxy_Impl::create_fixed ( CORBA_Object *_collocated_tao_target_, CORBA::UShort digits, CORBA::Short scale, @@ -10813,16 +6926,13 @@ CORBA::SystemException )) { - - IR::FixedDef_ptr _tao_retval = IR::FixedDef::_nil (); - IR::FixedDef_var _tao_safe_retval (_tao_retval); - + IR_FixedDef_ptr _tao_retval = IR_FixedDef::_nil (); + IR_FixedDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_fixed", @@ -10831,59 +6941,32 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_fixed ri ( - "create_fixed", - _tao_call.service_info (), - _collocated_tao_target_, - digits, - scale, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << digits) && (_tao_out << scale) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -10892,7 +6975,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -10902,41 +6985,14 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::FixedDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } @@ -10950,32 +7006,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_Repository_Proxy_Broker::_TAO_Repository_Proxy_Broker (void) +_TAO_Repository_Proxy_Broker::_TAO_Repository_Proxy_Broker (void) { } -IR::_TAO_Repository_Proxy_Broker::~_TAO_Repository_Proxy_Broker (void) +_TAO_Repository_Proxy_Broker::~_TAO_Repository_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_Repository_Remote_Proxy_Broker *IR::_TAO_Repository_Remote_Proxy_Broker::the_TAO_Repository_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_Repository_Remote_Proxy_Broker *the_TAO_Repository_Remote_Proxy_Broker (void) { - static ::IR::_TAO_Repository_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_Repository_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_Repository_Remote_Proxy_Broker::_TAO_Repository_Remote_Proxy_Broker (void) +_TAO_Repository_Remote_Proxy_Broker::_TAO_Repository_Remote_Proxy_Broker (void) { } -IR::_TAO_Repository_Remote_Proxy_Broker::~_TAO_Repository_Remote_Proxy_Broker (void) +_TAO_Repository_Remote_Proxy_Broker::~_TAO_Repository_Remote_Proxy_Broker (void) { } -IR::_TAO_Repository_Proxy_Impl& -IR::_TAO_Repository_Remote_Proxy_Broker::select_proxy ( - ::IR::Repository *object, +_TAO_Repository_Proxy_Impl& +_TAO_Repository_Remote_Proxy_Broker::select_proxy ( + ::IR_Repository *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -10991,110 +7047,110 @@ // default constructor -IR::Repository::Repository (int collocated) +IR_Repository::IR_Repository (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::Repository::~Repository (void) +IR_Repository::~IR_Repository (void) {} void -IR::Repository::_tao_setup_collocation (int collocated) +IR_Repository::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_Repository_Proxy_Broker_ = - ::IR__TAO_Repository_Proxy_Broker_Factory_function_pointer (this); + _TAO_Repository_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_Repository_Proxy_Broker_ = - ::IR::_TAO_Repository_Remote_Proxy_Broker::the_TAO_Repository_Remote_Proxy_Broker (); + ::the_TAO_Repository_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Container)::_tao_setup_collocation (collocated); + IR_Container::_tao_setup_collocation (collocated); } -void IR::Repository::_tao_any_destructor (void *x) +void IR_Repository::_tao_any_destructor (void *x) { - Repository *tmp = ACE_static_cast (Repository*,x); + IR_Repository *tmp = ACE_static_cast (IR_Repository*,x); CORBA::release (tmp); } -IR::Repository_ptr IR::Repository::_narrow ( +IR_Repository_ptr IR_Repository::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return Repository::_nil (); + return IR_Repository::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/Repository:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (Repository::_nil ()); + ACE_CHECK_RETURN (IR_Repository::_nil ()); if (is_a == 0) - return Repository::_nil (); + return IR_Repository::_nil (); } - return Repository::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_Repository::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::Repository_ptr IR::Repository::_unchecked_narrow ( +IR_Repository_ptr IR_Repository::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return Repository::_nil (); + return IR_Repository::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - Repository_ptr default_proxy = Repository::_nil (); + IR_Repository_ptr default_proxy = IR_Repository::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_Repository_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_Repository_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::Repository ( + ::IR_Repository ( stub, 1, obj->_servant ()), - Repository::_nil ()); + IR_Repository::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::Repository (stub, 0, obj->_servant ()), Repository::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_Repository (stub, 0, obj->_servant ()), IR_Repository::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - Repository_ptr, + IR_Repository_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &Repository::_narrow + &IR_Repository::_narrow ) ) ); } -IR::Repository_ptr -IR::Repository::_duplicate (Repository_ptr obj) +IR_Repository_ptr +IR_Repository::_duplicate (IR_Repository_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::Repository::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_Repository::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Repository:1.0")) || @@ -11106,34 +7162,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::Repository::_tao_QueryInterface (ptr_arith_t type) +void *IR_Repository::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Repository)::_narrow)) + &IR_Repository::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Container_ptr, + IR_Container_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -11146,20 +7202,19 @@ return retv; } -const char* IR::Repository::_interface_repository_id (void) const +const char* IR_Repository::_interface_repository_id (void) const { return "IDL:omg.org/IR/Repository:1.0"; } -IR::Contained_ptr IR::Repository::lookup_id ( - const char * search_id, +IR_Contained_ptr IR_Repository::lookup_id ( + const char * search_id, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Repository_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).lookup_id ( this, search_id, @@ -11167,7 +7222,7 @@ ); } -CORBA::TypeCode_ptr IR::Repository::get_canonical_typecode ( +CORBA::TypeCode_ptr IR_Repository::get_canonical_typecode ( CORBA::TypeCode_ptr tc, CORBA::Environment &ACE_TRY_ENV ) @@ -11175,7 +7230,6 @@ CORBA::SystemException )) { - return this->the_TAO_Repository_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).get_canonical_typecode ( this, tc, @@ -11183,15 +7237,14 @@ ); } -IR::PrimitiveDef_ptr IR::Repository::get_primitive ( - IR::PrimitiveKind kind, +IR_PrimitiveDef_ptr IR_Repository::get_primitive ( + IR_PrimitiveKind kind, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Repository_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).get_primitive ( this, kind, @@ -11199,7 +7252,7 @@ ); } -IR::StringDef_ptr IR::Repository::create_string ( +IR_StringDef_ptr IR_Repository::create_string ( CORBA::ULong bound, CORBA::Environment &ACE_TRY_ENV ) @@ -11207,7 +7260,6 @@ CORBA::SystemException )) { - return this->the_TAO_Repository_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_string ( this, bound, @@ -11215,7 +7267,7 @@ ); } -IR::WstringDef_ptr IR::Repository::create_wstring ( +IR_WstringDef_ptr IR_Repository::create_wstring ( CORBA::ULong bound, CORBA::Environment &ACE_TRY_ENV ) @@ -11223,7 +7275,6 @@ CORBA::SystemException )) { - return this->the_TAO_Repository_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_wstring ( this, bound, @@ -11231,16 +7282,15 @@ ); } -IR::SequenceDef_ptr IR::Repository::create_sequence ( +IR_SequenceDef_ptr IR_Repository::create_sequence ( CORBA::ULong bound, - IR::IDLType_ptr element_type, + IR_IDLType_ptr element_type, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Repository_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_sequence ( this, bound, @@ -11249,16 +7299,15 @@ ); } -IR::ArrayDef_ptr IR::Repository::create_array ( +IR_ArrayDef_ptr IR_Repository::create_array ( CORBA::ULong length, - IR::IDLType_ptr element_type, + IR_IDLType_ptr element_type, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_Repository_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_array ( this, length, @@ -11267,7 +7316,7 @@ ); } -IR::FixedDef_ptr IR::Repository::create_fixed ( +IR_FixedDef_ptr IR_Repository::create_fixed ( CORBA::UShort digits, CORBA::Short scale, CORBA::Environment &ACE_TRY_ENV @@ -11276,7 +7325,6 @@ CORBA::SystemException )) { - return this->the_TAO_Repository_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_fixed ( this, digits, @@ -11285,430 +7333,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::Repository::TAO_ClientRequestInfo_IR_Repository_lookup_id::TAO_ClientRequestInfo_IR_Repository_lookup_id ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * search_id, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - search_id_ (search_id) -{} - -Dynamic::ParameterList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_lookup_id::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_search_id = this->parameter_list_.length (); - this->parameter_list_.length (length_search_id + 1); - this->parameter_list_[length_search_id].argument <<= search_id_; - this->parameter_list_[length_search_id].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_lookup_id::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_lookup_id::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Repository::TAO_ClientRequestInfo_IR_Repository_lookup_id::result (IR::Contained_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_canonical_typecode::TAO_ClientRequestInfo_IR_Repository_get_canonical_typecode ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::TypeCode_ptr tc, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - tc_ (tc) -{} - -Dynamic::ParameterList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_canonical_typecode::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_tc = this->parameter_list_.length (); - this->parameter_list_.length (length_tc + 1); - this->parameter_list_[length_tc].argument <<= tc_; - this->parameter_list_[length_tc].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_canonical_typecode::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_canonical_typecode::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_canonical_typecode::result (CORBA::TypeCode_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_primitive::TAO_ClientRequestInfo_IR_Repository_get_primitive ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::PrimitiveKind & kind, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - kind_ (kind) -{} - -Dynamic::ParameterList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_primitive::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_kind = this->parameter_list_.length (); - this->parameter_list_.length (length_kind + 1); - this->parameter_list_[length_kind].argument <<= this->kind_; - - this->parameter_list_[length_kind].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_primitive::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_primitive::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Repository::TAO_ClientRequestInfo_IR_Repository_get_primitive::result (IR::PrimitiveDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_string::TAO_ClientRequestInfo_IR_Repository_create_string ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::ULong & bound, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - bound_ (bound) -{} - -Dynamic::ParameterList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_string::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_bound = this->parameter_list_.length (); - this->parameter_list_.length (length_bound + 1); - this->parameter_list_[length_bound].argument <<= bound_; - this->parameter_list_[length_bound].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_string::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_string::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_string::result (IR::StringDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_wstring::TAO_ClientRequestInfo_IR_Repository_create_wstring ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::ULong & bound, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - bound_ (bound) -{} - -Dynamic::ParameterList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_wstring::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_bound = this->parameter_list_.length (); - this->parameter_list_.length (length_bound + 1); - this->parameter_list_[length_bound].argument <<= bound_; - this->parameter_list_[length_bound].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_wstring::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_wstring::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_wstring::result (IR::WstringDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_sequence::TAO_ClientRequestInfo_IR_Repository_create_sequence ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::ULong & bound, - IR::IDLType_ptr element_type, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - bound_ (bound), - element_type_ (element_type) -{} - -Dynamic::ParameterList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_sequence::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_bound = this->parameter_list_.length (); - this->parameter_list_.length (length_bound + 1); - this->parameter_list_[length_bound].argument <<= bound_; - this->parameter_list_[length_bound].mode = Dynamic::PARAM_IN; - CORBA::ULong length_element_type = this->parameter_list_.length (); - this->parameter_list_.length (length_element_type + 1); - this->parameter_list_[length_element_type].argument <<= this->element_type_; - - this->parameter_list_[length_element_type].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_sequence::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_sequence::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_sequence::result (IR::SequenceDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_array::TAO_ClientRequestInfo_IR_Repository_create_array ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::ULong & length, - IR::IDLType_ptr element_type, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - length_ (length), - element_type_ (element_type) -{} - -Dynamic::ParameterList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_array::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_length = this->parameter_list_.length (); - this->parameter_list_.length (length_length + 1); - this->parameter_list_[length_length].argument <<= length_; - this->parameter_list_[length_length].mode = Dynamic::PARAM_IN; - CORBA::ULong length_element_type = this->parameter_list_.length (); - this->parameter_list_.length (length_element_type + 1); - this->parameter_list_[length_element_type].argument <<= this->element_type_; - - this->parameter_list_[length_element_type].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_array::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_array::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_array::result (IR::ArrayDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_fixed::TAO_ClientRequestInfo_IR_Repository_create_fixed ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::UShort & digits, - const CORBA::Short & scale, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - digits_ (digits), - scale_ (scale) -{} - -Dynamic::ParameterList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_fixed::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_digits = this->parameter_list_.length (); - this->parameter_list_.length (length_digits + 1); - this->parameter_list_[length_digits].argument <<= digits_; - this->parameter_list_[length_digits].mode = Dynamic::PARAM_IN; - CORBA::ULong length_scale = this->parameter_list_.length (); - this->parameter_list_.length (length_scale + 1); - this->parameter_list_[length_scale].argument <<= scale_; - this->parameter_list_[length_scale].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_fixed::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_fixed::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::Repository::TAO_ClientRequestInfo_IR_Repository_create_fixed::result (IR::FixedDef_ptr result) -{ - // update the result - this->result_ = result; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_Repository[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f52), ACE_NTOHL (0x65706f73), ACE_NTOHL (0x69746f72), ACE_NTOHL (0x793a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/Repository:1.0 - 11, ACE_NTOHL (0x5265706f), ACE_NTOHL (0x7369746f), ACE_NTOHL (0x72790000), // name = Repository + 11, ACE_NTOHL (0x5265706f), ACE_NTOHL (0x7369746f), ACE_NTOHL (0x72790000), // name = IR_Repository }; -static CORBA::TypeCode _tc_TAO_tc_IR_Repository (CORBA::tk_objref, sizeof (_oc_IR_Repository), (char *) &_oc_IR_Repository, 0, sizeof (IR::Repository)); +static CORBA::TypeCode _tc_TAO_tc_IR_Repository (CORBA::tk_objref, sizeof (_oc_IR_Repository), (char *) &_oc_IR_Repository, 0, sizeof (IR_Repository)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Repository, &_tc_TAO_tc_IR_Repository) @@ -11718,36 +7349,33 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_ComponentRepository_Proxy_Impl::_TAO_ComponentRepository_Proxy_Impl (void) +_TAO_ComponentRepository_Proxy_Impl::_TAO_ComponentRepository_Proxy_Impl (void) {} -IR::_TAO_ComponentRepository_Remote_Proxy_Impl::_TAO_ComponentRepository_Remote_Proxy_Impl (void) +_TAO_ComponentRepository_Remote_Proxy_Impl::_TAO_ComponentRepository_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::ComponentDef_ptr IR::_TAO_ComponentRepository_Remote_Proxy_Impl::create_component ( +IR_ComponentDef_ptr _TAO_ComponentRepository_Remote_Proxy_Impl::create_component ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::ComponentDef_ptr base_component, - const IR::InterfaceDefSeq & supports_interfaces, + IR_ComponentDef_ptr base_component, + const IR_InterfaceDefSeq & supports_interfaces, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::ComponentDef_ptr _tao_retval = IR::ComponentDef::_nil (); - IR::ComponentDef_var _tao_safe_retval (_tao_retval); - + IR_ComponentDef_ptr _tao_retval = IR_ComponentDef::_nil (); + IR_ComponentDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, @@ -11757,48 +7385,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_component ri ( - "create_component", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - base_component, - supports_interfaces, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -11808,14 +7406,14 @@ (_tao_out << base_component) && (_tao_out << supports_interfaces) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -11824,7 +7422,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -11834,68 +7432,38 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ComponentDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::HomeDef_ptr IR::_TAO_ComponentRepository_Remote_Proxy_Impl::create_home ( +IR_HomeDef_ptr _TAO_ComponentRepository_Remote_Proxy_Impl::create_home ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::HomeDef_ptr base_home, - IR::ComponentDef_ptr managed_component, - IR::ValueDef_ptr primary_key, + IR_HomeDef_ptr base_home, + IR_ComponentDef_ptr managed_component, + IR_ValueDef_ptr primary_key, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - IR::HomeDef_ptr _tao_retval = IR::HomeDef::_nil (); - IR::HomeDef_var _tao_safe_retval (_tao_retval); - + IR_HomeDef_ptr _tao_retval = IR_HomeDef::_nil (); + IR_HomeDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "create_home", @@ -11904,49 +7472,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_home ri ( - "create_home", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - base_home, - managed_component, - primary_key, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -11957,14 +7494,14 @@ (_tao_out << managed_component) && (_tao_out << primary_key) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -11973,7 +7510,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -11983,41 +7520,14 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::HomeDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } @@ -12031,32 +7541,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ComponentRepository_Proxy_Broker::_TAO_ComponentRepository_Proxy_Broker (void) +_TAO_ComponentRepository_Proxy_Broker::_TAO_ComponentRepository_Proxy_Broker (void) { } -IR::_TAO_ComponentRepository_Proxy_Broker::~_TAO_ComponentRepository_Proxy_Broker (void) +_TAO_ComponentRepository_Proxy_Broker::~_TAO_ComponentRepository_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ComponentRepository_Remote_Proxy_Broker *IR::_TAO_ComponentRepository_Remote_Proxy_Broker::the_TAO_ComponentRepository_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ComponentRepository_Remote_Proxy_Broker *the_TAO_ComponentRepository_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ComponentRepository_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ComponentRepository_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ComponentRepository_Remote_Proxy_Broker::_TAO_ComponentRepository_Remote_Proxy_Broker (void) +_TAO_ComponentRepository_Remote_Proxy_Broker::_TAO_ComponentRepository_Remote_Proxy_Broker (void) { } -IR::_TAO_ComponentRepository_Remote_Proxy_Broker::~_TAO_ComponentRepository_Remote_Proxy_Broker (void) +_TAO_ComponentRepository_Remote_Proxy_Broker::~_TAO_ComponentRepository_Remote_Proxy_Broker (void) { } -IR::_TAO_ComponentRepository_Proxy_Impl& -IR::_TAO_ComponentRepository_Remote_Proxy_Broker::select_proxy ( - ::IR::ComponentRepository *object, +_TAO_ComponentRepository_Proxy_Impl& +_TAO_ComponentRepository_Remote_Proxy_Broker::select_proxy ( + ::IR_ComponentRepository *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -12072,110 +7582,110 @@ // default constructor -IR::ComponentRepository::ComponentRepository (int collocated) +IR_ComponentRepository::IR_ComponentRepository (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ComponentRepository::~ComponentRepository (void) +IR_ComponentRepository::~IR_ComponentRepository (void) {} void -IR::ComponentRepository::_tao_setup_collocation (int collocated) +IR_ComponentRepository::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ComponentRepository_Proxy_Broker_ = - ::IR__TAO_ComponentRepository_Proxy_Broker_Factory_function_pointer (this); + _TAO_ComponentRepository_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ComponentRepository_Proxy_Broker_ = - ::IR::_TAO_ComponentRepository_Remote_Proxy_Broker::the_TAO_ComponentRepository_Remote_Proxy_Broker (); + ::the_TAO_ComponentRepository_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Repository)::_tao_setup_collocation (collocated); + IR_Repository::_tao_setup_collocation (collocated); } -void IR::ComponentRepository::_tao_any_destructor (void *x) +void IR_ComponentRepository::_tao_any_destructor (void *x) { - ComponentRepository *tmp = ACE_static_cast (ComponentRepository*,x); + IR_ComponentRepository *tmp = ACE_static_cast (IR_ComponentRepository*,x); CORBA::release (tmp); } -IR::ComponentRepository_ptr IR::ComponentRepository::_narrow ( +IR_ComponentRepository_ptr IR_ComponentRepository::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ComponentRepository::_nil (); + return IR_ComponentRepository::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ComponentRepository:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ComponentRepository::_nil ()); + ACE_CHECK_RETURN (IR_ComponentRepository::_nil ()); if (is_a == 0) - return ComponentRepository::_nil (); + return IR_ComponentRepository::_nil (); } - return ComponentRepository::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ComponentRepository::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ComponentRepository_ptr IR::ComponentRepository::_unchecked_narrow ( +IR_ComponentRepository_ptr IR_ComponentRepository::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ComponentRepository::_nil (); + return IR_ComponentRepository::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ComponentRepository_ptr default_proxy = ComponentRepository::_nil (); + IR_ComponentRepository_ptr default_proxy = IR_ComponentRepository::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ComponentRepository_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ComponentRepository_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ComponentRepository ( + ::IR_ComponentRepository ( stub, 1, obj->_servant ()), - ComponentRepository::_nil ()); + IR_ComponentRepository::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ComponentRepository (stub, 0, obj->_servant ()), ComponentRepository::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ComponentRepository (stub, 0, obj->_servant ()), IR_ComponentRepository::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ComponentRepository_ptr, + IR_ComponentRepository_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ComponentRepository::_narrow + &IR_ComponentRepository::_narrow ) ) ); } -IR::ComponentRepository_ptr -IR::ComponentRepository::_duplicate (ComponentRepository_ptr obj) +IR_ComponentRepository_ptr +IR_ComponentRepository::_duplicate (IR_ComponentRepository_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ComponentRepository::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ComponentRepository::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ComponentRepository:1.0")) || @@ -12188,46 +7698,46 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ComponentRepository::_tao_QueryInterface (ptr_arith_t type) +void *IR_ComponentRepository::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ComponentRepository)::_narrow)) + &IR_ComponentRepository::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Repository)::_narrow)) + &IR_Repository::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Repository_ptr, + IR_Repository_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Container_ptr, + IR_Container_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -12240,24 +7750,23 @@ return retv; } -const char* IR::ComponentRepository::_interface_repository_id (void) const +const char* IR_ComponentRepository::_interface_repository_id (void) const { return "IDL:omg.org/IR/ComponentRepository:1.0"; } -IR::ComponentDef_ptr IR::ComponentRepository::create_component ( +IR_ComponentDef_ptr IR_ComponentRepository::create_component ( const char * id, const char * name, const char * version, - IR::ComponentDef_ptr base_component, - const IR::InterfaceDefSeq & supports_interfaces, + IR_ComponentDef_ptr base_component, + const IR_InterfaceDefSeq & supports_interfaces, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_ComponentRepository_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_component ( this, id, @@ -12269,20 +7778,19 @@ ); } -IR::HomeDef_ptr IR::ComponentRepository::create_home ( +IR_HomeDef_ptr IR_ComponentRepository::create_home ( const char * id, const char * name, const char * version, - IR::HomeDef_ptr base_home, - IR::ComponentDef_ptr managed_component, - IR::ValueDef_ptr primary_key, + IR_HomeDef_ptr base_home, + IR_ComponentDef_ptr managed_component, + IR_ValueDef_ptr primary_key, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ return this->the_TAO_ComponentRepository_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_home ( this, id, @@ -12295,173 +7803,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_component::TAO_ClientRequestInfo_IR_ComponentRepository_create_component ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::ComponentDef_ptr base_component, - const IR::InterfaceDefSeq & supports_interfaces, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - base_component_ (base_component), - supports_interfaces_ (supports_interfaces) -{} - -Dynamic::ParameterList * -IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_component::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_base_component = this->parameter_list_.length (); - this->parameter_list_.length (length_base_component + 1); - this->parameter_list_[length_base_component].argument <<= this->base_component_; - - this->parameter_list_[length_base_component].mode = Dynamic::PARAM_IN; - CORBA::ULong length_supports_interfaces = this->parameter_list_.length (); - this->parameter_list_.length (length_supports_interfaces + 1); - this->parameter_list_[length_supports_interfaces].argument <<= this->supports_interfaces_; - - this->parameter_list_[length_supports_interfaces].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_component::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_component::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_component::result (IR::ComponentDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_home::TAO_ClientRequestInfo_IR_ComponentRepository_create_home ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::HomeDef_ptr base_home, - IR::ComponentDef_ptr managed_component, - IR::ValueDef_ptr primary_key, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - base_home_ (base_home), - managed_component_ (managed_component), - primary_key_ (primary_key) -{} - -Dynamic::ParameterList * -IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_home::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_base_home = this->parameter_list_.length (); - this->parameter_list_.length (length_base_home + 1); - this->parameter_list_[length_base_home].argument <<= this->base_home_; - - this->parameter_list_[length_base_home].mode = Dynamic::PARAM_IN; - CORBA::ULong length_managed_component = this->parameter_list_.length (); - this->parameter_list_.length (length_managed_component + 1); - this->parameter_list_[length_managed_component].argument <<= this->managed_component_; - - this->parameter_list_[length_managed_component].mode = Dynamic::PARAM_IN; - CORBA::ULong length_primary_key = this->parameter_list_.length (); - this->parameter_list_.length (length_primary_key + 1); - this->parameter_list_[length_primary_key].argument <<= this->primary_key_; - - this->parameter_list_[length_primary_key].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_home::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_home::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentRepository::TAO_ClientRequestInfo_IR_ComponentRepository_create_home::result (IR::HomeDef_ptr result) -{ - // update the result - this->result_ = result; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ComponentRepository[] = { TAO_ENCAP_BYTE_ORDER, // byte order 39, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6d706f), ACE_NTOHL (0x6e656e74), ACE_NTOHL (0x5265706f), ACE_NTOHL (0x7369746f), ACE_NTOHL (0x72793a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ComponentRepository:1.0 - 20, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74526570), ACE_NTOHL (0x6f736974), ACE_NTOHL (0x6f727900), // name = ComponentRepository + 20, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74526570), ACE_NTOHL (0x6f736974), ACE_NTOHL (0x6f727900), // name = IR_ComponentRepository }; -static CORBA::TypeCode _tc_TAO_tc_IR_ComponentRepository (CORBA::tk_objref, sizeof (_oc_IR_ComponentRepository), (char *) &_oc_IR_ComponentRepository, 0, sizeof (IR::ComponentRepository)); +static CORBA::TypeCode _tc_TAO_tc_IR_ComponentRepository (CORBA::tk_objref, sizeof (_oc_IR_ComponentRepository), (char *) &_oc_IR_ComponentRepository, 0, sizeof (IR_ComponentRepository)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ComponentRepository, &_tc_TAO_tc_IR_ComponentRepository) @@ -12471,10 +7819,10 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_ModuleDef_Proxy_Impl::_TAO_ModuleDef_Proxy_Impl (void) +_TAO_ModuleDef_Proxy_Impl::_TAO_ModuleDef_Proxy_Impl (void) {} -IR::_TAO_ModuleDef_Remote_Proxy_Impl::_TAO_ModuleDef_Remote_Proxy_Impl (void) +_TAO_ModuleDef_Remote_Proxy_Impl::_TAO_ModuleDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods @@ -12489,32 +7837,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ModuleDef_Proxy_Broker::_TAO_ModuleDef_Proxy_Broker (void) +_TAO_ModuleDef_Proxy_Broker::_TAO_ModuleDef_Proxy_Broker (void) { } -IR::_TAO_ModuleDef_Proxy_Broker::~_TAO_ModuleDef_Proxy_Broker (void) +_TAO_ModuleDef_Proxy_Broker::~_TAO_ModuleDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ModuleDef_Remote_Proxy_Broker *IR::_TAO_ModuleDef_Remote_Proxy_Broker::the_TAO_ModuleDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ModuleDef_Remote_Proxy_Broker *the_TAO_ModuleDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ModuleDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ModuleDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ModuleDef_Remote_Proxy_Broker::_TAO_ModuleDef_Remote_Proxy_Broker (void) +_TAO_ModuleDef_Remote_Proxy_Broker::_TAO_ModuleDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ModuleDef_Remote_Proxy_Broker::~_TAO_ModuleDef_Remote_Proxy_Broker (void) +_TAO_ModuleDef_Remote_Proxy_Broker::~_TAO_ModuleDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ModuleDef_Proxy_Impl& -IR::_TAO_ModuleDef_Remote_Proxy_Broker::select_proxy ( - ::IR::ModuleDef *object, +_TAO_ModuleDef_Proxy_Impl& +_TAO_ModuleDef_Remote_Proxy_Broker::select_proxy ( + ::IR_ModuleDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -12530,111 +7878,111 @@ // default constructor -IR::ModuleDef::ModuleDef (int collocated) +IR_ModuleDef::IR_ModuleDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ModuleDef::~ModuleDef (void) +IR_ModuleDef::~IR_ModuleDef (void) {} void -IR::ModuleDef::_tao_setup_collocation (int collocated) +IR_ModuleDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ModuleDef_Proxy_Broker_ = - ::IR__TAO_ModuleDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_ModuleDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ModuleDef_Proxy_Broker_ = - ::IR::_TAO_ModuleDef_Remote_Proxy_Broker::the_TAO_ModuleDef_Remote_Proxy_Broker (); + ::the_TAO_ModuleDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Container)::_tao_setup_collocation (collocated); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); + IR_Container::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); } -void IR::ModuleDef::_tao_any_destructor (void *x) +void IR_ModuleDef::_tao_any_destructor (void *x) { - ModuleDef *tmp = ACE_static_cast (ModuleDef*,x); + IR_ModuleDef *tmp = ACE_static_cast (IR_ModuleDef*,x); CORBA::release (tmp); } -IR::ModuleDef_ptr IR::ModuleDef::_narrow ( +IR_ModuleDef_ptr IR_ModuleDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ModuleDef::_nil (); + return IR_ModuleDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ModuleDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ModuleDef::_nil ()); + ACE_CHECK_RETURN (IR_ModuleDef::_nil ()); if (is_a == 0) - return ModuleDef::_nil (); + return IR_ModuleDef::_nil (); } - return ModuleDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ModuleDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ModuleDef_ptr IR::ModuleDef::_unchecked_narrow ( +IR_ModuleDef_ptr IR_ModuleDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ModuleDef::_nil (); + return IR_ModuleDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ModuleDef_ptr default_proxy = ModuleDef::_nil (); + IR_ModuleDef_ptr default_proxy = IR_ModuleDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ModuleDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ModuleDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ModuleDef ( + ::IR_ModuleDef ( stub, 1, obj->_servant ()), - ModuleDef::_nil ()); + IR_ModuleDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ModuleDef (stub, 0, obj->_servant ()), ModuleDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ModuleDef (stub, 0, obj->_servant ()), IR_ModuleDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ModuleDef_ptr, + IR_ModuleDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ModuleDef::_narrow + &IR_ModuleDef::_narrow ) ) ); } -IR::ModuleDef_ptr -IR::ModuleDef::_duplicate (ModuleDef_ptr obj) +IR_ModuleDef_ptr +IR_ModuleDef::_duplicate (IR_ModuleDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ModuleDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ModuleDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ModuleDef:1.0")) || @@ -12647,46 +7995,46 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ModuleDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_ModuleDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ModuleDef)::_narrow)) + &IR_ModuleDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Container_ptr, + IR_Container_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -12699,25 +8047,23 @@ return retv; } -const char* IR::ModuleDef::_interface_repository_id (void) const +const char* IR_ModuleDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/ModuleDef:1.0"; } - -#if (TAO_HAS_INTERCEPTORS == 1) -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ModuleDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f4d), ACE_NTOHL (0x6f64756c), ACE_NTOHL (0x65446566), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/ModuleDef:1.0 - 10, ACE_NTOHL (0x4d6f6475), ACE_NTOHL (0x6c654465), ACE_NTOHL (0x66000000), // name = ModuleDef + 10, ACE_NTOHL (0x4d6f6475), ACE_NTOHL (0x6c654465), ACE_NTOHL (0x66000000), // name = IR_ModuleDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ModuleDef (CORBA::tk_objref, sizeof (_oc_IR_ModuleDef), (char *) &_oc_IR_ModuleDef, 0, sizeof (IR::ModuleDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_ModuleDef (CORBA::tk_objref, sizeof (_oc_IR_ModuleDef), (char *) &_oc_IR_ModuleDef, 0, sizeof (IR_ModuleDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ModuleDef, &_tc_TAO_tc_IR_ModuleDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_ModuleDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -12761,31 +8107,31 @@ 0U, // string length }; -static CORBA::TypeCode _tc_TAO_tc_IR_ModuleDescription (CORBA::tk_struct, sizeof (_oc_IR_ModuleDescription), (char *) &_oc_IR_ModuleDescription, 0, sizeof (IR::ModuleDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_ModuleDescription (CORBA::tk_struct, sizeof (_oc_IR_ModuleDescription), (char *) &_oc_IR_ModuleDescription, 0, sizeof (IR_ModuleDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ModuleDescription, &_tc_TAO_tc_IR_ModuleDescription) TAO_NAMESPACE_END -void IR::ModuleDescription::_tao_any_destructor (void *x) + +void IR_ModuleDescription::_tao_any_destructor (void *x) { - ModuleDescription *tmp = ACE_static_cast (ModuleDescription*,x); + IR_ModuleDescription *tmp = ACE_static_cast (IR_ModuleDescription*,x); delete tmp; } - /////////////////////////////////////////////////////////////////////// // Base & Remote Proxy Implementation. // -IR::_TAO_ConstantDef_Proxy_Impl::_TAO_ConstantDef_Proxy_Impl (void) +_TAO_ConstantDef_Proxy_Impl::_TAO_ConstantDef_Proxy_Impl (void) {} -IR::_TAO_ConstantDef_Remote_Proxy_Impl::_TAO_ConstantDef_Remote_Proxy_Impl (void) +_TAO_ConstantDef_Remote_Proxy_Impl::_TAO_ConstantDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::TypeCode_ptr IR::_TAO_ConstantDef_Remote_Proxy_Impl::type ( +CORBA::TypeCode_ptr _TAO_ConstantDef_Remote_Proxy_Impl::type ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -12793,16 +8139,13 @@ CORBA::SystemException )) { - CORBA::TypeCode_ptr _tao_retval = CORBA::TypeCode::_nil (); CORBA::TypeCode_var _tao_safe_retval (_tao_retval); - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_type", @@ -12811,46 +8154,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_get ri ( - "_get_type", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -12859,7 +8177,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -12869,45 +8187,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - CORBA::TypeCode_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::IDLType_ptr IR::_TAO_ConstantDef_Remote_Proxy_Impl::type_def ( +IR_IDLType_ptr _TAO_ConstantDef_Remote_Proxy_Impl::type_def ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -12915,16 +8206,13 @@ CORBA::SystemException )) { - - IR::IDLType_ptr _tao_retval = IR::IDLType::_nil (); - IR::IDLType_var _tao_safe_retval (_tao_retval); - + IR_IDLType_ptr _tao_retval = IR_IDLType::_nil (); + IR_IDLType_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_type_def", @@ -12933,46 +8221,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_get ri ( - "_get_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -12981,7 +8244,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -12991,57 +8254,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::IDLType_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ConstantDef_Remote_Proxy_Impl::type_def ( +void _TAO_ConstantDef_Remote_Proxy_Impl::type_def ( CORBA_Object *_collocated_tao_target_, - IR::IDLType_ptr type_def, + IR_IDLType_ptr type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -13055,56 +8287,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_set ri ( - "_set_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - type_def, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << type_def) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -13113,39 +8319,17 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::Any * IR::_TAO_ConstantDef_Remote_Proxy_Impl::value ( +CORBA::Any * _TAO_ConstantDef_Remote_Proxy_Impl::value ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -13153,15 +8337,12 @@ CORBA::SystemException )) { - CORBA::Any *_tao_retval = 0; - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, CORBA::Any, _tao_retval); CORBA::Any_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( @@ -13172,46 +8353,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_get ri ( - "_get_value", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -13220,7 +8376,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -13230,45 +8386,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - CORBA::Any * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ConstantDef_Remote_Proxy_Impl::value ( +void _TAO_ConstantDef_Remote_Proxy_Impl::value ( CORBA_Object *_collocated_tao_target_, const CORBA::Any & value, CORBA::Environment &ACE_TRY_ENV @@ -13277,10 +8406,6 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -13294,56 +8419,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_set ri ( - "_set_value", - _tao_call.service_info (), - _collocated_tao_target_, - value, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << value) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -13352,39 +8452,15 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } - // // End Base & Remote Proxy Implemeentation. /////////////////////////////////////////////////////////////////////// @@ -13394,32 +8470,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ConstantDef_Proxy_Broker::_TAO_ConstantDef_Proxy_Broker (void) +_TAO_ConstantDef_Proxy_Broker::_TAO_ConstantDef_Proxy_Broker (void) { } -IR::_TAO_ConstantDef_Proxy_Broker::~_TAO_ConstantDef_Proxy_Broker (void) +_TAO_ConstantDef_Proxy_Broker::~_TAO_ConstantDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ConstantDef_Remote_Proxy_Broker *IR::_TAO_ConstantDef_Remote_Proxy_Broker::the_TAO_ConstantDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ConstantDef_Remote_Proxy_Broker *the_TAO_ConstantDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ConstantDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ConstantDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ConstantDef_Remote_Proxy_Broker::_TAO_ConstantDef_Remote_Proxy_Broker (void) +_TAO_ConstantDef_Remote_Proxy_Broker::_TAO_ConstantDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ConstantDef_Remote_Proxy_Broker::~_TAO_ConstantDef_Remote_Proxy_Broker (void) +_TAO_ConstantDef_Remote_Proxy_Broker::~_TAO_ConstantDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ConstantDef_Proxy_Impl& -IR::_TAO_ConstantDef_Remote_Proxy_Broker::select_proxy ( - ::IR::ConstantDef *object, +_TAO_ConstantDef_Proxy_Impl& +_TAO_ConstantDef_Remote_Proxy_Broker::select_proxy ( + ::IR_ConstantDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -13435,110 +8511,110 @@ // default constructor -IR::ConstantDef::ConstantDef (int collocated) +IR_ConstantDef::IR_ConstantDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ConstantDef::~ConstantDef (void) +IR_ConstantDef::~IR_ConstantDef (void) {} void -IR::ConstantDef::_tao_setup_collocation (int collocated) +IR_ConstantDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ConstantDef_Proxy_Broker_ = - ::IR__TAO_ConstantDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_ConstantDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ConstantDef_Proxy_Broker_ = - ::IR::_TAO_ConstantDef_Remote_Proxy_Broker::the_TAO_ConstantDef_Remote_Proxy_Broker (); + ::the_TAO_ConstantDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); } -void IR::ConstantDef::_tao_any_destructor (void *x) +void IR_ConstantDef::_tao_any_destructor (void *x) { - ConstantDef *tmp = ACE_static_cast (ConstantDef*,x); + IR_ConstantDef *tmp = ACE_static_cast (IR_ConstantDef*,x); CORBA::release (tmp); } -IR::ConstantDef_ptr IR::ConstantDef::_narrow ( +IR_ConstantDef_ptr IR_ConstantDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ConstantDef::_nil (); + return IR_ConstantDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ConstantDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ConstantDef::_nil ()); + ACE_CHECK_RETURN (IR_ConstantDef::_nil ()); if (is_a == 0) - return ConstantDef::_nil (); + return IR_ConstantDef::_nil (); } - return ConstantDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ConstantDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ConstantDef_ptr IR::ConstantDef::_unchecked_narrow ( +IR_ConstantDef_ptr IR_ConstantDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ConstantDef::_nil (); + return IR_ConstantDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ConstantDef_ptr default_proxy = ConstantDef::_nil (); + IR_ConstantDef_ptr default_proxy = IR_ConstantDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ConstantDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ConstantDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ConstantDef ( + ::IR_ConstantDef ( stub, 1, obj->_servant ()), - ConstantDef::_nil ()); + IR_ConstantDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ConstantDef (stub, 0, obj->_servant ()), ConstantDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ConstantDef (stub, 0, obj->_servant ()), IR_ConstantDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ConstantDef_ptr, + IR_ConstantDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ConstantDef::_narrow + &IR_ConstantDef::_narrow ) ) ); } -IR::ConstantDef_ptr -IR::ConstantDef::_duplicate (ConstantDef_ptr obj) +IR_ConstantDef_ptr +IR_ConstantDef::_duplicate (IR_ConstantDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ConstantDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ConstantDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ConstantDef:1.0")) || @@ -13550,34 +8626,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ConstantDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_ConstantDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ConstantDef)::_narrow)) + &IR_ConstantDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -13590,48 +8666,45 @@ return retv; } -const char* IR::ConstantDef::_interface_repository_id (void) const +const char* IR_ConstantDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/ConstantDef:1.0"; } -CORBA::TypeCode_ptr IR::ConstantDef::type ( +CORBA::TypeCode_ptr IR_ConstantDef::type ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) -{ - +{ return this->the_TAO_ConstantDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).type ( this, ACE_TRY_ENV ); } -IR::IDLType_ptr IR::ConstantDef::type_def ( +IR_IDLType_ptr IR_ConstantDef::type_def ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_ConstantDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).type_def ( this, ACE_TRY_ENV ); } -void IR::ConstantDef::type_def ( - IR::IDLType_ptr type_def, +void IR_ConstantDef::type_def ( + IR_IDLType_ptr type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - this->the_TAO_ConstantDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).type_def ( this, type_def, @@ -13639,21 +8712,20 @@ ); } -CORBA::Any * IR::ConstantDef::value ( +CORBA::Any * IR_ConstantDef::value ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_ConstantDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).value ( this, ACE_TRY_ENV ); } -void IR::ConstantDef::value ( +void IR_ConstantDef::value ( const CORBA::Any & value, CORBA::Environment &ACE_TRY_ENV ) @@ -13661,7 +8733,6 @@ CORBA::SystemException )) { - this->the_TAO_ConstantDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).value ( this, value, @@ -13669,237 +8740,18 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_get::TAO_ClientRequestInfo_IR_ConstantDef_type_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_get::result (CORBA::TypeCode_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_get::TAO_ClientRequestInfo_IR_ConstantDef_type_def_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_get::result (IR::IDLType_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_set::TAO_ClientRequestInfo_IR_ConstantDef_type_def_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::IDLType_ptr type_def, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - type_def_ (type_def) -{} - -Dynamic::ParameterList * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_type_def = this->parameter_list_.length (); - this->parameter_list_.length (length_type_def + 1); - this->parameter_list_[length_type_def].argument <<= this->type_def_; - - this->parameter_list_[length_type_def].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_type_def_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_get::TAO_ClientRequestInfo_IR_ConstantDef_value_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_get::result (CORBA::Any * result) -{ - // update the result - this->result_ = result; -} - -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_set::TAO_ClientRequestInfo_IR_ConstantDef_value_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::Any & value, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - value_ (value) -{} - -Dynamic::ParameterList * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_value = this->parameter_list_.length (); - this->parameter_list_.length (length_value + 1); - this->parameter_list_[length_value].argument <<= value_; - this->parameter_list_[length_value].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ConstantDef::TAO_ClientRequestInfo_IR_ConstantDef_value_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ConstantDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7374), ACE_NTOHL (0x616e7444), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ConstantDef:1.0 - 12, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x74616e74), ACE_NTOHL (0x44656600), // name = ConstantDef + 12, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x74616e74), ACE_NTOHL (0x44656600), // name = IR_ConstantDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ConstantDef (CORBA::tk_objref, sizeof (_oc_IR_ConstantDef), (char *) &_oc_IR_ConstantDef, 0, sizeof (IR::ConstantDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_ConstantDef (CORBA::tk_objref, sizeof (_oc_IR_ConstantDef), (char *) &_oc_IR_ConstantDef, 0, sizeof (IR_ConstantDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ConstantDef, &_tc_TAO_tc_IR_ConstantDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_ConstantDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -13949,14 +8801,15 @@ CORBA::tk_any, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ConstantDescription (CORBA::tk_struct, sizeof (_oc_IR_ConstantDescription), (char *) &_oc_IR_ConstantDescription, 0, sizeof (IR::ConstantDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_ConstantDescription (CORBA::tk_struct, sizeof (_oc_IR_ConstantDescription), (char *) &_oc_IR_ConstantDescription, 0, sizeof (IR_ConstantDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ConstantDescription, &_tc_TAO_tc_IR_ConstantDescription) TAO_NAMESPACE_END -void IR::ConstantDescription::_tao_any_destructor (void *x) + +void IR_ConstantDescription::_tao_any_destructor (void *x) { - ConstantDescription *tmp = ACE_static_cast (ConstantDescription*,x); + IR_ConstantDescription *tmp = ACE_static_cast (IR_ConstantDescription*,x); delete tmp; } @@ -13965,10 +8818,10 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_TypedefDef_Proxy_Impl::_TAO_TypedefDef_Proxy_Impl (void) +_TAO_TypedefDef_Proxy_Impl::_TAO_TypedefDef_Proxy_Impl (void) {} -IR::_TAO_TypedefDef_Remote_Proxy_Impl::_TAO_TypedefDef_Remote_Proxy_Impl (void) +_TAO_TypedefDef_Remote_Proxy_Impl::_TAO_TypedefDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods @@ -13983,32 +8836,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_TypedefDef_Proxy_Broker::_TAO_TypedefDef_Proxy_Broker (void) +_TAO_TypedefDef_Proxy_Broker::_TAO_TypedefDef_Proxy_Broker (void) { } -IR::_TAO_TypedefDef_Proxy_Broker::~_TAO_TypedefDef_Proxy_Broker (void) +_TAO_TypedefDef_Proxy_Broker::~_TAO_TypedefDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_TypedefDef_Remote_Proxy_Broker *IR::_TAO_TypedefDef_Remote_Proxy_Broker::the_TAO_TypedefDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_TypedefDef_Remote_Proxy_Broker *the_TAO_TypedefDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_TypedefDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_TypedefDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_TypedefDef_Remote_Proxy_Broker::_TAO_TypedefDef_Remote_Proxy_Broker (void) +_TAO_TypedefDef_Remote_Proxy_Broker::_TAO_TypedefDef_Remote_Proxy_Broker (void) { } -IR::_TAO_TypedefDef_Remote_Proxy_Broker::~_TAO_TypedefDef_Remote_Proxy_Broker (void) +_TAO_TypedefDef_Remote_Proxy_Broker::~_TAO_TypedefDef_Remote_Proxy_Broker (void) { } -IR::_TAO_TypedefDef_Proxy_Impl& -IR::_TAO_TypedefDef_Remote_Proxy_Broker::select_proxy ( - ::IR::TypedefDef *object, +_TAO_TypedefDef_Proxy_Impl& +_TAO_TypedefDef_Remote_Proxy_Broker::select_proxy ( + ::IR_TypedefDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -14024,111 +8877,111 @@ // default constructor -IR::TypedefDef::TypedefDef (int collocated) +IR_TypedefDef::IR_TypedefDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::TypedefDef::~TypedefDef (void) +IR_TypedefDef::~IR_TypedefDef (void) {} void -IR::TypedefDef::_tao_setup_collocation (int collocated) +IR_TypedefDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_TypedefDef_Proxy_Broker_ = - ::IR__TAO_TypedefDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_TypedefDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_TypedefDef_Proxy_Broker_ = - ::IR::_TAO_TypedefDef_Remote_Proxy_Broker::the_TAO_TypedefDef_Remote_Proxy_Broker (); + ::the_TAO_TypedefDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); - ACE_NESTED_CLASS (IR,IDLType)::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); + IR_IDLType::_tao_setup_collocation (collocated); } -void IR::TypedefDef::_tao_any_destructor (void *x) +void IR_TypedefDef::_tao_any_destructor (void *x) { - TypedefDef *tmp = ACE_static_cast (TypedefDef*,x); + IR_TypedefDef *tmp = ACE_static_cast (IR_TypedefDef*,x); CORBA::release (tmp); } -IR::TypedefDef_ptr IR::TypedefDef::_narrow ( +IR_TypedefDef_ptr IR_TypedefDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return TypedefDef::_nil (); + return IR_TypedefDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/TypedefDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (TypedefDef::_nil ()); + ACE_CHECK_RETURN (IR_TypedefDef::_nil ()); if (is_a == 0) - return TypedefDef::_nil (); + return IR_TypedefDef::_nil (); } - return TypedefDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_TypedefDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::TypedefDef_ptr IR::TypedefDef::_unchecked_narrow ( +IR_TypedefDef_ptr IR_TypedefDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return TypedefDef::_nil (); + return IR_TypedefDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - TypedefDef_ptr default_proxy = TypedefDef::_nil (); + IR_TypedefDef_ptr default_proxy = IR_TypedefDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_TypedefDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_TypedefDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::TypedefDef ( + ::IR_TypedefDef ( stub, 1, obj->_servant ()), - TypedefDef::_nil ()); + IR_TypedefDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::TypedefDef (stub, 0, obj->_servant ()), TypedefDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_TypedefDef (stub, 0, obj->_servant ()), IR_TypedefDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - TypedefDef_ptr, + IR_TypedefDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &TypedefDef::_narrow + &IR_TypedefDef::_narrow ) ) ); } -IR::TypedefDef_ptr -IR::TypedefDef::_duplicate (TypedefDef_ptr obj) +IR_TypedefDef_ptr +IR_TypedefDef::_duplicate (IR_TypedefDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::TypedefDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_TypedefDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/TypedefDef:1.0")) || @@ -14141,46 +8994,46 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::TypedefDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_TypedefDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, TypedefDef)::_narrow)) + &IR_TypedefDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -14193,25 +9046,23 @@ return retv; } -const char* IR::TypedefDef::_interface_repository_id (void) const +const char* IR_TypedefDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/TypedefDef:1.0"; } - -#if (TAO_HAS_INTERCEPTORS == 1) -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_TypedefDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f54), ACE_NTOHL (0x79706564), ACE_NTOHL (0x65664465), ACE_NTOHL (0x663a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/TypedefDef:1.0 - 11, ACE_NTOHL (0x54797065), ACE_NTOHL (0x64656644), ACE_NTOHL (0x65660000), // name = TypedefDef + 11, ACE_NTOHL (0x54797065), ACE_NTOHL (0x64656644), ACE_NTOHL (0x65660000), // name = IR_TypedefDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_TypedefDef (CORBA::tk_objref, sizeof (_oc_IR_TypedefDef), (char *) &_oc_IR_TypedefDef, 0, sizeof (IR::TypedefDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_TypedefDef (CORBA::tk_objref, sizeof (_oc_IR_TypedefDef), (char *) &_oc_IR_TypedefDef, 0, sizeof (IR_TypedefDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_TypedefDef, &_tc_TAO_tc_IR_TypedefDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_TypeDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -14258,31 +9109,31 @@ CORBA::tk_TypeCode, }; -static CORBA::TypeCode _tc_TAO_tc_IR_TypeDescription (CORBA::tk_struct, sizeof (_oc_IR_TypeDescription), (char *) &_oc_IR_TypeDescription, 0, sizeof (IR::TypeDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_TypeDescription (CORBA::tk_struct, sizeof (_oc_IR_TypeDescription), (char *) &_oc_IR_TypeDescription, 0, sizeof (IR_TypeDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_TypeDescription, &_tc_TAO_tc_IR_TypeDescription) TAO_NAMESPACE_END -void IR::TypeDescription::_tao_any_destructor (void *x) + +void IR_TypeDescription::_tao_any_destructor (void *x) { - TypeDescription *tmp = ACE_static_cast (TypeDescription*,x); + IR_TypeDescription *tmp = ACE_static_cast (IR_TypeDescription*,x); delete tmp; } - /////////////////////////////////////////////////////////////////////// // Base & Remote Proxy Implementation. // -IR::_TAO_StructDef_Proxy_Impl::_TAO_StructDef_Proxy_Impl (void) +_TAO_StructDef_Proxy_Impl::_TAO_StructDef_Proxy_Impl (void) {} -IR::_TAO_StructDef_Remote_Proxy_Impl::_TAO_StructDef_Remote_Proxy_Impl (void) +_TAO_StructDef_Remote_Proxy_Impl::_TAO_StructDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::StructMemberSeq * IR::_TAO_StructDef_Remote_Proxy_Impl::members ( +IR_StructMemberSeq * _TAO_StructDef_Remote_Proxy_Impl::members ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -14290,17 +9141,14 @@ CORBA::SystemException )) { - - IR::StructMemberSeq *_tao_retval = 0; - + IR_StructMemberSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - - ACE_NEW_RETURN (_tao_retval, IR::StructMemberSeq, _tao_retval); - IR::StructMemberSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_StructMemberSeq, _tao_retval); + IR_StructMemberSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_members", @@ -14309,46 +9157,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_get ri ( - "_get_members", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -14357,7 +9180,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -14367,57 +9190,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::StructMemberSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_StructDef_Remote_Proxy_Impl::members ( +void _TAO_StructDef_Remote_Proxy_Impl::members ( CORBA_Object *_collocated_tao_target_, - const IR::StructMemberSeq & members, + const IR_StructMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -14431,56 +9223,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_set ri ( - "_set_members", - _tao_call.service_info (), - _collocated_tao_target_, - members, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << members) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -14489,36 +9255,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -14531,32 +9274,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_StructDef_Proxy_Broker::_TAO_StructDef_Proxy_Broker (void) +_TAO_StructDef_Proxy_Broker::_TAO_StructDef_Proxy_Broker (void) { } -IR::_TAO_StructDef_Proxy_Broker::~_TAO_StructDef_Proxy_Broker (void) +_TAO_StructDef_Proxy_Broker::~_TAO_StructDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_StructDef_Remote_Proxy_Broker *IR::_TAO_StructDef_Remote_Proxy_Broker::the_TAO_StructDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_StructDef_Remote_Proxy_Broker *the_TAO_StructDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_StructDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_StructDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_StructDef_Remote_Proxy_Broker::_TAO_StructDef_Remote_Proxy_Broker (void) +_TAO_StructDef_Remote_Proxy_Broker::_TAO_StructDef_Remote_Proxy_Broker (void) { } -IR::_TAO_StructDef_Remote_Proxy_Broker::~_TAO_StructDef_Remote_Proxy_Broker (void) +_TAO_StructDef_Remote_Proxy_Broker::~_TAO_StructDef_Remote_Proxy_Broker (void) { } -IR::_TAO_StructDef_Proxy_Impl& -IR::_TAO_StructDef_Remote_Proxy_Broker::select_proxy ( - ::IR::StructDef *object, +_TAO_StructDef_Proxy_Impl& +_TAO_StructDef_Remote_Proxy_Broker::select_proxy ( + ::IR_StructDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -14572,111 +9315,111 @@ // default constructor -IR::StructDef::StructDef (int collocated) +IR_StructDef::IR_StructDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::StructDef::~StructDef (void) +IR_StructDef::~IR_StructDef (void) {} void -IR::StructDef::_tao_setup_collocation (int collocated) +IR_StructDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_StructDef_Proxy_Broker_ = - ::IR__TAO_StructDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_StructDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_StructDef_Proxy_Broker_ = - ::IR::_TAO_StructDef_Remote_Proxy_Broker::the_TAO_StructDef_Remote_Proxy_Broker (); + ::the_TAO_StructDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,TypedefDef)::_tao_setup_collocation (collocated); - ACE_NESTED_CLASS (IR,Container)::_tao_setup_collocation (collocated); + IR_TypedefDef::_tao_setup_collocation (collocated); + IR_Container::_tao_setup_collocation (collocated); } -void IR::StructDef::_tao_any_destructor (void *x) +void IR_StructDef::_tao_any_destructor (void *x) { - StructDef *tmp = ACE_static_cast (StructDef*,x); + IR_StructDef *tmp = ACE_static_cast (IR_StructDef*,x); CORBA::release (tmp); } -IR::StructDef_ptr IR::StructDef::_narrow ( +IR_StructDef_ptr IR_StructDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return StructDef::_nil (); + return IR_StructDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/StructDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (StructDef::_nil ()); + ACE_CHECK_RETURN (IR_StructDef::_nil ()); if (is_a == 0) - return StructDef::_nil (); + return IR_StructDef::_nil (); } - return StructDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_StructDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::StructDef_ptr IR::StructDef::_unchecked_narrow ( +IR_StructDef_ptr IR_StructDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return StructDef::_nil (); + return IR_StructDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - StructDef_ptr default_proxy = StructDef::_nil (); + IR_StructDef_ptr default_proxy = IR_StructDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_StructDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_StructDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::StructDef ( + ::IR_StructDef ( stub, 1, obj->_servant ()), - StructDef::_nil ()); + IR_StructDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::StructDef (stub, 0, obj->_servant ()), StructDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_StructDef (stub, 0, obj->_servant ()), IR_StructDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - StructDef_ptr, + IR_StructDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &StructDef::_narrow + &IR_StructDef::_narrow ) ) ); } -IR::StructDef_ptr -IR::StructDef::_duplicate (StructDef_ptr obj) +IR_StructDef_ptr +IR_StructDef::_duplicate (IR_StructDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::StructDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_StructDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/StructDef:1.0")) || @@ -14691,70 +9434,70 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::StructDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_StructDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, StructDef)::_narrow)) + &IR_StructDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, TypedefDef)::_narrow)) + &IR_TypedefDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::TypedefDef_ptr, + IR_TypedefDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Container_ptr, + IR_Container_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -14767,34 +9510,32 @@ return retv; } -const char* IR::StructDef::_interface_repository_id (void) const +const char* IR_StructDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/StructDef:1.0"; } -IR::StructMemberSeq * IR::StructDef::members ( +IR_StructMemberSeq * IR_StructDef::members ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_StructDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).members ( this, ACE_TRY_ENV ); } -void IR::StructDef::members ( - const IR::StructMemberSeq & members, +void IR_StructDef::members ( + const IR_StructMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - this->the_TAO_StructDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).members ( this, members, @@ -14802,103 +9543,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_get::TAO_ClientRequestInfo_IR_StructDef_members_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_get::result (IR::StructMemberSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_set::TAO_ClientRequestInfo_IR_StructDef_members_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::StructMemberSeq & members, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - members_ (members) -{} - -Dynamic::ParameterList * -IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_members = this->parameter_list_.length (); - this->parameter_list_.length (length_members + 1); - this->parameter_list_[length_members].argument <<= this->members_; - - this->parameter_list_[length_members].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::StructDef::TAO_ClientRequestInfo_IR_StructDef_members_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_StructDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x74727563), ACE_NTOHL (0x74446566), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/StructDef:1.0 - 10, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744465), ACE_NTOHL (0x66000000), // name = StructDef + 10, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744465), ACE_NTOHL (0x66000000), // name = IR_StructDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_StructDef (CORBA::tk_objref, sizeof (_oc_IR_StructDef), (char *) &_oc_IR_StructDef, 0, sizeof (IR::StructDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_StructDef (CORBA::tk_objref, sizeof (_oc_IR_StructDef), (char *) &_oc_IR_StructDef, 0, sizeof (IR_StructDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_StructDef, &_tc_TAO_tc_IR_StructDef) @@ -14908,15 +9559,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_UnionDef_Proxy_Impl::_TAO_UnionDef_Proxy_Impl (void) +_TAO_UnionDef_Proxy_Impl::_TAO_UnionDef_Proxy_Impl (void) {} -IR::_TAO_UnionDef_Remote_Proxy_Impl::_TAO_UnionDef_Remote_Proxy_Impl (void) +_TAO_UnionDef_Remote_Proxy_Impl::_TAO_UnionDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::TypeCode_ptr IR::_TAO_UnionDef_Remote_Proxy_Impl::discriminator_type ( +CORBA::TypeCode_ptr _TAO_UnionDef_Remote_Proxy_Impl::discriminator_type ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -14924,16 +9575,13 @@ CORBA::SystemException )) { - CORBA::TypeCode_ptr _tao_retval = CORBA::TypeCode::_nil (); CORBA::TypeCode_var _tao_safe_retval (_tao_retval); - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_discriminator_type", @@ -14942,46 +9590,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_get ri ( - "_get_discriminator_type", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -14990,7 +9613,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -15000,45 +9623,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - CORBA::TypeCode_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::IDLType_ptr IR::_TAO_UnionDef_Remote_Proxy_Impl::discriminator_type_def ( +IR_IDLType_ptr _TAO_UnionDef_Remote_Proxy_Impl::discriminator_type_def ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -15046,16 +9642,13 @@ CORBA::SystemException )) { - - IR::IDLType_ptr _tao_retval = IR::IDLType::_nil (); - IR::IDLType_var _tao_safe_retval (_tao_retval); - - + IR_IDLType_ptr _tao_retval = IR_IDLType::_nil (); + IR_IDLType_var _tao_safe_retval (_tao_retval); + TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_discriminator_type_def", @@ -15064,46 +9657,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_get ri ( - "_get_discriminator_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -15112,7 +9680,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -15122,57 +9690,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::IDLType_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_UnionDef_Remote_Proxy_Impl::discriminator_type_def ( +void _TAO_UnionDef_Remote_Proxy_Impl::discriminator_type_def ( CORBA_Object *_collocated_tao_target_, - IR::IDLType_ptr discriminator_type_def, + IR_IDLType_ptr discriminator_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -15186,56 +9723,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_set ri ( - "_set_discriminator_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - discriminator_type_def, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << discriminator_type_def) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -15244,39 +9755,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::UnionMemberSeq * IR::_TAO_UnionDef_Remote_Proxy_Impl::members ( +IR_UnionMemberSeq * _TAO_UnionDef_Remote_Proxy_Impl::members ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -15284,17 +9772,14 @@ CORBA::SystemException )) { - - IR::UnionMemberSeq *_tao_retval = 0; - + IR_UnionMemberSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - - ACE_NEW_RETURN (_tao_retval, IR::UnionMemberSeq, _tao_retval); - IR::UnionMemberSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_UnionMemberSeq, _tao_retval); + IR_UnionMemberSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_members", @@ -15303,46 +9788,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_get ri ( - "_get_members", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -15351,7 +9811,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -15361,57 +9821,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::UnionMemberSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_UnionDef_Remote_Proxy_Impl::members ( +void _TAO_UnionDef_Remote_Proxy_Impl::members ( CORBA_Object *_collocated_tao_target_, - const IR::UnionMemberSeq & members, + const IR_UnionMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -15425,56 +9854,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_set ri ( - "_set_members", - _tao_call.service_info (), - _collocated_tao_target_, - members, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << members) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -15483,36 +9886,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -15525,32 +9905,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_UnionDef_Proxy_Broker::_TAO_UnionDef_Proxy_Broker (void) +_TAO_UnionDef_Proxy_Broker::_TAO_UnionDef_Proxy_Broker (void) { } -IR::_TAO_UnionDef_Proxy_Broker::~_TAO_UnionDef_Proxy_Broker (void) +_TAO_UnionDef_Proxy_Broker::~_TAO_UnionDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_UnionDef_Remote_Proxy_Broker *IR::_TAO_UnionDef_Remote_Proxy_Broker::the_TAO_UnionDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_UnionDef_Remote_Proxy_Broker *the_TAO_UnionDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_UnionDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_UnionDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_UnionDef_Remote_Proxy_Broker::_TAO_UnionDef_Remote_Proxy_Broker (void) +_TAO_UnionDef_Remote_Proxy_Broker::_TAO_UnionDef_Remote_Proxy_Broker (void) { } -IR::_TAO_UnionDef_Remote_Proxy_Broker::~_TAO_UnionDef_Remote_Proxy_Broker (void) +_TAO_UnionDef_Remote_Proxy_Broker::~_TAO_UnionDef_Remote_Proxy_Broker (void) { } -IR::_TAO_UnionDef_Proxy_Impl& -IR::_TAO_UnionDef_Remote_Proxy_Broker::select_proxy ( - ::IR::UnionDef *object, +_TAO_UnionDef_Proxy_Impl& +_TAO_UnionDef_Remote_Proxy_Broker::select_proxy ( + ::IR_UnionDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -15566,111 +9946,110 @@ // default constructor -IR::UnionDef::UnionDef (int collocated) +IR_UnionDef::IR_UnionDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::UnionDef::~UnionDef (void) +IR_UnionDef::~IR_UnionDef (void) {} void -IR::UnionDef::_tao_setup_collocation (int collocated) +IR_UnionDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_UnionDef_Proxy_Broker_ = - ::IR__TAO_UnionDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_UnionDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_UnionDef_Proxy_Broker_ = - ::IR::_TAO_UnionDef_Remote_Proxy_Broker::the_TAO_UnionDef_Remote_Proxy_Broker (); - - ACE_NESTED_CLASS (IR,TypedefDef)::_tao_setup_collocation (collocated); - ACE_NESTED_CLASS (IR,Container)::_tao_setup_collocation (collocated); + ::the_TAO_UnionDef_Remote_Proxy_Broker (); + IR_TypedefDef::_tao_setup_collocation (collocated); + IR_Container::_tao_setup_collocation (collocated); } -void IR::UnionDef::_tao_any_destructor (void *x) +void IR_UnionDef::_tao_any_destructor (void *x) { - UnionDef *tmp = ACE_static_cast (UnionDef*,x); + IR_UnionDef *tmp = ACE_static_cast (IR_UnionDef*,x); CORBA::release (tmp); } -IR::UnionDef_ptr IR::UnionDef::_narrow ( +IR_UnionDef_ptr IR_UnionDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return UnionDef::_nil (); + return IR_UnionDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/UnionDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (UnionDef::_nil ()); + ACE_CHECK_RETURN (IR_UnionDef::_nil ()); if (is_a == 0) - return UnionDef::_nil (); + return IR_UnionDef::_nil (); } - return UnionDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_UnionDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::UnionDef_ptr IR::UnionDef::_unchecked_narrow ( +IR_UnionDef_ptr IR_UnionDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return UnionDef::_nil (); + return IR_UnionDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - UnionDef_ptr default_proxy = UnionDef::_nil (); + IR_UnionDef_ptr default_proxy = IR_UnionDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_UnionDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_UnionDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::UnionDef ( + ::IR_UnionDef ( stub, 1, obj->_servant ()), - UnionDef::_nil ()); + IR_UnionDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::UnionDef (stub, 0, obj->_servant ()), UnionDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_UnionDef (stub, 0, obj->_servant ()), IR_UnionDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - UnionDef_ptr, + IR_UnionDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &UnionDef::_narrow + &IR_UnionDef::_narrow ) ) ); } -IR::UnionDef_ptr -IR::UnionDef::_duplicate (UnionDef_ptr obj) +IR_UnionDef_ptr +IR_UnionDef::_duplicate (IR_UnionDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::UnionDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_UnionDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/UnionDef:1.0")) || @@ -15685,70 +10064,70 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::UnionDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_UnionDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, UnionDef)::_narrow)) + &IR_UnionDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, TypedefDef)::_narrow)) + &IR_TypedefDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::TypedefDef_ptr, + IR_TypedefDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Container_ptr, + IR_Container_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -15761,48 +10140,45 @@ return retv; } -const char* IR::UnionDef::_interface_repository_id (void) const +const char* IR_UnionDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/UnionDef:1.0"; } -CORBA::TypeCode_ptr IR::UnionDef::discriminator_type ( +CORBA::TypeCode_ptr IR_UnionDef::discriminator_type ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_UnionDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).discriminator_type ( this, ACE_TRY_ENV ); } -IR::IDLType_ptr IR::UnionDef::discriminator_type_def ( +IR_IDLType_ptr IR_UnionDef::discriminator_type_def ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_UnionDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).discriminator_type_def ( this, ACE_TRY_ENV ); } -void IR::UnionDef::discriminator_type_def ( - IR::IDLType_ptr discriminator_type_def, +void IR_UnionDef::discriminator_type_def ( + IR_IDLType_ptr discriminator_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - this->the_TAO_UnionDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).discriminator_type_def ( this, discriminator_type_def, @@ -15810,29 +10186,27 @@ ); } -IR::UnionMemberSeq * IR::UnionDef::members ( +IR_UnionMemberSeq * IR_UnionDef::members ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_UnionDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).members ( this, ACE_TRY_ENV ); } -void IR::UnionDef::members ( - const IR::UnionMemberSeq & members, +void IR_UnionDef::members ( + const IR_UnionMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - this->the_TAO_UnionDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).members ( this, members, @@ -15840,233 +10214,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_get::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_get::result (CORBA::TypeCode_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_get::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_get::result (IR::IDLType_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_set::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::IDLType_ptr discriminator_type_def, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - discriminator_type_def_ (discriminator_type_def) -{} - -Dynamic::ParameterList * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_discriminator_type_def = this->parameter_list_.length (); - this->parameter_list_.length (length_discriminator_type_def + 1); - this->parameter_list_[length_discriminator_type_def].argument <<= this->discriminator_type_def_; - - this->parameter_list_[length_discriminator_type_def].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_discriminator_type_def_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_get::TAO_ClientRequestInfo_IR_UnionDef_members_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_get::result (IR::UnionMemberSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_set::TAO_ClientRequestInfo_IR_UnionDef_members_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::UnionMemberSeq & members, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - members_ (members) -{} - -Dynamic::ParameterList * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_members = this->parameter_list_.length (); - this->parameter_list_.length (length_members + 1); - this->parameter_list_[length_members].argument <<= this->members_; - - this->parameter_list_[length_members].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::UnionDef::TAO_ClientRequestInfo_IR_UnionDef_members_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_UnionDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f55), ACE_NTOHL (0x6e696f6e), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/UnionDef:1.0 - 9, ACE_NTOHL (0x556e696f), ACE_NTOHL (0x6e446566), ACE_NTOHL (0x0), // name = UnionDef + 9, ACE_NTOHL (0x556e696f), ACE_NTOHL (0x6e446566), ACE_NTOHL (0x0), // name = IR_UnionDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_UnionDef (CORBA::tk_objref, sizeof (_oc_IR_UnionDef), (char *) &_oc_IR_UnionDef, 0, sizeof (IR::UnionDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_UnionDef (CORBA::tk_objref, sizeof (_oc_IR_UnionDef), (char *) &_oc_IR_UnionDef, 0, sizeof (IR_UnionDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UnionDef, &_tc_TAO_tc_IR_UnionDef) @@ -16076,15 +10230,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_EnumDef_Proxy_Impl::_TAO_EnumDef_Proxy_Impl (void) +_TAO_EnumDef_Proxy_Impl::_TAO_EnumDef_Proxy_Impl (void) {} -IR::_TAO_EnumDef_Remote_Proxy_Impl::_TAO_EnumDef_Remote_Proxy_Impl (void) +_TAO_EnumDef_Remote_Proxy_Impl::_TAO_EnumDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::EnumMemberSeq * IR::_TAO_EnumDef_Remote_Proxy_Impl::members ( +IR_EnumMemberSeq * _TAO_EnumDef_Remote_Proxy_Impl::members ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -16092,17 +10246,14 @@ CORBA::SystemException )) { - - IR::EnumMemberSeq *_tao_retval = 0; - + IR_EnumMemberSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - - ACE_NEW_RETURN (_tao_retval, IR::EnumMemberSeq, _tao_retval); - IR::EnumMemberSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_EnumMemberSeq, _tao_retval); + IR_EnumMemberSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_members", @@ -16111,46 +10262,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_get ri ( - "_get_members", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -16159,7 +10285,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -16169,62 +10295,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::EnumMemberSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_EnumDef_Remote_Proxy_Impl::members ( +void _TAO_EnumDef_Remote_Proxy_Impl::members ( CORBA_Object *_collocated_tao_target_, - const IR::EnumMemberSeq & members, + const IR_EnumMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_members", @@ -16233,56 +10327,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_set ri ( - "_set_members", - _tao_call.service_info (), - _collocated_tao_target_, - members, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << members) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -16291,36 +10359,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -16333,32 +10378,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_EnumDef_Proxy_Broker::_TAO_EnumDef_Proxy_Broker (void) +_TAO_EnumDef_Proxy_Broker::_TAO_EnumDef_Proxy_Broker (void) { } -IR::_TAO_EnumDef_Proxy_Broker::~_TAO_EnumDef_Proxy_Broker (void) +_TAO_EnumDef_Proxy_Broker::~_TAO_EnumDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_EnumDef_Remote_Proxy_Broker *IR::_TAO_EnumDef_Remote_Proxy_Broker::the_TAO_EnumDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_EnumDef_Remote_Proxy_Broker *the_TAO_EnumDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_EnumDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_EnumDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_EnumDef_Remote_Proxy_Broker::_TAO_EnumDef_Remote_Proxy_Broker (void) +_TAO_EnumDef_Remote_Proxy_Broker::_TAO_EnumDef_Remote_Proxy_Broker (void) { } -IR::_TAO_EnumDef_Remote_Proxy_Broker::~_TAO_EnumDef_Remote_Proxy_Broker (void) +_TAO_EnumDef_Remote_Proxy_Broker::~_TAO_EnumDef_Remote_Proxy_Broker (void) { } -IR::_TAO_EnumDef_Proxy_Impl& -IR::_TAO_EnumDef_Remote_Proxy_Broker::select_proxy ( - ::IR::EnumDef *object, +_TAO_EnumDef_Proxy_Impl& +_TAO_EnumDef_Remote_Proxy_Broker::select_proxy ( + ::IR_EnumDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -16374,110 +10419,110 @@ // default constructor -IR::EnumDef::EnumDef (int collocated) +IR_EnumDef::IR_EnumDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::EnumDef::~EnumDef (void) +IR_EnumDef::~IR_EnumDef (void) {} void -IR::EnumDef::_tao_setup_collocation (int collocated) +IR_EnumDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_EnumDef_Proxy_Broker_ = - ::IR__TAO_EnumDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_EnumDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_EnumDef_Proxy_Broker_ = - ::IR::_TAO_EnumDef_Remote_Proxy_Broker::the_TAO_EnumDef_Remote_Proxy_Broker (); + ::the_TAO_EnumDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,TypedefDef)::_tao_setup_collocation (collocated); + IR_TypedefDef::_tao_setup_collocation (collocated); } -void IR::EnumDef::_tao_any_destructor (void *x) +void IR_EnumDef::_tao_any_destructor (void *x) { - EnumDef *tmp = ACE_static_cast (EnumDef*,x); + IR_EnumDef *tmp = ACE_static_cast (IR_EnumDef*,x); CORBA::release (tmp); } -IR::EnumDef_ptr IR::EnumDef::_narrow ( +IR_EnumDef_ptr IR_EnumDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return EnumDef::_nil (); + return IR_EnumDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/EnumDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (EnumDef::_nil ()); + ACE_CHECK_RETURN (IR_EnumDef::_nil ()); if (is_a == 0) - return EnumDef::_nil (); + return IR_EnumDef::_nil (); } - return EnumDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_EnumDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::EnumDef_ptr IR::EnumDef::_unchecked_narrow ( +IR_EnumDef_ptr IR_EnumDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return EnumDef::_nil (); + return IR_EnumDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - EnumDef_ptr default_proxy = EnumDef::_nil (); + IR_EnumDef_ptr default_proxy = IR_EnumDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_EnumDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_EnumDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::EnumDef ( + ::IR_EnumDef ( stub, 1, obj->_servant ()), - EnumDef::_nil ()); + IR_EnumDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::EnumDef (stub, 0, obj->_servant ()), EnumDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_EnumDef (stub, 0, obj->_servant ()), IR_EnumDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - EnumDef_ptr, + IR_EnumDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &EnumDef::_narrow + &IR_EnumDef::_narrow ) ) ); } -IR::EnumDef_ptr -IR::EnumDef::_duplicate (EnumDef_ptr obj) +IR_EnumDef_ptr +IR_EnumDef::_duplicate (IR_EnumDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::EnumDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_EnumDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EnumDef:1.0")) || @@ -16491,58 +10536,58 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::EnumDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_EnumDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, EnumDef)::_narrow)) + &IR_EnumDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, TypedefDef)::_narrow)) + &IR_TypedefDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::TypedefDef_ptr, + IR_TypedefDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -16555,34 +10600,32 @@ return retv; } -const char* IR::EnumDef::_interface_repository_id (void) const +const char* IR_EnumDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/EnumDef:1.0"; } -IR::EnumMemberSeq * IR::EnumDef::members ( +IR_EnumMemberSeq * IR_EnumDef::members ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_EnumDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).members ( this, ACE_TRY_ENV ); } -void IR::EnumDef::members ( - const IR::EnumMemberSeq & members, +void IR_EnumDef::members ( + const IR_EnumMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - this->the_TAO_EnumDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).members ( this, members, @@ -16590,103 +10633,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_get::TAO_ClientRequestInfo_IR_EnumDef_members_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_get::result (IR::EnumMemberSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_set::TAO_ClientRequestInfo_IR_EnumDef_members_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::EnumMemberSeq & members, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - members_ (members) -{} - -Dynamic::ParameterList * -IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_members = this->parameter_list_.length (); - this->parameter_list_.length (length_members + 1); - this->parameter_list_[length_members].argument <<= this->members_; - - this->parameter_list_[length_members].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::EnumDef::TAO_ClientRequestInfo_IR_EnumDef_members_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_EnumDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f45), ACE_NTOHL (0x6e756d44), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/EnumDef:1.0 - 8, ACE_NTOHL (0x456e756d), ACE_NTOHL (0x44656600), // name = EnumDef + 8, ACE_NTOHL (0x456e756d), ACE_NTOHL (0x44656600), // name = IR_EnumDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_EnumDef (CORBA::tk_objref, sizeof (_oc_IR_EnumDef), (char *) &_oc_IR_EnumDef, 0, sizeof (IR::EnumDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_EnumDef (CORBA::tk_objref, sizeof (_oc_IR_EnumDef), (char *) &_oc_IR_EnumDef, 0, sizeof (IR_EnumDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_EnumDef, &_tc_TAO_tc_IR_EnumDef) @@ -16696,15 +10649,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_AliasDef_Proxy_Impl::_TAO_AliasDef_Proxy_Impl (void) +_TAO_AliasDef_Proxy_Impl::_TAO_AliasDef_Proxy_Impl (void) {} -IR::_TAO_AliasDef_Remote_Proxy_Impl::_TAO_AliasDef_Remote_Proxy_Impl (void) +_TAO_AliasDef_Remote_Proxy_Impl::_TAO_AliasDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::IDLType_ptr IR::_TAO_AliasDef_Remote_Proxy_Impl::original_type_def ( +IR_IDLType_ptr _TAO_AliasDef_Remote_Proxy_Impl::original_type_def ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -16712,16 +10665,13 @@ CORBA::SystemException )) { - - IR::IDLType_ptr _tao_retval = IR::IDLType::_nil (); - IR::IDLType_var _tao_safe_retval (_tao_retval); - + IR_IDLType_ptr _tao_retval = IR_IDLType::_nil (); + IR_IDLType_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_original_type_def", @@ -16730,46 +10680,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_get ri ( - "_get_original_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -16778,7 +10703,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -16788,62 +10713,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::IDLType_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_AliasDef_Remote_Proxy_Impl::original_type_def ( +void _TAO_AliasDef_Remote_Proxy_Impl::original_type_def ( CORBA_Object *_collocated_tao_target_, - IR::IDLType_ptr original_type_def, + IR_IDLType_ptr original_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_original_type_def", @@ -16852,56 +10745,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_set ri ( - "_set_original_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - original_type_def, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << original_type_def) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -16910,36 +10777,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -16952,32 +10796,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_AliasDef_Proxy_Broker::_TAO_AliasDef_Proxy_Broker (void) +_TAO_AliasDef_Proxy_Broker::_TAO_AliasDef_Proxy_Broker (void) { } -IR::_TAO_AliasDef_Proxy_Broker::~_TAO_AliasDef_Proxy_Broker (void) +_TAO_AliasDef_Proxy_Broker::~_TAO_AliasDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_AliasDef_Remote_Proxy_Broker *IR::_TAO_AliasDef_Remote_Proxy_Broker::the_TAO_AliasDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_AliasDef_Remote_Proxy_Broker *the_TAO_AliasDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_AliasDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_AliasDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_AliasDef_Remote_Proxy_Broker::_TAO_AliasDef_Remote_Proxy_Broker (void) +_TAO_AliasDef_Remote_Proxy_Broker::_TAO_AliasDef_Remote_Proxy_Broker (void) { } -IR::_TAO_AliasDef_Remote_Proxy_Broker::~_TAO_AliasDef_Remote_Proxy_Broker (void) +_TAO_AliasDef_Remote_Proxy_Broker::~_TAO_AliasDef_Remote_Proxy_Broker (void) { } -IR::_TAO_AliasDef_Proxy_Impl& -IR::_TAO_AliasDef_Remote_Proxy_Broker::select_proxy ( - ::IR::AliasDef *object, +_TAO_AliasDef_Proxy_Impl& +_TAO_AliasDef_Remote_Proxy_Broker::select_proxy ( + ::IR_AliasDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -16993,110 +10837,110 @@ // default constructor -IR::AliasDef::AliasDef (int collocated) +IR_AliasDef::IR_AliasDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::AliasDef::~AliasDef (void) +IR_AliasDef::~IR_AliasDef (void) {} void -IR::AliasDef::_tao_setup_collocation (int collocated) +IR_AliasDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_AliasDef_Proxy_Broker_ = - ::IR__TAO_AliasDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_AliasDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_AliasDef_Proxy_Broker_ = - ::IR::_TAO_AliasDef_Remote_Proxy_Broker::the_TAO_AliasDef_Remote_Proxy_Broker (); + ::the_TAO_AliasDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,TypedefDef)::_tao_setup_collocation (collocated); + IR_TypedefDef::_tao_setup_collocation (collocated); } -void IR::AliasDef::_tao_any_destructor (void *x) +void IR_AliasDef::_tao_any_destructor (void *x) { - AliasDef *tmp = ACE_static_cast (AliasDef*,x); + IR_AliasDef *tmp = ACE_static_cast (IR_AliasDef*,x); CORBA::release (tmp); } -IR::AliasDef_ptr IR::AliasDef::_narrow ( +IR_AliasDef_ptr IR_AliasDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return AliasDef::_nil (); + return IR_AliasDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/AliasDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (AliasDef::_nil ()); + ACE_CHECK_RETURN (IR_AliasDef::_nil ()); if (is_a == 0) - return AliasDef::_nil (); + return IR_AliasDef::_nil (); } - return AliasDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_AliasDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::AliasDef_ptr IR::AliasDef::_unchecked_narrow ( +IR_AliasDef_ptr IR_AliasDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return AliasDef::_nil (); + return IR_AliasDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - AliasDef_ptr default_proxy = AliasDef::_nil (); + IR_AliasDef_ptr default_proxy = IR_AliasDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_AliasDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_AliasDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::AliasDef ( + ::IR_AliasDef ( stub, 1, obj->_servant ()), - AliasDef::_nil ()); + IR_AliasDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::AliasDef (stub, 0, obj->_servant ()), AliasDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_AliasDef (stub, 0, obj->_servant ()), IR_AliasDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - AliasDef_ptr, + IR_AliasDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &AliasDef::_narrow + &IR_AliasDef::_narrow ) ) ); } -IR::AliasDef_ptr -IR::AliasDef::_duplicate (AliasDef_ptr obj) +IR_AliasDef_ptr +IR_AliasDef::_duplicate (IR_AliasDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::AliasDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_AliasDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/AliasDef:1.0")) || @@ -17110,58 +10954,58 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::AliasDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_AliasDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, AliasDef)::_narrow)) + &IR_AliasDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, TypedefDef)::_narrow)) + &IR_TypedefDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::TypedefDef_ptr, + IR_TypedefDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -17174,34 +11018,32 @@ return retv; } -const char* IR::AliasDef::_interface_repository_id (void) const +const char* IR_AliasDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/AliasDef:1.0"; } -IR::IDLType_ptr IR::AliasDef::original_type_def ( +IR_IDLType_ptr IR_AliasDef::original_type_def ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_AliasDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).original_type_def ( this, ACE_TRY_ENV ); } -void IR::AliasDef::original_type_def ( - IR::IDLType_ptr original_type_def, +void IR_AliasDef::original_type_def ( + IR_IDLType_ptr original_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - this->the_TAO_AliasDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).original_type_def ( this, original_type_def, @@ -17209,103 +11051,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_get::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_get::result (IR::IDLType_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_set::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::IDLType_ptr original_type_def, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - original_type_def_ (original_type_def) -{} - -Dynamic::ParameterList * -IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_original_type_def = this->parameter_list_.length (); - this->parameter_list_.length (length_original_type_def + 1); - this->parameter_list_[length_original_type_def].argument <<= this->original_type_def_; - - this->parameter_list_[length_original_type_def].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::AliasDef::TAO_ClientRequestInfo_IR_AliasDef_original_type_def_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_AliasDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f41), ACE_NTOHL (0x6c696173), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/AliasDef:1.0 - 9, ACE_NTOHL (0x416c6961), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = AliasDef + 9, ACE_NTOHL (0x416c6961), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = IR_AliasDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_AliasDef (CORBA::tk_objref, sizeof (_oc_IR_AliasDef), (char *) &_oc_IR_AliasDef, 0, sizeof (IR::AliasDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_AliasDef (CORBA::tk_objref, sizeof (_oc_IR_AliasDef), (char *) &_oc_IR_AliasDef, 0, sizeof (IR_AliasDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_AliasDef, &_tc_TAO_tc_IR_AliasDef) @@ -17315,10 +11067,10 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_NativeDef_Proxy_Impl::_TAO_NativeDef_Proxy_Impl (void) +_TAO_NativeDef_Proxy_Impl::_TAO_NativeDef_Proxy_Impl (void) {} -IR::_TAO_NativeDef_Remote_Proxy_Impl::_TAO_NativeDef_Remote_Proxy_Impl (void) +_TAO_NativeDef_Remote_Proxy_Impl::_TAO_NativeDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods @@ -17333,32 +11085,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_NativeDef_Proxy_Broker::_TAO_NativeDef_Proxy_Broker (void) +_TAO_NativeDef_Proxy_Broker::_TAO_NativeDef_Proxy_Broker (void) { } -IR::_TAO_NativeDef_Proxy_Broker::~_TAO_NativeDef_Proxy_Broker (void) +_TAO_NativeDef_Proxy_Broker::~_TAO_NativeDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_NativeDef_Remote_Proxy_Broker *IR::_TAO_NativeDef_Remote_Proxy_Broker::the_TAO_NativeDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_NativeDef_Remote_Proxy_Broker *the_TAO_NativeDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_NativeDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_NativeDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_NativeDef_Remote_Proxy_Broker::_TAO_NativeDef_Remote_Proxy_Broker (void) +_TAO_NativeDef_Remote_Proxy_Broker::_TAO_NativeDef_Remote_Proxy_Broker (void) { } -IR::_TAO_NativeDef_Remote_Proxy_Broker::~_TAO_NativeDef_Remote_Proxy_Broker (void) +_TAO_NativeDef_Remote_Proxy_Broker::~_TAO_NativeDef_Remote_Proxy_Broker (void) { } -IR::_TAO_NativeDef_Proxy_Impl& -IR::_TAO_NativeDef_Remote_Proxy_Broker::select_proxy ( - ::IR::NativeDef *object, +_TAO_NativeDef_Proxy_Impl& +_TAO_NativeDef_Remote_Proxy_Broker::select_proxy ( + ::IR_NativeDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -17374,110 +11126,110 @@ // default constructor -IR::NativeDef::NativeDef (int collocated) +IR_NativeDef::IR_NativeDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::NativeDef::~NativeDef (void) +IR_NativeDef::~IR_NativeDef (void) {} void -IR::NativeDef::_tao_setup_collocation (int collocated) +IR_NativeDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_NativeDef_Proxy_Broker_ = - ::IR__TAO_NativeDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_NativeDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_NativeDef_Proxy_Broker_ = - ::IR::_TAO_NativeDef_Remote_Proxy_Broker::the_TAO_NativeDef_Remote_Proxy_Broker (); + ::the_TAO_NativeDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,TypedefDef)::_tao_setup_collocation (collocated); + IR_TypedefDef::_tao_setup_collocation (collocated); } -void IR::NativeDef::_tao_any_destructor (void *x) +void IR_NativeDef::_tao_any_destructor (void *x) { - NativeDef *tmp = ACE_static_cast (NativeDef*,x); + IR_NativeDef *tmp = ACE_static_cast (IR_NativeDef*,x); CORBA::release (tmp); } -IR::NativeDef_ptr IR::NativeDef::_narrow ( +IR_NativeDef_ptr IR_NativeDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return NativeDef::_nil (); + return IR_NativeDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/NativeDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (NativeDef::_nil ()); + ACE_CHECK_RETURN (IR_NativeDef::_nil ()); if (is_a == 0) - return NativeDef::_nil (); + return IR_NativeDef::_nil (); } - return NativeDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_NativeDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::NativeDef_ptr IR::NativeDef::_unchecked_narrow ( +IR_NativeDef_ptr IR_NativeDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return NativeDef::_nil (); + return IR_NativeDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - NativeDef_ptr default_proxy = NativeDef::_nil (); + IR_NativeDef_ptr default_proxy = IR_NativeDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_NativeDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_NativeDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::NativeDef ( + ::IR_NativeDef ( stub, 1, obj->_servant ()), - NativeDef::_nil ()); + IR_NativeDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::NativeDef (stub, 0, obj->_servant ()), NativeDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_NativeDef (stub, 0, obj->_servant ()), IR_NativeDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - NativeDef_ptr, + IR_NativeDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &NativeDef::_narrow + &IR_NativeDef::_narrow ) ) ); } -IR::NativeDef_ptr -IR::NativeDef::_duplicate (NativeDef_ptr obj) +IR_NativeDef_ptr +IR_NativeDef::_duplicate (IR_NativeDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::NativeDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_NativeDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/NativeDef:1.0")) || @@ -17491,58 +11243,58 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::NativeDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_NativeDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, NativeDef)::_narrow)) + &IR_NativeDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, TypedefDef)::_narrow)) + &IR_TypedefDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::TypedefDef_ptr, + IR_TypedefDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -17555,21 +11307,18 @@ return retv; } -const char* IR::NativeDef::_interface_repository_id (void) const +const char* IR_NativeDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/NativeDef:1.0"; } - -#if (TAO_HAS_INTERCEPTORS == 1) -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_NativeDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f4e), ACE_NTOHL (0x61746976), ACE_NTOHL (0x65446566), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/NativeDef:1.0 - 10, ACE_NTOHL (0x4e617469), ACE_NTOHL (0x76654465), ACE_NTOHL (0x66000000), // name = NativeDef + 10, ACE_NTOHL (0x4e617469), ACE_NTOHL (0x76654465), ACE_NTOHL (0x66000000), // name = IR_NativeDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_NativeDef (CORBA::tk_objref, sizeof (_oc_IR_NativeDef), (char *) &_oc_IR_NativeDef, 0, sizeof (IR::NativeDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_NativeDef (CORBA::tk_objref, sizeof (_oc_IR_NativeDef), (char *) &_oc_IR_NativeDef, 0, sizeof (IR_NativeDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_NativeDef, &_tc_TAO_tc_IR_NativeDef) @@ -17579,15 +11328,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_PrimitiveDef_Proxy_Impl::_TAO_PrimitiveDef_Proxy_Impl (void) +_TAO_PrimitiveDef_Proxy_Impl::_TAO_PrimitiveDef_Proxy_Impl (void) {} -IR::_TAO_PrimitiveDef_Remote_Proxy_Impl::_TAO_PrimitiveDef_Remote_Proxy_Impl (void) +_TAO_PrimitiveDef_Remote_Proxy_Impl::_TAO_PrimitiveDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::PrimitiveKind IR::_TAO_PrimitiveDef_Remote_Proxy_Impl::kind ( +IR_PrimitiveKind _TAO_PrimitiveDef_Remote_Proxy_Impl::kind ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -17595,15 +11344,12 @@ CORBA::SystemException )) { - - IR::PrimitiveKind _tao_retval = (IR::PrimitiveKind)0; - + IR_PrimitiveKind _tao_retval = (IR_PrimitiveKind)0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), _tao_retval); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_kind", @@ -17612,46 +11358,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::PrimitiveDef::TAO_ClientRequestInfo_IR_PrimitiveDef_kind_get ri ( - "_get_kind", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -17660,7 +11381,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -17670,40 +11391,14 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - IR::PrimitiveKind _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } @@ -17717,32 +11412,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_PrimitiveDef_Proxy_Broker::_TAO_PrimitiveDef_Proxy_Broker (void) +_TAO_PrimitiveDef_Proxy_Broker::_TAO_PrimitiveDef_Proxy_Broker (void) { } -IR::_TAO_PrimitiveDef_Proxy_Broker::~_TAO_PrimitiveDef_Proxy_Broker (void) +_TAO_PrimitiveDef_Proxy_Broker::~_TAO_PrimitiveDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_PrimitiveDef_Remote_Proxy_Broker *IR::_TAO_PrimitiveDef_Remote_Proxy_Broker::the_TAO_PrimitiveDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_PrimitiveDef_Remote_Proxy_Broker *the_TAO_PrimitiveDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_PrimitiveDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_PrimitiveDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_PrimitiveDef_Remote_Proxy_Broker::_TAO_PrimitiveDef_Remote_Proxy_Broker (void) +_TAO_PrimitiveDef_Remote_Proxy_Broker::_TAO_PrimitiveDef_Remote_Proxy_Broker (void) { } -IR::_TAO_PrimitiveDef_Remote_Proxy_Broker::~_TAO_PrimitiveDef_Remote_Proxy_Broker (void) +_TAO_PrimitiveDef_Remote_Proxy_Broker::~_TAO_PrimitiveDef_Remote_Proxy_Broker (void) { } -IR::_TAO_PrimitiveDef_Proxy_Impl& -IR::_TAO_PrimitiveDef_Remote_Proxy_Broker::select_proxy ( - ::IR::PrimitiveDef *object, +_TAO_PrimitiveDef_Proxy_Impl& +_TAO_PrimitiveDef_Remote_Proxy_Broker::select_proxy ( + ::IR_PrimitiveDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -17758,110 +11453,110 @@ // default constructor -IR::PrimitiveDef::PrimitiveDef (int collocated) +IR_PrimitiveDef::IR_PrimitiveDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::PrimitiveDef::~PrimitiveDef (void) +IR_PrimitiveDef::~IR_PrimitiveDef (void) {} void -IR::PrimitiveDef::_tao_setup_collocation (int collocated) +IR_PrimitiveDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_PrimitiveDef_Proxy_Broker_ = - ::IR__TAO_PrimitiveDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_PrimitiveDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_PrimitiveDef_Proxy_Broker_ = - ::IR::_TAO_PrimitiveDef_Remote_Proxy_Broker::the_TAO_PrimitiveDef_Remote_Proxy_Broker (); + ::the_TAO_PrimitiveDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,IDLType)::_tao_setup_collocation (collocated); + IR_IDLType::_tao_setup_collocation (collocated); } -void IR::PrimitiveDef::_tao_any_destructor (void *x) +void IR_PrimitiveDef::_tao_any_destructor (void *x) { - PrimitiveDef *tmp = ACE_static_cast (PrimitiveDef*,x); + IR_PrimitiveDef *tmp = ACE_static_cast (IR_PrimitiveDef*,x); CORBA::release (tmp); } -IR::PrimitiveDef_ptr IR::PrimitiveDef::_narrow ( +IR_PrimitiveDef_ptr IR_PrimitiveDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return PrimitiveDef::_nil (); + return IR_PrimitiveDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/PrimitiveDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (PrimitiveDef::_nil ()); + ACE_CHECK_RETURN (IR_PrimitiveDef::_nil ()); if (is_a == 0) - return PrimitiveDef::_nil (); + return IR_PrimitiveDef::_nil (); } - return PrimitiveDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_PrimitiveDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::PrimitiveDef_ptr IR::PrimitiveDef::_unchecked_narrow ( +IR_PrimitiveDef_ptr IR_PrimitiveDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return PrimitiveDef::_nil (); + return IR_PrimitiveDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - PrimitiveDef_ptr default_proxy = PrimitiveDef::_nil (); + IR_PrimitiveDef_ptr default_proxy = IR_PrimitiveDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_PrimitiveDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_PrimitiveDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::PrimitiveDef ( + ::IR_PrimitiveDef ( stub, 1, obj->_servant ()), - PrimitiveDef::_nil ()); + IR_PrimitiveDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::PrimitiveDef (stub, 0, obj->_servant ()), PrimitiveDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_PrimitiveDef (stub, 0, obj->_servant ()), IR_PrimitiveDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - PrimitiveDef_ptr, + IR_PrimitiveDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &PrimitiveDef::_narrow + &IR_PrimitiveDef::_narrow ) ) ); } -IR::PrimitiveDef_ptr -IR::PrimitiveDef::_duplicate (PrimitiveDef_ptr obj) +IR_PrimitiveDef_ptr +IR_PrimitiveDef::_duplicate (IR_PrimitiveDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::PrimitiveDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_PrimitiveDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/PrimitiveDef:1.0")) || @@ -17873,34 +11568,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::PrimitiveDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_PrimitiveDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, PrimitiveDef)::_narrow)) + &IR_PrimitiveDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -17913,77 +11608,31 @@ return retv; } -const char* IR::PrimitiveDef::_interface_repository_id (void) const +const char* IR_PrimitiveDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/PrimitiveDef:1.0"; } -IR::PrimitiveKind IR::PrimitiveDef::kind ( +IR_PrimitiveKind IR_PrimitiveDef::kind ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_PrimitiveDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).kind ( this, ACE_TRY_ENV ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::PrimitiveDef::TAO_ClientRequestInfo_IR_PrimitiveDef_kind_get::TAO_ClientRequestInfo_IR_PrimitiveDef_kind_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::PrimitiveDef::TAO_ClientRequestInfo_IR_PrimitiveDef_kind_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::PrimitiveDef::TAO_ClientRequestInfo_IR_PrimitiveDef_kind_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::PrimitiveDef::TAO_ClientRequestInfo_IR_PrimitiveDef_kind_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::PrimitiveDef::TAO_ClientRequestInfo_IR_PrimitiveDef_kind_get::result (IR::PrimitiveKind result) -{ - // update the result - this->result_ = result; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_PrimitiveDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x72696d69), ACE_NTOHL (0x74697665), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/PrimitiveDef:1.0 - 13, ACE_NTOHL (0x5072696d), ACE_NTOHL (0x69746976), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = PrimitiveDef + 13, ACE_NTOHL (0x5072696d), ACE_NTOHL (0x69746976), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_PrimitiveDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_PrimitiveDef (CORBA::tk_objref, sizeof (_oc_IR_PrimitiveDef), (char *) &_oc_IR_PrimitiveDef, 0, sizeof (IR::PrimitiveDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_PrimitiveDef (CORBA::tk_objref, sizeof (_oc_IR_PrimitiveDef), (char *) &_oc_IR_PrimitiveDef, 0, sizeof (IR_PrimitiveDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_PrimitiveDef, &_tc_TAO_tc_IR_PrimitiveDef) @@ -17993,15 +11642,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_StringDef_Proxy_Impl::_TAO_StringDef_Proxy_Impl (void) +_TAO_StringDef_Proxy_Impl::_TAO_StringDef_Proxy_Impl (void) {} -IR::_TAO_StringDef_Remote_Proxy_Impl::_TAO_StringDef_Remote_Proxy_Impl (void) +_TAO_StringDef_Remote_Proxy_Impl::_TAO_StringDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::ULong IR::_TAO_StringDef_Remote_Proxy_Impl::bound ( +CORBA::ULong _TAO_StringDef_Remote_Proxy_Impl::bound ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -18009,63 +11658,35 @@ CORBA::SystemException )) { - CORBA::ULong _tao_retval = 0; - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), _tao_retval); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_bound", - 10, - 0, - istub->orb_core () - ); - -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_get ri ( - "_get_bound", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV + 10, + 0, + istub->orb_core () ); - ACE_CHECK_RETURN (_tao_retval); - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -18074,7 +11695,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -18084,44 +11705,18 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::ULong _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_StringDef_Remote_Proxy_Impl::bound ( +void _TAO_StringDef_Remote_Proxy_Impl::bound ( CORBA_Object *_collocated_tao_target_, CORBA::ULong bound, CORBA::Environment &ACE_TRY_ENV @@ -18130,15 +11725,10 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_bound", @@ -18147,56 +11737,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_set ri ( - "_set_bound", - _tao_call.service_info (), - _collocated_tao_target_, - bound, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << bound) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -18205,36 +11769,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -18247,32 +11788,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_StringDef_Proxy_Broker::_TAO_StringDef_Proxy_Broker (void) +_TAO_StringDef_Proxy_Broker::_TAO_StringDef_Proxy_Broker (void) { } -IR::_TAO_StringDef_Proxy_Broker::~_TAO_StringDef_Proxy_Broker (void) +_TAO_StringDef_Proxy_Broker::~_TAO_StringDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_StringDef_Remote_Proxy_Broker *IR::_TAO_StringDef_Remote_Proxy_Broker::the_TAO_StringDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_StringDef_Remote_Proxy_Broker *the_TAO_StringDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_StringDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_StringDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_StringDef_Remote_Proxy_Broker::_TAO_StringDef_Remote_Proxy_Broker (void) +_TAO_StringDef_Remote_Proxy_Broker::_TAO_StringDef_Remote_Proxy_Broker (void) { } -IR::_TAO_StringDef_Remote_Proxy_Broker::~_TAO_StringDef_Remote_Proxy_Broker (void) +_TAO_StringDef_Remote_Proxy_Broker::~_TAO_StringDef_Remote_Proxy_Broker (void) { } -IR::_TAO_StringDef_Proxy_Impl& -IR::_TAO_StringDef_Remote_Proxy_Broker::select_proxy ( - ::IR::StringDef *object, +_TAO_StringDef_Proxy_Impl& +_TAO_StringDef_Remote_Proxy_Broker::select_proxy ( + ::IR_StringDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -18288,110 +11829,110 @@ // default constructor -IR::StringDef::StringDef (int collocated) +IR_StringDef::IR_StringDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::StringDef::~StringDef (void) +IR_StringDef::~IR_StringDef (void) {} void -IR::StringDef::_tao_setup_collocation (int collocated) +IR_StringDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_StringDef_Proxy_Broker_ = - ::IR__TAO_StringDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_StringDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_StringDef_Proxy_Broker_ = - ::IR::_TAO_StringDef_Remote_Proxy_Broker::the_TAO_StringDef_Remote_Proxy_Broker (); + ::the_TAO_StringDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,IDLType)::_tao_setup_collocation (collocated); + IR_IDLType::_tao_setup_collocation (collocated); } -void IR::StringDef::_tao_any_destructor (void *x) +void IR_StringDef::_tao_any_destructor (void *x) { - StringDef *tmp = ACE_static_cast (StringDef*,x); + IR_StringDef *tmp = ACE_static_cast (IR_StringDef*,x); CORBA::release (tmp); } -IR::StringDef_ptr IR::StringDef::_narrow ( +IR_StringDef_ptr IR_StringDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return StringDef::_nil (); + return IR_StringDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/StringDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (StringDef::_nil ()); + ACE_CHECK_RETURN (IR_StringDef::_nil ()); if (is_a == 0) - return StringDef::_nil (); + return IR_StringDef::_nil (); } - return StringDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_StringDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::StringDef_ptr IR::StringDef::_unchecked_narrow ( +IR_StringDef_ptr IR_StringDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return StringDef::_nil (); + return IR_StringDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - StringDef_ptr default_proxy = StringDef::_nil (); + IR_StringDef_ptr default_proxy = IR_StringDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_StringDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_StringDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::StringDef ( + ::IR_StringDef ( stub, 1, obj->_servant ()), - StringDef::_nil ()); + IR_StringDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::StringDef (stub, 0, obj->_servant ()), StringDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_StringDef (stub, 0, obj->_servant ()), IR_StringDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - StringDef_ptr, + IR_StringDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &StringDef::_narrow + &IR_StringDef::_narrow ) ) ); } -IR::StringDef_ptr -IR::StringDef::_duplicate (StringDef_ptr obj) +IR_StringDef_ptr +IR_StringDef::_duplicate (IR_StringDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::StringDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_StringDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/StringDef:1.0")) || @@ -18403,34 +11944,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::StringDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_StringDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, StringDef)::_narrow)) + &IR_StringDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -18443,26 +11984,25 @@ return retv; } -const char* IR::StringDef::_interface_repository_id (void) const +const char* IR_StringDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/StringDef:1.0"; } -CORBA::ULong IR::StringDef::bound ( +CORBA::ULong IR_StringDef::bound ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - return this->the_TAO_StringDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).bound ( this, ACE_TRY_ENV ); } -void IR::StringDef::bound ( +void IR_StringDef::bound ( CORBA::ULong bound, CORBA::Environment &ACE_TRY_ENV ) @@ -18470,7 +12010,6 @@ CORBA::SystemException )) { - this->the_TAO_StringDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).bound ( this, bound, @@ -18478,103 +12017,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_get::TAO_ClientRequestInfo_IR_StringDef_bound_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_get::result (CORBA::ULong result) -{ - // update the result - this->result_ = result; -} - -IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_set::TAO_ClientRequestInfo_IR_StringDef_bound_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::ULong & bound, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - bound_ (bound) -{} - -Dynamic::ParameterList * -IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_bound = this->parameter_list_.length (); - this->parameter_list_.length (length_bound + 1); - this->parameter_list_[length_bound].argument <<= bound_; - this->parameter_list_[length_bound].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::StringDef::TAO_ClientRequestInfo_IR_StringDef_bound_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_StringDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x7472696e), ACE_NTOHL (0x67446566), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/StringDef:1.0 - 10, ACE_NTOHL (0x53747269), ACE_NTOHL (0x6e674465), ACE_NTOHL (0x66000000), // name = StringDef + 10, ACE_NTOHL (0x53747269), ACE_NTOHL (0x6e674465), ACE_NTOHL (0x66000000), // name = IR_StringDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_StringDef (CORBA::tk_objref, sizeof (_oc_IR_StringDef), (char *) &_oc_IR_StringDef, 0, sizeof (IR::StringDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_StringDef (CORBA::tk_objref, sizeof (_oc_IR_StringDef), (char *) &_oc_IR_StringDef, 0, sizeof (IR_StringDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_StringDef, &_tc_TAO_tc_IR_StringDef) @@ -18584,15 +12033,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_WstringDef_Proxy_Impl::_TAO_WstringDef_Proxy_Impl (void) +_TAO_WstringDef_Proxy_Impl::_TAO_WstringDef_Proxy_Impl (void) {} -IR::_TAO_WstringDef_Remote_Proxy_Impl::_TAO_WstringDef_Remote_Proxy_Impl (void) +_TAO_WstringDef_Remote_Proxy_Impl::_TAO_WstringDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::ULong IR::_TAO_WstringDef_Remote_Proxy_Impl::bound ( +CORBA::ULong _TAO_WstringDef_Remote_Proxy_Impl::bound ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -18600,15 +12049,12 @@ CORBA::SystemException )) { - CORBA::ULong _tao_retval = 0; - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW_RETURN (CORBA::INTERNAL (), _tao_retval); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_bound", @@ -18617,46 +12063,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_get ri ( - "_get_bound", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -18665,7 +12086,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -18675,44 +12096,18 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::ULong _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_WstringDef_Remote_Proxy_Impl::bound ( +void _TAO_WstringDef_Remote_Proxy_Impl::bound ( CORBA_Object *_collocated_tao_target_, CORBA::ULong bound, CORBA::Environment &ACE_TRY_ENV @@ -18721,15 +12116,10 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_bound", @@ -18738,56 +12128,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_set ri ( - "_set_bound", - _tao_call.service_info (), - _collocated_tao_target_, - bound, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << bound) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -18796,36 +12160,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -18838,32 +12179,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_WstringDef_Proxy_Broker::_TAO_WstringDef_Proxy_Broker (void) +_TAO_WstringDef_Proxy_Broker::_TAO_WstringDef_Proxy_Broker (void) { } -IR::_TAO_WstringDef_Proxy_Broker::~_TAO_WstringDef_Proxy_Broker (void) +_TAO_WstringDef_Proxy_Broker::~_TAO_WstringDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_WstringDef_Remote_Proxy_Broker *IR::_TAO_WstringDef_Remote_Proxy_Broker::the_TAO_WstringDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_WstringDef_Remote_Proxy_Broker *the_TAO_WstringDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_WstringDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_WstringDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_WstringDef_Remote_Proxy_Broker::_TAO_WstringDef_Remote_Proxy_Broker (void) +_TAO_WstringDef_Remote_Proxy_Broker::_TAO_WstringDef_Remote_Proxy_Broker (void) { } -IR::_TAO_WstringDef_Remote_Proxy_Broker::~_TAO_WstringDef_Remote_Proxy_Broker (void) +_TAO_WstringDef_Remote_Proxy_Broker::~_TAO_WstringDef_Remote_Proxy_Broker (void) { } -IR::_TAO_WstringDef_Proxy_Impl& -IR::_TAO_WstringDef_Remote_Proxy_Broker::select_proxy ( - ::IR::WstringDef *object, +_TAO_WstringDef_Proxy_Impl& +_TAO_WstringDef_Remote_Proxy_Broker::select_proxy ( + ::IR_WstringDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -18879,110 +12220,110 @@ // default constructor -IR::WstringDef::WstringDef (int collocated) +IR_WstringDef::IR_WstringDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::WstringDef::~WstringDef (void) +IR_WstringDef::~IR_WstringDef (void) {} void -IR::WstringDef::_tao_setup_collocation (int collocated) +IR_WstringDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_WstringDef_Proxy_Broker_ = - ::IR__TAO_WstringDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_WstringDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_WstringDef_Proxy_Broker_ = - ::IR::_TAO_WstringDef_Remote_Proxy_Broker::the_TAO_WstringDef_Remote_Proxy_Broker (); + ::the_TAO_WstringDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,IDLType)::_tao_setup_collocation (collocated); + IR_IDLType::_tao_setup_collocation (collocated); } -void IR::WstringDef::_tao_any_destructor (void *x) +void IR_WstringDef::_tao_any_destructor (void *x) { - WstringDef *tmp = ACE_static_cast (WstringDef*,x); + IR_WstringDef *tmp = ACE_static_cast (IR_WstringDef*,x); CORBA::release (tmp); } -IR::WstringDef_ptr IR::WstringDef::_narrow ( +IR_WstringDef_ptr IR_WstringDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return WstringDef::_nil (); + return IR_WstringDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/WstringDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (WstringDef::_nil ()); + ACE_CHECK_RETURN (IR_WstringDef::_nil ()); if (is_a == 0) - return WstringDef::_nil (); + return IR_WstringDef::_nil (); } - return WstringDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_WstringDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::WstringDef_ptr IR::WstringDef::_unchecked_narrow ( +IR_WstringDef_ptr IR_WstringDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return WstringDef::_nil (); + return IR_WstringDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - WstringDef_ptr default_proxy = WstringDef::_nil (); + IR_WstringDef_ptr default_proxy = IR_WstringDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_WstringDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_WstringDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::WstringDef ( + ::IR_WstringDef ( stub, 1, obj->_servant ()), - WstringDef::_nil ()); + IR_WstringDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::WstringDef (stub, 0, obj->_servant ()), WstringDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_WstringDef (stub, 0, obj->_servant ()), IR_WstringDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - WstringDef_ptr, + IR_WstringDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &WstringDef::_narrow + &IR_WstringDef::_narrow ) ) ); } -IR::WstringDef_ptr -IR::WstringDef::_duplicate (WstringDef_ptr obj) +IR_WstringDef_ptr +IR_WstringDef::_duplicate (IR_WstringDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::WstringDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_WstringDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/WstringDef:1.0")) || @@ -18994,34 +12335,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::WstringDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_WstringDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, WstringDef)::_narrow)) + &IR_WstringDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -19034,12 +12375,12 @@ return retv; } -const char* IR::WstringDef::_interface_repository_id (void) const +const char* IR_WstringDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/WstringDef:1.0"; } -CORBA::ULong IR::WstringDef::bound ( +CORBA::ULong IR_WstringDef::bound ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -19053,7 +12394,7 @@ ); } -void IR::WstringDef::bound ( +void IR_WstringDef::bound ( CORBA::ULong bound, CORBA::Environment &ACE_TRY_ENV ) @@ -19069,103 +12410,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_get::TAO_ClientRequestInfo_IR_WstringDef_bound_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_get::result (CORBA::ULong result) -{ - // update the result - this->result_ = result; -} - -IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_set::TAO_ClientRequestInfo_IR_WstringDef_bound_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::ULong & bound, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - bound_ (bound) -{} - -Dynamic::ParameterList * -IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_bound = this->parameter_list_.length (); - this->parameter_list_.length (length_bound + 1); - this->parameter_list_[length_bound].argument <<= bound_; - this->parameter_list_[length_bound].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::WstringDef::TAO_ClientRequestInfo_IR_WstringDef_bound_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_WstringDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f57), ACE_NTOHL (0x73747269), ACE_NTOHL (0x6e674465), ACE_NTOHL (0x663a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/WstringDef:1.0 - 11, ACE_NTOHL (0x57737472), ACE_NTOHL (0x696e6744), ACE_NTOHL (0x65660000), // name = WstringDef + 11, ACE_NTOHL (0x57737472), ACE_NTOHL (0x696e6744), ACE_NTOHL (0x65660000), // name = IR_WstringDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_WstringDef (CORBA::tk_objref, sizeof (_oc_IR_WstringDef), (char *) &_oc_IR_WstringDef, 0, sizeof (IR::WstringDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_WstringDef (CORBA::tk_objref, sizeof (_oc_IR_WstringDef), (char *) &_oc_IR_WstringDef, 0, sizeof (IR_WstringDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_WstringDef, &_tc_TAO_tc_IR_WstringDef) @@ -19175,15 +12426,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_FixedDef_Proxy_Impl::_TAO_FixedDef_Proxy_Impl (void) +_TAO_FixedDef_Proxy_Impl::_TAO_FixedDef_Proxy_Impl (void) {} -IR::_TAO_FixedDef_Remote_Proxy_Impl::_TAO_FixedDef_Remote_Proxy_Impl (void) +_TAO_FixedDef_Remote_Proxy_Impl::_TAO_FixedDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::UShort IR::_TAO_FixedDef_Remote_Proxy_Impl::digits ( +CORBA::UShort _TAO_FixedDef_Remote_Proxy_Impl::digits ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -19208,46 +12459,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_get ri ( - "_get_digits", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -19256,7 +12482,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -19266,44 +12492,18 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::UShort _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_FixedDef_Remote_Proxy_Impl::digits ( +void _TAO_FixedDef_Remote_Proxy_Impl::digits ( CORBA_Object *_collocated_tao_target_, CORBA::UShort digits, CORBA::Environment &ACE_TRY_ENV @@ -19312,15 +12512,10 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_digits", @@ -19329,56 +12524,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_set ri ( - "_set_digits", - _tao_call.service_info (), - _collocated_tao_target_, - digits, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << digits) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -19387,39 +12556,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::Short IR::_TAO_FixedDef_Remote_Proxy_Impl::scale ( +CORBA::Short _TAO_FixedDef_Remote_Proxy_Impl::scale ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -19444,46 +12590,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_get ri ( - "_get_scale", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -19492,7 +12613,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -19502,44 +12623,18 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Short _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_FixedDef_Remote_Proxy_Impl::scale ( +void _TAO_FixedDef_Remote_Proxy_Impl::scale ( CORBA_Object *_collocated_tao_target_, CORBA::Short scale, CORBA::Environment &ACE_TRY_ENV @@ -19548,15 +12643,10 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_scale", @@ -19565,56 +12655,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_set ri ( - "_set_scale", - _tao_call.service_info (), - _collocated_tao_target_, - scale, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << scale) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -19623,36 +12687,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -19665,32 +12706,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_FixedDef_Proxy_Broker::_TAO_FixedDef_Proxy_Broker (void) +_TAO_FixedDef_Proxy_Broker::_TAO_FixedDef_Proxy_Broker (void) { } -IR::_TAO_FixedDef_Proxy_Broker::~_TAO_FixedDef_Proxy_Broker (void) +_TAO_FixedDef_Proxy_Broker::~_TAO_FixedDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_FixedDef_Remote_Proxy_Broker *IR::_TAO_FixedDef_Remote_Proxy_Broker::the_TAO_FixedDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_FixedDef_Remote_Proxy_Broker *the_TAO_FixedDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_FixedDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_FixedDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_FixedDef_Remote_Proxy_Broker::_TAO_FixedDef_Remote_Proxy_Broker (void) +_TAO_FixedDef_Remote_Proxy_Broker::_TAO_FixedDef_Remote_Proxy_Broker (void) { } -IR::_TAO_FixedDef_Remote_Proxy_Broker::~_TAO_FixedDef_Remote_Proxy_Broker (void) +_TAO_FixedDef_Remote_Proxy_Broker::~_TAO_FixedDef_Remote_Proxy_Broker (void) { } -IR::_TAO_FixedDef_Proxy_Impl& -IR::_TAO_FixedDef_Remote_Proxy_Broker::select_proxy ( - ::IR::FixedDef *object, +_TAO_FixedDef_Proxy_Impl& +_TAO_FixedDef_Remote_Proxy_Broker::select_proxy ( + ::IR_FixedDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -19706,110 +12747,110 @@ // default constructor -IR::FixedDef::FixedDef (int collocated) +IR_FixedDef::IR_FixedDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::FixedDef::~FixedDef (void) +IR_FixedDef::~IR_FixedDef (void) {} void -IR::FixedDef::_tao_setup_collocation (int collocated) +IR_FixedDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_FixedDef_Proxy_Broker_ = - ::IR__TAO_FixedDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_FixedDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_FixedDef_Proxy_Broker_ = - ::IR::_TAO_FixedDef_Remote_Proxy_Broker::the_TAO_FixedDef_Remote_Proxy_Broker (); + ::the_TAO_FixedDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,IDLType)::_tao_setup_collocation (collocated); + IR_IDLType::_tao_setup_collocation (collocated); } -void IR::FixedDef::_tao_any_destructor (void *x) +void IR_FixedDef::_tao_any_destructor (void *x) { - FixedDef *tmp = ACE_static_cast (FixedDef*,x); + IR_FixedDef *tmp = ACE_static_cast (IR_FixedDef*,x); CORBA::release (tmp); } -IR::FixedDef_ptr IR::FixedDef::_narrow ( +IR_FixedDef_ptr IR_FixedDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return FixedDef::_nil (); + return IR_FixedDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/FixedDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (FixedDef::_nil ()); + ACE_CHECK_RETURN (IR_FixedDef::_nil ()); if (is_a == 0) - return FixedDef::_nil (); + return IR_FixedDef::_nil (); } - return FixedDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_FixedDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::FixedDef_ptr IR::FixedDef::_unchecked_narrow ( +IR_FixedDef_ptr IR_FixedDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return FixedDef::_nil (); + return IR_FixedDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - FixedDef_ptr default_proxy = FixedDef::_nil (); + IR_FixedDef_ptr default_proxy = IR_FixedDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_FixedDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_FixedDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::FixedDef ( + ::IR_FixedDef ( stub, 1, obj->_servant ()), - FixedDef::_nil ()); + IR_FixedDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::FixedDef (stub, 0, obj->_servant ()), FixedDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_FixedDef (stub, 0, obj->_servant ()), IR_FixedDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - FixedDef_ptr, + IR_FixedDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &FixedDef::_narrow + &IR_FixedDef::_narrow ) ) ); } -IR::FixedDef_ptr -IR::FixedDef::_duplicate (FixedDef_ptr obj) +IR_FixedDef_ptr +IR_FixedDef::_duplicate (IR_FixedDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::FixedDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_FixedDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/FixedDef:1.0")) || @@ -19821,34 +12862,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::FixedDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_FixedDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, FixedDef)::_narrow)) + &IR_FixedDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -19861,12 +12902,12 @@ return retv; } -const char* IR::FixedDef::_interface_repository_id (void) const +const char* IR_FixedDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/FixedDef:1.0"; } -CORBA::UShort IR::FixedDef::digits ( +CORBA::UShort IR_FixedDef::digits ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -19880,7 +12921,7 @@ ); } -void IR::FixedDef::digits ( +void IR_FixedDef::digits ( CORBA::UShort digits, CORBA::Environment &ACE_TRY_ENV ) @@ -19896,7 +12937,7 @@ ); } -CORBA::Short IR::FixedDef::scale ( +CORBA::Short IR_FixedDef::scale ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -19910,7 +12951,7 @@ ); } -void IR::FixedDef::scale ( +void IR_FixedDef::scale ( CORBA::Short scale, CORBA::Environment &ACE_TRY_ENV ) @@ -19926,190 +12967,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_get::TAO_ClientRequestInfo_IR_FixedDef_digits_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_get::result (CORBA::UShort result) -{ - // update the result - this->result_ = result; -} - -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_set::TAO_ClientRequestInfo_IR_FixedDef_digits_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::UShort & digits, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - digits_ (digits) -{} - -Dynamic::ParameterList * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_digits = this->parameter_list_.length (); - this->parameter_list_.length (length_digits + 1); - this->parameter_list_[length_digits].argument <<= digits_; - this->parameter_list_[length_digits].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_digits_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_get::TAO_ClientRequestInfo_IR_FixedDef_scale_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_get::result (CORBA::Short result) -{ - // update the result - this->result_ = result; -} - -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_set::TAO_ClientRequestInfo_IR_FixedDef_scale_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::Short & scale, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - scale_ (scale) -{} - -Dynamic::ParameterList * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_scale = this->parameter_list_.length (); - this->parameter_list_.length (length_scale + 1); - this->parameter_list_[length_scale].argument <<= scale_; - this->parameter_list_[length_scale].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::FixedDef::TAO_ClientRequestInfo_IR_FixedDef_scale_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_FixedDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x69786564), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/FixedDef:1.0 - 9, ACE_NTOHL (0x46697865), ACE_NTOHL (0x64446566), ACE_NTOHL (0x0), // name = FixedDef + 9, ACE_NTOHL (0x46697865), ACE_NTOHL (0x64446566), ACE_NTOHL (0x0), // name = IR_FixedDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_FixedDef (CORBA::tk_objref, sizeof (_oc_IR_FixedDef), (char *) &_oc_IR_FixedDef, 0, sizeof (IR::FixedDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_FixedDef (CORBA::tk_objref, sizeof (_oc_IR_FixedDef), (char *) &_oc_IR_FixedDef, 0, sizeof (IR_FixedDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_FixedDef, &_tc_TAO_tc_IR_FixedDef) @@ -20119,15 +12983,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_SequenceDef_Proxy_Impl::_TAO_SequenceDef_Proxy_Impl (void) +_TAO_SequenceDef_Proxy_Impl::_TAO_SequenceDef_Proxy_Impl (void) {} -IR::_TAO_SequenceDef_Remote_Proxy_Impl::_TAO_SequenceDef_Remote_Proxy_Impl (void) +_TAO_SequenceDef_Remote_Proxy_Impl::_TAO_SequenceDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::ULong IR::_TAO_SequenceDef_Remote_Proxy_Impl::bound ( +CORBA::ULong _TAO_SequenceDef_Remote_Proxy_Impl::bound ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -20152,46 +13016,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_get ri ( - "_get_bound", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -20200,7 +13039,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -20210,44 +13049,18 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::ULong _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_SequenceDef_Remote_Proxy_Impl::bound ( +void _TAO_SequenceDef_Remote_Proxy_Impl::bound ( CORBA_Object *_collocated_tao_target_, CORBA::ULong bound, CORBA::Environment &ACE_TRY_ENV @@ -20256,15 +13069,10 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_bound", @@ -20273,56 +13081,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_set ri ( - "_set_bound", - _tao_call.service_info (), - _collocated_tao_target_, - bound, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << bound) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -20331,39 +13113,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::TypeCode_ptr IR::_TAO_SequenceDef_Remote_Proxy_Impl::element_type ( +CORBA::TypeCode_ptr _TAO_SequenceDef_Remote_Proxy_Impl::element_type ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -20389,46 +13148,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_get ri ( - "_get_element_type", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -20437,7 +13171,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -20447,45 +13181,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - CORBA::TypeCode_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::IDLType_ptr IR::_TAO_SequenceDef_Remote_Proxy_Impl::element_type_def ( +IR_IDLType_ptr _TAO_SequenceDef_Remote_Proxy_Impl::element_type_def ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -20494,8 +13201,8 @@ )) { - IR::IDLType_ptr _tao_retval = IR::IDLType::_nil (); - IR::IDLType_var _tao_safe_retval (_tao_retval); + IR_IDLType_ptr _tao_retval = IR_IDLType::_nil (); + IR_IDLType_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -20511,46 +13218,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_get ri ( - "_get_element_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -20559,7 +13241,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -20569,62 +13251,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::IDLType_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_SequenceDef_Remote_Proxy_Impl::element_type_def ( +void _TAO_SequenceDef_Remote_Proxy_Impl::element_type_def ( CORBA_Object *_collocated_tao_target_, - IR::IDLType_ptr element_type_def, + IR_IDLType_ptr element_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_element_type_def", @@ -20633,56 +13283,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_set ri ( - "_set_element_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - element_type_def, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << element_type_def) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -20691,36 +13315,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -20733,32 +13334,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_SequenceDef_Proxy_Broker::_TAO_SequenceDef_Proxy_Broker (void) +_TAO_SequenceDef_Proxy_Broker::_TAO_SequenceDef_Proxy_Broker (void) { } -IR::_TAO_SequenceDef_Proxy_Broker::~_TAO_SequenceDef_Proxy_Broker (void) +_TAO_SequenceDef_Proxy_Broker::~_TAO_SequenceDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_SequenceDef_Remote_Proxy_Broker *IR::_TAO_SequenceDef_Remote_Proxy_Broker::the_TAO_SequenceDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_SequenceDef_Remote_Proxy_Broker *the_TAO_SequenceDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_SequenceDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_SequenceDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_SequenceDef_Remote_Proxy_Broker::_TAO_SequenceDef_Remote_Proxy_Broker (void) +_TAO_SequenceDef_Remote_Proxy_Broker::_TAO_SequenceDef_Remote_Proxy_Broker (void) { } -IR::_TAO_SequenceDef_Remote_Proxy_Broker::~_TAO_SequenceDef_Remote_Proxy_Broker (void) +_TAO_SequenceDef_Remote_Proxy_Broker::~_TAO_SequenceDef_Remote_Proxy_Broker (void) { } -IR::_TAO_SequenceDef_Proxy_Impl& -IR::_TAO_SequenceDef_Remote_Proxy_Broker::select_proxy ( - ::IR::SequenceDef *object, +_TAO_SequenceDef_Proxy_Impl& +_TAO_SequenceDef_Remote_Proxy_Broker::select_proxy ( + ::IR_SequenceDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -20774,110 +13375,110 @@ // default constructor -IR::SequenceDef::SequenceDef (int collocated) +IR_SequenceDef::IR_SequenceDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::SequenceDef::~SequenceDef (void) +IR_SequenceDef::~IR_SequenceDef (void) {} void -IR::SequenceDef::_tao_setup_collocation (int collocated) +IR_SequenceDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_SequenceDef_Proxy_Broker_ = - ::IR__TAO_SequenceDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_SequenceDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_SequenceDef_Proxy_Broker_ = - ::IR::_TAO_SequenceDef_Remote_Proxy_Broker::the_TAO_SequenceDef_Remote_Proxy_Broker (); + ::the_TAO_SequenceDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,IDLType)::_tao_setup_collocation (collocated); + IR_IDLType::_tao_setup_collocation (collocated); } -void IR::SequenceDef::_tao_any_destructor (void *x) +void IR_SequenceDef::_tao_any_destructor (void *x) { - SequenceDef *tmp = ACE_static_cast (SequenceDef*,x); + IR_SequenceDef *tmp = ACE_static_cast (IR_SequenceDef*,x); CORBA::release (tmp); } -IR::SequenceDef_ptr IR::SequenceDef::_narrow ( +IR_SequenceDef_ptr IR_SequenceDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return SequenceDef::_nil (); + return IR_SequenceDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/SequenceDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (SequenceDef::_nil ()); + ACE_CHECK_RETURN (IR_SequenceDef::_nil ()); if (is_a == 0) - return SequenceDef::_nil (); + return IR_SequenceDef::_nil (); } - return SequenceDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_SequenceDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::SequenceDef_ptr IR::SequenceDef::_unchecked_narrow ( +IR_SequenceDef_ptr IR_SequenceDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return SequenceDef::_nil (); + return IR_SequenceDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - SequenceDef_ptr default_proxy = SequenceDef::_nil (); + IR_SequenceDef_ptr default_proxy = IR_SequenceDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_SequenceDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_SequenceDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::SequenceDef ( + ::IR_SequenceDef ( stub, 1, obj->_servant ()), - SequenceDef::_nil ()); + IR_SequenceDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::SequenceDef (stub, 0, obj->_servant ()), SequenceDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_SequenceDef (stub, 0, obj->_servant ()), IR_SequenceDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - SequenceDef_ptr, + IR_SequenceDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &SequenceDef::_narrow + &IR_SequenceDef::_narrow ) ) ); } -IR::SequenceDef_ptr -IR::SequenceDef::_duplicate (SequenceDef_ptr obj) +IR_SequenceDef_ptr +IR_SequenceDef::_duplicate (IR_SequenceDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::SequenceDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_SequenceDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/SequenceDef:1.0")) || @@ -20889,34 +13490,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::SequenceDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_SequenceDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, SequenceDef)::_narrow)) + &IR_SequenceDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -20929,12 +13530,12 @@ return retv; } -const char* IR::SequenceDef::_interface_repository_id (void) const +const char* IR_SequenceDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/SequenceDef:1.0"; } -CORBA::ULong IR::SequenceDef::bound ( +CORBA::ULong IR_SequenceDef::bound ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -20948,7 +13549,7 @@ ); } -void IR::SequenceDef::bound ( +void IR_SequenceDef::bound ( CORBA::ULong bound, CORBA::Environment &ACE_TRY_ENV ) @@ -20964,7 +13565,7 @@ ); } -CORBA::TypeCode_ptr IR::SequenceDef::element_type ( +CORBA::TypeCode_ptr IR_SequenceDef::element_type ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -20978,7 +13579,7 @@ ); } -IR::IDLType_ptr IR::SequenceDef::element_type_def ( +IR_IDLType_ptr IR_SequenceDef::element_type_def ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -20992,8 +13593,8 @@ ); } -void IR::SequenceDef::element_type_def ( - IR::IDLType_ptr element_type_def, +void IR_SequenceDef::element_type_def ( + IR_IDLType_ptr element_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -21008,233 +13609,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_get::TAO_ClientRequestInfo_IR_SequenceDef_bound_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_get::result (CORBA::ULong result) -{ - // update the result - this->result_ = result; -} - -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_set::TAO_ClientRequestInfo_IR_SequenceDef_bound_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::ULong & bound, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - bound_ (bound) -{} - -Dynamic::ParameterList * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_bound = this->parameter_list_.length (); - this->parameter_list_.length (length_bound + 1); - this->parameter_list_[length_bound].argument <<= bound_; - this->parameter_list_[length_bound].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_bound_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_get::TAO_ClientRequestInfo_IR_SequenceDef_element_type_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_get::result (CORBA::TypeCode_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_get::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_get::result (IR::IDLType_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_set::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::IDLType_ptr element_type_def, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - element_type_def_ (element_type_def) -{} - -Dynamic::ParameterList * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_element_type_def = this->parameter_list_.length (); - this->parameter_list_.length (length_element_type_def + 1); - this->parameter_list_[length_element_type_def].argument <<= this->element_type_def_; - - this->parameter_list_[length_element_type_def].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::SequenceDef::TAO_ClientRequestInfo_IR_SequenceDef_element_type_def_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_SequenceDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x65717565), ACE_NTOHL (0x6e636544), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/SequenceDef:1.0 - 12, ACE_NTOHL (0x53657175), ACE_NTOHL (0x656e6365), ACE_NTOHL (0x44656600), // name = SequenceDef + 12, ACE_NTOHL (0x53657175), ACE_NTOHL (0x656e6365), ACE_NTOHL (0x44656600), // name = IR_SequenceDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_SequenceDef (CORBA::tk_objref, sizeof (_oc_IR_SequenceDef), (char *) &_oc_IR_SequenceDef, 0, sizeof (IR::SequenceDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_SequenceDef (CORBA::tk_objref, sizeof (_oc_IR_SequenceDef), (char *) &_oc_IR_SequenceDef, 0, sizeof (IR_SequenceDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_SequenceDef, &_tc_TAO_tc_IR_SequenceDef) @@ -21244,15 +13625,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_ArrayDef_Proxy_Impl::_TAO_ArrayDef_Proxy_Impl (void) +_TAO_ArrayDef_Proxy_Impl::_TAO_ArrayDef_Proxy_Impl (void) {} -IR::_TAO_ArrayDef_Remote_Proxy_Impl::_TAO_ArrayDef_Remote_Proxy_Impl (void) +_TAO_ArrayDef_Remote_Proxy_Impl::_TAO_ArrayDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::ULong IR::_TAO_ArrayDef_Remote_Proxy_Impl::length ( +CORBA::ULong _TAO_ArrayDef_Remote_Proxy_Impl::length ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -21274,49 +13655,24 @@ "_get_length", 11, 0, - istub->orb_core () - ); - -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_get ri ( - "_get_length", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV + istub->orb_core () ); - ACE_CHECK_RETURN (_tao_retval); - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -21325,7 +13681,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -21335,44 +13691,18 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::ULong _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_ArrayDef_Remote_Proxy_Impl::length ( +void _TAO_ArrayDef_Remote_Proxy_Impl::length ( CORBA_Object *_collocated_tao_target_, CORBA::ULong length, CORBA::Environment &ACE_TRY_ENV @@ -21381,15 +13711,10 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_length", @@ -21398,56 +13723,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_set ri ( - "_set_length", - _tao_call.service_info (), - _collocated_tao_target_, - length, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << length) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -21456,39 +13755,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::TypeCode_ptr IR::_TAO_ArrayDef_Remote_Proxy_Impl::element_type ( +CORBA::TypeCode_ptr _TAO_ArrayDef_Remote_Proxy_Impl::element_type ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -21514,46 +13790,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_get ri ( - "_get_element_type", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -21562,7 +13813,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -21572,45 +13823,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - CORBA::TypeCode_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::IDLType_ptr IR::_TAO_ArrayDef_Remote_Proxy_Impl::element_type_def ( +IR_IDLType_ptr _TAO_ArrayDef_Remote_Proxy_Impl::element_type_def ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -21619,8 +13843,8 @@ )) { - IR::IDLType_ptr _tao_retval = IR::IDLType::_nil (); - IR::IDLType_var _tao_safe_retval (_tao_retval); + IR_IDLType_ptr _tao_retval = IR_IDLType::_nil (); + IR_IDLType_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -21636,46 +13860,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_get ri ( - "_get_element_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -21684,7 +13883,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -21694,62 +13893,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::IDLType_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ArrayDef_Remote_Proxy_Impl::element_type_def ( +void _TAO_ArrayDef_Remote_Proxy_Impl::element_type_def ( CORBA_Object *_collocated_tao_target_, - IR::IDLType_ptr element_type_def, + IR_IDLType_ptr element_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_element_type_def", @@ -21758,56 +13925,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_set ri ( - "_set_element_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - element_type_def, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << element_type_def) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -21816,36 +13957,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -21858,32 +13976,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ArrayDef_Proxy_Broker::_TAO_ArrayDef_Proxy_Broker (void) +_TAO_ArrayDef_Proxy_Broker::_TAO_ArrayDef_Proxy_Broker (void) { } -IR::_TAO_ArrayDef_Proxy_Broker::~_TAO_ArrayDef_Proxy_Broker (void) +_TAO_ArrayDef_Proxy_Broker::~_TAO_ArrayDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ArrayDef_Remote_Proxy_Broker *IR::_TAO_ArrayDef_Remote_Proxy_Broker::the_TAO_ArrayDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ArrayDef_Remote_Proxy_Broker *the_TAO_ArrayDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ArrayDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ArrayDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ArrayDef_Remote_Proxy_Broker::_TAO_ArrayDef_Remote_Proxy_Broker (void) +_TAO_ArrayDef_Remote_Proxy_Broker::_TAO_ArrayDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ArrayDef_Remote_Proxy_Broker::~_TAO_ArrayDef_Remote_Proxy_Broker (void) +_TAO_ArrayDef_Remote_Proxy_Broker::~_TAO_ArrayDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ArrayDef_Proxy_Impl& -IR::_TAO_ArrayDef_Remote_Proxy_Broker::select_proxy ( - ::IR::ArrayDef *object, +_TAO_ArrayDef_Proxy_Impl& +_TAO_ArrayDef_Remote_Proxy_Broker::select_proxy ( + ::IR_ArrayDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -21899,110 +14017,110 @@ // default constructor -IR::ArrayDef::ArrayDef (int collocated) +IR_ArrayDef::IR_ArrayDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ArrayDef::~ArrayDef (void) +IR_ArrayDef::~IR_ArrayDef (void) {} void -IR::ArrayDef::_tao_setup_collocation (int collocated) +IR_ArrayDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ArrayDef_Proxy_Broker_ = - ::IR__TAO_ArrayDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_ArrayDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ArrayDef_Proxy_Broker_ = - ::IR::_TAO_ArrayDef_Remote_Proxy_Broker::the_TAO_ArrayDef_Remote_Proxy_Broker (); + ::the_TAO_ArrayDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,IDLType)::_tao_setup_collocation (collocated); + IR_IDLType::_tao_setup_collocation (collocated); } -void IR::ArrayDef::_tao_any_destructor (void *x) +void IR_ArrayDef::_tao_any_destructor (void *x) { - ArrayDef *tmp = ACE_static_cast (ArrayDef*,x); + IR_ArrayDef *tmp = ACE_static_cast (IR_ArrayDef*,x); CORBA::release (tmp); } -IR::ArrayDef_ptr IR::ArrayDef::_narrow ( +IR_ArrayDef_ptr IR_ArrayDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ArrayDef::_nil (); + return IR_ArrayDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ArrayDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ArrayDef::_nil ()); + ACE_CHECK_RETURN (IR_ArrayDef::_nil ()); if (is_a == 0) - return ArrayDef::_nil (); + return IR_ArrayDef::_nil (); } - return ArrayDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ArrayDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ArrayDef_ptr IR::ArrayDef::_unchecked_narrow ( +IR_ArrayDef_ptr IR_ArrayDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ArrayDef::_nil (); + return IR_ArrayDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ArrayDef_ptr default_proxy = ArrayDef::_nil (); + IR_ArrayDef_ptr default_proxy = IR_ArrayDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ArrayDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ArrayDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ArrayDef ( + ::IR_ArrayDef ( stub, 1, obj->_servant ()), - ArrayDef::_nil ()); + IR_ArrayDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ArrayDef (stub, 0, obj->_servant ()), ArrayDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ArrayDef (stub, 0, obj->_servant ()), IR_ArrayDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ArrayDef_ptr, + IR_ArrayDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ArrayDef::_narrow + &IR_ArrayDef::_narrow ) ) ); } -IR::ArrayDef_ptr -IR::ArrayDef::_duplicate (ArrayDef_ptr obj) +IR_ArrayDef_ptr +IR_ArrayDef::_duplicate (IR_ArrayDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ArrayDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ArrayDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ArrayDef:1.0")) || @@ -22014,34 +14132,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ArrayDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_ArrayDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ArrayDef)::_narrow)) + &IR_ArrayDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -22054,12 +14172,12 @@ return retv; } -const char* IR::ArrayDef::_interface_repository_id (void) const +const char* IR_ArrayDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/ArrayDef:1.0"; } -CORBA::ULong IR::ArrayDef::length ( +CORBA::ULong IR_ArrayDef::length ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -22073,7 +14191,7 @@ ); } -void IR::ArrayDef::length ( +void IR_ArrayDef::length ( CORBA::ULong length, CORBA::Environment &ACE_TRY_ENV ) @@ -22089,7 +14207,7 @@ ); } -CORBA::TypeCode_ptr IR::ArrayDef::element_type ( +CORBA::TypeCode_ptr IR_ArrayDef::element_type ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -22103,7 +14221,7 @@ ); } -IR::IDLType_ptr IR::ArrayDef::element_type_def ( +IR_IDLType_ptr IR_ArrayDef::element_type_def ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -22117,8 +14235,8 @@ ); } -void IR::ArrayDef::element_type_def ( - IR::IDLType_ptr element_type_def, +void IR_ArrayDef::element_type_def ( + IR_IDLType_ptr element_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -22133,233 +14251,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_get::TAO_ClientRequestInfo_IR_ArrayDef_length_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_get::result (CORBA::ULong result) -{ - // update the result - this->result_ = result; -} - -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_set::TAO_ClientRequestInfo_IR_ArrayDef_length_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::ULong & length, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - length_ (length) -{} - -Dynamic::ParameterList * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_length = this->parameter_list_.length (); - this->parameter_list_.length (length_length + 1); - this->parameter_list_[length_length].argument <<= length_; - this->parameter_list_[length_length].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_length_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_get::TAO_ClientRequestInfo_IR_ArrayDef_element_type_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_get::result (CORBA::TypeCode_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_get::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_get::result (IR::IDLType_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_set::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::IDLType_ptr element_type_def, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - element_type_def_ (element_type_def) -{} - -Dynamic::ParameterList * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_element_type_def = this->parameter_list_.length (); - this->parameter_list_.length (length_element_type_def + 1); - this->parameter_list_[length_element_type_def].argument <<= this->element_type_def_; - - this->parameter_list_[length_element_type_def].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ArrayDef::TAO_ClientRequestInfo_IR_ArrayDef_element_type_def_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ArrayDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f41), ACE_NTOHL (0x72726179), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/ArrayDef:1.0 - 9, ACE_NTOHL (0x41727261), ACE_NTOHL (0x79446566), ACE_NTOHL (0x0), // name = ArrayDef + 9, ACE_NTOHL (0x41727261), ACE_NTOHL (0x79446566), ACE_NTOHL (0x0), // name = IR_ArrayDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ArrayDef (CORBA::tk_objref, sizeof (_oc_IR_ArrayDef), (char *) &_oc_IR_ArrayDef, 0, sizeof (IR::ArrayDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_ArrayDef (CORBA::tk_objref, sizeof (_oc_IR_ArrayDef), (char *) &_oc_IR_ArrayDef, 0, sizeof (IR_ArrayDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ArrayDef, &_tc_TAO_tc_IR_ArrayDef) @@ -22369,15 +14267,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_ExceptionDef_Proxy_Impl::_TAO_ExceptionDef_Proxy_Impl (void) +_TAO_ExceptionDef_Proxy_Impl::_TAO_ExceptionDef_Proxy_Impl (void) {} -IR::_TAO_ExceptionDef_Remote_Proxy_Impl::_TAO_ExceptionDef_Remote_Proxy_Impl (void) +_TAO_ExceptionDef_Remote_Proxy_Impl::_TAO_ExceptionDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::TypeCode_ptr IR::_TAO_ExceptionDef_Remote_Proxy_Impl::type ( +CORBA::TypeCode_ptr _TAO_ExceptionDef_Remote_Proxy_Impl::type ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -22403,46 +14301,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_type_get ri ( - "_get_type", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -22451,7 +14324,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -22461,45 +14334,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - CORBA::TypeCode_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::StructMemberSeq * IR::_TAO_ExceptionDef_Remote_Proxy_Impl::members ( +IR_StructMemberSeq * _TAO_ExceptionDef_Remote_Proxy_Impl::members ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -22508,7 +14354,7 @@ )) { - IR::StructMemberSeq *_tao_retval = 0; + IR_StructMemberSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -22516,8 +14362,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::StructMemberSeq, _tao_retval); - IR::StructMemberSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_StructMemberSeq, _tao_retval); + IR_StructMemberSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_members", @@ -22526,46 +14372,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_get ri ( - "_get_members", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -22574,7 +14395,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -22584,62 +14405,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::StructMemberSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ExceptionDef_Remote_Proxy_Impl::members ( +void _TAO_ExceptionDef_Remote_Proxy_Impl::members ( CORBA_Object *_collocated_tao_target_, - const IR::StructMemberSeq & members, + const IR_StructMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_members", @@ -22648,56 +14437,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_set ri ( - "_set_members", - _tao_call.service_info (), - _collocated_tao_target_, - members, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << members) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -22706,36 +14469,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -22748,32 +14488,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ExceptionDef_Proxy_Broker::_TAO_ExceptionDef_Proxy_Broker (void) +_TAO_ExceptionDef_Proxy_Broker::_TAO_ExceptionDef_Proxy_Broker (void) { } -IR::_TAO_ExceptionDef_Proxy_Broker::~_TAO_ExceptionDef_Proxy_Broker (void) +_TAO_ExceptionDef_Proxy_Broker::~_TAO_ExceptionDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ExceptionDef_Remote_Proxy_Broker *IR::_TAO_ExceptionDef_Remote_Proxy_Broker::the_TAO_ExceptionDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ExceptionDef_Remote_Proxy_Broker *the_TAO_ExceptionDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ExceptionDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ExceptionDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ExceptionDef_Remote_Proxy_Broker::_TAO_ExceptionDef_Remote_Proxy_Broker (void) +_TAO_ExceptionDef_Remote_Proxy_Broker::_TAO_ExceptionDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ExceptionDef_Remote_Proxy_Broker::~_TAO_ExceptionDef_Remote_Proxy_Broker (void) +_TAO_ExceptionDef_Remote_Proxy_Broker::~_TAO_ExceptionDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ExceptionDef_Proxy_Impl& -IR::_TAO_ExceptionDef_Remote_Proxy_Broker::select_proxy ( - ::IR::ExceptionDef *object, +_TAO_ExceptionDef_Proxy_Impl& +_TAO_ExceptionDef_Remote_Proxy_Broker::select_proxy ( + ::IR_ExceptionDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -22789,111 +14529,111 @@ // default constructor -IR::ExceptionDef::ExceptionDef (int collocated) +IR_ExceptionDef::IR_ExceptionDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ExceptionDef::~ExceptionDef (void) +IR_ExceptionDef::~IR_ExceptionDef (void) {} void -IR::ExceptionDef::_tao_setup_collocation (int collocated) +IR_ExceptionDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ExceptionDef_Proxy_Broker_ = - ::IR__TAO_ExceptionDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_ExceptionDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ExceptionDef_Proxy_Broker_ = - ::IR::_TAO_ExceptionDef_Remote_Proxy_Broker::the_TAO_ExceptionDef_Remote_Proxy_Broker (); + ::the_TAO_ExceptionDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); - ACE_NESTED_CLASS (IR,Container)::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); + IR_Container::_tao_setup_collocation (collocated); } -void IR::ExceptionDef::_tao_any_destructor (void *x) +void IR_ExceptionDef::_tao_any_destructor (void *x) { - ExceptionDef *tmp = ACE_static_cast (ExceptionDef*,x); + IR_ExceptionDef *tmp = ACE_static_cast (IR_ExceptionDef*,x); CORBA::release (tmp); } -IR::ExceptionDef_ptr IR::ExceptionDef::_narrow ( +IR_ExceptionDef_ptr IR_ExceptionDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ExceptionDef::_nil (); + return IR_ExceptionDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ExceptionDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ExceptionDef::_nil ()); + ACE_CHECK_RETURN (IR_ExceptionDef::_nil ()); if (is_a == 0) - return ExceptionDef::_nil (); + return IR_ExceptionDef::_nil (); } - return ExceptionDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ExceptionDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ExceptionDef_ptr IR::ExceptionDef::_unchecked_narrow ( +IR_ExceptionDef_ptr IR_ExceptionDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ExceptionDef::_nil (); + return IR_ExceptionDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ExceptionDef_ptr default_proxy = ExceptionDef::_nil (); + IR_ExceptionDef_ptr default_proxy = IR_ExceptionDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ExceptionDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ExceptionDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ExceptionDef ( + ::IR_ExceptionDef ( stub, 1, obj->_servant ()), - ExceptionDef::_nil ()); + IR_ExceptionDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ExceptionDef (stub, 0, obj->_servant ()), ExceptionDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ExceptionDef (stub, 0, obj->_servant ()), IR_ExceptionDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ExceptionDef_ptr, + IR_ExceptionDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ExceptionDef::_narrow + &IR_ExceptionDef::_narrow ) ) ); } -IR::ExceptionDef_ptr -IR::ExceptionDef::_duplicate (ExceptionDef_ptr obj) +IR_ExceptionDef_ptr +IR_ExceptionDef::_duplicate (IR_ExceptionDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ExceptionDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ExceptionDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ExceptionDef:1.0")) || @@ -22906,46 +14646,46 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ExceptionDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_ExceptionDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ExceptionDef)::_narrow)) + &IR_ExceptionDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Container_ptr, + IR_Container_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -22958,12 +14698,12 @@ return retv; } -const char* IR::ExceptionDef::_interface_repository_id (void) const +const char* IR_ExceptionDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/ExceptionDef:1.0"; } -CORBA::TypeCode_ptr IR::ExceptionDef::type ( +CORBA::TypeCode_ptr IR_ExceptionDef::type ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -22977,7 +14717,7 @@ ); } -IR::StructMemberSeq * IR::ExceptionDef::members ( +IR_StructMemberSeq * IR_ExceptionDef::members ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -22991,8 +14731,8 @@ ); } -void IR::ExceptionDef::members ( - const IR::StructMemberSeq & members, +void IR_ExceptionDef::members ( + const IR_StructMemberSeq & members, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -23007,150 +14747,18 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_type_get::TAO_ClientRequestInfo_IR_ExceptionDef_type_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_type_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_type_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_type_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_type_get::result (CORBA::TypeCode_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_get::TAO_ClientRequestInfo_IR_ExceptionDef_members_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_get::result (IR::StructMemberSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_set::TAO_ClientRequestInfo_IR_ExceptionDef_members_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::StructMemberSeq & members, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - members_ (members) -{} - -Dynamic::ParameterList * -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_members = this->parameter_list_.length (); - this->parameter_list_.length (length_members + 1); - this->parameter_list_[length_members].argument <<= this->members_; - - this->parameter_list_[length_members].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ExceptionDef::TAO_ClientRequestInfo_IR_ExceptionDef_members_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ExceptionDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f45), ACE_NTOHL (0x78636570), ACE_NTOHL (0x74696f6e), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/ExceptionDef:1.0 - 13, ACE_NTOHL (0x45786365), ACE_NTOHL (0x7074696f), ACE_NTOHL (0x6e446566), ACE_NTOHL (0x0), // name = ExceptionDef + 13, ACE_NTOHL (0x45786365), ACE_NTOHL (0x7074696f), ACE_NTOHL (0x6e446566), ACE_NTOHL (0x0), // name = IR_ExceptionDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ExceptionDef (CORBA::tk_objref, sizeof (_oc_IR_ExceptionDef), (char *) &_oc_IR_ExceptionDef, 0, sizeof (IR::ExceptionDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_ExceptionDef (CORBA::tk_objref, sizeof (_oc_IR_ExceptionDef), (char *) &_oc_IR_ExceptionDef, 0, sizeof (IR_ExceptionDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ExceptionDef, &_tc_TAO_tc_IR_ExceptionDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_ExceptionDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -23197,36 +14805,33 @@ CORBA::tk_TypeCode, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ExceptionDescription (CORBA::tk_struct, sizeof (_oc_IR_ExceptionDescription), (char *) &_oc_IR_ExceptionDescription, 0, sizeof (IR::ExceptionDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_ExceptionDescription (CORBA::tk_struct, sizeof (_oc_IR_ExceptionDescription), (char *) &_oc_IR_ExceptionDescription, 0, sizeof (IR_ExceptionDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ExceptionDescription, &_tc_TAO_tc_IR_ExceptionDescription) TAO_NAMESPACE_END -void IR::ExceptionDescription::_tao_any_destructor (void *x) + +void IR_ExceptionDescription::_tao_any_destructor (void *x) { - ExceptionDescription *tmp = ACE_static_cast (ExceptionDescription*,x); + IR_ExceptionDescription *tmp = ACE_static_cast (IR_ExceptionDescription*,x); delete tmp; } - #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_EXCEPTIONDEFSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_OBJECT_SEQUENCE_IR_EXCEPTIONDEFSEQ_CS_ - // The Base_Sequence functions, please see tao/Sequence.h void - IR::_TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::_allocate_buffer (CORBA::ULong length) { - IR::ExceptionDef **tmp = 0; + IR_ExceptionDef **tmp = 0; tmp = _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::ExceptionDef **old = ACE_reinterpret_cast (IR::ExceptionDef**, this->buffer_); + IR_ExceptionDef **old = ACE_reinterpret_cast (IR_ExceptionDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) if (!this->release_) - tmp[i] = IR::ExceptionDef::_duplicate (old[i]); + tmp[i] = IR_ExceptionDef::_duplicate (old[i]); else tmp[i] = old[i]; @@ -23238,106 +14843,97 @@ } void - IR::_TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::_deallocate_buffer (void) + _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::ExceptionDef **tmp = ACE_reinterpret_cast (IR::ExceptionDef**, this->buffer_); + IR_ExceptionDef **tmp = ACE_reinterpret_cast (IR_ExceptionDef**, this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::ExceptionDef::_nil (); + tmp[i] = IR_ExceptionDef::_nil (); } _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::~_TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq (void) + _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::~_TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq (void) { this->_deallocate_buffer (); } void - IR::_TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) + _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol) { - IR::ExceptionDef **tmp = ACE_reinterpret_cast (IR::ExceptionDef**, this->buffer_); + IR_ExceptionDef **tmp = ACE_reinterpret_cast (IR_ExceptionDef**, this->buffer_); for (CORBA::ULong i = nl; i < ol; ++i) { CORBA::release (tmp[i]); - tmp[i] = IR::ExceptionDef::_nil (); + tmp[i] = IR_ExceptionDef::_nil (); } } void - IR::_TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::_downcast ( + _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::_downcast ( void* target, CORBA_Object *src, CORBA_Environment &ACE_TRY_ENV ) { - IR::ExceptionDef **tmp = ACE_static_cast (IR::ExceptionDef**, target); - *tmp = IR::ExceptionDef::_narrow (src, ACE_TRY_ENV); + IR_ExceptionDef **tmp = ACE_static_cast (IR_ExceptionDef**, target); + *tmp = IR_ExceptionDef::_narrow (src, ACE_TRY_ENV); } CORBA_Object* - IR::_TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::_upcast (void *src) const + _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq::_upcast (void *src) const { - IR::ExceptionDef **tmp = ACE_static_cast (IR::ExceptionDef**, src); + IR_ExceptionDef **tmp = ACE_static_cast (IR_ExceptionDef**, src); return *tmp; } -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_EXCEPTIONDEFSEQ_CS_) -#define _TAO_IR_EXCEPTIONDEFSEQ_CS_ - // ************************************************************* -// IR::ExceptionDefSeq +// IR_ExceptionDefSeq // ************************************************************* -IR::ExceptionDefSeq::ExceptionDefSeq (void) +IR_ExceptionDefSeq::IR_ExceptionDefSeq (void) {} -IR::ExceptionDefSeq::ExceptionDefSeq (CORBA::ULong max) // uses max size +IR_ExceptionDefSeq::IR_ExceptionDefSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ExceptionDefSeq::ExceptionDefSeq (CORBA::ULong max, CORBA::ULong length, IR::ExceptionDef_ptr *buffer, CORBA::Boolean release) +IR_ExceptionDefSeq::IR_ExceptionDefSeq (CORBA::ULong max, CORBA::ULong length, IR_ExceptionDef_ptr *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ExceptionDefSeq::ExceptionDefSeq (const ExceptionDefSeq &seq) // copy ctor +IR_ExceptionDefSeq::IR_ExceptionDefSeq (const IR_ExceptionDefSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_IR_ExceptionDefSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Object_Sequence + TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ExceptionDefSeq::~ExceptionDefSeq (void) // dtor +IR_ExceptionDefSeq::~IR_ExceptionDefSeq (void) // dtor {} -void IR::ExceptionDefSeq::_tao_any_destructor (void *x) +void IR_ExceptionDefSeq::_tao_any_destructor (void *x) { - ExceptionDefSeq *tmp = ACE_static_cast (ExceptionDefSeq*,x); + IR_ExceptionDefSeq *tmp = ACE_static_cast (IR_ExceptionDefSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ExceptionDefSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -23350,12 +14946,12 @@ 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f45), ACE_NTOHL (0x78636570), ACE_NTOHL (0x74696f6e), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/ExceptionDef:1.0 - 13, ACE_NTOHL (0x45786365), ACE_NTOHL (0x7074696f), ACE_NTOHL (0x6e446566), ACE_NTOHL (0x0), // name = ExceptionDef + 13, ACE_NTOHL (0x45786365), ACE_NTOHL (0x7074696f), ACE_NTOHL (0x6e446566), ACE_NTOHL (0x0), // name = IR_ExceptionDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ExceptionDefSeq (CORBA::tk_alias, sizeof (_oc_IR_ExceptionDefSeq), (char *) &_oc_IR_ExceptionDefSeq, 0, sizeof (IR::ExceptionDefSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ExceptionDefSeq (CORBA::tk_alias, sizeof (_oc_IR_ExceptionDefSeq), (char *) &_oc_IR_ExceptionDefSeq, 0, sizeof (IR_ExceptionDefSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ExceptionDefSeq, &_tc_TAO_tc_IR_ExceptionDefSeq) @@ -23363,18 +14959,15 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_EXCDESCRIPTIONSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_EXCDESCRIPTIONSEQ_CS_ - void - IR::_TAO_Unbounded_Sequence_IR_ExcDescriptionSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Sequence_IR_ExcDescriptionSeq::_allocate_buffer (CORBA::ULong length) { - IR::ExceptionDescription* tmp = 0; + IR_ExceptionDescription* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_ExcDescriptionSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::ExceptionDescription *old = ACE_reinterpret_cast (IR::ExceptionDescription *,this->buffer_); + IR_ExceptionDescription *old = ACE_reinterpret_cast (IR_ExceptionDescription *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -23387,75 +14980,65 @@ } void - IR::_TAO_Unbounded_Sequence_IR_ExcDescriptionSeq::_deallocate_buffer (void) + _TAO_Unbounded_Sequence_IR_ExcDescriptionSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::ExceptionDescription *tmp = ACE_reinterpret_cast (IR::ExceptionDescription *,this->buffer_); + IR_ExceptionDescription *tmp = ACE_reinterpret_cast (IR_ExceptionDescription *,this->buffer_); _TAO_Unbounded_Sequence_IR_ExcDescriptionSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Sequence_IR_ExcDescriptionSeq::~_TAO_Unbounded_Sequence_IR_ExcDescriptionSeq (void) // Dtor. + _TAO_Unbounded_Sequence_IR_ExcDescriptionSeq::~_TAO_Unbounded_Sequence_IR_ExcDescriptionSeq (void) // Dtor. { this->_deallocate_buffer (); } - -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_EXCDESCRIPTIONSEQ_CS_) -#define _TAO_IR_EXCDESCRIPTIONSEQ_CS_ - // ************************************************************* -// IR::ExcDescriptionSeq +// IR_ExcDescriptionSeq // ************************************************************* -IR::ExcDescriptionSeq::ExcDescriptionSeq (void) +IR_ExcDescriptionSeq::IR_ExcDescriptionSeq (void) {} -IR::ExcDescriptionSeq::ExcDescriptionSeq (CORBA::ULong max) // uses max size +IR_ExcDescriptionSeq::IR_ExcDescriptionSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ExcDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ExcDescriptionSeq::ExcDescriptionSeq (CORBA::ULong max, CORBA::ULong length, IR::ExceptionDescription *buffer, CORBA::Boolean release) +IR_ExcDescriptionSeq::IR_ExcDescriptionSeq (CORBA::ULong max, CORBA::ULong length, IR_ExceptionDescription *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ExcDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ExcDescriptionSeq::ExcDescriptionSeq (const ExcDescriptionSeq &seq) // copy ctor +IR_ExcDescriptionSeq::IR_ExcDescriptionSeq (const IR_ExcDescriptionSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ExcDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ExcDescriptionSeq::~ExcDescriptionSeq (void) // dtor +IR_ExcDescriptionSeq::~IR_ExcDescriptionSeq (void) // dtor {} -void IR::ExcDescriptionSeq::_tao_any_destructor (void *x) +void IR_ExcDescriptionSeq::_tao_any_destructor (void *x) { - ExcDescriptionSeq *tmp = ACE_static_cast (ExcDescriptionSeq*,x); + IR_ExcDescriptionSeq *tmp = ACE_static_cast (IR_ExcDescriptionSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ExcDescriptionSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -23513,11 +15096,12 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ExcDescriptionSeq (CORBA::tk_alias, sizeof (_oc_IR_ExcDescriptionSeq), (char *) &_oc_IR_ExcDescriptionSeq, 0, sizeof (IR::ExcDescriptionSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ExcDescriptionSeq (CORBA::tk_alias, sizeof (_oc_IR_ExcDescriptionSeq), (char *) &_oc_IR_ExcDescriptionSeq, 0, sizeof (IR_ExcDescriptionSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ExcDescriptionSeq, &_tc_TAO_tc_IR_ExcDescriptionSeq) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_AttributeMode[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -23527,7 +15111,7 @@ 12, ACE_NTOHL (0x41545452), ACE_NTOHL (0x5f4e4f52), ACE_NTOHL (0x4d414c00), // name = ATTR_NORMAL 14, ACE_NTOHL (0x41545452), ACE_NTOHL (0x5f524541), ACE_NTOHL (0x444f4e4c), ACE_NTOHL (0x59000000), // name = ATTR_READONLY }; -static CORBA::TypeCode _tc_TAO_tc_IR_AttributeMode (CORBA::tk_enum, sizeof (_oc_IR_AttributeMode), (char *) &_oc_IR_AttributeMode, 0, sizeof (IR::AttributeMode)); +static CORBA::TypeCode _tc_TAO_tc_IR_AttributeMode (CORBA::tk_enum, sizeof (_oc_IR_AttributeMode), (char *) &_oc_IR_AttributeMode, 0, sizeof (IR_AttributeMode)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_AttributeMode, &_tc_TAO_tc_IR_AttributeMode) @@ -23537,15 +15121,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_AttributeDef_Proxy_Impl::_TAO_AttributeDef_Proxy_Impl (void) +_TAO_AttributeDef_Proxy_Impl::_TAO_AttributeDef_Proxy_Impl (void) {} -IR::_TAO_AttributeDef_Remote_Proxy_Impl::_TAO_AttributeDef_Remote_Proxy_Impl (void) +_TAO_AttributeDef_Remote_Proxy_Impl::_TAO_AttributeDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::TypeCode_ptr IR::_TAO_AttributeDef_Remote_Proxy_Impl::type ( +CORBA::TypeCode_ptr _TAO_AttributeDef_Remote_Proxy_Impl::type ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -23571,46 +15155,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_get ri ( - "_get_type", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -23619,7 +15178,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -23629,45 +15188,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - CORBA::TypeCode_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::IDLType_ptr IR::_TAO_AttributeDef_Remote_Proxy_Impl::type_def ( +IR_IDLType_ptr _TAO_AttributeDef_Remote_Proxy_Impl::type_def ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -23676,8 +15208,8 @@ )) { - IR::IDLType_ptr _tao_retval = IR::IDLType::_nil (); - IR::IDLType_var _tao_safe_retval (_tao_retval); + IR_IDLType_ptr _tao_retval = IR_IDLType::_nil (); + IR_IDLType_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -23693,46 +15225,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_get ri ( - "_get_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -23741,7 +15248,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -23751,62 +15258,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::IDLType_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_AttributeDef_Remote_Proxy_Impl::type_def ( +void _TAO_AttributeDef_Remote_Proxy_Impl::type_def ( CORBA_Object *_collocated_tao_target_, - IR::IDLType_ptr type_def, + IR_IDLType_ptr type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_type_def", @@ -23815,56 +15290,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_set ri ( - "_set_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - type_def, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << type_def) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -23873,39 +15322,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::AttributeMode IR::_TAO_AttributeDef_Remote_Proxy_Impl::mode ( +IR_AttributeMode _TAO_AttributeDef_Remote_Proxy_Impl::mode ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -23914,7 +15340,7 @@ )) { - IR::AttributeMode _tao_retval = (IR::AttributeMode)0; + IR_AttributeMode _tao_retval = (IR_AttributeMode)0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -23930,46 +15356,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_get ri ( - "_get_mode", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -23978,7 +15379,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -23988,61 +15389,30 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - IR::AttributeMode _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_AttributeDef_Remote_Proxy_Impl::mode ( +void _TAO_AttributeDef_Remote_Proxy_Impl::mode ( CORBA_Object *_collocated_tao_target_, - IR::AttributeMode mode, + IR_AttributeMode mode, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_mode", @@ -24051,56 +15421,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_set ri ( - "_set_mode", - _tao_call.service_info (), - _collocated_tao_target_, - mode, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << mode) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -24109,36 +15453,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -24151,32 +15472,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_AttributeDef_Proxy_Broker::_TAO_AttributeDef_Proxy_Broker (void) +_TAO_AttributeDef_Proxy_Broker::_TAO_AttributeDef_Proxy_Broker (void) { } -IR::_TAO_AttributeDef_Proxy_Broker::~_TAO_AttributeDef_Proxy_Broker (void) +_TAO_AttributeDef_Proxy_Broker::~_TAO_AttributeDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_AttributeDef_Remote_Proxy_Broker *IR::_TAO_AttributeDef_Remote_Proxy_Broker::the_TAO_AttributeDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_AttributeDef_Remote_Proxy_Broker *the_TAO_AttributeDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_AttributeDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_AttributeDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_AttributeDef_Remote_Proxy_Broker::_TAO_AttributeDef_Remote_Proxy_Broker (void) +_TAO_AttributeDef_Remote_Proxy_Broker::_TAO_AttributeDef_Remote_Proxy_Broker (void) { } -IR::_TAO_AttributeDef_Remote_Proxy_Broker::~_TAO_AttributeDef_Remote_Proxy_Broker (void) +_TAO_AttributeDef_Remote_Proxy_Broker::~_TAO_AttributeDef_Remote_Proxy_Broker (void) { } -IR::_TAO_AttributeDef_Proxy_Impl& -IR::_TAO_AttributeDef_Remote_Proxy_Broker::select_proxy ( - ::IR::AttributeDef *object, +_TAO_AttributeDef_Proxy_Impl& +_TAO_AttributeDef_Remote_Proxy_Broker::select_proxy ( + ::IR_AttributeDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -24192,110 +15513,110 @@ // default constructor -IR::AttributeDef::AttributeDef (int collocated) +IR_AttributeDef::IR_AttributeDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::AttributeDef::~AttributeDef (void) +IR_AttributeDef::~IR_AttributeDef (void) {} void -IR::AttributeDef::_tao_setup_collocation (int collocated) +IR_AttributeDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_AttributeDef_Proxy_Broker_ = - ::IR__TAO_AttributeDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_AttributeDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_AttributeDef_Proxy_Broker_ = - ::IR::_TAO_AttributeDef_Remote_Proxy_Broker::the_TAO_AttributeDef_Remote_Proxy_Broker (); + ::the_TAO_AttributeDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); } -void IR::AttributeDef::_tao_any_destructor (void *x) +void IR_AttributeDef::_tao_any_destructor (void *x) { - AttributeDef *tmp = ACE_static_cast (AttributeDef*,x); + IR_AttributeDef *tmp = ACE_static_cast (IR_AttributeDef*,x); CORBA::release (tmp); } -IR::AttributeDef_ptr IR::AttributeDef::_narrow ( +IR_AttributeDef_ptr IR_AttributeDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return AttributeDef::_nil (); + return IR_AttributeDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/AttributeDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (AttributeDef::_nil ()); + ACE_CHECK_RETURN (IR_AttributeDef::_nil ()); if (is_a == 0) - return AttributeDef::_nil (); + return IR_AttributeDef::_nil (); } - return AttributeDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_AttributeDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::AttributeDef_ptr IR::AttributeDef::_unchecked_narrow ( +IR_AttributeDef_ptr IR_AttributeDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return AttributeDef::_nil (); + return IR_AttributeDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - AttributeDef_ptr default_proxy = AttributeDef::_nil (); + IR_AttributeDef_ptr default_proxy = IR_AttributeDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_AttributeDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_AttributeDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::AttributeDef ( + ::IR_AttributeDef ( stub, 1, obj->_servant ()), - AttributeDef::_nil ()); + IR_AttributeDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::AttributeDef (stub, 0, obj->_servant ()), AttributeDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_AttributeDef (stub, 0, obj->_servant ()), IR_AttributeDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - AttributeDef_ptr, + IR_AttributeDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &AttributeDef::_narrow + &IR_AttributeDef::_narrow ) ) ); } -IR::AttributeDef_ptr -IR::AttributeDef::_duplicate (AttributeDef_ptr obj) +IR_AttributeDef_ptr +IR_AttributeDef::_duplicate (IR_AttributeDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::AttributeDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_AttributeDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/AttributeDef:1.0")) || @@ -24307,34 +15628,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::AttributeDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_AttributeDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, AttributeDef)::_narrow)) + &IR_AttributeDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -24347,12 +15668,12 @@ return retv; } -const char* IR::AttributeDef::_interface_repository_id (void) const +const char* IR_AttributeDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/AttributeDef:1.0"; } -CORBA::TypeCode_ptr IR::AttributeDef::type ( +CORBA::TypeCode_ptr IR_AttributeDef::type ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -24366,7 +15687,7 @@ ); } -IR::IDLType_ptr IR::AttributeDef::type_def ( +IR_IDLType_ptr IR_AttributeDef::type_def ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -24380,8 +15701,8 @@ ); } -void IR::AttributeDef::type_def ( - IR::IDLType_ptr type_def, +void IR_AttributeDef::type_def ( + IR_IDLType_ptr type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -24396,7 +15717,7 @@ ); } -IR::AttributeMode IR::AttributeDef::mode ( +IR_AttributeMode IR_AttributeDef::mode ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -24410,8 +15731,8 @@ ); } -void IR::AttributeDef::mode ( - IR::AttributeMode mode, +void IR_AttributeDef::mode ( + IR_AttributeMode mode, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -24423,240 +15744,21 @@ this, mode, ACE_TRY_ENV - ); -} - - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_get::TAO_ClientRequestInfo_IR_AttributeDef_type_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_get::result (CORBA::TypeCode_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_get::TAO_ClientRequestInfo_IR_AttributeDef_type_def_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_get::result (IR::IDLType_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_set::TAO_ClientRequestInfo_IR_AttributeDef_type_def_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::IDLType_ptr type_def, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - type_def_ (type_def) -{} - -Dynamic::ParameterList * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_type_def = this->parameter_list_.length (); - this->parameter_list_.length (length_type_def + 1); - this->parameter_list_[length_type_def].argument <<= this->type_def_; - - this->parameter_list_[length_type_def].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_type_def_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_get::TAO_ClientRequestInfo_IR_AttributeDef_mode_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_get::result (IR::AttributeMode result) -{ - // update the result - this->result_ = result; -} - -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_set::TAO_ClientRequestInfo_IR_AttributeDef_mode_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::AttributeMode & mode, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - mode_ (mode) -{} - -Dynamic::ParameterList * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_mode = this->parameter_list_.length (); - this->parameter_list_.length (length_mode + 1); - this->parameter_list_[length_mode].argument <<= this->mode_; - - this->parameter_list_[length_mode].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::AttributeDef::TAO_ClientRequestInfo_IR_AttributeDef_mode_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; + ); } -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_AttributeDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f41), ACE_NTOHL (0x74747269), ACE_NTOHL (0x62757465), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/AttributeDef:1.0 - 13, ACE_NTOHL (0x41747472), ACE_NTOHL (0x69627574), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = AttributeDef + 13, ACE_NTOHL (0x41747472), ACE_NTOHL (0x69627574), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_AttributeDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_AttributeDef (CORBA::tk_objref, sizeof (_oc_IR_AttributeDef), (char *) &_oc_IR_AttributeDef, 0, sizeof (IR::AttributeDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_AttributeDef (CORBA::tk_objref, sizeof (_oc_IR_AttributeDef), (char *) &_oc_IR_AttributeDef, 0, sizeof (IR_AttributeDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_AttributeDef, &_tc_TAO_tc_IR_AttributeDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_AttributeDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -24829,14 +15931,15 @@ }; -static CORBA::TypeCode _tc_TAO_tc_IR_AttributeDescription (CORBA::tk_struct, sizeof (_oc_IR_AttributeDescription), (char *) &_oc_IR_AttributeDescription, 0, sizeof (IR::AttributeDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_AttributeDescription (CORBA::tk_struct, sizeof (_oc_IR_AttributeDescription), (char *) &_oc_IR_AttributeDescription, 0, sizeof (IR_AttributeDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_AttributeDescription, &_tc_TAO_tc_IR_AttributeDescription) TAO_NAMESPACE_END -void IR::AttributeDescription::_tao_any_destructor (void *x) + +void IR_AttributeDescription::_tao_any_destructor (void *x) { - AttributeDescription *tmp = ACE_static_cast (AttributeDescription*,x); + IR_AttributeDescription *tmp = ACE_static_cast (IR_AttributeDescription*,x); delete tmp; } @@ -24849,11 +15952,12 @@ 10, ACE_NTOHL (0x4f505f4e), ACE_NTOHL (0x4f524d41), ACE_NTOHL (0x4c000000), // name = OP_NORMAL 10, ACE_NTOHL (0x4f505f4f), ACE_NTOHL (0x4e455741), ACE_NTOHL (0x59000000), // name = OP_ONEWAY }; -static CORBA::TypeCode _tc_TAO_tc_IR_OperationMode (CORBA::tk_enum, sizeof (_oc_IR_OperationMode), (char *) &_oc_IR_OperationMode, 0, sizeof (IR::OperationMode)); +static CORBA::TypeCode _tc_TAO_tc_IR_OperationMode (CORBA::tk_enum, sizeof (_oc_IR_OperationMode), (char *) &_oc_IR_OperationMode, 0, sizeof (IR_OperationMode)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_OperationMode, &_tc_TAO_tc_IR_OperationMode) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_ParameterMode[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -24864,11 +15968,12 @@ 10, ACE_NTOHL (0x50415241), ACE_NTOHL (0x4d5f4f55), ACE_NTOHL (0x54000000), // name = PARAM_OUT 12, ACE_NTOHL (0x50415241), ACE_NTOHL (0x4d5f494e), ACE_NTOHL (0x4f555400), // name = PARAM_INOUT }; -static CORBA::TypeCode _tc_TAO_tc_IR_ParameterMode (CORBA::tk_enum, sizeof (_oc_IR_ParameterMode), (char *) &_oc_IR_ParameterMode, 0, sizeof (IR::ParameterMode)); +static CORBA::TypeCode _tc_TAO_tc_IR_ParameterMode (CORBA::tk_enum, sizeof (_oc_IR_ParameterMode), (char *) &_oc_IR_ParameterMode, 0, sizeof (IR_ParameterMode)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ParameterMode, &_tc_TAO_tc_IR_ParameterMode) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_ParameterDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -24892,7 +15997,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 5, ACE_NTOHL (0x6d6f6465), ACE_NTOHL (0x0), // name = mode CORBA::tk_enum, // typecode kind @@ -24906,32 +16011,30 @@ 12, ACE_NTOHL (0x50415241), ACE_NTOHL (0x4d5f494e), ACE_NTOHL (0x4f555400), // name = PARAM_INOUT }; -static CORBA::TypeCode _tc_TAO_tc_IR_ParameterDescription (CORBA::tk_struct, sizeof (_oc_IR_ParameterDescription), (char *) &_oc_IR_ParameterDescription, 0, sizeof (IR::ParameterDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_ParameterDescription (CORBA::tk_struct, sizeof (_oc_IR_ParameterDescription), (char *) &_oc_IR_ParameterDescription, 0, sizeof (IR_ParameterDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ParameterDescription, &_tc_TAO_tc_IR_ParameterDescription) TAO_NAMESPACE_END -void IR::ParameterDescription::_tao_any_destructor (void *x) + +void IR_ParameterDescription::_tao_any_destructor (void *x) { - ParameterDescription *tmp = ACE_static_cast (ParameterDescription*,x); + IR_ParameterDescription *tmp = ACE_static_cast (IR_ParameterDescription*,x); delete tmp; } #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_PARDESCRIPTIONSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_PARDESCRIPTIONSEQ_CS_ - void - IR::_TAO_Unbounded_Sequence_IR_ParDescriptionSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Sequence_IR_ParDescriptionSeq::_allocate_buffer (CORBA::ULong length) { - IR::ParameterDescription* tmp = 0; + IR_ParameterDescription* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_ParDescriptionSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::ParameterDescription *old = ACE_reinterpret_cast (IR::ParameterDescription *,this->buffer_); + IR_ParameterDescription *old = ACE_reinterpret_cast (IR_ParameterDescription *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -24944,75 +16047,65 @@ } void - IR::_TAO_Unbounded_Sequence_IR_ParDescriptionSeq::_deallocate_buffer (void) + _TAO_Unbounded_Sequence_IR_ParDescriptionSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::ParameterDescription *tmp = ACE_reinterpret_cast (IR::ParameterDescription *,this->buffer_); + IR_ParameterDescription *tmp = ACE_reinterpret_cast (IR_ParameterDescription *,this->buffer_); _TAO_Unbounded_Sequence_IR_ParDescriptionSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Sequence_IR_ParDescriptionSeq::~_TAO_Unbounded_Sequence_IR_ParDescriptionSeq (void) // Dtor. + _TAO_Unbounded_Sequence_IR_ParDescriptionSeq::~_TAO_Unbounded_Sequence_IR_ParDescriptionSeq (void) // Dtor. { this->_deallocate_buffer (); } - -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_PARDESCRIPTIONSEQ_CS_) -#define _TAO_IR_PARDESCRIPTIONSEQ_CS_ - // ************************************************************* -// IR::ParDescriptionSeq +// IR_ParDescriptionSeq // ************************************************************* -IR::ParDescriptionSeq::ParDescriptionSeq (void) +IR_ParDescriptionSeq::IR_ParDescriptionSeq (void) {} -IR::ParDescriptionSeq::ParDescriptionSeq (CORBA::ULong max) // uses max size +IR_ParDescriptionSeq::IR_ParDescriptionSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ParDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ParDescriptionSeq::ParDescriptionSeq (CORBA::ULong max, CORBA::ULong length, IR::ParameterDescription *buffer, CORBA::Boolean release) +IR_ParDescriptionSeq::IR_ParDescriptionSeq (CORBA::ULong max, CORBA::ULong length, IR_ParameterDescription *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ParDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ParDescriptionSeq::ParDescriptionSeq (const ParDescriptionSeq &seq) // copy ctor +IR_ParDescriptionSeq::IR_ParDescriptionSeq (const IR_ParDescriptionSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ParDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ParDescriptionSeq::~ParDescriptionSeq (void) // dtor +IR_ParDescriptionSeq::~IR_ParDescriptionSeq (void) // dtor {} -void IR::ParDescriptionSeq::_tao_any_destructor (void *x) +void IR_ParDescriptionSeq::_tao_any_destructor (void *x) { - ParDescriptionSeq *tmp = ACE_static_cast (ParDescriptionSeq*,x); + IR_ParDescriptionSeq *tmp = ACE_static_cast (IR_ParDescriptionSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ParDescriptionSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -25044,7 +16137,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 5, ACE_NTOHL (0x6d6f6465), ACE_NTOHL (0x0), // name = mode CORBA::tk_enum, // typecode kind @@ -25061,11 +16154,12 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ParDescriptionSeq (CORBA::tk_alias, sizeof (_oc_IR_ParDescriptionSeq), (char *) &_oc_IR_ParDescriptionSeq, 0, sizeof (IR::ParDescriptionSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ParDescriptionSeq (CORBA::tk_alias, sizeof (_oc_IR_ParDescriptionSeq), (char *) &_oc_IR_ParDescriptionSeq, 0, sizeof (IR_ParDescriptionSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ParDescriptionSeq, &_tc_TAO_tc_IR_ParDescriptionSeq) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_ContextIdentifier[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -25086,16 +16180,13 @@ TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ContextIdentifier, &_tc_TAO_tc_IR_ContextIdentifier) TAO_NAMESPACE_END -#if !defined (_TAO_IR_CONTEXTIDSEQ_CS_) -#define _TAO_IR_CONTEXTIDSEQ_CS_ - // ************************************************************* -// IR::ContextIdSeq +// IR_ContextIdSeq // ************************************************************* -IR::ContextIdSeq::ContextIdSeq (void) +IR_ContextIdSeq::IR_ContextIdSeq (void) {} -IR::ContextIdSeq::ContextIdSeq (CORBA::ULong max) // uses max size +IR_ContextIdSeq::IR_ContextIdSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) TAO_Unbounded_String_Sequence @@ -25104,7 +16195,7 @@ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ContextIdSeq::ContextIdSeq (CORBA::ULong max, CORBA::ULong length, char * *buffer, CORBA::Boolean release) +IR_ContextIdSeq::IR_ContextIdSeq (CORBA::ULong max, CORBA::ULong length, char * *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) TAO_Unbounded_String_Sequence @@ -25113,7 +16204,7 @@ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ContextIdSeq::ContextIdSeq (const ContextIdSeq &seq) // copy ctor +IR_ContextIdSeq::IR_ContextIdSeq (const IR_ContextIdSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) TAO_Unbounded_String_Sequence @@ -25122,17 +16213,14 @@ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ContextIdSeq::~ContextIdSeq (void) // dtor +IR_ContextIdSeq::~IR_ContextIdSeq (void) // dtor {} -void IR::ContextIdSeq::_tao_any_destructor (void *x) +void IR_ContextIdSeq::_tao_any_destructor (void *x) { - ContextIdSeq *tmp = ACE_static_cast (ContextIdSeq*,x); + IR_ContextIdSeq *tmp = ACE_static_cast (IR_ContextIdSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ContextIdSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -25158,7 +16246,7 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ContextIdSeq (CORBA::tk_alias, sizeof (_oc_IR_ContextIdSeq), (char *) &_oc_IR_ContextIdSeq, 0, sizeof (IR::ContextIdSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ContextIdSeq (CORBA::tk_alias, sizeof (_oc_IR_ContextIdSeq), (char *) &_oc_IR_ContextIdSeq, 0, sizeof (IR_ContextIdSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ContextIdSeq, &_tc_TAO_tc_IR_ContextIdSeq) @@ -25168,15 +16256,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_OperationDef_Proxy_Impl::_TAO_OperationDef_Proxy_Impl (void) +_TAO_OperationDef_Proxy_Impl::_TAO_OperationDef_Proxy_Impl (void) {} -IR::_TAO_OperationDef_Remote_Proxy_Impl::_TAO_OperationDef_Remote_Proxy_Impl (void) +_TAO_OperationDef_Remote_Proxy_Impl::_TAO_OperationDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::TypeCode_ptr IR::_TAO_OperationDef_Remote_Proxy_Impl::result ( +CORBA::TypeCode_ptr _TAO_OperationDef_Remote_Proxy_Impl::result ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -25202,46 +16290,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_get ri ( - "_get_result", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -25250,7 +16313,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -25260,45 +16323,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - CORBA::TypeCode_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::IDLType_ptr IR::_TAO_OperationDef_Remote_Proxy_Impl::result_def ( +IR_IDLType_ptr _TAO_OperationDef_Remote_Proxy_Impl::result_def ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -25307,8 +16343,8 @@ )) { - IR::IDLType_ptr _tao_retval = IR::IDLType::_nil (); - IR::IDLType_var _tao_safe_retval (_tao_retval); + IR_IDLType_ptr _tao_retval = IR_IDLType::_nil (); + IR_IDLType_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -25324,46 +16360,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_get ri ( - "_get_result_def", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -25372,7 +16383,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -25382,62 +16393,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::IDLType_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_OperationDef_Remote_Proxy_Impl::result_def ( +void _TAO_OperationDef_Remote_Proxy_Impl::result_def ( CORBA_Object *_collocated_tao_target_, - IR::IDLType_ptr result_def, + IR_IDLType_ptr result_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_result_def", @@ -25446,56 +16425,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_set ri ( - "_set_result_def", - _tao_call.service_info (), - _collocated_tao_target_, - result_def, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << result_def) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -25504,39 +16457,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::ParDescriptionSeq * IR::_TAO_OperationDef_Remote_Proxy_Impl::params ( +IR_ParDescriptionSeq * _TAO_OperationDef_Remote_Proxy_Impl::params ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -25545,7 +16475,7 @@ )) { - IR::ParDescriptionSeq *_tao_retval = 0; + IR_ParDescriptionSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -25553,8 +16483,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::ParDescriptionSeq, _tao_retval); - IR::ParDescriptionSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_ParDescriptionSeq, _tao_retval); + IR_ParDescriptionSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_params", @@ -25563,46 +16493,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_get ri ( - "_get_params", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -25611,7 +16516,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -25621,62 +16526,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ParDescriptionSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_OperationDef_Remote_Proxy_Impl::params ( +void _TAO_OperationDef_Remote_Proxy_Impl::params ( CORBA_Object *_collocated_tao_target_, - const IR::ParDescriptionSeq & params, + const IR_ParDescriptionSeq & params, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_params", @@ -25685,56 +16558,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_set ri ( - "_set_params", - _tao_call.service_info (), - _collocated_tao_target_, - params, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << params) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -25743,39 +16590,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::OperationMode IR::_TAO_OperationDef_Remote_Proxy_Impl::mode ( +IR_OperationMode _TAO_OperationDef_Remote_Proxy_Impl::mode ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -25784,7 +16608,7 @@ )) { - IR::OperationMode _tao_retval = (IR::OperationMode)0; + IR_OperationMode _tao_retval = (IR_OperationMode)0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -25800,46 +16624,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_get ri ( - "_get_mode", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -25848,7 +16647,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -25858,61 +16657,30 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - IR::OperationMode _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_OperationDef_Remote_Proxy_Impl::mode ( +void _TAO_OperationDef_Remote_Proxy_Impl::mode ( CORBA_Object *_collocated_tao_target_, - IR::OperationMode mode, + IR_OperationMode mode, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_mode", @@ -25921,56 +16689,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_set ri ( - "_set_mode", - _tao_call.service_info (), - _collocated_tao_target_, - mode, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << mode) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -25979,39 +16721,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::ContextIdSeq * IR::_TAO_OperationDef_Remote_Proxy_Impl::contexts ( +IR_ContextIdSeq * _TAO_OperationDef_Remote_Proxy_Impl::contexts ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -26020,7 +16739,7 @@ )) { - IR::ContextIdSeq *_tao_retval = 0; + IR_ContextIdSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -26028,8 +16747,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::ContextIdSeq, _tao_retval); - IR::ContextIdSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_ContextIdSeq, _tao_retval); + IR_ContextIdSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_contexts", @@ -26038,46 +16757,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_get ri ( - "_get_contexts", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -26086,7 +16780,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -26096,62 +16790,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ContextIdSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_OperationDef_Remote_Proxy_Impl::contexts ( +void _TAO_OperationDef_Remote_Proxy_Impl::contexts ( CORBA_Object *_collocated_tao_target_, - const IR::ContextIdSeq & contexts, + const IR_ContextIdSeq & contexts, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_contexts", @@ -26160,56 +16822,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_set ri ( - "_set_contexts", - _tao_call.service_info (), - _collocated_tao_target_, - contexts, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << contexts) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -26218,39 +16854,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::ExceptionDefSeq * IR::_TAO_OperationDef_Remote_Proxy_Impl::exceptions ( +IR_ExceptionDefSeq * _TAO_OperationDef_Remote_Proxy_Impl::exceptions ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -26259,7 +16872,7 @@ )) { - IR::ExceptionDefSeq *_tao_retval = 0; + IR_ExceptionDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -26267,8 +16880,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::ExceptionDefSeq, _tao_retval); - IR::ExceptionDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_ExceptionDefSeq, _tao_retval); + IR_ExceptionDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_exceptions", @@ -26277,46 +16890,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_get ri ( - "_get_exceptions", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -26325,7 +16913,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -26335,62 +16923,30 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ExceptionDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_OperationDef_Remote_Proxy_Impl::exceptions ( +void _TAO_OperationDef_Remote_Proxy_Impl::exceptions ( CORBA_Object *_collocated_tao_target_, - const IR::ExceptionDefSeq & exceptions, + const IR_ExceptionDefSeq & exceptions, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); - TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_set_exceptions", @@ -26399,56 +16955,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_set ri ( - "_set_exceptions", - _tao_call.service_info (), - _collocated_tao_target_, - exceptions, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << exceptions) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -26457,36 +16987,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -26499,32 +17006,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_OperationDef_Proxy_Broker::_TAO_OperationDef_Proxy_Broker (void) +_TAO_OperationDef_Proxy_Broker::_TAO_OperationDef_Proxy_Broker (void) { } -IR::_TAO_OperationDef_Proxy_Broker::~_TAO_OperationDef_Proxy_Broker (void) +_TAO_OperationDef_Proxy_Broker::~_TAO_OperationDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_OperationDef_Remote_Proxy_Broker *IR::_TAO_OperationDef_Remote_Proxy_Broker::the_TAO_OperationDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_OperationDef_Remote_Proxy_Broker *the_TAO_OperationDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_OperationDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_OperationDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_OperationDef_Remote_Proxy_Broker::_TAO_OperationDef_Remote_Proxy_Broker (void) +_TAO_OperationDef_Remote_Proxy_Broker::_TAO_OperationDef_Remote_Proxy_Broker (void) { } -IR::_TAO_OperationDef_Remote_Proxy_Broker::~_TAO_OperationDef_Remote_Proxy_Broker (void) +_TAO_OperationDef_Remote_Proxy_Broker::~_TAO_OperationDef_Remote_Proxy_Broker (void) { } -IR::_TAO_OperationDef_Proxy_Impl& -IR::_TAO_OperationDef_Remote_Proxy_Broker::select_proxy ( - ::IR::OperationDef *object, +_TAO_OperationDef_Proxy_Impl& +_TAO_OperationDef_Remote_Proxy_Broker::select_proxy ( + ::IR_OperationDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -26540,110 +17047,110 @@ // default constructor -IR::OperationDef::OperationDef (int collocated) +IR_OperationDef::IR_OperationDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::OperationDef::~OperationDef (void) +IR_OperationDef::~IR_OperationDef (void) {} void -IR::OperationDef::_tao_setup_collocation (int collocated) +IR_OperationDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_OperationDef_Proxy_Broker_ = - ::IR__TAO_OperationDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_OperationDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_OperationDef_Proxy_Broker_ = - ::IR::_TAO_OperationDef_Remote_Proxy_Broker::the_TAO_OperationDef_Remote_Proxy_Broker (); + ::the_TAO_OperationDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); } -void IR::OperationDef::_tao_any_destructor (void *x) +void IR_OperationDef::_tao_any_destructor (void *x) { - OperationDef *tmp = ACE_static_cast (OperationDef*,x); + IR_OperationDef *tmp = ACE_static_cast (IR_OperationDef*,x); CORBA::release (tmp); } -IR::OperationDef_ptr IR::OperationDef::_narrow ( +IR_OperationDef_ptr IR_OperationDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return OperationDef::_nil (); + return IR_OperationDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/OperationDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (OperationDef::_nil ()); + ACE_CHECK_RETURN (IR_OperationDef::_nil ()); if (is_a == 0) - return OperationDef::_nil (); + return IR_OperationDef::_nil (); } - return OperationDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_OperationDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::OperationDef_ptr IR::OperationDef::_unchecked_narrow ( +IR_OperationDef_ptr IR_OperationDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return OperationDef::_nil (); + return IR_OperationDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - OperationDef_ptr default_proxy = OperationDef::_nil (); + IR_OperationDef_ptr default_proxy = IR_OperationDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_OperationDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_OperationDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::OperationDef ( + ::IR_OperationDef ( stub, 1, obj->_servant ()), - OperationDef::_nil ()); + IR_OperationDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::OperationDef (stub, 0, obj->_servant ()), OperationDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_OperationDef (stub, 0, obj->_servant ()), IR_OperationDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - OperationDef_ptr, + IR_OperationDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &OperationDef::_narrow + &IR_OperationDef::_narrow ) ) ); } -IR::OperationDef_ptr -IR::OperationDef::_duplicate (OperationDef_ptr obj) +IR_OperationDef_ptr +IR_OperationDef::_duplicate (IR_OperationDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::OperationDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_OperationDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/OperationDef:1.0")) || @@ -26655,34 +17162,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::OperationDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_OperationDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, OperationDef)::_narrow)) + &IR_OperationDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -26695,12 +17202,12 @@ return retv; } -const char* IR::OperationDef::_interface_repository_id (void) const +const char* IR_OperationDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/OperationDef:1.0"; } -CORBA::TypeCode_ptr IR::OperationDef::result ( +CORBA::TypeCode_ptr IR_OperationDef::result ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -26714,7 +17221,7 @@ ); } -IR::IDLType_ptr IR::OperationDef::result_def ( +IR_IDLType_ptr IR_OperationDef::result_def ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -26728,8 +17235,8 @@ ); } -void IR::OperationDef::result_def ( - IR::IDLType_ptr result_def, +void IR_OperationDef::result_def ( + IR_IDLType_ptr result_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -26738,624 +17245,144 @@ { this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).result_def ( - this, - result_def, - ACE_TRY_ENV - ); -} - -IR::ParDescriptionSeq * IR::OperationDef::params ( - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).params ( - this, - ACE_TRY_ENV - ); -} - -void IR::OperationDef::params ( - const IR::ParDescriptionSeq & params, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).params ( - this, - params, - ACE_TRY_ENV - ); -} - -IR::OperationMode IR::OperationDef::mode ( - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).mode ( - this, - ACE_TRY_ENV - ); -} - -void IR::OperationDef::mode ( - IR::OperationMode mode, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).mode ( - this, - mode, - ACE_TRY_ENV - ); -} - -IR::ContextIdSeq * IR::OperationDef::contexts ( - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).contexts ( - this, - ACE_TRY_ENV - ); -} - -void IR::OperationDef::contexts ( - const IR::ContextIdSeq & contexts, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).contexts ( - this, - contexts, - ACE_TRY_ENV - ); -} - -IR::ExceptionDefSeq * IR::OperationDef::exceptions ( - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).exceptions ( - this, - ACE_TRY_ENV - ); -} - -void IR::OperationDef::exceptions ( - const IR::ExceptionDefSeq & exceptions, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).exceptions ( - this, - exceptions, - ACE_TRY_ENV - ); -} - - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_get::TAO_ClientRequestInfo_IR_OperationDef_result_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_get::result (CORBA::TypeCode_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_get::TAO_ClientRequestInfo_IR_OperationDef_result_def_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_get::result (IR::IDLType_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_set::TAO_ClientRequestInfo_IR_OperationDef_result_def_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::IDLType_ptr result_def, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - result_def_ (result_def) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_result_def = this->parameter_list_.length (); - this->parameter_list_.length (length_result_def + 1); - this->parameter_list_[length_result_def].argument <<= this->result_def_; - - this->parameter_list_[length_result_def].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_result_def_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_get::TAO_ClientRequestInfo_IR_OperationDef_params_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_get::result (IR::ParDescriptionSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_set::TAO_ClientRequestInfo_IR_OperationDef_params_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::ParDescriptionSeq & params, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - params_ (params) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_params = this->parameter_list_.length (); - this->parameter_list_.length (length_params + 1); - this->parameter_list_[length_params].argument <<= this->params_; - - this->parameter_list_[length_params].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_params_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_get::TAO_ClientRequestInfo_IR_OperationDef_mode_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_get::result (IR::OperationMode result) -{ - // update the result - this->result_ = result; -} - -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_set::TAO_ClientRequestInfo_IR_OperationDef_mode_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::OperationMode & mode, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - mode_ (mode) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_mode = this->parameter_list_.length (); - this->parameter_list_.length (length_mode + 1); - this->parameter_list_[length_mode].argument <<= this->mode_; - - this->parameter_list_[length_mode].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_mode_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_get::TAO_ClientRequestInfo_IR_OperationDef_contexts_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_get::result (IR::ContextIdSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_set::TAO_ClientRequestInfo_IR_OperationDef_contexts_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::ContextIdSeq & contexts, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - contexts_ (contexts) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_contexts = this->parameter_list_.length (); - this->parameter_list_.length (length_contexts + 1); - this->parameter_list_[length_contexts].argument <<= this->contexts_; - - this->parameter_list_[length_contexts].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; + this, + result_def, + ACE_TRY_ENV + ); } - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_contexts_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +IR_ParDescriptionSeq * IR_OperationDef::params ( + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - return &this->result_val_; + return this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).params ( + this, + ACE_TRY_ENV + ); } -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_get::TAO_ClientRequestInfo_IR_OperationDef_exceptions_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & +void IR_OperationDef::params ( + const IR_ParDescriptionSeq & params, + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the arg list on demand - return 0; + + this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).params ( + this, + params, + ACE_TRY_ENV + ); } -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +IR_OperationMode IR_OperationDef::mode ( + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the exception list on demand - return 0; + + return this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).mode ( + this, + ACE_TRY_ENV + ); } - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +void IR_OperationDef::mode ( + IR_OperationMode mode, + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; + + this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).mode ( + this, + mode, + ACE_TRY_ENV + ); } -void -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_get::result (IR::ExceptionDefSeq * result) +IR_ContextIdSeq * IR_OperationDef::contexts ( + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // update the result - this->result_ = result; + + return this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).contexts ( + this, + ACE_TRY_ENV + ); } -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_set::TAO_ClientRequestInfo_IR_OperationDef_exceptions_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::ExceptionDefSeq & exceptions, - CORBA::Environment & +void IR_OperationDef::contexts ( + const IR_ContextIdSeq & contexts, + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - exceptions_ (exceptions) -{} - -Dynamic::ParameterList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the arg list on demand - CORBA::ULong length_exceptions = this->parameter_list_.length (); - this->parameter_list_.length (length_exceptions + 1); - this->parameter_list_[length_exceptions].argument <<= this->exceptions_; - this->parameter_list_[length_exceptions].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; + this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).contexts ( + this, + contexts, + ACE_TRY_ENV + ); } -Dynamic::ExceptionList * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +IR_ExceptionDefSeq * IR_OperationDef::exceptions ( + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the exception list on demand - return 0; + + return this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).exceptions ( + this, + ACE_TRY_ENV + ); } - -CORBA::Any * -IR::OperationDef::TAO_ClientRequestInfo_IR_OperationDef_exceptions_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +void IR_OperationDef::exceptions ( + const IR_ExceptionDefSeq & exceptions, + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - return &this->result_val_; + this->the_TAO_OperationDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).exceptions ( + this, + exceptions, + ACE_TRY_ENV + ); } -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_OperationDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f4f), ACE_NTOHL (0x70657261), ACE_NTOHL (0x74696f6e), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/OperationDef:1.0 - 13, ACE_NTOHL (0x4f706572), ACE_NTOHL (0x6174696f), ACE_NTOHL (0x6e446566), ACE_NTOHL (0x0), // name = OperationDef + 13, ACE_NTOHL (0x4f706572), ACE_NTOHL (0x6174696f), ACE_NTOHL (0x6e446566), ACE_NTOHL (0x0), // name = IR_OperationDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_OperationDef (CORBA::tk_objref, sizeof (_oc_IR_OperationDef), (char *) &_oc_IR_OperationDef, 0, sizeof (IR::OperationDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_OperationDef (CORBA::tk_objref, sizeof (_oc_IR_OperationDef), (char *) &_oc_IR_OperationDef, 0, sizeof (IR_OperationDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_OperationDef, &_tc_TAO_tc_IR_OperationDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_OperationDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -27469,7 +17496,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 5, ACE_NTOHL (0x6d6f6465), ACE_NTOHL (0x0), // name = mode CORBA::tk_enum, // typecode kind @@ -27545,28 +17572,25 @@ }; -static CORBA::TypeCode _tc_TAO_tc_IR_OperationDescription (CORBA::tk_struct, sizeof (_oc_IR_OperationDescription), (char *) &_oc_IR_OperationDescription, 0, sizeof (IR::OperationDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_OperationDescription (CORBA::tk_struct, sizeof (_oc_IR_OperationDescription), (char *) &_oc_IR_OperationDescription, 0, sizeof (IR_OperationDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_OperationDescription, &_tc_TAO_tc_IR_OperationDescription) TAO_NAMESPACE_END -void IR::OperationDescription::_tao_any_destructor (void *x) + +void IR_OperationDescription::_tao_any_destructor (void *x) { - OperationDescription *tmp = ACE_static_cast (OperationDescription*,x); + IR_OperationDescription *tmp = ACE_static_cast (IR_OperationDescription*,x); delete tmp; } - -#if !defined (_TAO_IR_REPOSITORYIDSEQ_CS_) -#define _TAO_IR_REPOSITORYIDSEQ_CS_ - // ************************************************************* -// IR::RepositoryIdSeq +// IR_RepositoryIdSeq // ************************************************************* -IR::RepositoryIdSeq::RepositoryIdSeq (void) +IR_RepositoryIdSeq::IR_RepositoryIdSeq (void) {} -IR::RepositoryIdSeq::RepositoryIdSeq (CORBA::ULong max) // uses max size +IR_RepositoryIdSeq::IR_RepositoryIdSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) TAO_Unbounded_String_Sequence @@ -27575,7 +17599,7 @@ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::RepositoryIdSeq::RepositoryIdSeq (CORBA::ULong max, CORBA::ULong length, char * *buffer, CORBA::Boolean release) +IR_RepositoryIdSeq::IR_RepositoryIdSeq (CORBA::ULong max, CORBA::ULong length, char * *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) TAO_Unbounded_String_Sequence @@ -27584,7 +17608,7 @@ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::RepositoryIdSeq::RepositoryIdSeq (const RepositoryIdSeq &seq) // copy ctor +IR_RepositoryIdSeq::IR_RepositoryIdSeq (const IR_RepositoryIdSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) TAO_Unbounded_String_Sequence @@ -27593,17 +17617,14 @@ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::RepositoryIdSeq::~RepositoryIdSeq (void) // dtor +IR_RepositoryIdSeq::~IR_RepositoryIdSeq (void) // dtor {} -void IR::RepositoryIdSeq::_tao_any_destructor (void *x) +void IR_RepositoryIdSeq::_tao_any_destructor (void *x) { - RepositoryIdSeq *tmp = ACE_static_cast (RepositoryIdSeq*,x); + IR_RepositoryIdSeq *tmp = ACE_static_cast (IR_RepositoryIdSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_RepositoryIdSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -27623,7 +17644,7 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_RepositoryIdSeq (CORBA::tk_alias, sizeof (_oc_IR_RepositoryIdSeq), (char *) &_oc_IR_RepositoryIdSeq, 0, sizeof (IR::RepositoryIdSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_RepositoryIdSeq (CORBA::tk_alias, sizeof (_oc_IR_RepositoryIdSeq), (char *) &_oc_IR_RepositoryIdSeq, 0, sizeof (IR_RepositoryIdSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_RepositoryIdSeq, &_tc_TAO_tc_IR_RepositoryIdSeq) @@ -27631,18 +17652,15 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_OPDESCRIPTIONSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_OPDESCRIPTIONSEQ_CS_ - void - IR::_TAO_Unbounded_Sequence_IR_OpDescriptionSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Sequence_IR_OpDescriptionSeq::_allocate_buffer (CORBA::ULong length) { - IR::OperationDescription* tmp = 0; + IR_OperationDescription* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_OpDescriptionSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::OperationDescription *old = ACE_reinterpret_cast (IR::OperationDescription *,this->buffer_); + IR_OperationDescription *old = ACE_reinterpret_cast (IR_OperationDescription *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -27655,75 +17673,65 @@ } void - IR::_TAO_Unbounded_Sequence_IR_OpDescriptionSeq::_deallocate_buffer (void) + _TAO_Unbounded_Sequence_IR_OpDescriptionSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::OperationDescription *tmp = ACE_reinterpret_cast (IR::OperationDescription *,this->buffer_); + IR_OperationDescription *tmp = ACE_reinterpret_cast (IR_OperationDescription *,this->buffer_); _TAO_Unbounded_Sequence_IR_OpDescriptionSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Sequence_IR_OpDescriptionSeq::~_TAO_Unbounded_Sequence_IR_OpDescriptionSeq (void) // Dtor. + _TAO_Unbounded_Sequence_IR_OpDescriptionSeq::~_TAO_Unbounded_Sequence_IR_OpDescriptionSeq (void) // Dtor. { this->_deallocate_buffer (); } - -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_OPDESCRIPTIONSEQ_CS_) -#define _TAO_IR_OPDESCRIPTIONSEQ_CS_ - // ************************************************************* -// IR::OpDescriptionSeq +// IR_OpDescriptionSeq // ************************************************************* -IR::OpDescriptionSeq::OpDescriptionSeq (void) +IR_OpDescriptionSeq::IR_OpDescriptionSeq (void) {} -IR::OpDescriptionSeq::OpDescriptionSeq (CORBA::ULong max) // uses max size +IR_OpDescriptionSeq::IR_OpDescriptionSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_OpDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::OpDescriptionSeq::OpDescriptionSeq (CORBA::ULong max, CORBA::ULong length, IR::OperationDescription *buffer, CORBA::Boolean release) +IR_OpDescriptionSeq::IR_OpDescriptionSeq (CORBA::ULong max, CORBA::ULong length, IR_OperationDescription *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_OpDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::OpDescriptionSeq::OpDescriptionSeq (const OpDescriptionSeq &seq) // copy ctor +IR_OpDescriptionSeq::IR_OpDescriptionSeq (const IR_OpDescriptionSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_OpDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::OpDescriptionSeq::~OpDescriptionSeq (void) // dtor +IR_OpDescriptionSeq::~IR_OpDescriptionSeq (void) // dtor {} -void IR::OpDescriptionSeq::_tao_any_destructor (void *x) +void IR_OpDescriptionSeq::_tao_any_destructor (void *x) { - OpDescriptionSeq *tmp = ACE_static_cast (OpDescriptionSeq*,x); + IR_OpDescriptionSeq *tmp = ACE_static_cast (IR_OpDescriptionSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_OpDescriptionSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -27845,7 +17853,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 5, ACE_NTOHL (0x6d6f6465), ACE_NTOHL (0x0), // name = mode CORBA::tk_enum, // typecode kind @@ -27924,7 +17932,7 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_OpDescriptionSeq (CORBA::tk_alias, sizeof (_oc_IR_OpDescriptionSeq), (char *) &_oc_IR_OpDescriptionSeq, 0, sizeof (IR::OpDescriptionSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_OpDescriptionSeq (CORBA::tk_alias, sizeof (_oc_IR_OpDescriptionSeq), (char *) &_oc_IR_OpDescriptionSeq, 0, sizeof (IR_OpDescriptionSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_OpDescriptionSeq, &_tc_TAO_tc_IR_OpDescriptionSeq) @@ -27932,18 +17940,15 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_ATTRDESCRIPTIONSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_ATTRDESCRIPTIONSEQ_CS_ - void - IR::_TAO_Unbounded_Sequence_IR_AttrDescriptionSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Sequence_IR_AttrDescriptionSeq::_allocate_buffer (CORBA::ULong length) { - IR::AttributeDescription* tmp = 0; + IR_AttributeDescription* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_AttrDescriptionSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::AttributeDescription *old = ACE_reinterpret_cast (IR::AttributeDescription *,this->buffer_); + IR_AttributeDescription *old = ACE_reinterpret_cast (IR_AttributeDescription *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -27956,75 +17961,65 @@ } void - IR::_TAO_Unbounded_Sequence_IR_AttrDescriptionSeq::_deallocate_buffer (void) + _TAO_Unbounded_Sequence_IR_AttrDescriptionSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::AttributeDescription *tmp = ACE_reinterpret_cast (IR::AttributeDescription *,this->buffer_); + IR_AttributeDescription *tmp = ACE_reinterpret_cast (IR_AttributeDescription *,this->buffer_); _TAO_Unbounded_Sequence_IR_AttrDescriptionSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Sequence_IR_AttrDescriptionSeq::~_TAO_Unbounded_Sequence_IR_AttrDescriptionSeq (void) // Dtor. + _TAO_Unbounded_Sequence_IR_AttrDescriptionSeq::~_TAO_Unbounded_Sequence_IR_AttrDescriptionSeq (void) // Dtor. { this->_deallocate_buffer (); } - -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_ATTRDESCRIPTIONSEQ_CS_) -#define _TAO_IR_ATTRDESCRIPTIONSEQ_CS_ - // ************************************************************* -// IR::AttrDescriptionSeq +// IR_AttrDescriptionSeq // ************************************************************* -IR::AttrDescriptionSeq::AttrDescriptionSeq (void) +IR_AttrDescriptionSeq::IR_AttrDescriptionSeq (void) {} -IR::AttrDescriptionSeq::AttrDescriptionSeq (CORBA::ULong max) // uses max size +IR_AttrDescriptionSeq::IR_AttrDescriptionSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_AttrDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::AttrDescriptionSeq::AttrDescriptionSeq (CORBA::ULong max, CORBA::ULong length, IR::AttributeDescription *buffer, CORBA::Boolean release) +IR_AttrDescriptionSeq::IR_AttrDescriptionSeq (CORBA::ULong max, CORBA::ULong length, IR_AttributeDescription *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_AttrDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::AttrDescriptionSeq::AttrDescriptionSeq (const AttrDescriptionSeq &seq) // copy ctor +IR_AttrDescriptionSeq::IR_AttrDescriptionSeq (const IR_AttrDescriptionSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_AttrDescriptionSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::AttrDescriptionSeq::~AttrDescriptionSeq (void) // dtor +IR_AttrDescriptionSeq::~IR_AttrDescriptionSeq (void) // dtor {} -void IR::AttrDescriptionSeq::_tao_any_destructor (void *x) +void IR_AttrDescriptionSeq::_tao_any_destructor (void *x) { - AttrDescriptionSeq *tmp = ACE_static_cast (AttrDescriptionSeq*,x); + IR_AttrDescriptionSeq *tmp = ACE_static_cast (IR_AttrDescriptionSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_AttrDescriptionSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -28208,7 +18203,7 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_AttrDescriptionSeq (CORBA::tk_alias, sizeof (_oc_IR_AttrDescriptionSeq), (char *) &_oc_IR_AttrDescriptionSeq, 0, sizeof (IR::AttrDescriptionSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_AttrDescriptionSeq (CORBA::tk_alias, sizeof (_oc_IR_AttrDescriptionSeq), (char *) &_oc_IR_AttrDescriptionSeq, 0, sizeof (IR_AttrDescriptionSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_AttrDescriptionSeq, &_tc_TAO_tc_IR_AttrDescriptionSeq) @@ -28218,15 +18213,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_InterfaceDef_Proxy_Impl::_TAO_InterfaceDef_Proxy_Impl (void) +_TAO_InterfaceDef_Proxy_Impl::_TAO_InterfaceDef_Proxy_Impl (void) {} -IR::_TAO_InterfaceDef_Remote_Proxy_Impl::_TAO_InterfaceDef_Remote_Proxy_Impl (void) +_TAO_InterfaceDef_Remote_Proxy_Impl::_TAO_InterfaceDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::InterfaceDefSeq * IR::_TAO_InterfaceDef_Remote_Proxy_Impl::base_interfaces ( +IR_InterfaceDefSeq * _TAO_InterfaceDef_Remote_Proxy_Impl::base_interfaces ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -28235,7 +18230,7 @@ )) { - IR::InterfaceDefSeq *_tao_retval = 0; + IR_InterfaceDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -28243,8 +18238,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::InterfaceDefSeq, _tao_retval); - IR::InterfaceDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_InterfaceDefSeq, _tao_retval); + IR_InterfaceDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_base_interfaces", @@ -28253,46 +18248,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_get ri ( - "_get_base_interfaces", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -28301,7 +18271,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -28311,57 +18281,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::InterfaceDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_InterfaceDef_Remote_Proxy_Impl::base_interfaces ( +void _TAO_InterfaceDef_Remote_Proxy_Impl::base_interfaces ( CORBA_Object *_collocated_tao_target_, - const IR::InterfaceDefSeq & base_interfaces, + const IR_InterfaceDefSeq & base_interfaces, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -28375,56 +18314,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_set ri ( - "_set_base_interfaces", - _tao_call.service_info (), - _collocated_tao_target_, - base_interfaces, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << base_interfaces) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -28433,39 +18346,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::Boolean IR::_TAO_InterfaceDef_Remote_Proxy_Impl::is_abstract ( +CORBA::Boolean _TAO_InterfaceDef_Remote_Proxy_Impl::is_abstract ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -28490,46 +18380,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_get ri ( - "_get_is_abstract", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -28538,7 +18403,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -28548,44 +18413,18 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_InterfaceDef_Remote_Proxy_Impl::is_abstract ( +void _TAO_InterfaceDef_Remote_Proxy_Impl::is_abstract ( CORBA_Object *_collocated_tao_target_, CORBA::Boolean is_abstract, CORBA::Environment &ACE_TRY_ENV @@ -28594,10 +18433,6 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -28611,56 +18446,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_set ri ( - "_set_is_abstract", - _tao_call.service_info (), - _collocated_tao_target_, - is_abstract, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << CORBA::Any::from_boolean (is_abstract)) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -28669,39 +18478,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::Boolean IR::_TAO_InterfaceDef_Remote_Proxy_Impl::is_local ( +CORBA::Boolean _TAO_InterfaceDef_Remote_Proxy_Impl::is_local ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -28726,46 +18512,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_get ri ( - "_get_is_local", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -28774,7 +18535,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -28784,44 +18545,18 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_InterfaceDef_Remote_Proxy_Impl::is_local ( +void _TAO_InterfaceDef_Remote_Proxy_Impl::is_local ( CORBA_Object *_collocated_tao_target_, CORBA::Boolean is_local, CORBA::Environment &ACE_TRY_ENV @@ -28830,10 +18565,6 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -28847,56 +18578,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_set ri ( - "_set_is_local", - _tao_call.service_info (), - _collocated_tao_target_, - is_local, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << CORBA::Any::from_boolean (is_local)) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -28905,39 +18610,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::Boolean IR::_TAO_InterfaceDef_Remote_Proxy_Impl::is_a ( +CORBA::Boolean _TAO_InterfaceDef_Remote_Proxy_Impl::is_a ( CORBA_Object *_collocated_tao_target_, const char * interface_id, CORBA::Environment &ACE_TRY_ENV @@ -28963,57 +18645,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_a ri ( - "is_a", - _tao_call.service_info (), - _collocated_tao_target_, - interface_id, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << interface_id) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), _tao_retval ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -29022,7 +18678,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -29032,52 +18688,26 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -IR::AttributeDef_ptr IR::_TAO_InterfaceDef_Remote_Proxy_Impl::create_attribute ( +IR_AttributeDef_ptr _TAO_InterfaceDef_Remote_Proxy_Impl::create_attribute ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::IDLType_ptr type, - IR::AttributeMode mode, - const IR::ExceptionDefSeq & get_exceptions, - const IR::ExceptionDefSeq & put_exceptions, + IR_IDLType_ptr type, + IR_AttributeMode mode, + const IR_ExceptionDefSeq & get_exceptions, + const IR_ExceptionDefSeq & put_exceptions, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -29085,8 +18715,8 @@ )) { - IR::AttributeDef_ptr _tao_retval = IR::AttributeDef::_nil (); - IR::AttributeDef_var _tao_safe_retval (_tao_retval); + IR_AttributeDef_ptr _tao_retval = IR_AttributeDef::_nil (); + IR_AttributeDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -29102,50 +18732,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_attribute ri ( - "create_attribute", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - type, - mode, - get_exceptions, - put_exceptions, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -29157,14 +18755,14 @@ (_tao_out << get_exceptions) && (_tao_out << put_exceptions) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -29173,7 +18771,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -29183,54 +18781,27 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::AttributeDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::OperationDef_ptr IR::_TAO_InterfaceDef_Remote_Proxy_Impl::create_operation ( +IR_OperationDef_ptr _TAO_InterfaceDef_Remote_Proxy_Impl::create_operation ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::IDLType_ptr result, - IR::OperationMode mode, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, - const IR::ContextIdSeq & contexts, + IR_IDLType_ptr result, + IR_OperationMode mode, + const IR_ParDescriptionSeq & params, + const IR_ExceptionDefSeq & exceptions, + const IR_ContextIdSeq & contexts, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -29238,8 +18809,8 @@ )) { - IR::OperationDef_ptr _tao_retval = IR::OperationDef::_nil (); - IR::OperationDef_var _tao_safe_retval (_tao_retval); + IR_OperationDef_ptr _tao_retval = IR_OperationDef::_nil (); + IR_OperationDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -29255,51 +18826,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_operation ri ( - "create_operation", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - result, - mode, - params, - exceptions, - contexts, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -29312,14 +18850,14 @@ (_tao_out << exceptions) && (_tao_out << contexts) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -29328,7 +18866,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -29338,41 +18876,14 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::OperationDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } @@ -29386,32 +18897,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_InterfaceDef_Proxy_Broker::_TAO_InterfaceDef_Proxy_Broker (void) +_TAO_InterfaceDef_Proxy_Broker::_TAO_InterfaceDef_Proxy_Broker (void) { } -IR::_TAO_InterfaceDef_Proxy_Broker::~_TAO_InterfaceDef_Proxy_Broker (void) +_TAO_InterfaceDef_Proxy_Broker::~_TAO_InterfaceDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_InterfaceDef_Remote_Proxy_Broker *IR::_TAO_InterfaceDef_Remote_Proxy_Broker::the_TAO_InterfaceDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_InterfaceDef_Remote_Proxy_Broker *the_TAO_InterfaceDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_InterfaceDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_InterfaceDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_InterfaceDef_Remote_Proxy_Broker::_TAO_InterfaceDef_Remote_Proxy_Broker (void) +_TAO_InterfaceDef_Remote_Proxy_Broker::_TAO_InterfaceDef_Remote_Proxy_Broker (void) { } -IR::_TAO_InterfaceDef_Remote_Proxy_Broker::~_TAO_InterfaceDef_Remote_Proxy_Broker (void) +_TAO_InterfaceDef_Remote_Proxy_Broker::~_TAO_InterfaceDef_Remote_Proxy_Broker (void) { } -IR::_TAO_InterfaceDef_Proxy_Impl& -IR::_TAO_InterfaceDef_Remote_Proxy_Broker::select_proxy ( - ::IR::InterfaceDef *object, +_TAO_InterfaceDef_Proxy_Impl& +_TAO_InterfaceDef_Remote_Proxy_Broker::select_proxy ( + ::IR_InterfaceDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -29427,112 +18938,112 @@ // default constructor -IR::InterfaceDef::InterfaceDef (int collocated) +IR_InterfaceDef::IR_InterfaceDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::InterfaceDef::~InterfaceDef (void) +IR_InterfaceDef::~IR_InterfaceDef (void) {} void -IR::InterfaceDef::_tao_setup_collocation (int collocated) +IR_InterfaceDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_InterfaceDef_Proxy_Broker_ = - ::IR__TAO_InterfaceDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_InterfaceDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_InterfaceDef_Proxy_Broker_ = - ::IR::_TAO_InterfaceDef_Remote_Proxy_Broker::the_TAO_InterfaceDef_Remote_Proxy_Broker (); + ::the_TAO_InterfaceDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Container)::_tao_setup_collocation (collocated); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); - ACE_NESTED_CLASS (IR,IDLType)::_tao_setup_collocation (collocated); + IR_Container::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); + IR_IDLType::_tao_setup_collocation (collocated); } -void IR::InterfaceDef::_tao_any_destructor (void *x) +void IR_InterfaceDef::_tao_any_destructor (void *x) { - InterfaceDef *tmp = ACE_static_cast (InterfaceDef*,x); + IR_InterfaceDef *tmp = ACE_static_cast (IR_InterfaceDef*,x); CORBA::release (tmp); } -IR::InterfaceDef_ptr IR::InterfaceDef::_narrow ( +IR_InterfaceDef_ptr IR_InterfaceDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return InterfaceDef::_nil (); + return IR_InterfaceDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/InterfaceDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (InterfaceDef::_nil ()); + ACE_CHECK_RETURN (IR_InterfaceDef::_nil ()); if (is_a == 0) - return InterfaceDef::_nil (); + return IR_InterfaceDef::_nil (); } - return InterfaceDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_InterfaceDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::InterfaceDef_ptr IR::InterfaceDef::_unchecked_narrow ( +IR_InterfaceDef_ptr IR_InterfaceDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return InterfaceDef::_nil (); + return IR_InterfaceDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - InterfaceDef_ptr default_proxy = InterfaceDef::_nil (); + IR_InterfaceDef_ptr default_proxy = IR_InterfaceDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_InterfaceDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_InterfaceDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::InterfaceDef ( + ::IR_InterfaceDef ( stub, 1, obj->_servant ()), - InterfaceDef::_nil ()); + IR_InterfaceDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::InterfaceDef (stub, 0, obj->_servant ()), InterfaceDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_InterfaceDef (stub, 0, obj->_servant ()), IR_InterfaceDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - InterfaceDef_ptr, + IR_InterfaceDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &InterfaceDef::_narrow + &IR_InterfaceDef::_narrow ) ) ); } -IR::InterfaceDef_ptr -IR::InterfaceDef::_duplicate (InterfaceDef_ptr obj) +IR_InterfaceDef_ptr +IR_InterfaceDef::_duplicate (IR_InterfaceDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::InterfaceDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_InterfaceDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/InterfaceDef:1.0")) || @@ -29546,58 +19057,58 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::InterfaceDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_InterfaceDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, InterfaceDef)::_narrow)) + &IR_InterfaceDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Container_ptr, + IR_Container_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -29610,12 +19121,12 @@ return retv; } -const char* IR::InterfaceDef::_interface_repository_id (void) const +const char* IR_InterfaceDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/InterfaceDef:1.0"; } -IR::InterfaceDefSeq * IR::InterfaceDef::base_interfaces ( +IR_InterfaceDefSeq * IR_InterfaceDef::base_interfaces ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -29629,8 +19140,8 @@ ); } -void IR::InterfaceDef::base_interfaces ( - const IR::InterfaceDefSeq & base_interfaces, +void IR_InterfaceDef::base_interfaces ( + const IR_InterfaceDefSeq & base_interfaces, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -29645,7 +19156,7 @@ ); } -CORBA::Boolean IR::InterfaceDef::is_abstract ( +CORBA::Boolean IR_InterfaceDef::is_abstract ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -29659,7 +19170,7 @@ ); } -void IR::InterfaceDef::is_abstract ( +void IR_InterfaceDef::is_abstract ( CORBA::Boolean is_abstract, CORBA::Environment &ACE_TRY_ENV ) @@ -29675,7 +19186,7 @@ ); } -CORBA::Boolean IR::InterfaceDef::is_local ( +CORBA::Boolean IR_InterfaceDef::is_local ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -29689,7 +19200,7 @@ ); } -void IR::InterfaceDef::is_local ( +void IR_InterfaceDef::is_local ( CORBA::Boolean is_local, CORBA::Environment &ACE_TRY_ENV ) @@ -29705,590 +19216,92 @@ ); } -CORBA::Boolean IR::InterfaceDef::is_a ( +CORBA::Boolean IR_InterfaceDef::is_a ( const char * interface_id, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException - )) -{ - - return this->the_TAO_InterfaceDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_a ( - this, - interface_id, - ACE_TRY_ENV - ); -} - -IR::AttributeDef_ptr IR::InterfaceDef::create_attribute ( - const char * id, - const char * name, - const char * version, - IR::IDLType_ptr type, - IR::AttributeMode mode, - const IR::ExceptionDefSeq & get_exceptions, - const IR::ExceptionDefSeq & put_exceptions, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_InterfaceDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_attribute ( - this, - id, - name, - version, - type, - mode, - get_exceptions, - put_exceptions, - ACE_TRY_ENV - ); -} - -IR::OperationDef_ptr IR::InterfaceDef::create_operation ( - const char * id, - const char * name, - const char * version, - IR::IDLType_ptr result, - IR::OperationMode mode, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, - const IR::ContextIdSeq & contexts, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_InterfaceDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_operation ( - this, - id, - name, - version, - result, - mode, - params, - exceptions, - contexts, - ACE_TRY_ENV - ); -} - - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_get::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_get::result (IR::InterfaceDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_set::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::InterfaceDefSeq & base_interfaces, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - base_interfaces_ (base_interfaces) -{} - -Dynamic::ParameterList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_base_interfaces = this->parameter_list_.length (); - this->parameter_list_.length (length_base_interfaces + 1); - this->parameter_list_[length_base_interfaces].argument <<= this->base_interfaces_; - - this->parameter_list_[length_base_interfaces].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_base_interfaces_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_get::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_get::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_set::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::Boolean & is_abstract, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - is_abstract_ (is_abstract) -{} - -Dynamic::ParameterList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_is_abstract = this->parameter_list_.length (); - this->parameter_list_.length (length_is_abstract + 1); - this->parameter_list_[length_is_abstract].argument <<= CORBA::Any::from_boolean (this->is_abstract_); - this->parameter_list_[length_is_abstract].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_abstract_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_get::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_get::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_set::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::Boolean & is_local, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - is_local_ (is_local) -{} - -Dynamic::ParameterList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_is_local = this->parameter_list_.length (); - this->parameter_list_.length (length_is_local + 1); - this->parameter_list_[length_is_local].argument <<= CORBA::Any::from_boolean (this->is_local_); - this->parameter_list_[length_is_local].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_local_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_a::TAO_ClientRequestInfo_IR_InterfaceDef_is_a ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * interface_id, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - interface_id_ (interface_id) -{} - -Dynamic::ParameterList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_a::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_interface_id = this->parameter_list_.length (); - this->parameter_list_.length (length_interface_id + 1); - this->parameter_list_[length_interface_id].argument <<= interface_id_; - this->parameter_list_[length_interface_id].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_a::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_a::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_is_a::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_attribute::TAO_ClientRequestInfo_IR_InterfaceDef_create_attribute ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::IDLType_ptr type, - IR::AttributeMode & mode, - const IR::ExceptionDefSeq & get_exceptions, - const IR::ExceptionDefSeq & put_exceptions, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - type_ (type), - mode_ (mode), - get_exceptions_ (get_exceptions), - put_exceptions_ (put_exceptions) -{} - -Dynamic::ParameterList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_attribute::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_type = this->parameter_list_.length (); - this->parameter_list_.length (length_type + 1); - this->parameter_list_[length_type].argument <<= this->type_; - - this->parameter_list_[length_type].mode = Dynamic::PARAM_IN; - CORBA::ULong length_mode = this->parameter_list_.length (); - this->parameter_list_.length (length_mode + 1); - this->parameter_list_[length_mode].argument <<= this->mode_; - - this->parameter_list_[length_mode].mode = Dynamic::PARAM_IN; - CORBA::ULong length_get_exceptions = this->parameter_list_.length (); - this->parameter_list_.length (length_get_exceptions + 1); - this->parameter_list_[length_get_exceptions].argument <<= this->get_exceptions_; - - this->parameter_list_[length_get_exceptions].mode = Dynamic::PARAM_IN; - CORBA::ULong length_put_exceptions = this->parameter_list_.length (); - this->parameter_list_.length (length_put_exceptions + 1); - this->parameter_list_[length_put_exceptions].argument <<= this->put_exceptions_; - - this->parameter_list_[length_put_exceptions].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_attribute::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_attribute::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_attribute::result (IR::AttributeDef_ptr result) + )) { - // update the result - this->result_ = result; + + return this->the_TAO_InterfaceDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_a ( + this, + interface_id, + ACE_TRY_ENV + ); } -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_operation::TAO_ClientRequestInfo_IR_InterfaceDef_create_operation ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, +IR_AttributeDef_ptr IR_InterfaceDef::create_attribute ( const char * id, const char * name, const char * version, - IR::IDLType_ptr result, - IR::OperationMode & mode, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, - const IR::ContextIdSeq & contexts, - CORBA::Environment & + IR_IDLType_ptr type, + IR_AttributeMode mode, + const IR_ExceptionDefSeq & get_exceptions, + const IR_ExceptionDefSeq & put_exceptions, + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - result_ (result), - mode_ (mode), - params_ (params), - exceptions_ (exceptions), - contexts_ (contexts) -{} - -Dynamic::ParameterList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_operation::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_result = this->parameter_list_.length (); - this->parameter_list_.length (length_result + 1); - this->parameter_list_[length_result].argument <<= this->result_; - - this->parameter_list_[length_result].mode = Dynamic::PARAM_IN; - CORBA::ULong length_mode = this->parameter_list_.length (); - this->parameter_list_.length (length_mode + 1); - this->parameter_list_[length_mode].argument <<= this->mode_; - - this->parameter_list_[length_mode].mode = Dynamic::PARAM_IN; - CORBA::ULong length_params = this->parameter_list_.length (); - this->parameter_list_.length (length_params + 1); - this->parameter_list_[length_params].argument <<= this->params_; - - this->parameter_list_[length_params].mode = Dynamic::PARAM_IN; - CORBA::ULong length_exceptions = this->parameter_list_.length (); - this->parameter_list_.length (length_exceptions + 1); - this->parameter_list_[length_exceptions].argument <<= this->exceptions_; - this->parameter_list_[length_exceptions].mode = Dynamic::PARAM_IN; - CORBA::ULong length_contexts = this->parameter_list_.length (); - this->parameter_list_.length (length_contexts + 1); - this->parameter_list_[length_contexts].argument <<= this->contexts_; - - this->parameter_list_[length_contexts].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_operation::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_operation::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; + return this->the_TAO_InterfaceDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_attribute ( + this, + id, + name, + version, + type, + mode, + get_exceptions, + put_exceptions, + ACE_TRY_ENV + ); } -void -IR::InterfaceDef::TAO_ClientRequestInfo_IR_InterfaceDef_create_operation::result (IR::OperationDef_ptr result) +IR_OperationDef_ptr IR_InterfaceDef::create_operation ( + const char * id, + const char * name, + const char * version, + IR_IDLType_ptr result, + IR_OperationMode mode, + const IR_ParDescriptionSeq & params, + const IR_ExceptionDefSeq & exceptions, + const IR_ContextIdSeq & contexts, + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // update the result - this->result_ = result; + + return this->the_TAO_InterfaceDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_operation ( + this, + id, + name, + version, + result, + mode, + params, + exceptions, + contexts, + ACE_TRY_ENV + ); } -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_InterfaceDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e746572), ACE_NTOHL (0x66616365), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/InterfaceDef:1.0 - 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = InterfaceDef + 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_InterfaceDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_InterfaceDef (CORBA::tk_objref, sizeof (_oc_IR_InterfaceDef), (char *) &_oc_IR_InterfaceDef, 0, sizeof (IR::InterfaceDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_InterfaceDef (CORBA::tk_objref, sizeof (_oc_IR_InterfaceDef), (char *) &_oc_IR_InterfaceDef, 0, sizeof (IR_InterfaceDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_InterfaceDef, &_tc_TAO_tc_IR_InterfaceDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_InterfaceDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -30453,7 +19466,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 5, ACE_NTOHL (0x6d6f6465), ACE_NTOHL (0x0), // name = mode CORBA::tk_enum, // typecode kind @@ -30746,14 +19759,15 @@ CORBA::tk_boolean, }; -static CORBA::TypeCode _tc_TAO_tc_IR_InterfaceDescription (CORBA::tk_struct, sizeof (_oc_IR_InterfaceDescription), (char *) &_oc_IR_InterfaceDescription, 0, sizeof (IR::InterfaceDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_InterfaceDescription (CORBA::tk_struct, sizeof (_oc_IR_InterfaceDescription), (char *) &_oc_IR_InterfaceDescription, 0, sizeof (IR_InterfaceDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_InterfaceDescription, &_tc_TAO_tc_IR_InterfaceDescription) TAO_NAMESPACE_END -void IR::InterfaceDescription::_tao_any_destructor (void *x) + +void IR_InterfaceDescription::_tao_any_destructor (void *x) { - InterfaceDescription *tmp = ACE_static_cast (InterfaceDescription*,x); + IR_InterfaceDescription *tmp = ACE_static_cast (IR_InterfaceDescription*,x); delete tmp; } @@ -30807,7 +19821,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 7, ACE_NTOHL (0x61636365), ACE_NTOHL (0x73730000), // name = access CORBA::tk_alias, // typecode kind for typedefs @@ -30819,32 +19833,30 @@ }; -static CORBA::TypeCode _tc_TAO_tc_IR_ValueMember (CORBA::tk_struct, sizeof (_oc_IR_ValueMember), (char *) &_oc_IR_ValueMember, 0, sizeof (IR::ValueMember)); +static CORBA::TypeCode _tc_TAO_tc_IR_ValueMember (CORBA::tk_struct, sizeof (_oc_IR_ValueMember), (char *) &_oc_IR_ValueMember, 0, sizeof (IR_ValueMember)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ValueMember, &_tc_TAO_tc_IR_ValueMember) TAO_NAMESPACE_END -void IR::ValueMember::_tao_any_destructor (void *x) + +void IR_ValueMember::_tao_any_destructor (void *x) { - ValueMember *tmp = ACE_static_cast (ValueMember*,x); + IR_ValueMember *tmp = ACE_static_cast (IR_ValueMember*,x); delete tmp; } #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_VALUEMEMBERSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_VALUEMEMBERSEQ_CS_ - void - IR::_TAO_Unbounded_Sequence_IR_ValueMemberSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Sequence_IR_ValueMemberSeq::_allocate_buffer (CORBA::ULong length) { - IR::ValueMember* tmp = 0; + IR_ValueMember* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_ValueMemberSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::ValueMember *old = ACE_reinterpret_cast (IR::ValueMember *,this->buffer_); + IR_ValueMember *old = ACE_reinterpret_cast (IR_ValueMember *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -30857,75 +19869,65 @@ } void - IR::_TAO_Unbounded_Sequence_IR_ValueMemberSeq::_deallocate_buffer (void) + _TAO_Unbounded_Sequence_IR_ValueMemberSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::ValueMember *tmp = ACE_reinterpret_cast (IR::ValueMember *,this->buffer_); + IR_ValueMember *tmp = ACE_reinterpret_cast (IR_ValueMember *,this->buffer_); _TAO_Unbounded_Sequence_IR_ValueMemberSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Sequence_IR_ValueMemberSeq::~_TAO_Unbounded_Sequence_IR_ValueMemberSeq (void) // Dtor. + _TAO_Unbounded_Sequence_IR_ValueMemberSeq::~_TAO_Unbounded_Sequence_IR_ValueMemberSeq (void) // Dtor. { this->_deallocate_buffer (); } - -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_VALUEMEMBERSEQ_CS_) -#define _TAO_IR_VALUEMEMBERSEQ_CS_ - // ************************************************************* -// IR::ValueMemberSeq +// IR_ValueMemberSeq // ************************************************************* -IR::ValueMemberSeq::ValueMemberSeq (void) +IR_ValueMemberSeq::IR_ValueMemberSeq (void) {} -IR::ValueMemberSeq::ValueMemberSeq (CORBA::ULong max) // uses max size +IR_ValueMemberSeq::IR_ValueMemberSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ValueMemberSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ValueMemberSeq::ValueMemberSeq (CORBA::ULong max, CORBA::ULong length, IR::ValueMember *buffer, CORBA::Boolean release) +IR_ValueMemberSeq::IR_ValueMemberSeq (CORBA::ULong max, CORBA::ULong length, IR_ValueMember *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ValueMemberSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ValueMemberSeq::ValueMemberSeq (const ValueMemberSeq &seq) // copy ctor +IR_ValueMemberSeq::IR_ValueMemberSeq (const IR_ValueMemberSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ValueMemberSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ValueMemberSeq::~ValueMemberSeq (void) // dtor +IR_ValueMemberSeq::~IR_ValueMemberSeq (void) // dtor {} -void IR::ValueMemberSeq::_tao_any_destructor (void *x) +void IR_ValueMemberSeq::_tao_any_destructor (void *x) { - ValueMemberSeq *tmp = ACE_static_cast (ValueMemberSeq*,x); + IR_ValueMemberSeq *tmp = ACE_static_cast (IR_ValueMemberSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ValueMemberSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -30984,7 +19986,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 7, ACE_NTOHL (0x61636365), ACE_NTOHL (0x73730000), // name = access CORBA::tk_alias, // typecode kind for typedefs @@ -30999,7 +20001,7 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ValueMemberSeq (CORBA::tk_alias, sizeof (_oc_IR_ValueMemberSeq), (char *) &_oc_IR_ValueMemberSeq, 0, sizeof (IR::ValueMemberSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ValueMemberSeq (CORBA::tk_alias, sizeof (_oc_IR_ValueMemberSeq), (char *) &_oc_IR_ValueMemberSeq, 0, sizeof (IR_ValueMemberSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ValueMemberSeq, &_tc_TAO_tc_IR_ValueMemberSeq) @@ -31009,15 +20011,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_ValueMemberDef_Proxy_Impl::_TAO_ValueMemberDef_Proxy_Impl (void) +_TAO_ValueMemberDef_Proxy_Impl::_TAO_ValueMemberDef_Proxy_Impl (void) {} -IR::_TAO_ValueMemberDef_Remote_Proxy_Impl::_TAO_ValueMemberDef_Remote_Proxy_Impl (void) +_TAO_ValueMemberDef_Remote_Proxy_Impl::_TAO_ValueMemberDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::TypeCode_ptr IR::_TAO_ValueMemberDef_Remote_Proxy_Impl::type ( +CORBA::TypeCode_ptr _TAO_ValueMemberDef_Remote_Proxy_Impl::type ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -31043,46 +20045,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_get ri ( - "_get_type", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -31091,7 +20068,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -31101,45 +20078,17 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - CORBA::TypeCode_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::IDLType_ptr IR::_TAO_ValueMemberDef_Remote_Proxy_Impl::type_def ( +IR_IDLType_ptr _TAO_ValueMemberDef_Remote_Proxy_Impl::type_def ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -31148,8 +20097,8 @@ )) { - IR::IDLType_ptr _tao_retval = IR::IDLType::_nil (); - IR::IDLType_var _tao_safe_retval (_tao_retval); + IR_IDLType_ptr _tao_retval = IR_IDLType::_nil (); + IR_IDLType_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -31165,46 +20114,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_get ri ( - "_get_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -31213,7 +20137,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -31223,57 +20147,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::IDLType_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ValueMemberDef_Remote_Proxy_Impl::type_def ( +void _TAO_ValueMemberDef_Remote_Proxy_Impl::type_def ( CORBA_Object *_collocated_tao_target_, - IR::IDLType_ptr type_def, + IR_IDLType_ptr type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -31287,56 +20180,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_set ri ( - "_set_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - type_def, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << type_def) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -31345,39 +20212,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::Visibility IR::_TAO_ValueMemberDef_Remote_Proxy_Impl::access ( +CORBA::Visibility _TAO_ValueMemberDef_Remote_Proxy_Impl::access ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -31402,46 +20246,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_get ri ( - "_get_access", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -31450,7 +20269,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -31460,44 +20279,18 @@ (_tao_in >> _tao_retval) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Visibility _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_ValueMemberDef_Remote_Proxy_Impl::access ( +void _TAO_ValueMemberDef_Remote_Proxy_Impl::access ( CORBA_Object *_collocated_tao_target_, CORBA::Visibility access, CORBA::Environment &ACE_TRY_ENV @@ -31506,10 +20299,6 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -31523,56 +20312,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_set ri ( - "_set_access", - _tao_call.service_info (), - _collocated_tao_target_, - access, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << access) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -31581,36 +20344,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -31623,32 +20363,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ValueMemberDef_Proxy_Broker::_TAO_ValueMemberDef_Proxy_Broker (void) +_TAO_ValueMemberDef_Proxy_Broker::_TAO_ValueMemberDef_Proxy_Broker (void) { } -IR::_TAO_ValueMemberDef_Proxy_Broker::~_TAO_ValueMemberDef_Proxy_Broker (void) +_TAO_ValueMemberDef_Proxy_Broker::~_TAO_ValueMemberDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ValueMemberDef_Remote_Proxy_Broker *IR::_TAO_ValueMemberDef_Remote_Proxy_Broker::the_TAO_ValueMemberDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ValueMemberDef_Remote_Proxy_Broker *the_TAO_ValueMemberDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ValueMemberDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ValueMemberDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ValueMemberDef_Remote_Proxy_Broker::_TAO_ValueMemberDef_Remote_Proxy_Broker (void) +_TAO_ValueMemberDef_Remote_Proxy_Broker::_TAO_ValueMemberDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ValueMemberDef_Remote_Proxy_Broker::~_TAO_ValueMemberDef_Remote_Proxy_Broker (void) +_TAO_ValueMemberDef_Remote_Proxy_Broker::~_TAO_ValueMemberDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ValueMemberDef_Proxy_Impl& -IR::_TAO_ValueMemberDef_Remote_Proxy_Broker::select_proxy ( - ::IR::ValueMemberDef *object, +_TAO_ValueMemberDef_Proxy_Impl& +_TAO_ValueMemberDef_Remote_Proxy_Broker::select_proxy ( + ::IR_ValueMemberDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -31664,110 +20404,110 @@ // default constructor -IR::ValueMemberDef::ValueMemberDef (int collocated) +IR_ValueMemberDef::IR_ValueMemberDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ValueMemberDef::~ValueMemberDef (void) +IR_ValueMemberDef::~IR_ValueMemberDef (void) {} void -IR::ValueMemberDef::_tao_setup_collocation (int collocated) +IR_ValueMemberDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ValueMemberDef_Proxy_Broker_ = - ::IR__TAO_ValueMemberDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_ValueMemberDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ValueMemberDef_Proxy_Broker_ = - ::IR::_TAO_ValueMemberDef_Remote_Proxy_Broker::the_TAO_ValueMemberDef_Remote_Proxy_Broker (); + ::the_TAO_ValueMemberDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); } -void IR::ValueMemberDef::_tao_any_destructor (void *x) +void IR_ValueMemberDef::_tao_any_destructor (void *x) { - ValueMemberDef *tmp = ACE_static_cast (ValueMemberDef*,x); + IR_ValueMemberDef *tmp = ACE_static_cast (IR_ValueMemberDef*,x); CORBA::release (tmp); } -IR::ValueMemberDef_ptr IR::ValueMemberDef::_narrow ( +IR_ValueMemberDef_ptr IR_ValueMemberDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ValueMemberDef::_nil (); + return IR_ValueMemberDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ValueMemberDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ValueMemberDef::_nil ()); + ACE_CHECK_RETURN (IR_ValueMemberDef::_nil ()); if (is_a == 0) - return ValueMemberDef::_nil (); + return IR_ValueMemberDef::_nil (); } - return ValueMemberDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ValueMemberDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ValueMemberDef_ptr IR::ValueMemberDef::_unchecked_narrow ( +IR_ValueMemberDef_ptr IR_ValueMemberDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ValueMemberDef::_nil (); + return IR_ValueMemberDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ValueMemberDef_ptr default_proxy = ValueMemberDef::_nil (); + IR_ValueMemberDef_ptr default_proxy = IR_ValueMemberDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ValueMemberDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ValueMemberDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ValueMemberDef ( + ::IR_ValueMemberDef ( stub, 1, obj->_servant ()), - ValueMemberDef::_nil ()); + IR_ValueMemberDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ValueMemberDef (stub, 0, obj->_servant ()), ValueMemberDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ValueMemberDef (stub, 0, obj->_servant ()), IR_ValueMemberDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ValueMemberDef_ptr, + IR_ValueMemberDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ValueMemberDef::_narrow + &IR_ValueMemberDef::_narrow ) ) ); } -IR::ValueMemberDef_ptr -IR::ValueMemberDef::_duplicate (ValueMemberDef_ptr obj) +IR_ValueMemberDef_ptr +IR_ValueMemberDef::_duplicate (IR_ValueMemberDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ValueMemberDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ValueMemberDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ValueMemberDef:1.0")) || @@ -31779,34 +20519,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ValueMemberDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_ValueMemberDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ValueMemberDef)::_narrow)) + &IR_ValueMemberDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -31819,12 +20559,12 @@ return retv; } -const char* IR::ValueMemberDef::_interface_repository_id (void) const +const char* IR_ValueMemberDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/ValueMemberDef:1.0"; } -CORBA::TypeCode_ptr IR::ValueMemberDef::type ( +CORBA::TypeCode_ptr IR_ValueMemberDef::type ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -31838,7 +20578,7 @@ ); } -IR::IDLType_ptr IR::ValueMemberDef::type_def ( +IR_IDLType_ptr IR_ValueMemberDef::type_def ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -31852,8 +20592,8 @@ ); } -void IR::ValueMemberDef::type_def ( - IR::IDLType_ptr type_def, +void IR_ValueMemberDef::type_def ( + IR_IDLType_ptr type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -31868,7 +20608,7 @@ ); } -CORBA::Visibility IR::ValueMemberDef::access ( +CORBA::Visibility IR_ValueMemberDef::access ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -31882,7 +20622,7 @@ ); } -void IR::ValueMemberDef::access ( +void IR_ValueMemberDef::access ( CORBA::Visibility access, CORBA::Environment &ACE_TRY_ENV ) @@ -31898,233 +20638,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_get::TAO_ClientRequestInfo_IR_ValueMemberDef_type_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_get::result (CORBA::TypeCode_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_get::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_get::result (IR::IDLType_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_set::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::IDLType_ptr type_def, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - type_def_ (type_def) -{} - -Dynamic::ParameterList * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_type_def = this->parameter_list_.length (); - this->parameter_list_.length (length_type_def + 1); - this->parameter_list_[length_type_def].argument <<= this->type_def_; - - this->parameter_list_[length_type_def].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_type_def_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_get::TAO_ClientRequestInfo_IR_ValueMemberDef_access_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - - return &this->result_val_; -} - -void -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_get::result (CORBA::Visibility result) -{ - // update the result - this->result_ = result; -} - -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_set::TAO_ClientRequestInfo_IR_ValueMemberDef_access_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::Visibility & access, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - access_ (access) -{} - -Dynamic::ParameterList * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_access = this->parameter_list_.length (); - this->parameter_list_.length (length_access + 1); - this->parameter_list_[length_access].argument <<= access_; - this->parameter_list_[length_access].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueMemberDef::TAO_ClientRequestInfo_IR_ValueMemberDef_access_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ValueMemberDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 34, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f56), ACE_NTOHL (0x616c7565), ACE_NTOHL (0x4d656d62), ACE_NTOHL (0x65724465), ACE_NTOHL (0x663a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/ValueMemberDef:1.0 - 15, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x654d656d), ACE_NTOHL (0x62657244), ACE_NTOHL (0x65660000), // name = ValueMemberDef + 15, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x654d656d), ACE_NTOHL (0x62657244), ACE_NTOHL (0x65660000), // name = IR_ValueMemberDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ValueMemberDef (CORBA::tk_objref, sizeof (_oc_IR_ValueMemberDef), (char *) &_oc_IR_ValueMemberDef, 0, sizeof (IR::ValueMemberDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_ValueMemberDef (CORBA::tk_objref, sizeof (_oc_IR_ValueMemberDef), (char *) &_oc_IR_ValueMemberDef, 0, sizeof (IR_ValueMemberDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ValueMemberDef, &_tc_TAO_tc_IR_ValueMemberDef) @@ -32134,15 +20654,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_ValueDef_Proxy_Impl::_TAO_ValueDef_Proxy_Impl (void) +_TAO_ValueDef_Proxy_Impl::_TAO_ValueDef_Proxy_Impl (void) {} -IR::_TAO_ValueDef_Remote_Proxy_Impl::_TAO_ValueDef_Remote_Proxy_Impl (void) +_TAO_ValueDef_Remote_Proxy_Impl::_TAO_ValueDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::InterfaceDefSeq * IR::_TAO_ValueDef_Remote_Proxy_Impl::supported_interfaces ( +IR_InterfaceDefSeq * _TAO_ValueDef_Remote_Proxy_Impl::supported_interfaces ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -32151,7 +20671,7 @@ )) { - IR::InterfaceDefSeq *_tao_retval = 0; + IR_InterfaceDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -32159,8 +20679,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::InterfaceDefSeq, _tao_retval); - IR::InterfaceDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_InterfaceDefSeq, _tao_retval); + IR_InterfaceDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_supported_interfaces", @@ -32169,46 +20689,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_get ri ( - "_get_supported_interfaces", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -32217,7 +20712,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -32227,57 +20722,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::InterfaceDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ValueDef_Remote_Proxy_Impl::supported_interfaces ( +void _TAO_ValueDef_Remote_Proxy_Impl::supported_interfaces ( CORBA_Object *_collocated_tao_target_, - const IR::InterfaceDefSeq & supported_interfaces, + const IR_InterfaceDefSeq & supported_interfaces, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -32291,56 +20755,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_set ri ( - "_set_supported_interfaces", - _tao_call.service_info (), - _collocated_tao_target_, - supported_interfaces, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << supported_interfaces) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -32349,39 +20787,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::InitializerSeq * IR::_TAO_ValueDef_Remote_Proxy_Impl::initializers ( +IR_InitializerSeq * _TAO_ValueDef_Remote_Proxy_Impl::initializers ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -32390,7 +20805,7 @@ )) { - IR::InitializerSeq *_tao_retval = 0; + IR_InitializerSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -32398,8 +20813,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::InitializerSeq, _tao_retval); - IR::InitializerSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_InitializerSeq, _tao_retval); + IR_InitializerSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_initializers", @@ -32408,46 +20823,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_get ri ( - "_get_initializers", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -32456,7 +20846,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -32466,57 +20856,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::InitializerSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ValueDef_Remote_Proxy_Impl::initializers ( +void _TAO_ValueDef_Remote_Proxy_Impl::initializers ( CORBA_Object *_collocated_tao_target_, - const IR::InitializerSeq & initializers, + const IR_InitializerSeq & initializers, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -32530,56 +20889,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_set ri ( - "_set_initializers", - _tao_call.service_info (), - _collocated_tao_target_, - initializers, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << initializers) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -32588,39 +20921,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::ValueDef_ptr IR::_TAO_ValueDef_Remote_Proxy_Impl::base_value ( +IR_ValueDef_ptr _TAO_ValueDef_Remote_Proxy_Impl::base_value ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -32629,8 +20939,8 @@ )) { - IR::ValueDef_ptr _tao_retval = IR::ValueDef::_nil (); - IR::ValueDef_var _tao_safe_retval (_tao_retval); + IR_ValueDef_ptr _tao_retval = IR_ValueDef::_nil (); + IR_ValueDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -32646,46 +20956,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_get ri ( - "_get_base_value", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -32694,7 +20979,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -32704,57 +20989,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ValueDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ValueDef_Remote_Proxy_Impl::base_value ( +void _TAO_ValueDef_Remote_Proxy_Impl::base_value ( CORBA_Object *_collocated_tao_target_, - IR::ValueDef_ptr base_value, + IR_ValueDef_ptr base_value, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -32768,56 +21022,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_set ri ( - "_set_base_value", - _tao_call.service_info (), - _collocated_tao_target_, - base_value, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << base_value) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -32826,39 +21054,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::ValueDefSeq * IR::_TAO_ValueDef_Remote_Proxy_Impl::abstract_base_values ( +IR_ValueDefSeq * _TAO_ValueDef_Remote_Proxy_Impl::abstract_base_values ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -32867,7 +21072,7 @@ )) { - IR::ValueDefSeq *_tao_retval = 0; + IR_ValueDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -32875,8 +21080,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::ValueDefSeq, _tao_retval); - IR::ValueDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_ValueDefSeq, _tao_retval); + IR_ValueDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_abstract_base_values", @@ -32885,46 +21090,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_get ri ( - "_get_abstract_base_values", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -32933,7 +21113,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -32943,57 +21123,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ValueDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ValueDef_Remote_Proxy_Impl::abstract_base_values ( +void _TAO_ValueDef_Remote_Proxy_Impl::abstract_base_values ( CORBA_Object *_collocated_tao_target_, - const IR::ValueDefSeq & abstract_base_values, + const IR_ValueDefSeq & abstract_base_values, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -33007,56 +21156,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_set ri ( - "_set_abstract_base_values", - _tao_call.service_info (), - _collocated_tao_target_, - abstract_base_values, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << abstract_base_values) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -33065,39 +21188,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::Boolean IR::_TAO_ValueDef_Remote_Proxy_Impl::is_abstract ( +CORBA::Boolean _TAO_ValueDef_Remote_Proxy_Impl::is_abstract ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -33122,46 +21222,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_get ri ( - "_get_is_abstract", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -33170,7 +21245,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -33180,44 +21255,18 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_ValueDef_Remote_Proxy_Impl::is_abstract ( +void _TAO_ValueDef_Remote_Proxy_Impl::is_abstract ( CORBA_Object *_collocated_tao_target_, CORBA::Boolean is_abstract, CORBA::Environment &ACE_TRY_ENV @@ -33226,10 +21275,6 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -33243,56 +21288,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_set ri ( - "_set_is_abstract", - _tao_call.service_info (), - _collocated_tao_target_, - is_abstract, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << CORBA::Any::from_boolean (is_abstract)) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -33301,39 +21320,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::Boolean IR::_TAO_ValueDef_Remote_Proxy_Impl::is_custom ( +CORBA::Boolean _TAO_ValueDef_Remote_Proxy_Impl::is_custom ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -33358,46 +21354,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_get ri ( - "_get_is_custom", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -33406,7 +21377,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -33416,44 +21387,18 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_ValueDef_Remote_Proxy_Impl::is_custom ( +void _TAO_ValueDef_Remote_Proxy_Impl::is_custom ( CORBA_Object *_collocated_tao_target_, CORBA::Boolean is_custom, CORBA::Environment &ACE_TRY_ENV @@ -33462,10 +21407,6 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -33479,56 +21420,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_set ri ( - "_set_is_custom", - _tao_call.service_info (), - _collocated_tao_target_, - is_custom, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << CORBA::Any::from_boolean (is_custom)) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -33537,39 +21452,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::Boolean IR::_TAO_ValueDef_Remote_Proxy_Impl::is_truncatable ( +CORBA::Boolean _TAO_ValueDef_Remote_Proxy_Impl::is_truncatable ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -33591,49 +21483,24 @@ "_get_is_truncatable", 19, 0, - istub->orb_core () - ); - -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_get ri ( - "_get_is_truncatable", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV + istub->orb_core () ); - ACE_CHECK_RETURN (_tao_retval); - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -33642,7 +21509,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -33652,44 +21519,18 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -void IR::_TAO_ValueDef_Remote_Proxy_Impl::is_truncatable ( +void _TAO_ValueDef_Remote_Proxy_Impl::is_truncatable ( CORBA_Object *_collocated_tao_target_, CORBA::Boolean is_truncatable, CORBA::Environment &ACE_TRY_ENV @@ -33698,10 +21539,6 @@ CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -33715,56 +21552,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_set ri ( - "_set_is_truncatable", - _tao_call.service_info (), - _collocated_tao_target_, - is_truncatable, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << CORBA::Any::from_boolean (is_truncatable)) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -33773,39 +21584,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -CORBA::Boolean IR::_TAO_ValueDef_Remote_Proxy_Impl::is_a ( +CORBA::Boolean _TAO_ValueDef_Remote_Proxy_Impl::is_a ( CORBA_Object *_collocated_tao_target_, const char * id, CORBA::Environment &ACE_TRY_ENV @@ -33831,57 +21619,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_a ri ( - "is_a", - _tao_call.service_info (), - _collocated_tao_target_, - id, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << id) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), _tao_retval ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -33890,7 +21652,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -33900,49 +21662,23 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -IR::ValueMemberDef_ptr IR::_TAO_ValueDef_Remote_Proxy_Impl::create_value_member ( +IR_ValueMemberDef_ptr _TAO_ValueDef_Remote_Proxy_Impl::create_value_member ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::IDLType_ptr type, + IR_IDLType_ptr type, CORBA::Visibility access, CORBA::Environment &ACE_TRY_ENV ) @@ -33951,8 +21687,8 @@ )) { - IR::ValueMemberDef_ptr _tao_retval = IR::ValueMemberDef::_nil (); - IR::ValueMemberDef_var _tao_safe_retval (_tao_retval); + IR_ValueMemberDef_ptr _tao_retval = IR_ValueMemberDef::_nil (); + IR_ValueMemberDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -33968,48 +21704,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_value_member ri ( - "create_value_member", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - type, - access, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -34019,14 +21725,14 @@ (_tao_out << type) && (_tao_out << access) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -34035,7 +21741,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -34045,53 +21751,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ValueMemberDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::AttributeDef_ptr IR::_TAO_ValueDef_Remote_Proxy_Impl::create_attribute ( +IR_AttributeDef_ptr _TAO_ValueDef_Remote_Proxy_Impl::create_attribute ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::IDLType_ptr type, - IR::AttributeMode mode, - const IR::ExceptionDefSeq & get_exceptions, - const IR::ExceptionDefSeq & put_exceptions, + IR_IDLType_ptr type, + IR_AttributeMode mode, + const IR_ExceptionDefSeq & get_exceptions, + const IR_ExceptionDefSeq & put_exceptions, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34099,8 +21778,8 @@ )) { - IR::AttributeDef_ptr _tao_retval = IR::AttributeDef::_nil (); - IR::AttributeDef_var _tao_safe_retval (_tao_retval); + IR_AttributeDef_ptr _tao_retval = IR_AttributeDef::_nil (); + IR_AttributeDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -34116,50 +21795,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_attribute ri ( - "create_attribute", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - type, - mode, - get_exceptions, - put_exceptions, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -34171,14 +21818,14 @@ (_tao_out << get_exceptions) && (_tao_out << put_exceptions) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -34187,7 +21834,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -34197,54 +21844,27 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::AttributeDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::OperationDef_ptr IR::_TAO_ValueDef_Remote_Proxy_Impl::create_operation ( +IR_OperationDef_ptr _TAO_ValueDef_Remote_Proxy_Impl::create_operation ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::IDLType_ptr result, - IR::OperationMode mode, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, - const IR::ContextIdSeq & contexts, + IR_IDLType_ptr result, + IR_OperationMode mode, + const IR_ParDescriptionSeq & params, + const IR_ExceptionDefSeq & exceptions, + const IR_ContextIdSeq & contexts, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34252,8 +21872,8 @@ )) { - IR::OperationDef_ptr _tao_retval = IR::OperationDef::_nil (); - IR::OperationDef_var _tao_safe_retval (_tao_retval); + IR_OperationDef_ptr _tao_retval = IR_OperationDef::_nil (); + IR_OperationDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -34269,51 +21889,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_operation ri ( - "create_operation", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - result, - mode, - params, - exceptions, - contexts, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -34326,14 +21913,14 @@ (_tao_out << exceptions) && (_tao_out << contexts) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -34342,7 +21929,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -34352,41 +21939,14 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::OperationDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } @@ -34400,32 +21960,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ValueDef_Proxy_Broker::_TAO_ValueDef_Proxy_Broker (void) +_TAO_ValueDef_Proxy_Broker::_TAO_ValueDef_Proxy_Broker (void) { } -IR::_TAO_ValueDef_Proxy_Broker::~_TAO_ValueDef_Proxy_Broker (void) +_TAO_ValueDef_Proxy_Broker::~_TAO_ValueDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ValueDef_Remote_Proxy_Broker *IR::_TAO_ValueDef_Remote_Proxy_Broker::the_TAO_ValueDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ValueDef_Remote_Proxy_Broker *the_TAO_ValueDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ValueDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ValueDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ValueDef_Remote_Proxy_Broker::_TAO_ValueDef_Remote_Proxy_Broker (void) +_TAO_ValueDef_Remote_Proxy_Broker::_TAO_ValueDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ValueDef_Remote_Proxy_Broker::~_TAO_ValueDef_Remote_Proxy_Broker (void) +_TAO_ValueDef_Remote_Proxy_Broker::~_TAO_ValueDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ValueDef_Proxy_Impl& -IR::_TAO_ValueDef_Remote_Proxy_Broker::select_proxy ( - ::IR::ValueDef *object, +_TAO_ValueDef_Proxy_Impl& +_TAO_ValueDef_Remote_Proxy_Broker::select_proxy ( + ::IR_ValueDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -34441,112 +22001,112 @@ // default constructor -IR::ValueDef::ValueDef (int collocated) +IR_ValueDef::IR_ValueDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ValueDef::~ValueDef (void) +IR_ValueDef::~IR_ValueDef (void) {} void -IR::ValueDef::_tao_setup_collocation (int collocated) +IR_ValueDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ValueDef_Proxy_Broker_ = - ::IR__TAO_ValueDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_ValueDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ValueDef_Proxy_Broker_ = - ::IR::_TAO_ValueDef_Remote_Proxy_Broker::the_TAO_ValueDef_Remote_Proxy_Broker (); + ::the_TAO_ValueDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Container)::_tao_setup_collocation (collocated); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); - ACE_NESTED_CLASS (IR,IDLType)::_tao_setup_collocation (collocated); + IR_Container::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); + IR_IDLType::_tao_setup_collocation (collocated); } -void IR::ValueDef::_tao_any_destructor (void *x) +void IR_ValueDef::_tao_any_destructor (void *x) { - ValueDef *tmp = ACE_static_cast (ValueDef*,x); + IR_ValueDef *tmp = ACE_static_cast (IR_ValueDef*,x); CORBA::release (tmp); } -IR::ValueDef_ptr IR::ValueDef::_narrow ( +IR_ValueDef_ptr IR_ValueDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ValueDef::_nil (); + return IR_ValueDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ValueDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ValueDef::_nil ()); + ACE_CHECK_RETURN (IR_ValueDef::_nil ()); if (is_a == 0) - return ValueDef::_nil (); + return IR_ValueDef::_nil (); } - return ValueDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ValueDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ValueDef_ptr IR::ValueDef::_unchecked_narrow ( +IR_ValueDef_ptr IR_ValueDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ValueDef::_nil (); + return IR_ValueDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ValueDef_ptr default_proxy = ValueDef::_nil (); + IR_ValueDef_ptr default_proxy = IR_ValueDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ValueDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ValueDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ValueDef ( + ::IR_ValueDef ( stub, 1, obj->_servant ()), - ValueDef::_nil ()); + IR_ValueDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ValueDef (stub, 0, obj->_servant ()), ValueDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ValueDef (stub, 0, obj->_servant ()), IR_ValueDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ValueDef_ptr, + IR_ValueDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ValueDef::_narrow + &IR_ValueDef::_narrow ) ) ); } -IR::ValueDef_ptr -IR::ValueDef::_duplicate (ValueDef_ptr obj) +IR_ValueDef_ptr +IR_ValueDef::_duplicate (IR_ValueDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ValueDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ValueDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ValueDef:1.0")) || @@ -34560,58 +22120,58 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ValueDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_ValueDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ValueDef)::_narrow)) + &IR_ValueDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Container_ptr, + IR_Container_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -34624,12 +22184,12 @@ return retv; } -const char* IR::ValueDef::_interface_repository_id (void) const +const char* IR_ValueDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/ValueDef:1.0"; } -IR::InterfaceDefSeq * IR::ValueDef::supported_interfaces ( +IR_InterfaceDefSeq * IR_ValueDef::supported_interfaces ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34643,8 +22203,8 @@ ); } -void IR::ValueDef::supported_interfaces ( - const IR::InterfaceDefSeq & supported_interfaces, +void IR_ValueDef::supported_interfaces ( + const IR_InterfaceDefSeq & supported_interfaces, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34659,7 +22219,7 @@ ); } -IR::InitializerSeq * IR::ValueDef::initializers ( +IR_InitializerSeq * IR_ValueDef::initializers ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34673,8 +22233,8 @@ ); } -void IR::ValueDef::initializers ( - const IR::InitializerSeq & initializers, +void IR_ValueDef::initializers ( + const IR_InitializerSeq & initializers, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34689,7 +22249,7 @@ ); } -IR::ValueDef_ptr IR::ValueDef::base_value ( +IR_ValueDef_ptr IR_ValueDef::base_value ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34703,8 +22263,8 @@ ); } -void IR::ValueDef::base_value ( - IR::ValueDef_ptr base_value, +void IR_ValueDef::base_value ( + IR_ValueDef_ptr base_value, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34719,7 +22279,7 @@ ); } -IR::ValueDefSeq * IR::ValueDef::abstract_base_values ( +IR_ValueDefSeq * IR_ValueDef::abstract_base_values ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34733,8 +22293,8 @@ ); } -void IR::ValueDef::abstract_base_values ( - const IR::ValueDefSeq & abstract_base_values, +void IR_ValueDef::abstract_base_values ( + const IR_ValueDefSeq & abstract_base_values, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34749,7 +22309,7 @@ ); } -CORBA::Boolean IR::ValueDef::is_abstract ( +CORBA::Boolean IR_ValueDef::is_abstract ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -34763,7 +22323,7 @@ ); } -void IR::ValueDef::is_abstract ( +void IR_ValueDef::is_abstract ( CORBA::Boolean is_abstract, CORBA::Environment &ACE_TRY_ENV ) @@ -34775,1100 +22335,180 @@ this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_abstract ( this, is_abstract, - ACE_TRY_ENV - ); -} - -CORBA::Boolean IR::ValueDef::is_custom ( - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_custom ( - this, - ACE_TRY_ENV - ); -} - -void IR::ValueDef::is_custom ( - CORBA::Boolean is_custom, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_custom ( - this, - is_custom, - ACE_TRY_ENV - ); -} - -CORBA::Boolean IR::ValueDef::is_truncatable ( - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_truncatable ( - this, - ACE_TRY_ENV - ); -} - -void IR::ValueDef::is_truncatable ( - CORBA::Boolean is_truncatable, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_truncatable ( - this, - is_truncatable, - ACE_TRY_ENV - ); -} - -CORBA::Boolean IR::ValueDef::is_a ( - const char * id, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_a ( - this, - id, - ACE_TRY_ENV - ); -} - -IR::ValueMemberDef_ptr IR::ValueDef::create_value_member ( - const char * id, - const char * name, - const char * version, - IR::IDLType_ptr type, - CORBA::Visibility access, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_value_member ( - this, - id, - name, - version, - type, - access, - ACE_TRY_ENV - ); -} - -IR::AttributeDef_ptr IR::ValueDef::create_attribute ( - const char * id, - const char * name, - const char * version, - IR::IDLType_ptr type, - IR::AttributeMode mode, - const IR::ExceptionDefSeq & get_exceptions, - const IR::ExceptionDefSeq & put_exceptions, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_attribute ( - this, - id, - name, - version, - type, - mode, - get_exceptions, - put_exceptions, - ACE_TRY_ENV - ); -} - -IR::OperationDef_ptr IR::ValueDef::create_operation ( - const char * id, - const char * name, - const char * version, - IR::IDLType_ptr result, - IR::OperationMode mode, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, - const IR::ContextIdSeq & contexts, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_operation ( - this, - id, - name, - version, - result, - mode, - params, - exceptions, - contexts, - ACE_TRY_ENV - ); -} - - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_get::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_get::result (IR::InterfaceDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_set::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::InterfaceDefSeq & supported_interfaces, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - supported_interfaces_ (supported_interfaces) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_supported_interfaces = this->parameter_list_.length (); - this->parameter_list_.length (length_supported_interfaces + 1); - this->parameter_list_[length_supported_interfaces].argument <<= this->supported_interfaces_; - - this->parameter_list_[length_supported_interfaces].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_supported_interfaces_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_get::TAO_ClientRequestInfo_IR_ValueDef_initializers_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_get::result (IR::InitializerSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_set::TAO_ClientRequestInfo_IR_ValueDef_initializers_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::InitializerSeq & initializers, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - initializers_ (initializers) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_initializers = this->parameter_list_.length (); - this->parameter_list_.length (length_initializers + 1); - this->parameter_list_[length_initializers].argument <<= this->initializers_; - - this->parameter_list_[length_initializers].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_initializers_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_get::TAO_ClientRequestInfo_IR_ValueDef_base_value_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_get::result (IR::ValueDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_set::TAO_ClientRequestInfo_IR_ValueDef_base_value_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::ValueDef_ptr base_value, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - base_value_ (base_value) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_base_value = this->parameter_list_.length (); - this->parameter_list_.length (length_base_value + 1); - this->parameter_list_[length_base_value].argument <<= this->base_value_; - - this->parameter_list_[length_base_value].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_base_value_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_get::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_get::result (IR::ValueDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_set::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::ValueDefSeq & abstract_base_values, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - abstract_base_values_ (abstract_base_values) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_abstract_base_values = this->parameter_list_.length (); - this->parameter_list_.length (length_abstract_base_values + 1); - this->parameter_list_[length_abstract_base_values].argument <<= this->abstract_base_values_; - - this->parameter_list_[length_abstract_base_values].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_abstract_base_values_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_get::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_get::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_set::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::Boolean & is_abstract, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - is_abstract_ (is_abstract) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_is_abstract = this->parameter_list_.length (); - this->parameter_list_.length (length_is_abstract + 1); - this->parameter_list_[length_is_abstract].argument <<= CORBA::Any::from_boolean (this->is_abstract_); - this->parameter_list_[length_is_abstract].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_abstract_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_get::TAO_ClientRequestInfo_IR_ValueDef_is_custom_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_get::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_set::TAO_ClientRequestInfo_IR_ValueDef_is_custom_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::Boolean & is_custom, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - is_custom_ (is_custom) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_is_custom = this->parameter_list_.length (); - this->parameter_list_.length (length_is_custom + 1); - this->parameter_list_[length_is_custom].argument <<= CORBA::Any::from_boolean (this->is_custom_); - this->parameter_list_[length_is_custom].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_custom_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_get::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_get::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_set::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const CORBA::Boolean & is_truncatable, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - is_truncatable_ (is_truncatable) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_is_truncatable = this->parameter_list_.length (); - this->parameter_list_.length (length_is_truncatable + 1); - this->parameter_list_[length_is_truncatable].argument <<= CORBA::Any::from_boolean (this->is_truncatable_); - this->parameter_list_[length_is_truncatable].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; + ACE_TRY_ENV + ); } - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_truncatable_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +CORBA::Boolean IR_ValueDef::is_custom ( + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - return &this->result_val_; + return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_custom ( + this, + ACE_TRY_ENV + ); } -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_a::TAO_ClientRequestInfo_IR_ValueDef_is_a ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - CORBA::Environment & +void IR_ValueDef::is_custom ( + CORBA::Boolean is_custom, + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_a::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - return &this->parameter_list_; + this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_custom ( + this, + is_custom, + ACE_TRY_ENV + ); } -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_a::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +CORBA::Boolean IR_ValueDef::is_truncatable ( + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the exception list on demand - return 0; + + return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_truncatable ( + this, + ACE_TRY_ENV + ); } - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_a::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) +void IR_ValueDef::is_truncatable ( + CORBA::Boolean is_truncatable, + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - return &this->result_val_; + this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_truncatable ( + this, + is_truncatable, + ACE_TRY_ENV + ); } -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_is_a::result (CORBA::Boolean result) +CORBA::Boolean IR_ValueDef::is_a ( + const char * id, + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // update the result - this->result_ = result; + + return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).is_a ( + this, + id, + ACE_TRY_ENV + ); } -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_value_member::TAO_ClientRequestInfo_IR_ValueDef_create_value_member ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, +IR_ValueMemberDef_ptr IR_ValueDef::create_value_member ( const char * id, const char * name, const char * version, - IR::IDLType_ptr type, - const CORBA::Visibility & access, - CORBA::Environment & + IR_IDLType_ptr type, + CORBA::Visibility access, + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - type_ (type), - access_ (access) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_value_member::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_type = this->parameter_list_.length (); - this->parameter_list_.length (length_type + 1); - this->parameter_list_[length_type].argument <<= this->type_; - - this->parameter_list_[length_type].mode = Dynamic::PARAM_IN; - CORBA::ULong length_access = this->parameter_list_.length (); - this->parameter_list_.length (length_access + 1); - this->parameter_list_[length_access].argument <<= access_; - this->parameter_list_[length_access].mode = Dynamic::PARAM_IN; - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_value_member::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_value_member::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_value_member::result (IR::ValueMemberDef_ptr result) -{ - // update the result - this->result_ = result; + return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_value_member ( + this, + id, + name, + version, + type, + access, + ACE_TRY_ENV + ); } -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_attribute::TAO_ClientRequestInfo_IR_ValueDef_create_attribute ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, +IR_AttributeDef_ptr IR_ValueDef::create_attribute ( const char * id, const char * name, const char * version, - IR::IDLType_ptr type, - IR::AttributeMode & mode, - const IR::ExceptionDefSeq & get_exceptions, - const IR::ExceptionDefSeq & put_exceptions, - CORBA::Environment & + IR_IDLType_ptr type, + IR_AttributeMode mode, + const IR_ExceptionDefSeq & get_exceptions, + const IR_ExceptionDefSeq & put_exceptions, + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - type_ (type), - mode_ (mode), - get_exceptions_ (get_exceptions), - put_exceptions_ (put_exceptions) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_attribute::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_type = this->parameter_list_.length (); - this->parameter_list_.length (length_type + 1); - this->parameter_list_[length_type].argument <<= this->type_; - - this->parameter_list_[length_type].mode = Dynamic::PARAM_IN; - CORBA::ULong length_mode = this->parameter_list_.length (); - this->parameter_list_.length (length_mode + 1); - this->parameter_list_[length_mode].argument <<= this->mode_; - - this->parameter_list_[length_mode].mode = Dynamic::PARAM_IN; - CORBA::ULong length_get_exceptions = this->parameter_list_.length (); - this->parameter_list_.length (length_get_exceptions + 1); - this->parameter_list_[length_get_exceptions].argument <<= this->get_exceptions_; - this->parameter_list_[length_get_exceptions].mode = Dynamic::PARAM_IN; - CORBA::ULong length_put_exceptions = this->parameter_list_.length (); - this->parameter_list_.length (length_put_exceptions + 1); - this->parameter_list_[length_put_exceptions].argument <<= this->put_exceptions_; - - this->parameter_list_[length_put_exceptions].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_attribute::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_attribute::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_attribute::result (IR::AttributeDef_ptr result) -{ - // update the result - this->result_ = result; + return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_attribute ( + this, + id, + name, + version, + type, + mode, + get_exceptions, + put_exceptions, + ACE_TRY_ENV + ); } -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_operation::TAO_ClientRequestInfo_IR_ValueDef_create_operation ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, +IR_OperationDef_ptr IR_ValueDef::create_operation ( const char * id, const char * name, const char * version, - IR::IDLType_ptr result, - IR::OperationMode & mode, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, - const IR::ContextIdSeq & contexts, - CORBA::Environment & + IR_IDLType_ptr result, + IR_OperationMode mode, + const IR_ParDescriptionSeq & params, + const IR_ExceptionDefSeq & exceptions, + const IR_ContextIdSeq & contexts, + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - result_ (result), - mode_ (mode), - params_ (params), - exceptions_ (exceptions), - contexts_ (contexts) -{} - -Dynamic::ParameterList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_operation::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_result = this->parameter_list_.length (); - this->parameter_list_.length (length_result + 1); - this->parameter_list_[length_result].argument <<= this->result_; - - this->parameter_list_[length_result].mode = Dynamic::PARAM_IN; - CORBA::ULong length_mode = this->parameter_list_.length (); - this->parameter_list_.length (length_mode + 1); - this->parameter_list_[length_mode].argument <<= this->mode_; - - this->parameter_list_[length_mode].mode = Dynamic::PARAM_IN; - CORBA::ULong length_params = this->parameter_list_.length (); - this->parameter_list_.length (length_params + 1); - this->parameter_list_[length_params].argument <<= this->params_; - this->parameter_list_[length_params].mode = Dynamic::PARAM_IN; - CORBA::ULong length_exceptions = this->parameter_list_.length (); - this->parameter_list_.length (length_exceptions + 1); - this->parameter_list_[length_exceptions].argument <<= this->exceptions_; - - this->parameter_list_[length_exceptions].mode = Dynamic::PARAM_IN; - CORBA::ULong length_contexts = this->parameter_list_.length (); - this->parameter_list_.length (length_contexts + 1); - this->parameter_list_[length_contexts].argument <<= this->contexts_; - - this->parameter_list_[length_contexts].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_operation::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_operation::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ValueDef::TAO_ClientRequestInfo_IR_ValueDef_create_operation::result (IR::OperationDef_ptr result) -{ - // update the result - this->result_ = result; + return this->the_TAO_ValueDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_operation ( + this, + id, + name, + version, + result, + mode, + params, + exceptions, + contexts, + ACE_TRY_ENV + ); } -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ValueDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f56), ACE_NTOHL (0x616c7565), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/ValueDef:1.0 - 9, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = ValueDef + 9, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_ValueDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ValueDef (CORBA::tk_objref, sizeof (_oc_IR_ValueDef), (char *) &_oc_IR_ValueDef, 0, sizeof (IR::ValueDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_ValueDef (CORBA::tk_objref, sizeof (_oc_IR_ValueDef), (char *) &_oc_IR_ValueDef, 0, sizeof (IR_ValueDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ValueDef, &_tc_TAO_tc_IR_ValueDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_ValueDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -36039,7 +22679,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 5, ACE_NTOHL (0x6d6f6465), ACE_NTOHL (0x0), // name = mode CORBA::tk_enum, // typecode kind @@ -36361,7 +23001,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 7, ACE_NTOHL (0x61636365), ACE_NTOHL (0x73730000), // name = access CORBA::tk_alias, // typecode kind for typedefs @@ -36381,7 +23021,7 @@ 576, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 34, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e697469), ACE_NTOHL (0x616c697a), ACE_NTOHL (0x65725365), ACE_NTOHL (0x713a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/InitializerSeq:1.0 - 15, ACE_NTOHL (0x496e6974), ACE_NTOHL (0x69616c69), ACE_NTOHL (0x7a657253), ACE_NTOHL (0x65710000), // name = InitializerSeq + 15, ACE_NTOHL (0x496e6974), ACE_NTOHL (0x69616c69), ACE_NTOHL (0x7a657253), ACE_NTOHL (0x65710000), // name = IR_InitializerSeq CORBA::tk_sequence, // typecode kind 504, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -36389,14 +23029,14 @@ 488, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e697469), ACE_NTOHL (0x616c697a), ACE_NTOHL (0x65723a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/Initializer:1.0 - 12, ACE_NTOHL (0x496e6974), ACE_NTOHL (0x69616c69), ACE_NTOHL (0x7a657200), // name = Initializer + 12, ACE_NTOHL (0x496e6974), ACE_NTOHL (0x69616c69), ACE_NTOHL (0x7a657200), // name = IR_Initializer 2, // member count 8, ACE_NTOHL (0x6d656d62), ACE_NTOHL (0x65727300), // name = members CORBA::tk_alias, // typecode kind for typedefs 324, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 35, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x74727563), ACE_NTOHL (0x744d656d), ACE_NTOHL (0x62657253), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/StructMemberSeq:1.0 - 16, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x53657100), // name = StructMemberSeq + 16, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x53657100), // name = IR_StructMemberSeq CORBA::tk_sequence, // typecode kind 252, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -36404,7 +23044,7 @@ 236, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f53), ACE_NTOHL (0x74727563), ACE_NTOHL (0x744d656d), ACE_NTOHL (0x6265723a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/StructMember:1.0 - 13, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x0), // name = StructMember + 13, ACE_NTOHL (0x53747275), ACE_NTOHL (0x63744d65), ACE_NTOHL (0x6d626572), ACE_NTOHL (0x0), // name = IR_StructMember 3, // member count 5, ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name CORBA::tk_alias, // typecode kind for typedefs @@ -36423,7 +23063,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 0U, @@ -36498,14 +23138,15 @@ CORBA::tk_TypeCode, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ValueDescription (CORBA::tk_struct, sizeof (_oc_IR_ValueDescription), (char *) &_oc_IR_ValueDescription, 0, sizeof (IR::ValueDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_ValueDescription (CORBA::tk_struct, sizeof (_oc_IR_ValueDescription), (char *) &_oc_IR_ValueDescription, 0, sizeof (IR_ValueDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ValueDescription, &_tc_TAO_tc_IR_ValueDescription) TAO_NAMESPACE_END -void IR::ValueDescription::_tao_any_destructor (void *x) + +void IR_ValueDescription::_tao_any_destructor (void *x) { - ValueDescription *tmp = ACE_static_cast (ValueDescription*,x); + IR_ValueDescription *tmp = ACE_static_cast (IR_ValueDescription*,x); delete tmp; } @@ -36514,15 +23155,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_ValueBoxDef_Proxy_Impl::_TAO_ValueBoxDef_Proxy_Impl (void) +_TAO_ValueBoxDef_Proxy_Impl::_TAO_ValueBoxDef_Proxy_Impl (void) {} -IR::_TAO_ValueBoxDef_Remote_Proxy_Impl::_TAO_ValueBoxDef_Remote_Proxy_Impl (void) +_TAO_ValueBoxDef_Remote_Proxy_Impl::_TAO_ValueBoxDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::IDLType_ptr IR::_TAO_ValueBoxDef_Remote_Proxy_Impl::original_type_def ( +IR_IDLType_ptr _TAO_ValueBoxDef_Remote_Proxy_Impl::original_type_def ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -36531,8 +23172,8 @@ )) { - IR::IDLType_ptr _tao_retval = IR::IDLType::_nil (); - IR::IDLType_var _tao_safe_retval (_tao_retval); + IR_IDLType_ptr _tao_retval = IR_IDLType::_nil (); + IR_IDLType_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -36548,46 +23189,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_get ri ( - "_get_original_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -36596,7 +23212,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -36606,57 +23222,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::IDLType_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ValueBoxDef_Remote_Proxy_Impl::original_type_def ( +void _TAO_ValueBoxDef_Remote_Proxy_Impl::original_type_def ( CORBA_Object *_collocated_tao_target_, - IR::IDLType_ptr original_type_def, + IR_IDLType_ptr original_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -36670,56 +23255,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_set ri ( - "_set_original_type_def", - _tao_call.service_info (), - _collocated_tao_target_, - original_type_def, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << original_type_def) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -36728,36 +23287,13 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } @@ -36770,32 +23306,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ValueBoxDef_Proxy_Broker::_TAO_ValueBoxDef_Proxy_Broker (void) +_TAO_ValueBoxDef_Proxy_Broker::_TAO_ValueBoxDef_Proxy_Broker (void) { } -IR::_TAO_ValueBoxDef_Proxy_Broker::~_TAO_ValueBoxDef_Proxy_Broker (void) +_TAO_ValueBoxDef_Proxy_Broker::~_TAO_ValueBoxDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ValueBoxDef_Remote_Proxy_Broker *IR::_TAO_ValueBoxDef_Remote_Proxy_Broker::the_TAO_ValueBoxDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ValueBoxDef_Remote_Proxy_Broker *the_TAO_ValueBoxDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ValueBoxDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ValueBoxDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ValueBoxDef_Remote_Proxy_Broker::_TAO_ValueBoxDef_Remote_Proxy_Broker (void) +_TAO_ValueBoxDef_Remote_Proxy_Broker::_TAO_ValueBoxDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ValueBoxDef_Remote_Proxy_Broker::~_TAO_ValueBoxDef_Remote_Proxy_Broker (void) +_TAO_ValueBoxDef_Remote_Proxy_Broker::~_TAO_ValueBoxDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ValueBoxDef_Proxy_Impl& -IR::_TAO_ValueBoxDef_Remote_Proxy_Broker::select_proxy ( - ::IR::ValueBoxDef *object, +_TAO_ValueBoxDef_Proxy_Impl& +_TAO_ValueBoxDef_Remote_Proxy_Broker::select_proxy ( + ::IR_ValueBoxDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -36811,110 +23347,110 @@ // default constructor -IR::ValueBoxDef::ValueBoxDef (int collocated) +IR_ValueBoxDef::IR_ValueBoxDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ValueBoxDef::~ValueBoxDef (void) +IR_ValueBoxDef::~IR_ValueBoxDef (void) {} void -IR::ValueBoxDef::_tao_setup_collocation (int collocated) +IR_ValueBoxDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ValueBoxDef_Proxy_Broker_ = - ::IR__TAO_ValueBoxDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_ValueBoxDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ValueBoxDef_Proxy_Broker_ = - ::IR::_TAO_ValueBoxDef_Remote_Proxy_Broker::the_TAO_ValueBoxDef_Remote_Proxy_Broker (); + ::the_TAO_ValueBoxDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,TypedefDef)::_tao_setup_collocation (collocated); + IR_TypedefDef::_tao_setup_collocation (collocated); } -void IR::ValueBoxDef::_tao_any_destructor (void *x) +void IR_ValueBoxDef::_tao_any_destructor (void *x) { - ValueBoxDef *tmp = ACE_static_cast (ValueBoxDef*,x); + IR_ValueBoxDef *tmp = ACE_static_cast (IR_ValueBoxDef*,x); CORBA::release (tmp); } -IR::ValueBoxDef_ptr IR::ValueBoxDef::_narrow ( +IR_ValueBoxDef_ptr IR_ValueBoxDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ValueBoxDef::_nil (); + return IR_ValueBoxDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ValueBoxDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ValueBoxDef::_nil ()); + ACE_CHECK_RETURN (IR_ValueBoxDef::_nil ()); if (is_a == 0) - return ValueBoxDef::_nil (); + return IR_ValueBoxDef::_nil (); } - return ValueBoxDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ValueBoxDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ValueBoxDef_ptr IR::ValueBoxDef::_unchecked_narrow ( +IR_ValueBoxDef_ptr IR_ValueBoxDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ValueBoxDef::_nil (); + return IR_ValueBoxDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ValueBoxDef_ptr default_proxy = ValueBoxDef::_nil (); + IR_ValueBoxDef_ptr default_proxy = IR_ValueBoxDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ValueBoxDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ValueBoxDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ValueBoxDef ( + ::IR_ValueBoxDef ( stub, 1, obj->_servant ()), - ValueBoxDef::_nil ()); + IR_ValueBoxDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ValueBoxDef (stub, 0, obj->_servant ()), ValueBoxDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ValueBoxDef (stub, 0, obj->_servant ()), IR_ValueBoxDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ValueBoxDef_ptr, + IR_ValueBoxDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ValueBoxDef::_narrow + &IR_ValueBoxDef::_narrow ) ) ); } -IR::ValueBoxDef_ptr -IR::ValueBoxDef::_duplicate (ValueBoxDef_ptr obj) +IR_ValueBoxDef_ptr +IR_ValueBoxDef::_duplicate (IR_ValueBoxDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ValueBoxDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ValueBoxDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ValueBoxDef:1.0")) || @@ -36928,58 +23464,58 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ValueBoxDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_ValueBoxDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ValueBoxDef)::_narrow)) + &IR_ValueBoxDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, TypedefDef)::_narrow)) + &IR_TypedefDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::TypedefDef_ptr, + IR_TypedefDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -36992,12 +23528,12 @@ return retv; } -const char* IR::ValueBoxDef::_interface_repository_id (void) const +const char* IR_ValueBoxDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/ValueBoxDef:1.0"; } -IR::IDLType_ptr IR::ValueBoxDef::original_type_def ( +IR_IDLType_ptr IR_ValueBoxDef::original_type_def ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -37011,8 +23547,8 @@ ); } -void IR::ValueBoxDef::original_type_def ( - IR::IDLType_ptr original_type_def, +void IR_ValueBoxDef::original_type_def ( + IR_IDLType_ptr original_type_def, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -37027,103 +23563,13 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_get::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_get::result (IR::IDLType_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_set::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - IR::IDLType_ptr original_type_def, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - original_type_def_ (original_type_def) -{} - -Dynamic::ParameterList * -IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_original_type_def = this->parameter_list_.length (); - this->parameter_list_.length (length_original_type_def + 1); - this->parameter_list_[length_original_type_def].argument <<= this->original_type_def_; - - this->parameter_list_[length_original_type_def].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ValueBoxDef::TAO_ClientRequestInfo_IR_ValueBoxDef_original_type_def_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ValueBoxDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f56), ACE_NTOHL (0x616c7565), ACE_NTOHL (0x426f7844), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ValueBoxDef:1.0 - 12, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65426f78), ACE_NTOHL (0x44656600), // name = ValueBoxDef + 12, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65426f78), ACE_NTOHL (0x44656600), // name = IR_ValueBoxDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ValueBoxDef (CORBA::tk_objref, sizeof (_oc_IR_ValueBoxDef), (char *) &_oc_IR_ValueBoxDef, 0, sizeof (IR::ValueBoxDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_ValueBoxDef (CORBA::tk_objref, sizeof (_oc_IR_ValueBoxDef), (char *) &_oc_IR_ValueBoxDef, 0, sizeof (IR_ValueBoxDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ValueBoxDef, &_tc_TAO_tc_IR_ValueBoxDef) @@ -37133,25 +23579,25 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_ProvidesDef_Proxy_Impl::_TAO_ProvidesDef_Proxy_Impl (void) +_TAO_ProvidesDef_Proxy_Impl::_TAO_ProvidesDef_Proxy_Impl (void) {} -IR::_TAO_ProvidesDef_Remote_Proxy_Impl::_TAO_ProvidesDef_Remote_Proxy_Impl (void) +_TAO_ProvidesDef_Remote_Proxy_Impl::_TAO_ProvidesDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::InterfaceDef_ptr IR::_TAO_ProvidesDef_Remote_Proxy_Impl::interface_type ( +IR_InterfaceDef_ptr _TAO_ProvidesDef_Remote_Proxy_Impl::interface_type ( CORBA_Object *_collocated_tao_target_, - CORBA::Environment &ACE_TRY_ENV + CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - IR::InterfaceDef_ptr _tao_retval = IR::InterfaceDef::_nil (); - IR::InterfaceDef_var _tao_safe_retval (_tao_retval); + IR_InterfaceDef_ptr _tao_retval = IR_InterfaceDef::_nil (); + IR_InterfaceDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -37167,46 +23613,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ProvidesDef::TAO_ClientRequestInfo_IR_ProvidesDef_interface_type_get ri ( - "_get_interface_type", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -37215,7 +23636,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -37225,41 +23646,14 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::InterfaceDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } @@ -37273,32 +23667,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ProvidesDef_Proxy_Broker::_TAO_ProvidesDef_Proxy_Broker (void) +_TAO_ProvidesDef_Proxy_Broker::_TAO_ProvidesDef_Proxy_Broker (void) { } -IR::_TAO_ProvidesDef_Proxy_Broker::~_TAO_ProvidesDef_Proxy_Broker (void) +_TAO_ProvidesDef_Proxy_Broker::~_TAO_ProvidesDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ProvidesDef_Remote_Proxy_Broker *IR::_TAO_ProvidesDef_Remote_Proxy_Broker::the_TAO_ProvidesDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ProvidesDef_Remote_Proxy_Broker *the_TAO_ProvidesDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ProvidesDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ProvidesDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ProvidesDef_Remote_Proxy_Broker::_TAO_ProvidesDef_Remote_Proxy_Broker (void) +_TAO_ProvidesDef_Remote_Proxy_Broker::_TAO_ProvidesDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ProvidesDef_Remote_Proxy_Broker::~_TAO_ProvidesDef_Remote_Proxy_Broker (void) +_TAO_ProvidesDef_Remote_Proxy_Broker::~_TAO_ProvidesDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ProvidesDef_Proxy_Impl& -IR::_TAO_ProvidesDef_Remote_Proxy_Broker::select_proxy ( - ::IR::ProvidesDef *object, +_TAO_ProvidesDef_Proxy_Impl& +_TAO_ProvidesDef_Remote_Proxy_Broker::select_proxy ( + ::IR_ProvidesDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -37314,110 +23708,110 @@ // default constructor -IR::ProvidesDef::ProvidesDef (int collocated) +IR_ProvidesDef::IR_ProvidesDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ProvidesDef::~ProvidesDef (void) +IR_ProvidesDef::~IR_ProvidesDef (void) {} void -IR::ProvidesDef::_tao_setup_collocation (int collocated) +IR_ProvidesDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ProvidesDef_Proxy_Broker_ = - ::IR__TAO_ProvidesDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_ProvidesDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ProvidesDef_Proxy_Broker_ = - ::IR::_TAO_ProvidesDef_Remote_Proxy_Broker::the_TAO_ProvidesDef_Remote_Proxy_Broker (); + ::the_TAO_ProvidesDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); } -void IR::ProvidesDef::_tao_any_destructor (void *x) +void IR_ProvidesDef::_tao_any_destructor (void *x) { - ProvidesDef *tmp = ACE_static_cast (ProvidesDef*,x); + IR_ProvidesDef *tmp = ACE_static_cast (IR_ProvidesDef*,x); CORBA::release (tmp); } -IR::ProvidesDef_ptr IR::ProvidesDef::_narrow ( +IR_ProvidesDef_ptr IR_ProvidesDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ProvidesDef::_nil (); + return IR_ProvidesDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ProvidesDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ProvidesDef::_nil ()); + ACE_CHECK_RETURN (IR_ProvidesDef::_nil ()); if (is_a == 0) - return ProvidesDef::_nil (); + return IR_ProvidesDef::_nil (); } - return ProvidesDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ProvidesDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ProvidesDef_ptr IR::ProvidesDef::_unchecked_narrow ( +IR_ProvidesDef_ptr IR_ProvidesDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ProvidesDef::_nil (); + return IR_ProvidesDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ProvidesDef_ptr default_proxy = ProvidesDef::_nil (); + IR_ProvidesDef_ptr default_proxy = IR_ProvidesDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ProvidesDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ProvidesDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ProvidesDef ( + ::IR_ProvidesDef ( stub, 1, obj->_servant ()), - ProvidesDef::_nil ()); + IR_ProvidesDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ProvidesDef (stub, 0, obj->_servant ()), ProvidesDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ProvidesDef (stub, 0, obj->_servant ()), IR_ProvidesDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ProvidesDef_ptr, + IR_ProvidesDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ProvidesDef::_narrow + &IR_ProvidesDef::_narrow ) ) ); } -IR::ProvidesDef_ptr -IR::ProvidesDef::_duplicate (ProvidesDef_ptr obj) +IR_ProvidesDef_ptr +IR_ProvidesDef::_duplicate (IR_ProvidesDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ProvidesDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ProvidesDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ProvidesDef:1.0")) || @@ -37429,34 +23823,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ProvidesDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_ProvidesDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ProvidesDef)::_narrow)) + &IR_ProvidesDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -37469,12 +23863,12 @@ return retv; } -const char* IR::ProvidesDef::_interface_repository_id (void) const +const char* IR_ProvidesDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/ProvidesDef:1.0"; } -IR::InterfaceDef_ptr IR::ProvidesDef::interface_type ( +IR_InterfaceDef_ptr IR_ProvidesDef::interface_type ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -37488,62 +23882,18 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::ProvidesDef::TAO_ClientRequestInfo_IR_ProvidesDef_interface_type_get::TAO_ClientRequestInfo_IR_ProvidesDef_interface_type_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ProvidesDef::TAO_ClientRequestInfo_IR_ProvidesDef_interface_type_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ProvidesDef::TAO_ClientRequestInfo_IR_ProvidesDef_interface_type_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ProvidesDef::TAO_ClientRequestInfo_IR_ProvidesDef_interface_type_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ProvidesDef::TAO_ClientRequestInfo_IR_ProvidesDef_interface_type_get::result (IR::InterfaceDef_ptr result) -{ - // update the result - this->result_ = result; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ProvidesDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x726f7669), ACE_NTOHL (0x64657344), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ProvidesDef:1.0 - 12, ACE_NTOHL (0x50726f76), ACE_NTOHL (0x69646573), ACE_NTOHL (0x44656600), // name = ProvidesDef + 12, ACE_NTOHL (0x50726f76), ACE_NTOHL (0x69646573), ACE_NTOHL (0x44656600), // name = IR_ProvidesDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ProvidesDef (CORBA::tk_objref, sizeof (_oc_IR_ProvidesDef), (char *) &_oc_IR_ProvidesDef, 0, sizeof (IR::ProvidesDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_ProvidesDef (CORBA::tk_objref, sizeof (_oc_IR_ProvidesDef), (char *) &_oc_IR_ProvidesDef, 0, sizeof (IR_ProvidesDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ProvidesDef, &_tc_TAO_tc_IR_ProvidesDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_ProvidesDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -37591,17 +23941,18 @@ 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e746572), ACE_NTOHL (0x66616365), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/InterfaceDef:1.0 - 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = InterfaceDef + 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_InterfaceDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ProvidesDescription (CORBA::tk_struct, sizeof (_oc_IR_ProvidesDescription), (char *) &_oc_IR_ProvidesDescription, 0, sizeof (IR::ProvidesDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_ProvidesDescription (CORBA::tk_struct, sizeof (_oc_IR_ProvidesDescription), (char *) &_oc_IR_ProvidesDescription, 0, sizeof (IR_ProvidesDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ProvidesDescription, &_tc_TAO_tc_IR_ProvidesDescription) TAO_NAMESPACE_END -void IR::ProvidesDescription::_tao_any_destructor (void *x) + +void IR_ProvidesDescription::_tao_any_destructor (void *x) { - ProvidesDescription *tmp = ACE_static_cast (ProvidesDescription*,x); + IR_ProvidesDescription *tmp = ACE_static_cast (IR_ProvidesDescription*,x); delete tmp; } @@ -37610,15 +23961,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_UsesDef_Proxy_Impl::_TAO_UsesDef_Proxy_Impl (void) +_TAO_UsesDef_Proxy_Impl::_TAO_UsesDef_Proxy_Impl (void) {} -IR::_TAO_UsesDef_Remote_Proxy_Impl::_TAO_UsesDef_Remote_Proxy_Impl (void) +_TAO_UsesDef_Remote_Proxy_Impl::_TAO_UsesDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::InterfaceDef_ptr IR::_TAO_UsesDef_Remote_Proxy_Impl::interface_type ( +IR_InterfaceDef_ptr _TAO_UsesDef_Remote_Proxy_Impl::interface_type ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -37627,8 +23978,8 @@ )) { - IR::InterfaceDef_ptr _tao_retval = IR::InterfaceDef::_nil (); - IR::InterfaceDef_var _tao_safe_retval (_tao_retval); + IR_InterfaceDef_ptr _tao_retval = IR_InterfaceDef::_nil (); + IR_InterfaceDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -37644,46 +23995,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_interface_type_get ri ( - "_get_interface_type", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -37692,7 +24018,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -37702,45 +24028,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::InterfaceDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -CORBA::Boolean IR::_TAO_UsesDef_Remote_Proxy_Impl::is_multiple ( +CORBA::Boolean _TAO_UsesDef_Remote_Proxy_Impl::is_multiple ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -37765,46 +24064,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_is_multiple_get ri ( - "_get_is_multiple", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -37813,7 +24087,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -37823,40 +24097,14 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } @@ -37870,32 +24118,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_UsesDef_Proxy_Broker::_TAO_UsesDef_Proxy_Broker (void) +_TAO_UsesDef_Proxy_Broker::_TAO_UsesDef_Proxy_Broker (void) { } -IR::_TAO_UsesDef_Proxy_Broker::~_TAO_UsesDef_Proxy_Broker (void) +_TAO_UsesDef_Proxy_Broker::~_TAO_UsesDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_UsesDef_Remote_Proxy_Broker *IR::_TAO_UsesDef_Remote_Proxy_Broker::the_TAO_UsesDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_UsesDef_Remote_Proxy_Broker *the_TAO_UsesDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_UsesDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_UsesDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_UsesDef_Remote_Proxy_Broker::_TAO_UsesDef_Remote_Proxy_Broker (void) +_TAO_UsesDef_Remote_Proxy_Broker::_TAO_UsesDef_Remote_Proxy_Broker (void) { } -IR::_TAO_UsesDef_Remote_Proxy_Broker::~_TAO_UsesDef_Remote_Proxy_Broker (void) +_TAO_UsesDef_Remote_Proxy_Broker::~_TAO_UsesDef_Remote_Proxy_Broker (void) { } -IR::_TAO_UsesDef_Proxy_Impl& -IR::_TAO_UsesDef_Remote_Proxy_Broker::select_proxy ( - ::IR::UsesDef *object, +_TAO_UsesDef_Proxy_Impl& +_TAO_UsesDef_Remote_Proxy_Broker::select_proxy ( + ::IR_UsesDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -37911,110 +24159,110 @@ // default constructor -IR::UsesDef::UsesDef (int collocated) +IR_UsesDef::IR_UsesDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::UsesDef::~UsesDef (void) +IR_UsesDef::~IR_UsesDef (void) {} void -IR::UsesDef::_tao_setup_collocation (int collocated) +IR_UsesDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_UsesDef_Proxy_Broker_ = - ::IR__TAO_UsesDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_UsesDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_UsesDef_Proxy_Broker_ = - ::IR::_TAO_UsesDef_Remote_Proxy_Broker::the_TAO_UsesDef_Remote_Proxy_Broker (); + ::the_TAO_UsesDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); } -void IR::UsesDef::_tao_any_destructor (void *x) +void IR_UsesDef::_tao_any_destructor (void *x) { - UsesDef *tmp = ACE_static_cast (UsesDef*,x); + IR_UsesDef *tmp = ACE_static_cast (IR_UsesDef*,x); CORBA::release (tmp); } -IR::UsesDef_ptr IR::UsesDef::_narrow ( +IR_UsesDef_ptr IR_UsesDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return UsesDef::_nil (); + return IR_UsesDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/UsesDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (UsesDef::_nil ()); + ACE_CHECK_RETURN (IR_UsesDef::_nil ()); if (is_a == 0) - return UsesDef::_nil (); + return IR_UsesDef::_nil (); } - return UsesDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_UsesDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::UsesDef_ptr IR::UsesDef::_unchecked_narrow ( +IR_UsesDef_ptr IR_UsesDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return UsesDef::_nil (); + return IR_UsesDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - UsesDef_ptr default_proxy = UsesDef::_nil (); + IR_UsesDef_ptr default_proxy = IR_UsesDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_UsesDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_UsesDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::UsesDef ( + ::IR_UsesDef ( stub, 1, obj->_servant ()), - UsesDef::_nil ()); + IR_UsesDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::UsesDef (stub, 0, obj->_servant ()), UsesDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_UsesDef (stub, 0, obj->_servant ()), IR_UsesDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - UsesDef_ptr, + IR_UsesDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &UsesDef::_narrow + &IR_UsesDef::_narrow ) ) ); } -IR::UsesDef_ptr -IR::UsesDef::_duplicate (UsesDef_ptr obj) +IR_UsesDef_ptr +IR_UsesDef::_duplicate (IR_UsesDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::UsesDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_UsesDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/UsesDef:1.0")) || @@ -38026,34 +24274,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::UsesDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_UsesDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, UsesDef)::_narrow)) + &IR_UsesDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -38066,12 +24314,12 @@ return retv; } -const char* IR::UsesDef::_interface_repository_id (void) const +const char* IR_UsesDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/UsesDef:1.0"; } -IR::InterfaceDef_ptr IR::UsesDef::interface_type ( +IR_InterfaceDef_ptr IR_UsesDef::interface_type ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -38085,7 +24333,7 @@ ); } -CORBA::Boolean IR::UsesDef::is_multiple ( +CORBA::Boolean IR_UsesDef::is_multiple ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -38099,105 +24347,18 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_interface_type_get::TAO_ClientRequestInfo_IR_UsesDef_interface_type_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_interface_type_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_interface_type_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_interface_type_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_interface_type_get::result (IR::InterfaceDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_is_multiple_get::TAO_ClientRequestInfo_IR_UsesDef_is_multiple_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_is_multiple_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_is_multiple_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_is_multiple_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::UsesDef::TAO_ClientRequestInfo_IR_UsesDef_is_multiple_get::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_UsesDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f55), ACE_NTOHL (0x73657344), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/UsesDef:1.0 - 8, ACE_NTOHL (0x55736573), ACE_NTOHL (0x44656600), // name = UsesDef + 8, ACE_NTOHL (0x55736573), ACE_NTOHL (0x44656600), // name = IR_UsesDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_UsesDef (CORBA::tk_objref, sizeof (_oc_IR_UsesDef), (char *) &_oc_IR_UsesDef, 0, sizeof (IR::UsesDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_UsesDef (CORBA::tk_objref, sizeof (_oc_IR_UsesDef), (char *) &_oc_IR_UsesDef, 0, sizeof (IR_UsesDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UsesDef, &_tc_TAO_tc_IR_UsesDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_UsesDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -38245,38 +24406,35 @@ 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e746572), ACE_NTOHL (0x66616365), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/InterfaceDef:1.0 - 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = InterfaceDef + 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_InterfaceDef 12, ACE_NTOHL (0x69735f6d), ACE_NTOHL (0x756c7469), ACE_NTOHL (0x706c6500), // name = is_multiple CORBA::tk_boolean, }; -static CORBA::TypeCode _tc_TAO_tc_IR_UsesDescription (CORBA::tk_struct, sizeof (_oc_IR_UsesDescription), (char *) &_oc_IR_UsesDescription, 0, sizeof (IR::UsesDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_UsesDescription (CORBA::tk_struct, sizeof (_oc_IR_UsesDescription), (char *) &_oc_IR_UsesDescription, 0, sizeof (IR_UsesDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UsesDescription, &_tc_TAO_tc_IR_UsesDescription) TAO_NAMESPACE_END -void IR::UsesDescription::_tao_any_destructor (void *x) + +void IR_UsesDescription::_tao_any_destructor (void *x) { - UsesDescription *tmp = ACE_static_cast (UsesDescription*,x); + IR_UsesDescription *tmp = ACE_static_cast (IR_UsesDescription*,x); delete tmp; } - #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_PROVIDESDESCSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_PROVIDESDESCSEQ_CS_ - void - IR::_TAO_Unbounded_Sequence_IR_ProvidesDescSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Sequence_IR_ProvidesDescSeq::_allocate_buffer (CORBA::ULong length) { - IR::ProvidesDescription* tmp = 0; + IR_ProvidesDescription* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_ProvidesDescSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::ProvidesDescription *old = ACE_reinterpret_cast (IR::ProvidesDescription *,this->buffer_); + IR_ProvidesDescription *old = ACE_reinterpret_cast (IR_ProvidesDescription *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -38289,75 +24447,65 @@ } void - IR::_TAO_Unbounded_Sequence_IR_ProvidesDescSeq::_deallocate_buffer (void) + _TAO_Unbounded_Sequence_IR_ProvidesDescSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::ProvidesDescription *tmp = ACE_reinterpret_cast (IR::ProvidesDescription *,this->buffer_); + IR_ProvidesDescription *tmp = ACE_reinterpret_cast (IR_ProvidesDescription *,this->buffer_); _TAO_Unbounded_Sequence_IR_ProvidesDescSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Sequence_IR_ProvidesDescSeq::~_TAO_Unbounded_Sequence_IR_ProvidesDescSeq (void) // Dtor. + _TAO_Unbounded_Sequence_IR_ProvidesDescSeq::~_TAO_Unbounded_Sequence_IR_ProvidesDescSeq (void) // Dtor. { this->_deallocate_buffer (); } - -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_PROVIDESDESCSEQ_CS_) -#define _TAO_IR_PROVIDESDESCSEQ_CS_ - // ************************************************************* -// IR::ProvidesDescSeq +// IR_ProvidesDescSeq // ************************************************************* -IR::ProvidesDescSeq::ProvidesDescSeq (void) +IR_ProvidesDescSeq::IR_ProvidesDescSeq (void) {} -IR::ProvidesDescSeq::ProvidesDescSeq (CORBA::ULong max) // uses max size +IR_ProvidesDescSeq::IR_ProvidesDescSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ProvidesDescSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::ProvidesDescSeq::ProvidesDescSeq (CORBA::ULong max, CORBA::ULong length, IR::ProvidesDescription *buffer, CORBA::Boolean release) +IR_ProvidesDescSeq::IR_ProvidesDescSeq (CORBA::ULong max, CORBA::ULong length, IR_ProvidesDescription *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ProvidesDescSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::ProvidesDescSeq::ProvidesDescSeq (const ProvidesDescSeq &seq) // copy ctor +IR_ProvidesDescSeq::IR_ProvidesDescSeq (const IR_ProvidesDescSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_ProvidesDescSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::ProvidesDescSeq::~ProvidesDescSeq (void) // dtor +IR_ProvidesDescSeq::~IR_ProvidesDescSeq (void) // dtor {} -void IR::ProvidesDescSeq::_tao_any_destructor (void *x) +void IR_ProvidesDescSeq::_tao_any_destructor (void *x) { - ProvidesDescSeq *tmp = ACE_static_cast (ProvidesDescSeq*,x); + IR_ProvidesDescSeq *tmp = ACE_static_cast (IR_ProvidesDescSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_ProvidesDescSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -38413,13 +24561,13 @@ 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e746572), ACE_NTOHL (0x66616365), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/InterfaceDef:1.0 - 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = InterfaceDef + 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_InterfaceDef 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ProvidesDescSeq (CORBA::tk_alias, sizeof (_oc_IR_ProvidesDescSeq), (char *) &_oc_IR_ProvidesDescSeq, 0, sizeof (IR::ProvidesDescSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_ProvidesDescSeq (CORBA::tk_alias, sizeof (_oc_IR_ProvidesDescSeq), (char *) &_oc_IR_ProvidesDescSeq, 0, sizeof (IR_ProvidesDescSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ProvidesDescSeq, &_tc_TAO_tc_IR_ProvidesDescSeq) @@ -38427,18 +24575,15 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) -#if !defined (_TAO__TAO_UNBOUNDED_SEQUENCE_IR_USESDESCSEQ_CS_) -#define _TAO__TAO_UNBOUNDED_SEQUENCE_IR_USESDESCSEQ_CS_ - void - IR::_TAO_Unbounded_Sequence_IR_UsesDescSeq::_allocate_buffer (CORBA::ULong length) + _TAO_Unbounded_Sequence_IR_UsesDescSeq::_allocate_buffer (CORBA::ULong length) { - IR::UsesDescription* tmp = 0; + IR_UsesDescription* tmp = 0; tmp = _TAO_Unbounded_Sequence_IR_UsesDescSeq::allocbuf (length); if (this->buffer_ != 0) { - IR::UsesDescription *old = ACE_reinterpret_cast (IR::UsesDescription *,this->buffer_); + IR_UsesDescription *old = ACE_reinterpret_cast (IR_UsesDescription *,this->buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp[i] = old[i]; @@ -38451,75 +24596,65 @@ } void - IR::_TAO_Unbounded_Sequence_IR_UsesDescSeq::_deallocate_buffer (void) + _TAO_Unbounded_Sequence_IR_UsesDescSeq::_deallocate_buffer (void) { if (this->buffer_ == 0 || this->release_ == 0) return; - IR::UsesDescription *tmp = ACE_reinterpret_cast (IR::UsesDescription *,this->buffer_); + IR_UsesDescription *tmp = ACE_reinterpret_cast (IR_UsesDescription *,this->buffer_); _TAO_Unbounded_Sequence_IR_UsesDescSeq::freebuf (tmp); this->buffer_ = 0; } - IR::_TAO_Unbounded_Sequence_IR_UsesDescSeq::~_TAO_Unbounded_Sequence_IR_UsesDescSeq (void) // Dtor. + _TAO_Unbounded_Sequence_IR_UsesDescSeq::~_TAO_Unbounded_Sequence_IR_UsesDescSeq (void) // Dtor. { this->_deallocate_buffer (); } - -#endif /* end #if !defined */ - - #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ -#if !defined (_TAO_IR_USESDESCSEQ_CS_) -#define _TAO_IR_USESDESCSEQ_CS_ - // ************************************************************* -// IR::UsesDescSeq +// IR_UsesDescSeq // ************************************************************* -IR::UsesDescSeq::UsesDescSeq (void) +IR_UsesDescSeq::IR_UsesDescSeq (void) {} -IR::UsesDescSeq::UsesDescSeq (CORBA::ULong max) // uses max size +IR_UsesDescSeq::IR_UsesDescSeq (CORBA::ULong max) // uses max size : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_UsesDescSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max) {} -IR::UsesDescSeq::UsesDescSeq (CORBA::ULong max, CORBA::ULong length, IR::UsesDescription *buffer, CORBA::Boolean release) +IR_UsesDescSeq::IR_UsesDescSeq (CORBA::ULong max, CORBA::ULong length, IR_UsesDescription *buffer, CORBA::Boolean release) : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_UsesDescSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (max, length, buffer, release) {} -IR::UsesDescSeq::UsesDescSeq (const UsesDescSeq &seq) // copy ctor +IR_UsesDescSeq::IR_UsesDescSeq (const IR_UsesDescSeq &seq) // copy ctor : #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_IR_UsesDescSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence + TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ (seq) {} -IR::UsesDescSeq::~UsesDescSeq (void) // dtor +IR_UsesDescSeq::~IR_UsesDescSeq (void) // dtor {} -void IR::UsesDescSeq::_tao_any_destructor (void *x) +void IR_UsesDescSeq::_tao_any_destructor (void *x) { - UsesDescSeq *tmp = ACE_static_cast (UsesDescSeq*,x); + IR_UsesDescSeq *tmp = ACE_static_cast (IR_UsesDescSeq*,x); delete tmp; } - -#endif /* end #if !defined */ - static const CORBA::Long _oc_IR_UsesDescSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -38575,7 +24710,7 @@ 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x6e746572), ACE_NTOHL (0x66616365), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/InterfaceDef:1.0 - 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = InterfaceDef + 13, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72666163), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_InterfaceDef 12, ACE_NTOHL (0x69735f6d), ACE_NTOHL (0x756c7469), ACE_NTOHL (0x706c6500), // name = is_multiple CORBA::tk_boolean, @@ -38584,7 +24719,7 @@ 0U, }; -static CORBA::TypeCode _tc_TAO_tc_IR_UsesDescSeq (CORBA::tk_alias, sizeof (_oc_IR_UsesDescSeq), (char *) &_oc_IR_UsesDescSeq, 0, sizeof (IR::UsesDescSeq)); +static CORBA::TypeCode _tc_TAO_tc_IR_UsesDescSeq (CORBA::tk_alias, sizeof (_oc_IR_UsesDescSeq), (char *) &_oc_IR_UsesDescSeq, 0, sizeof (IR_UsesDescSeq)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UsesDescSeq, &_tc_TAO_tc_IR_UsesDescSeq) @@ -38594,15 +24729,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_EventDef_Proxy_Impl::_TAO_EventDef_Proxy_Impl (void) +_TAO_EventDef_Proxy_Impl::_TAO_EventDef_Proxy_Impl (void) {} -IR::_TAO_EventDef_Remote_Proxy_Impl::_TAO_EventDef_Remote_Proxy_Impl (void) +_TAO_EventDef_Remote_Proxy_Impl::_TAO_EventDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::Boolean IR::_TAO_EventDef_Remote_Proxy_Impl::is_a ( +CORBA::Boolean _TAO_EventDef_Remote_Proxy_Impl::is_a ( CORBA_Object *_collocated_tao_target_, const char * event_id, CORBA::Environment &ACE_TRY_ENV @@ -38628,57 +24763,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_is_a ri ( - "is_a", - _tao_call.service_info (), - _collocated_tao_target_, - event_id, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << event_id) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), _tao_retval ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -38687,7 +24796,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -38697,44 +24806,18 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -IR::ValueDef_ptr IR::_TAO_EventDef_Remote_Proxy_Impl::event ( +IR_ValueDef_ptr _TAO_EventDef_Remote_Proxy_Impl::event ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -38743,8 +24826,8 @@ )) { - IR::ValueDef_ptr _tao_retval = IR::ValueDef::_nil (); - IR::ValueDef_var _tao_safe_retval (_tao_retval); + IR_ValueDef_ptr _tao_retval = IR_ValueDef::_nil (); + IR_ValueDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -38760,46 +24843,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_event_get ri ( - "_get_event", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -38808,7 +24866,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -38818,41 +24876,14 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ValueDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } @@ -38866,32 +24897,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_EventDef_Proxy_Broker::_TAO_EventDef_Proxy_Broker (void) +_TAO_EventDef_Proxy_Broker::_TAO_EventDef_Proxy_Broker (void) { } -IR::_TAO_EventDef_Proxy_Broker::~_TAO_EventDef_Proxy_Broker (void) +_TAO_EventDef_Proxy_Broker::~_TAO_EventDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_EventDef_Remote_Proxy_Broker *IR::_TAO_EventDef_Remote_Proxy_Broker::the_TAO_EventDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_EventDef_Remote_Proxy_Broker *the_TAO_EventDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_EventDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_EventDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_EventDef_Remote_Proxy_Broker::_TAO_EventDef_Remote_Proxy_Broker (void) +_TAO_EventDef_Remote_Proxy_Broker::_TAO_EventDef_Remote_Proxy_Broker (void) { } -IR::_TAO_EventDef_Remote_Proxy_Broker::~_TAO_EventDef_Remote_Proxy_Broker (void) +_TAO_EventDef_Remote_Proxy_Broker::~_TAO_EventDef_Remote_Proxy_Broker (void) { } -IR::_TAO_EventDef_Proxy_Impl& -IR::_TAO_EventDef_Remote_Proxy_Broker::select_proxy ( - ::IR::EventDef *object, +_TAO_EventDef_Proxy_Impl& +_TAO_EventDef_Remote_Proxy_Broker::select_proxy ( + ::IR_EventDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -38907,110 +24938,110 @@ // default constructor -IR::EventDef::EventDef (int collocated) +IR_EventDef::IR_EventDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::EventDef::~EventDef (void) +IR_EventDef::~IR_EventDef (void) {} void -IR::EventDef::_tao_setup_collocation (int collocated) +IR_EventDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_EventDef_Proxy_Broker_ = - ::IR__TAO_EventDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_EventDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_EventDef_Proxy_Broker_ = - ::IR::_TAO_EventDef_Remote_Proxy_Broker::the_TAO_EventDef_Remote_Proxy_Broker (); + ::the_TAO_EventDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); } -void IR::EventDef::_tao_any_destructor (void *x) +void IR_EventDef::_tao_any_destructor (void *x) { - EventDef *tmp = ACE_static_cast (EventDef*,x); + IR_EventDef *tmp = ACE_static_cast (IR_EventDef*,x); CORBA::release (tmp); } -IR::EventDef_ptr IR::EventDef::_narrow ( +IR_EventDef_ptr IR_EventDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return EventDef::_nil (); + return IR_EventDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/EventDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (EventDef::_nil ()); + ACE_CHECK_RETURN (IR_EventDef::_nil ()); if (is_a == 0) - return EventDef::_nil (); + return IR_EventDef::_nil (); } - return EventDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_EventDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::EventDef_ptr IR::EventDef::_unchecked_narrow ( +IR_EventDef_ptr IR_EventDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return EventDef::_nil (); + return IR_EventDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - EventDef_ptr default_proxy = EventDef::_nil (); + IR_EventDef_ptr default_proxy = IR_EventDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_EventDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_EventDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::EventDef ( + ::IR_EventDef ( stub, 1, obj->_servant ()), - EventDef::_nil ()); + IR_EventDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::EventDef (stub, 0, obj->_servant ()), EventDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_EventDef (stub, 0, obj->_servant ()), IR_EventDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - EventDef_ptr, + IR_EventDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &EventDef::_narrow + &IR_EventDef::_narrow ) ) ); } -IR::EventDef_ptr -IR::EventDef::_duplicate (EventDef_ptr obj) +IR_EventDef_ptr +IR_EventDef::_duplicate (IR_EventDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::EventDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_EventDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EventDef:1.0")) || @@ -39022,34 +25053,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::EventDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_EventDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, EventDef)::_narrow)) + &IR_EventDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -39062,12 +25093,12 @@ return retv; } -const char* IR::EventDef::_interface_repository_id (void) const +const char* IR_EventDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/EventDef:1.0"; } -CORBA::Boolean IR::EventDef::is_a ( +CORBA::Boolean IR_EventDef::is_a ( const char * event_id, CORBA::Environment &ACE_TRY_ENV ) @@ -39083,7 +25114,7 @@ ); } -IR::ValueDef_ptr IR::EventDef::event ( +IR_ValueDef_ptr IR_EventDef::event ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -39097,112 +25128,18 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_is_a::TAO_ClientRequestInfo_IR_EventDef_is_a ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * event_id, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - event_id_ (event_id) -{} - -Dynamic::ParameterList * -IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_is_a::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_event_id = this->parameter_list_.length (); - this->parameter_list_.length (length_event_id + 1); - this->parameter_list_[length_event_id].argument <<= event_id_; - this->parameter_list_[length_event_id].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_is_a::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_is_a::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_is_a::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_event_get::TAO_ClientRequestInfo_IR_EventDef_event_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_event_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_event_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_event_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::EventDef::TAO_ClientRequestInfo_IR_EventDef_event_get::result (IR::ValueDef_ptr result) -{ - // update the result - this->result_ = result; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_EventDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f45), ACE_NTOHL (0x76656e74), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/EventDef:1.0 - 9, ACE_NTOHL (0x4576656e), ACE_NTOHL (0x74446566), ACE_NTOHL (0x0), // name = EventDef + 9, ACE_NTOHL (0x4576656e), ACE_NTOHL (0x74446566), ACE_NTOHL (0x0), // name = IR_EventDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_EventDef (CORBA::tk_objref, sizeof (_oc_IR_EventDef), (char *) &_oc_IR_EventDef, 0, sizeof (IR::EventDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_EventDef (CORBA::tk_objref, sizeof (_oc_IR_EventDef), (char *) &_oc_IR_EventDef, 0, sizeof (IR_EventDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_EventDef, &_tc_TAO_tc_IR_EventDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_EventDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -39250,17 +25187,18 @@ 52, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f56), ACE_NTOHL (0x616c7565), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/ValueDef:1.0 - 9, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = ValueDef + 9, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_ValueDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_EventDescription (CORBA::tk_struct, sizeof (_oc_IR_EventDescription), (char *) &_oc_IR_EventDescription, 0, sizeof (IR::EventDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_EventDescription (CORBA::tk_struct, sizeof (_oc_IR_EventDescription), (char *) &_oc_IR_EventDescription, 0, sizeof (IR_EventDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_EventDescription, &_tc_TAO_tc_IR_EventDescription) TAO_NAMESPACE_END -void IR::EventDescription::_tao_any_destructor (void *x) + +void IR_EventDescription::_tao_any_destructor (void *x) { - EventDescription *tmp = ACE_static_cast (EventDescription*,x); + IR_EventDescription *tmp = ACE_static_cast (IR_EventDescription*,x); delete tmp; } @@ -39269,10 +25207,10 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_EmitsDef_Proxy_Impl::_TAO_EmitsDef_Proxy_Impl (void) +_TAO_EmitsDef_Proxy_Impl::_TAO_EmitsDef_Proxy_Impl (void) {} -IR::_TAO_EmitsDef_Remote_Proxy_Impl::_TAO_EmitsDef_Remote_Proxy_Impl (void) +_TAO_EmitsDef_Remote_Proxy_Impl::_TAO_EmitsDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods @@ -39287,32 +25225,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_EmitsDef_Proxy_Broker::_TAO_EmitsDef_Proxy_Broker (void) +_TAO_EmitsDef_Proxy_Broker::_TAO_EmitsDef_Proxy_Broker (void) { } -IR::_TAO_EmitsDef_Proxy_Broker::~_TAO_EmitsDef_Proxy_Broker (void) +_TAO_EmitsDef_Proxy_Broker::~_TAO_EmitsDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_EmitsDef_Remote_Proxy_Broker *IR::_TAO_EmitsDef_Remote_Proxy_Broker::the_TAO_EmitsDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_EmitsDef_Remote_Proxy_Broker *the_TAO_EmitsDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_EmitsDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_EmitsDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_EmitsDef_Remote_Proxy_Broker::_TAO_EmitsDef_Remote_Proxy_Broker (void) +_TAO_EmitsDef_Remote_Proxy_Broker::_TAO_EmitsDef_Remote_Proxy_Broker (void) { } -IR::_TAO_EmitsDef_Remote_Proxy_Broker::~_TAO_EmitsDef_Remote_Proxy_Broker (void) +_TAO_EmitsDef_Remote_Proxy_Broker::~_TAO_EmitsDef_Remote_Proxy_Broker (void) { } -IR::_TAO_EmitsDef_Proxy_Impl& -IR::_TAO_EmitsDef_Remote_Proxy_Broker::select_proxy ( - ::IR::EmitsDef *object, +_TAO_EmitsDef_Proxy_Impl& +_TAO_EmitsDef_Remote_Proxy_Broker::select_proxy ( + ::IR_EmitsDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -39328,110 +25266,110 @@ // default constructor -IR::EmitsDef::EmitsDef (int collocated) +IR_EmitsDef::IR_EmitsDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::EmitsDef::~EmitsDef (void) +IR_EmitsDef::~IR_EmitsDef (void) {} void -IR::EmitsDef::_tao_setup_collocation (int collocated) +IR_EmitsDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_EmitsDef_Proxy_Broker_ = - ::IR__TAO_EmitsDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_EmitsDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_EmitsDef_Proxy_Broker_ = - ::IR::_TAO_EmitsDef_Remote_Proxy_Broker::the_TAO_EmitsDef_Remote_Proxy_Broker (); + ::the_TAO_EmitsDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,EventDef)::_tao_setup_collocation (collocated); + IR_EventDef::_tao_setup_collocation (collocated); } -void IR::EmitsDef::_tao_any_destructor (void *x) +void IR_EmitsDef::_tao_any_destructor (void *x) { - EmitsDef *tmp = ACE_static_cast (EmitsDef*,x); + IR_EmitsDef *tmp = ACE_static_cast (IR_EmitsDef*,x); CORBA::release (tmp); } -IR::EmitsDef_ptr IR::EmitsDef::_narrow ( +IR_EmitsDef_ptr IR_EmitsDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return EmitsDef::_nil (); + return IR_EmitsDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/EmitsDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (EmitsDef::_nil ()); + ACE_CHECK_RETURN (IR_EmitsDef::_nil ()); if (is_a == 0) - return EmitsDef::_nil (); + return IR_EmitsDef::_nil (); } - return EmitsDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_EmitsDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::EmitsDef_ptr IR::EmitsDef::_unchecked_narrow ( +IR_EmitsDef_ptr IR_EmitsDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return EmitsDef::_nil (); + return IR_EmitsDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - EmitsDef_ptr default_proxy = EmitsDef::_nil (); + IR_EmitsDef_ptr default_proxy = IR_EmitsDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_EmitsDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_EmitsDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::EmitsDef ( + ::IR_EmitsDef ( stub, 1, obj->_servant ()), - EmitsDef::_nil ()); + IR_EmitsDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::EmitsDef (stub, 0, obj->_servant ()), EmitsDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_EmitsDef (stub, 0, obj->_servant ()), IR_EmitsDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - EmitsDef_ptr, + IR_EmitsDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &EmitsDef::_narrow + &IR_EmitsDef::_narrow ) ) ); } -IR::EmitsDef_ptr -IR::EmitsDef::_duplicate (EmitsDef_ptr obj) +IR_EmitsDef_ptr +IR_EmitsDef::_duplicate (IR_EmitsDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::EmitsDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_EmitsDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EmitsDef:1.0")) || @@ -39444,46 +25382,46 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::EmitsDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_EmitsDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, EmitsDef)::_narrow)) + &IR_EmitsDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, EventDef)::_narrow)) + &IR_EventDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::EventDef_ptr, + IR_EventDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -39496,21 +25434,18 @@ return retv; } -const char* IR::EmitsDef::_interface_repository_id (void) const +const char* IR_EmitsDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/EmitsDef:1.0"; } - -#if (TAO_HAS_INTERCEPTORS == 1) -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_EmitsDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f45), ACE_NTOHL (0x6d697473), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/EmitsDef:1.0 - 9, ACE_NTOHL (0x456d6974), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = EmitsDef + 9, ACE_NTOHL (0x456d6974), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = IR_EmitsDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_EmitsDef (CORBA::tk_objref, sizeof (_oc_IR_EmitsDef), (char *) &_oc_IR_EmitsDef, 0, sizeof (IR::EmitsDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_EmitsDef (CORBA::tk_objref, sizeof (_oc_IR_EmitsDef), (char *) &_oc_IR_EmitsDef, 0, sizeof (IR_EmitsDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_EmitsDef, &_tc_TAO_tc_IR_EmitsDef) @@ -39520,10 +25455,10 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_PublishesDef_Proxy_Impl::_TAO_PublishesDef_Proxy_Impl (void) +_TAO_PublishesDef_Proxy_Impl::_TAO_PublishesDef_Proxy_Impl (void) {} -IR::_TAO_PublishesDef_Remote_Proxy_Impl::_TAO_PublishesDef_Remote_Proxy_Impl (void) +_TAO_PublishesDef_Remote_Proxy_Impl::_TAO_PublishesDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods @@ -39538,32 +25473,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_PublishesDef_Proxy_Broker::_TAO_PublishesDef_Proxy_Broker (void) +_TAO_PublishesDef_Proxy_Broker::_TAO_PublishesDef_Proxy_Broker (void) { } -IR::_TAO_PublishesDef_Proxy_Broker::~_TAO_PublishesDef_Proxy_Broker (void) +_TAO_PublishesDef_Proxy_Broker::~_TAO_PublishesDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_PublishesDef_Remote_Proxy_Broker *IR::_TAO_PublishesDef_Remote_Proxy_Broker::the_TAO_PublishesDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_PublishesDef_Remote_Proxy_Broker *the_TAO_PublishesDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_PublishesDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_PublishesDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_PublishesDef_Remote_Proxy_Broker::_TAO_PublishesDef_Remote_Proxy_Broker (void) +_TAO_PublishesDef_Remote_Proxy_Broker::_TAO_PublishesDef_Remote_Proxy_Broker (void) { } -IR::_TAO_PublishesDef_Remote_Proxy_Broker::~_TAO_PublishesDef_Remote_Proxy_Broker (void) +_TAO_PublishesDef_Remote_Proxy_Broker::~_TAO_PublishesDef_Remote_Proxy_Broker (void) { } -IR::_TAO_PublishesDef_Proxy_Impl& -IR::_TAO_PublishesDef_Remote_Proxy_Broker::select_proxy ( - ::IR::PublishesDef *object, +_TAO_PublishesDef_Proxy_Impl& +_TAO_PublishesDef_Remote_Proxy_Broker::select_proxy ( + ::IR_PublishesDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -39579,110 +25514,110 @@ // default constructor -IR::PublishesDef::PublishesDef (int collocated) +IR_PublishesDef::IR_PublishesDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::PublishesDef::~PublishesDef (void) +IR_PublishesDef::~IR_PublishesDef (void) {} void -IR::PublishesDef::_tao_setup_collocation (int collocated) +IR_PublishesDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_PublishesDef_Proxy_Broker_ = - ::IR__TAO_PublishesDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_PublishesDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_PublishesDef_Proxy_Broker_ = - ::IR::_TAO_PublishesDef_Remote_Proxy_Broker::the_TAO_PublishesDef_Remote_Proxy_Broker (); + ::the_TAO_PublishesDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,EventDef)::_tao_setup_collocation (collocated); + IR_EventDef::_tao_setup_collocation (collocated); } -void IR::PublishesDef::_tao_any_destructor (void *x) +void IR_PublishesDef::_tao_any_destructor (void *x) { - PublishesDef *tmp = ACE_static_cast (PublishesDef*,x); + IR_PublishesDef *tmp = ACE_static_cast (IR_PublishesDef*,x); CORBA::release (tmp); } -IR::PublishesDef_ptr IR::PublishesDef::_narrow ( +IR_PublishesDef_ptr IR_PublishesDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return PublishesDef::_nil (); + return IR_PublishesDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/PublishesDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (PublishesDef::_nil ()); + ACE_CHECK_RETURN (IR_PublishesDef::_nil ()); if (is_a == 0) - return PublishesDef::_nil (); + return IR_PublishesDef::_nil (); } - return PublishesDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_PublishesDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::PublishesDef_ptr IR::PublishesDef::_unchecked_narrow ( +IR_PublishesDef_ptr IR_PublishesDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return PublishesDef::_nil (); + return IR_PublishesDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - PublishesDef_ptr default_proxy = PublishesDef::_nil (); + IR_PublishesDef_ptr default_proxy = IR_PublishesDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_PublishesDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_PublishesDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::PublishesDef ( + ::IR_PublishesDef ( stub, 1, obj->_servant ()), - PublishesDef::_nil ()); + IR_PublishesDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::PublishesDef (stub, 0, obj->_servant ()), PublishesDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_PublishesDef (stub, 0, obj->_servant ()), IR_PublishesDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - PublishesDef_ptr, + IR_PublishesDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &PublishesDef::_narrow + &IR_PublishesDef::_narrow ) ) ); } -IR::PublishesDef_ptr -IR::PublishesDef::_duplicate (PublishesDef_ptr obj) +IR_PublishesDef_ptr +IR_PublishesDef::_duplicate (IR_PublishesDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::PublishesDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_PublishesDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/PublishesDef:1.0")) || @@ -39695,46 +25630,46 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::PublishesDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_PublishesDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, PublishesDef)::_narrow)) + &IR_PublishesDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, EventDef)::_narrow)) + &IR_EventDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::EventDef_ptr, + IR_EventDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -39747,21 +25682,18 @@ return retv; } -const char* IR::PublishesDef::_interface_repository_id (void) const +const char* IR_PublishesDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/PublishesDef:1.0"; } - -#if (TAO_HAS_INTERCEPTORS == 1) -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_PublishesDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x75626c69), ACE_NTOHL (0x73686573), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/PublishesDef:1.0 - 13, ACE_NTOHL (0x5075626c), ACE_NTOHL (0x69736865), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = PublishesDef + 13, ACE_NTOHL (0x5075626c), ACE_NTOHL (0x69736865), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = IR_PublishesDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_PublishesDef (CORBA::tk_objref, sizeof (_oc_IR_PublishesDef), (char *) &_oc_IR_PublishesDef, 0, sizeof (IR::PublishesDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_PublishesDef (CORBA::tk_objref, sizeof (_oc_IR_PublishesDef), (char *) &_oc_IR_PublishesDef, 0, sizeof (IR_PublishesDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_PublishesDef, &_tc_TAO_tc_IR_PublishesDef) @@ -39771,10 +25703,10 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_ConsumesDef_Proxy_Impl::_TAO_ConsumesDef_Proxy_Impl (void) +_TAO_ConsumesDef_Proxy_Impl::_TAO_ConsumesDef_Proxy_Impl (void) {} -IR::_TAO_ConsumesDef_Remote_Proxy_Impl::_TAO_ConsumesDef_Remote_Proxy_Impl (void) +_TAO_ConsumesDef_Remote_Proxy_Impl::_TAO_ConsumesDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods @@ -39789,32 +25721,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ConsumesDef_Proxy_Broker::_TAO_ConsumesDef_Proxy_Broker (void) +_TAO_ConsumesDef_Proxy_Broker::_TAO_ConsumesDef_Proxy_Broker (void) { } -IR::_TAO_ConsumesDef_Proxy_Broker::~_TAO_ConsumesDef_Proxy_Broker (void) +_TAO_ConsumesDef_Proxy_Broker::~_TAO_ConsumesDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ConsumesDef_Remote_Proxy_Broker *IR::_TAO_ConsumesDef_Remote_Proxy_Broker::the_TAO_ConsumesDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ConsumesDef_Remote_Proxy_Broker *the_TAO_ConsumesDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ConsumesDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ConsumesDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ConsumesDef_Remote_Proxy_Broker::_TAO_ConsumesDef_Remote_Proxy_Broker (void) +_TAO_ConsumesDef_Remote_Proxy_Broker::_TAO_ConsumesDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ConsumesDef_Remote_Proxy_Broker::~_TAO_ConsumesDef_Remote_Proxy_Broker (void) +_TAO_ConsumesDef_Remote_Proxy_Broker::~_TAO_ConsumesDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ConsumesDef_Proxy_Impl& -IR::_TAO_ConsumesDef_Remote_Proxy_Broker::select_proxy ( - ::IR::ConsumesDef *object, +_TAO_ConsumesDef_Proxy_Impl& +_TAO_ConsumesDef_Remote_Proxy_Broker::select_proxy ( + ::IR_ConsumesDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -39830,110 +25762,110 @@ // default constructor -IR::ConsumesDef::ConsumesDef (int collocated) +IR_ConsumesDef::IR_ConsumesDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ConsumesDef::~ConsumesDef (void) +IR_ConsumesDef::~IR_ConsumesDef (void) {} void -IR::ConsumesDef::_tao_setup_collocation (int collocated) +IR_ConsumesDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ConsumesDef_Proxy_Broker_ = - ::IR__TAO_ConsumesDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_ConsumesDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ConsumesDef_Proxy_Broker_ = - ::IR::_TAO_ConsumesDef_Remote_Proxy_Broker::the_TAO_ConsumesDef_Remote_Proxy_Broker (); + ::the_TAO_ConsumesDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,EventDef)::_tao_setup_collocation (collocated); + IR_EventDef::_tao_setup_collocation (collocated); } -void IR::ConsumesDef::_tao_any_destructor (void *x) +void IR_ConsumesDef::_tao_any_destructor (void *x) { - ConsumesDef *tmp = ACE_static_cast (ConsumesDef*,x); + IR_ConsumesDef *tmp = ACE_static_cast (IR_ConsumesDef*,x); CORBA::release (tmp); } -IR::ConsumesDef_ptr IR::ConsumesDef::_narrow ( +IR_ConsumesDef_ptr IR_ConsumesDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ConsumesDef::_nil (); + return IR_ConsumesDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ConsumesDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ConsumesDef::_nil ()); + ACE_CHECK_RETURN (IR_ConsumesDef::_nil ()); if (is_a == 0) - return ConsumesDef::_nil (); + return IR_ConsumesDef::_nil (); } - return ConsumesDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ConsumesDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ConsumesDef_ptr IR::ConsumesDef::_unchecked_narrow ( +IR_ConsumesDef_ptr IR_ConsumesDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ConsumesDef::_nil (); + return IR_ConsumesDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ConsumesDef_ptr default_proxy = ConsumesDef::_nil (); + IR_ConsumesDef_ptr default_proxy = IR_ConsumesDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ConsumesDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ConsumesDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ConsumesDef ( + ::IR_ConsumesDef ( stub, 1, obj->_servant ()), - ConsumesDef::_nil ()); + IR_ConsumesDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ConsumesDef (stub, 0, obj->_servant ()), ConsumesDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ConsumesDef (stub, 0, obj->_servant ()), IR_ConsumesDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ConsumesDef_ptr, + IR_ConsumesDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ConsumesDef::_narrow + &IR_ConsumesDef::_narrow ) ) ); } -IR::ConsumesDef_ptr -IR::ConsumesDef::_duplicate (ConsumesDef_ptr obj) +IR_ConsumesDef_ptr +IR_ConsumesDef::_duplicate (IR_ConsumesDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ConsumesDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ConsumesDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ConsumesDef:1.0")) || @@ -39946,46 +25878,46 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ConsumesDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_ConsumesDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ConsumesDef)::_narrow)) + &IR_ConsumesDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, EventDef)::_narrow)) + &IR_EventDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::EventDef_ptr, + IR_EventDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -39998,21 +25930,18 @@ return retv; } -const char* IR::ConsumesDef::_interface_repository_id (void) const +const char* IR_ConsumesDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/ConsumesDef:1.0"; } - -#if (TAO_HAS_INTERCEPTORS == 1) -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ConsumesDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7375), ACE_NTOHL (0x6d657344), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ConsumesDef:1.0 - 12, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x756d6573), ACE_NTOHL (0x44656600), // name = ConsumesDef + 12, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x756d6573), ACE_NTOHL (0x44656600), // name = IR_ConsumesDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ConsumesDef (CORBA::tk_objref, sizeof (_oc_IR_ConsumesDef), (char *) &_oc_IR_ConsumesDef, 0, sizeof (IR::ConsumesDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_ConsumesDef (CORBA::tk_objref, sizeof (_oc_IR_ConsumesDef), (char *) &_oc_IR_ConsumesDef, 0, sizeof (IR_ConsumesDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ConsumesDef, &_tc_TAO_tc_IR_ConsumesDef) @@ -40022,15 +25951,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_ComponentDef_Proxy_Impl::_TAO_ComponentDef_Proxy_Impl (void) +_TAO_ComponentDef_Proxy_Impl::_TAO_ComponentDef_Proxy_Impl (void) {} -IR::_TAO_ComponentDef_Remote_Proxy_Impl::_TAO_ComponentDef_Remote_Proxy_Impl (void) +_TAO_ComponentDef_Remote_Proxy_Impl::_TAO_ComponentDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::InterfaceDefSeq * IR::_TAO_ComponentDef_Remote_Proxy_Impl::supported_interfaces ( +IR_InterfaceDefSeq * _TAO_ComponentDef_Remote_Proxy_Impl::supported_interfaces ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -40039,7 +25968,7 @@ )) { - IR::InterfaceDefSeq *_tao_retval = 0; + IR_InterfaceDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -40047,8 +25976,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::InterfaceDefSeq, _tao_retval); - IR::InterfaceDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_InterfaceDefSeq, _tao_retval); + IR_InterfaceDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_supported_interfaces", @@ -40057,46 +25986,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_get ri ( - "_get_supported_interfaces", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -40105,7 +26009,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -40115,57 +26019,26 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::InterfaceDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -void IR::_TAO_ComponentDef_Remote_Proxy_Impl::supported_interfaces ( +void _TAO_ComponentDef_Remote_Proxy_Impl::supported_interfaces ( CORBA_Object *_collocated_tao_target_, - const IR::InterfaceDefSeq & supported_interfaces, + const IR_InterfaceDefSeq & supported_interfaces, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( CORBA::SystemException )) { - - - - TAO_Stub *istub = _collocated_tao_target_->_stubobj (); if (istub == 0) ACE_THROW (CORBA::INTERNAL ()); @@ -40179,56 +26052,30 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_set ri ( - "_set_supported_interfaces", - _tao_call.service_info (), - _collocated_tao_target_, - supported_interfaces, - ACE_TRY_ENV - ); - ACE_CHECK; - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << supported_interfaces) )) - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::MARSHAL () ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK; + ACE_CHECK; if (_invoke_status == TAO_INVOKE_RESTART) { @@ -40237,39 +26084,16 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW ( + ACE_THROW ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES) ); } - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK; break; } - -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK; -#endif /* TAO_HAS_INTERCEPTORS */ - } -IR::ComponentDef_ptr IR::_TAO_ComponentDef_Remote_Proxy_Impl::base_component ( +IR_ComponentDef_ptr _TAO_ComponentDef_Remote_Proxy_Impl::base_component ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -40278,8 +26102,8 @@ )) { - IR::ComponentDef_ptr _tao_retval = IR::ComponentDef::_nil (); - IR::ComponentDef_var _tao_safe_retval (_tao_retval); + IR_ComponentDef_ptr _tao_retval = IR_ComponentDef::_nil (); + IR_ComponentDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -40295,46 +26119,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_base_component_get ri ( - "_get_base_component", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -40343,7 +26142,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -40353,45 +26152,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ComponentDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ProvidesDefSeq * IR::_TAO_ComponentDef_Remote_Proxy_Impl::provides_interfaces ( +IR_ProvidesDefSeq * _TAO_ComponentDef_Remote_Proxy_Impl::provides_interfaces ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -40400,7 +26172,7 @@ )) { - IR::ProvidesDefSeq *_tao_retval = 0; + IR_ProvidesDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -40408,56 +26180,31 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::ProvidesDefSeq, _tao_retval); - IR::ProvidesDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_ProvidesDefSeq, _tao_retval); + IR_ProvidesDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_provides_interfaces", 24, - 0, - istub->orb_core () - ); - -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_provides_interfaces_get ri ( - "_get_provides_interfaces", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV + 0, + istub->orb_core () ); - ACE_CHECK_RETURN (0); - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -40466,7 +26213,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -40476,45 +26223,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ProvidesDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::UsesDefSeq * IR::_TAO_ComponentDef_Remote_Proxy_Impl::uses_interfaces ( +IR_UsesDefSeq * _TAO_ComponentDef_Remote_Proxy_Impl::uses_interfaces ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -40523,7 +26243,7 @@ )) { - IR::UsesDefSeq *_tao_retval = 0; + IR_UsesDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -40531,8 +26251,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::UsesDefSeq, _tao_retval); - IR::UsesDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_UsesDefSeq, _tao_retval); + IR_UsesDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_uses_interfaces", @@ -40541,46 +26261,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_uses_interfaces_get ri ( - "_get_uses_interfaces", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -40589,7 +26284,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -40599,45 +26294,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::UsesDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::EmitsDefSeq * IR::_TAO_ComponentDef_Remote_Proxy_Impl::emits_events ( +IR_EmitsDefSeq * _TAO_ComponentDef_Remote_Proxy_Impl::emits_events ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -40646,7 +26314,7 @@ )) { - IR::EmitsDefSeq *_tao_retval = 0; + IR_EmitsDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -40654,8 +26322,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::EmitsDefSeq, _tao_retval); - IR::EmitsDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_EmitsDefSeq, _tao_retval); + IR_EmitsDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_emits_events", @@ -40664,46 +26332,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_emits_events_get ri ( - "_get_emits_events", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -40712,7 +26355,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -40722,45 +26365,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::EmitsDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::PublishesDefSeq * IR::_TAO_ComponentDef_Remote_Proxy_Impl::publishes_events ( +IR_PublishesDefSeq * _TAO_ComponentDef_Remote_Proxy_Impl::publishes_events ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -40769,7 +26385,7 @@ )) { - IR::PublishesDefSeq *_tao_retval = 0; + IR_PublishesDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -40777,8 +26393,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::PublishesDefSeq, _tao_retval); - IR::PublishesDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_PublishesDefSeq, _tao_retval); + IR_PublishesDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_publishes_events", @@ -40787,46 +26403,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_publishes_events_get ri ( - "_get_publishes_events", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -40835,7 +26426,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -40845,45 +26436,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::PublishesDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ConsumesDefSeq * IR::_TAO_ComponentDef_Remote_Proxy_Impl::consumes_events ( +IR_ConsumesDefSeq * _TAO_ComponentDef_Remote_Proxy_Impl::consumes_events ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -40892,7 +26456,7 @@ )) { - IR::ConsumesDefSeq *_tao_retval = 0; + IR_ConsumesDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -40900,8 +26464,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::ConsumesDefSeq, _tao_retval); - IR::ConsumesDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_ConsumesDefSeq, _tao_retval); + IR_ConsumesDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_consumes_events", @@ -40910,46 +26474,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_consumes_events_get ri ( - "_get_consumes_events", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -40958,7 +26497,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -40968,45 +26507,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ConsumesDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -CORBA::Boolean IR::_TAO_ComponentDef_Remote_Proxy_Impl::is_basic ( +CORBA::Boolean _TAO_ComponentDef_Remote_Proxy_Impl::is_basic ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -41031,46 +26543,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_is_basic_get ri ( - "_get_is_basic", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -41079,7 +26566,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -41089,49 +26576,23 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -IR::ProvidesDef_ptr IR::_TAO_ComponentDef_Remote_Proxy_Impl::create_provides ( +IR_ProvidesDef_ptr _TAO_ComponentDef_Remote_Proxy_Impl::create_provides ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::InterfaceDef_ptr interface_type, + IR_InterfaceDef_ptr interface_type, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -41139,8 +26600,8 @@ )) { - IR::ProvidesDef_ptr _tao_retval = IR::ProvidesDef::_nil (); - IR::ProvidesDef_var _tao_safe_retval (_tao_retval); + IR_ProvidesDef_ptr _tao_retval = IR_ProvidesDef::_nil (); + IR_ProvidesDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -41156,47 +26617,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_provides ri ( - "create_provides", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - interface_type, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -41205,14 +26637,14 @@ (_tao_out << version) && (_tao_out << interface_type) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -41221,7 +26653,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -41231,50 +26663,23 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ProvidesDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::UsesDef_ptr IR::_TAO_ComponentDef_Remote_Proxy_Impl::create_uses ( +IR_UsesDef_ptr _TAO_ComponentDef_Remote_Proxy_Impl::create_uses ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::InterfaceDef_ptr interface_type, + IR_InterfaceDef_ptr interface_type, CORBA::Boolean is_multiple, CORBA::Environment &ACE_TRY_ENV ) @@ -41283,8 +26688,8 @@ )) { - IR::UsesDef_ptr _tao_retval = IR::UsesDef::_nil (); - IR::UsesDef_var _tao_safe_retval (_tao_retval); + IR_UsesDef_ptr _tao_retval = IR_UsesDef::_nil (); + IR_UsesDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -41300,48 +26705,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_uses ri ( - "create_uses", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - interface_type, - is_multiple, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -41351,14 +26726,14 @@ (_tao_out << interface_type) && (_tao_out << CORBA::Any::from_boolean (is_multiple)) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -41367,7 +26742,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -41377,50 +26752,23 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::UsesDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::EmitsDef_ptr IR::_TAO_ComponentDef_Remote_Proxy_Impl::create_emits ( +IR_EmitsDef_ptr _TAO_ComponentDef_Remote_Proxy_Impl::create_emits ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::ValueDef_ptr value, + IR_ValueDef_ptr value, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -41428,8 +26776,8 @@ )) { - IR::EmitsDef_ptr _tao_retval = IR::EmitsDef::_nil (); - IR::EmitsDef_var _tao_safe_retval (_tao_retval); + IR_EmitsDef_ptr _tao_retval = IR_EmitsDef::_nil (); + IR_EmitsDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -41445,47 +26793,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_emits ri ( - "create_emits", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - value, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -41494,14 +26813,14 @@ (_tao_out << version) && (_tao_out << value) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -41510,7 +26829,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -41520,50 +26839,23 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::EmitsDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::PublishesDef_ptr IR::_TAO_ComponentDef_Remote_Proxy_Impl::create_publishes ( +IR_PublishesDef_ptr _TAO_ComponentDef_Remote_Proxy_Impl::create_publishes ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::ValueDef_ptr value, + IR_ValueDef_ptr value, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -41571,8 +26863,8 @@ )) { - IR::PublishesDef_ptr _tao_retval = IR::PublishesDef::_nil (); - IR::PublishesDef_var _tao_safe_retval (_tao_retval); + IR_PublishesDef_ptr _tao_retval = IR_PublishesDef::_nil (); + IR_PublishesDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -41588,47 +26880,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_publishes ri ( - "create_publishes", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - value, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -41637,14 +26900,14 @@ (_tao_out << version) && (_tao_out << value) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -41653,7 +26916,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -41663,50 +26926,23 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::PublishesDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ConsumesDef_ptr IR::_TAO_ComponentDef_Remote_Proxy_Impl::create_consumes ( +IR_ConsumesDef_ptr _TAO_ComponentDef_Remote_Proxy_Impl::create_consumes ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::ValueDef_ptr value, + IR_ValueDef_ptr value, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -41714,8 +26950,8 @@ )) { - IR::ConsumesDef_ptr _tao_retval = IR::ConsumesDef::_nil (); - IR::ConsumesDef_var _tao_safe_retval (_tao_retval); + IR_ConsumesDef_ptr _tao_retval = IR_ConsumesDef::_nil (); + IR_ConsumesDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -41731,47 +26967,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_consumes ri ( - "create_consumes", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - value, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -41780,14 +26987,14 @@ (_tao_out << version) && (_tao_out << value) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -41796,7 +27003,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -41806,41 +27013,14 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ConsumesDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } @@ -41854,32 +27034,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_ComponentDef_Proxy_Broker::_TAO_ComponentDef_Proxy_Broker (void) +_TAO_ComponentDef_Proxy_Broker::_TAO_ComponentDef_Proxy_Broker (void) { } -IR::_TAO_ComponentDef_Proxy_Broker::~_TAO_ComponentDef_Proxy_Broker (void) +_TAO_ComponentDef_Proxy_Broker::~_TAO_ComponentDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_ComponentDef_Remote_Proxy_Broker *IR::_TAO_ComponentDef_Remote_Proxy_Broker::the_TAO_ComponentDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_ComponentDef_Remote_Proxy_Broker *the_TAO_ComponentDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_ComponentDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_ComponentDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_ComponentDef_Remote_Proxy_Broker::_TAO_ComponentDef_Remote_Proxy_Broker (void) +_TAO_ComponentDef_Remote_Proxy_Broker::_TAO_ComponentDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ComponentDef_Remote_Proxy_Broker::~_TAO_ComponentDef_Remote_Proxy_Broker (void) +_TAO_ComponentDef_Remote_Proxy_Broker::~_TAO_ComponentDef_Remote_Proxy_Broker (void) { } -IR::_TAO_ComponentDef_Proxy_Impl& -IR::_TAO_ComponentDef_Remote_Proxy_Broker::select_proxy ( - ::IR::ComponentDef *object, +_TAO_ComponentDef_Proxy_Impl& +_TAO_ComponentDef_Remote_Proxy_Broker::select_proxy ( + ::IR_ComponentDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -41895,110 +27075,110 @@ // default constructor -IR::ComponentDef::ComponentDef (int collocated) +IR_ComponentDef::IR_ComponentDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::ComponentDef::~ComponentDef (void) +IR_ComponentDef::~IR_ComponentDef (void) {} void -IR::ComponentDef::_tao_setup_collocation (int collocated) +IR_ComponentDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_ComponentDef_Proxy_Broker_ = - ::IR__TAO_ComponentDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_ComponentDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_ComponentDef_Proxy_Broker_ = - ::IR::_TAO_ComponentDef_Remote_Proxy_Broker::the_TAO_ComponentDef_Remote_Proxy_Broker (); + ::the_TAO_ComponentDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,InterfaceDef)::_tao_setup_collocation (collocated); + IR_InterfaceDef::_tao_setup_collocation (collocated); } -void IR::ComponentDef::_tao_any_destructor (void *x) +void IR_ComponentDef::_tao_any_destructor (void *x) { - ComponentDef *tmp = ACE_static_cast (ComponentDef*,x); + IR_ComponentDef *tmp = ACE_static_cast (IR_ComponentDef*,x); CORBA::release (tmp); } -IR::ComponentDef_ptr IR::ComponentDef::_narrow ( +IR_ComponentDef_ptr IR_ComponentDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return ComponentDef::_nil (); + return IR_ComponentDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/ComponentDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (ComponentDef::_nil ()); + ACE_CHECK_RETURN (IR_ComponentDef::_nil ()); if (is_a == 0) - return ComponentDef::_nil (); + return IR_ComponentDef::_nil (); } - return ComponentDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_ComponentDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::ComponentDef_ptr IR::ComponentDef::_unchecked_narrow ( +IR_ComponentDef_ptr IR_ComponentDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return ComponentDef::_nil (); + return IR_ComponentDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - ComponentDef_ptr default_proxy = ComponentDef::_nil (); + IR_ComponentDef_ptr default_proxy = IR_ComponentDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_ComponentDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_ComponentDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::ComponentDef ( + ::IR_ComponentDef ( stub, 1, obj->_servant ()), - ComponentDef::_nil ()); + IR_ComponentDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::ComponentDef (stub, 0, obj->_servant ()), ComponentDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_ComponentDef (stub, 0, obj->_servant ()), IR_ComponentDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - ComponentDef_ptr, + IR_ComponentDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &ComponentDef::_narrow + &IR_ComponentDef::_narrow ) ) ); } -IR::ComponentDef_ptr -IR::ComponentDef::_duplicate (ComponentDef_ptr obj) +IR_ComponentDef_ptr +IR_ComponentDef::_duplicate (IR_ComponentDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::ComponentDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_ComponentDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ComponentDef:1.0")) || @@ -42013,70 +27193,70 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::ComponentDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_ComponentDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, ComponentDef)::_narrow)) + &IR_ComponentDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, InterfaceDef)::_narrow)) + &IR_InterfaceDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::InterfaceDef_ptr, + IR_InterfaceDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Container_ptr, + IR_Container_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -42089,12 +27269,12 @@ return retv; } -const char* IR::ComponentDef::_interface_repository_id (void) const +const char* IR_ComponentDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/ComponentDef:1.0"; } -IR::InterfaceDefSeq * IR::ComponentDef::supported_interfaces ( +IR_InterfaceDefSeq * IR_ComponentDef::supported_interfaces ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -42108,8 +27288,8 @@ ); } -void IR::ComponentDef::supported_interfaces ( - const IR::InterfaceDefSeq & supported_interfaces, +void IR_ComponentDef::supported_interfaces ( + const IR_InterfaceDefSeq & supported_interfaces, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -42124,7 +27304,7 @@ ); } -IR::ComponentDef_ptr IR::ComponentDef::base_component ( +IR_ComponentDef_ptr IR_ComponentDef::base_component ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -42138,7 +27318,7 @@ ); } -IR::ProvidesDefSeq * IR::ComponentDef::provides_interfaces ( +IR_ProvidesDefSeq * IR_ComponentDef::provides_interfaces ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -42152,7 +27332,7 @@ ); } -IR::UsesDefSeq * IR::ComponentDef::uses_interfaces ( +IR_UsesDefSeq * IR_ComponentDef::uses_interfaces ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -42166,7 +27346,7 @@ ); } -IR::EmitsDefSeq * IR::ComponentDef::emits_events ( +IR_EmitsDefSeq * IR_ComponentDef::emits_events ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -42180,7 +27360,7 @@ ); } -IR::PublishesDefSeq * IR::ComponentDef::publishes_events ( +IR_PublishesDefSeq * IR_ComponentDef::publishes_events ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -42194,7 +27374,7 @@ ); } -IR::ConsumesDefSeq * IR::ComponentDef::consumes_events ( +IR_ConsumesDefSeq * IR_ComponentDef::consumes_events ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -42208,7 +27388,7 @@ ); } -CORBA::Boolean IR::ComponentDef::is_basic ( +CORBA::Boolean IR_ComponentDef::is_basic ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -42222,11 +27402,11 @@ ); } -IR::ProvidesDef_ptr IR::ComponentDef::create_provides ( +IR_ProvidesDef_ptr IR_ComponentDef::create_provides ( const char * id, const char * name, const char * version, - IR::InterfaceDef_ptr interface_type, + IR_InterfaceDef_ptr interface_type, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -42244,11 +27424,11 @@ ); } -IR::UsesDef_ptr IR::ComponentDef::create_uses ( +IR_UsesDef_ptr IR_ComponentDef::create_uses ( const char * id, const char * name, const char * version, - IR::InterfaceDef_ptr interface_type, + IR_InterfaceDef_ptr interface_type, CORBA::Boolean is_multiple, CORBA::Environment &ACE_TRY_ENV ) @@ -42258,824 +27438,94 @@ { return this->the_TAO_ComponentDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_uses ( - this, - id, - name, - version, - interface_type, - is_multiple, - ACE_TRY_ENV - ); -} - -IR::EmitsDef_ptr IR::ComponentDef::create_emits ( - const char * id, - const char * name, - const char * version, - IR::ValueDef_ptr value, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_ComponentDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_emits ( - this, - id, - name, - version, - value, - ACE_TRY_ENV - ); -} - -IR::PublishesDef_ptr IR::ComponentDef::create_publishes ( - const char * id, - const char * name, - const char * version, - IR::ValueDef_ptr value, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_ComponentDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_publishes ( - this, - id, - name, - version, - value, - ACE_TRY_ENV - ); -} - -IR::ConsumesDef_ptr IR::ComponentDef::create_consumes ( - const char * id, - const char * name, - const char * version, - IR::ValueDef_ptr value, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - - return this->the_TAO_ComponentDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_consumes ( - this, - id, - name, - version, - value, - ACE_TRY_ENV - ); -} - - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_get::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_get::result (IR::InterfaceDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_set::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_set ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const IR::InterfaceDefSeq & supported_interfaces, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - supported_interfaces_ (supported_interfaces) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_set::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_supported_interfaces = this->parameter_list_.length (); - this->parameter_list_.length (length_supported_interfaces + 1); - this->parameter_list_[length_supported_interfaces].argument <<= this->supported_interfaces_; - - this->parameter_list_[length_supported_interfaces].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_set::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_supported_interfaces_set::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - CORBA::TypeCode tc (CORBA::tk_void); - this->result_val_.type (&tc); - - return &this->result_val_; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_base_component_get::TAO_ClientRequestInfo_IR_ComponentDef_base_component_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_base_component_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_base_component_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_base_component_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_base_component_get::result (IR::ComponentDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_provides_interfaces_get::TAO_ClientRequestInfo_IR_ComponentDef_provides_interfaces_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_provides_interfaces_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_provides_interfaces_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_provides_interfaces_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_provides_interfaces_get::result (IR::ProvidesDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_uses_interfaces_get::TAO_ClientRequestInfo_IR_ComponentDef_uses_interfaces_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_uses_interfaces_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_uses_interfaces_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_uses_interfaces_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_uses_interfaces_get::result (IR::UsesDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_emits_events_get::TAO_ClientRequestInfo_IR_ComponentDef_emits_events_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_emits_events_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_emits_events_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_emits_events_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_emits_events_get::result (IR::EmitsDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_publishes_events_get::TAO_ClientRequestInfo_IR_ComponentDef_publishes_events_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_publishes_events_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_publishes_events_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_publishes_events_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_publishes_events_get::result (IR::PublishesDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_consumes_events_get::TAO_ClientRequestInfo_IR_ComponentDef_consumes_events_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_consumes_events_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_consumes_events_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_consumes_events_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_consumes_events_get::result (IR::ConsumesDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_is_basic_get::TAO_ClientRequestInfo_IR_ComponentDef_is_basic_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_is_basic_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_is_basic_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_is_basic_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_is_basic_get::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_provides::TAO_ClientRequestInfo_IR_ComponentDef_create_provides ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::InterfaceDef_ptr interface_type, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - interface_type_ (interface_type) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_provides::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_interface_type = this->parameter_list_.length (); - this->parameter_list_.length (length_interface_type + 1); - this->parameter_list_[length_interface_type].argument <<= this->interface_type_; - - this->parameter_list_[length_interface_type].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_provides::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_provides::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_provides::result (IR::ProvidesDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_uses::TAO_ClientRequestInfo_IR_ComponentDef_create_uses ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::InterfaceDef_ptr interface_type, - const CORBA::Boolean & is_multiple, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - interface_type_ (interface_type), - is_multiple_ (is_multiple) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_uses::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_interface_type = this->parameter_list_.length (); - this->parameter_list_.length (length_interface_type + 1); - this->parameter_list_[length_interface_type].argument <<= this->interface_type_; - - this->parameter_list_[length_interface_type].mode = Dynamic::PARAM_IN; - CORBA::ULong length_is_multiple = this->parameter_list_.length (); - this->parameter_list_.length (length_is_multiple + 1); - this->parameter_list_[length_is_multiple].argument <<= CORBA::Any::from_boolean (this->is_multiple_); - this->parameter_list_[length_is_multiple].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_uses::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_uses::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_uses::result (IR::UsesDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_emits::TAO_ClientRequestInfo_IR_ComponentDef_create_emits ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::ValueDef_ptr value, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - value_ (value) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_emits::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_value = this->parameter_list_.length (); - this->parameter_list_.length (length_value + 1); - this->parameter_list_[length_value].argument <<= this->value_; - - this->parameter_list_[length_value].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_emits::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_emits::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_emits::result (IR::EmitsDef_ptr result) -{ - // update the result - this->result_ = result; + this, + id, + name, + version, + interface_type, + is_multiple, + ACE_TRY_ENV + ); } -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_publishes::TAO_ClientRequestInfo_IR_ComponentDef_create_publishes ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, +IR_EmitsDef_ptr IR_ComponentDef::create_emits ( const char * id, const char * name, const char * version, - IR::ValueDef_ptr value, - CORBA::Environment & + IR_ValueDef_ptr value, + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - value_ (value) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_publishes::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_value = this->parameter_list_.length (); - this->parameter_list_.length (length_value + 1); - this->parameter_list_[length_value].argument <<= this->value_; - this->parameter_list_[length_value].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_publishes::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_publishes::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_publishes::result (IR::PublishesDef_ptr result) -{ - // update the result - this->result_ = result; + return this->the_TAO_ComponentDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_emits ( + this, + id, + name, + version, + value, + ACE_TRY_ENV + ); } -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_consumes::TAO_ClientRequestInfo_IR_ComponentDef_create_consumes ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, +IR_PublishesDef_ptr IR_ComponentDef::create_publishes ( const char * id, const char * name, const char * version, - IR::ValueDef_ptr value, - CORBA::Environment & + IR_ValueDef_ptr value, + CORBA::Environment &ACE_TRY_ENV ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - value_ (value) -{} - -Dynamic::ParameterList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_consumes::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_value = this->parameter_list_.length (); - this->parameter_list_.length (length_value + 1); - this->parameter_list_[length_value].argument <<= this->value_; - this->parameter_list_[length_value].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_consumes::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_consumes::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; + return this->the_TAO_ComponentDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_publishes ( + this, + id, + name, + version, + value, + ACE_TRY_ENV + ); } -void -IR::ComponentDef::TAO_ClientRequestInfo_IR_ComponentDef_create_consumes::result (IR::ConsumesDef_ptr result) +IR_ConsumesDef_ptr IR_ComponentDef::create_consumes ( + const char * id, + const char * name, + const char * version, + IR_ValueDef_ptr value, + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) { - // update the result - this->result_ = result; + + return this->the_TAO_ComponentDef_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV).create_consumes ( + this, + id, + name, + version, + value, + ACE_TRY_ENV + ); } -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_ComponentDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6d706f), ACE_NTOHL (0x6e656e74), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/ComponentDef:1.0 - 13, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74446566), ACE_NTOHL (0x0), // name = ComponentDef + 13, ACE_NTOHL (0x436f6d70), ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74446566), ACE_NTOHL (0x0), // name = IR_ComponentDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_ComponentDef (CORBA::tk_objref, sizeof (_oc_IR_ComponentDef), (char *) &_oc_IR_ComponentDef, 0, sizeof (IR::ComponentDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_ComponentDef (CORBA::tk_objref, sizeof (_oc_IR_ComponentDef), (char *) &_oc_IR_ComponentDef, 0, sizeof (IR_ComponentDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ComponentDef, &_tc_TAO_tc_IR_ComponentDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_ComponentDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -43152,7 +27602,7 @@ 144, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 34, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x726f7669), ACE_NTOHL (0x64657344), ACE_NTOHL (0x65665365), ACE_NTOHL (0x713a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/ProvidesDefSeq:1.0 - 15, ACE_NTOHL (0x50726f76), ACE_NTOHL (0x69646573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = ProvidesDefSeq + 15, ACE_NTOHL (0x50726f76), ACE_NTOHL (0x69646573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = IR_ProvidesDefSeq CORBA::tk_sequence, // typecode kind 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -43160,7 +27610,7 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x726f7669), ACE_NTOHL (0x64657344), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ProvidesDef:1.0 - 12, ACE_NTOHL (0x50726f76), ACE_NTOHL (0x69646573), ACE_NTOHL (0x44656600), // name = ProvidesDef + 12, ACE_NTOHL (0x50726f76), ACE_NTOHL (0x69646573), ACE_NTOHL (0x44656600), // name = IR_ProvidesDef 0U, @@ -43170,7 +27620,7 @@ 128, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f55), ACE_NTOHL (0x73657344), ACE_NTOHL (0x65665365), ACE_NTOHL (0x713a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/UsesDefSeq:1.0 - 11, ACE_NTOHL (0x55736573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = UsesDefSeq + 11, ACE_NTOHL (0x55736573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = IR_UsesDefSeq CORBA::tk_sequence, // typecode kind 64, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -43178,7 +27628,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f55), ACE_NTOHL (0x73657344), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/UsesDef:1.0 - 8, ACE_NTOHL (0x55736573), ACE_NTOHL (0x44656600), // name = UsesDef + 8, ACE_NTOHL (0x55736573), ACE_NTOHL (0x44656600), // name = IR_UsesDef 0U, @@ -43372,7 +27822,7 @@ 132, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f45), ACE_NTOHL (0x6d697473), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/EmitsDefSeq:1.0 - 12, ACE_NTOHL (0x456d6974), ACE_NTOHL (0x73446566), ACE_NTOHL (0x53657100), // name = EmitsDefSeq + 12, ACE_NTOHL (0x456d6974), ACE_NTOHL (0x73446566), ACE_NTOHL (0x53657100), // name = IR_EmitsDefSeq CORBA::tk_sequence, // typecode kind 68, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -43380,7 +27830,7 @@ 52, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f45), ACE_NTOHL (0x6d697473), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/EmitsDef:1.0 - 9, ACE_NTOHL (0x456d6974), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = EmitsDef + 9, ACE_NTOHL (0x456d6974), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = IR_EmitsDef 0U, @@ -43390,7 +27840,7 @@ 148, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 35, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x75626c69), ACE_NTOHL (0x73686573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/PublishesDefSeq:1.0 - 16, ACE_NTOHL (0x5075626c), ACE_NTOHL (0x69736865), ACE_NTOHL (0x73446566), ACE_NTOHL (0x53657100), // name = PublishesDefSeq + 16, ACE_NTOHL (0x5075626c), ACE_NTOHL (0x69736865), ACE_NTOHL (0x73446566), ACE_NTOHL (0x53657100), // name = IR_PublishesDefSeq CORBA::tk_sequence, // typecode kind 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -43398,7 +27848,7 @@ 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x75626c69), ACE_NTOHL (0x73686573), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/PublishesDef:1.0 - 13, ACE_NTOHL (0x5075626c), ACE_NTOHL (0x69736865), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = PublishesDef + 13, ACE_NTOHL (0x5075626c), ACE_NTOHL (0x69736865), ACE_NTOHL (0x73446566), ACE_NTOHL (0x0), // name = IR_PublishesDef 0U, @@ -43408,7 +27858,7 @@ 144, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 34, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7375), ACE_NTOHL (0x6d657344), ACE_NTOHL (0x65665365), ACE_NTOHL (0x713a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/ConsumesDefSeq:1.0 - 15, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x756d6573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = ConsumesDefSeq + 15, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x756d6573), ACE_NTOHL (0x44656653), ACE_NTOHL (0x65710000), // name = IR_ConsumesDefSeq CORBA::tk_sequence, // typecode kind 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -43416,7 +27866,7 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f43), ACE_NTOHL (0x6f6e7375), ACE_NTOHL (0x6d657344), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/ConsumesDef:1.0 - 12, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x756d6573), ACE_NTOHL (0x44656600), // name = ConsumesDef + 12, ACE_NTOHL (0x436f6e73), ACE_NTOHL (0x756d6573), ACE_NTOHL (0x44656600), // name = IR_ConsumesDef 0U, @@ -43425,14 +27875,15 @@ CORBA::tk_boolean, }; -static CORBA::TypeCode _tc_TAO_tc_IR_ComponentDescription (CORBA::tk_struct, sizeof (_oc_IR_ComponentDescription), (char *) &_oc_IR_ComponentDescription, 0, sizeof (IR::ComponentDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_ComponentDescription (CORBA::tk_struct, sizeof (_oc_IR_ComponentDescription), (char *) &_oc_IR_ComponentDescription, 0, sizeof (IR_ComponentDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ComponentDescription, &_tc_TAO_tc_IR_ComponentDescription) TAO_NAMESPACE_END -void IR::ComponentDescription::_tao_any_destructor (void *x) + +void IR_ComponentDescription::_tao_any_destructor (void *x) { - ComponentDescription *tmp = ACE_static_cast (ComponentDescription*,x); + IR_ComponentDescription *tmp = ACE_static_cast (IR_ComponentDescription*,x); delete tmp; } @@ -43441,15 +27892,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_PrimaryKeyDef_Proxy_Impl::_TAO_PrimaryKeyDef_Proxy_Impl (void) +_TAO_PrimaryKeyDef_Proxy_Impl::_TAO_PrimaryKeyDef_Proxy_Impl (void) {} -IR::_TAO_PrimaryKeyDef_Remote_Proxy_Impl::_TAO_PrimaryKeyDef_Remote_Proxy_Impl (void) +_TAO_PrimaryKeyDef_Remote_Proxy_Impl::_TAO_PrimaryKeyDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -CORBA::Boolean IR::_TAO_PrimaryKeyDef_Remote_Proxy_Impl::is_a ( +CORBA::Boolean _TAO_PrimaryKeyDef_Remote_Proxy_Impl::is_a ( CORBA_Object *_collocated_tao_target_, const char * primary_key_id, CORBA::Environment &ACE_TRY_ENV @@ -43475,57 +27926,31 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_is_a ri ( - "is_a", - _tao_call.service_info (), - _collocated_tao_target_, - primary_key_id, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( (_tao_out << primary_key_id) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), _tao_retval ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -43534,7 +27959,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -43544,44 +27969,18 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -IR::ValueDef_ptr IR::_TAO_PrimaryKeyDef_Remote_Proxy_Impl::primary_key ( +IR_ValueDef_ptr _TAO_PrimaryKeyDef_Remote_Proxy_Impl::primary_key ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -43590,8 +27989,8 @@ )) { - IR::ValueDef_ptr _tao_retval = IR::ValueDef::_nil (); - IR::ValueDef_var _tao_safe_retval (_tao_retval); + IR_ValueDef_ptr _tao_retval = IR_ValueDef::_nil (); + IR_ValueDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -43607,46 +28006,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_primary_key_get ri ( - "_get_primary_key", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -43655,7 +28029,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -43665,41 +28039,14 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ValueDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } @@ -43713,32 +28060,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_PrimaryKeyDef_Proxy_Broker::_TAO_PrimaryKeyDef_Proxy_Broker (void) +_TAO_PrimaryKeyDef_Proxy_Broker::_TAO_PrimaryKeyDef_Proxy_Broker (void) { } -IR::_TAO_PrimaryKeyDef_Proxy_Broker::~_TAO_PrimaryKeyDef_Proxy_Broker (void) +_TAO_PrimaryKeyDef_Proxy_Broker::~_TAO_PrimaryKeyDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_PrimaryKeyDef_Remote_Proxy_Broker *IR::_TAO_PrimaryKeyDef_Remote_Proxy_Broker::the_TAO_PrimaryKeyDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_PrimaryKeyDef_Remote_Proxy_Broker *the_TAO_PrimaryKeyDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_PrimaryKeyDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_PrimaryKeyDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_PrimaryKeyDef_Remote_Proxy_Broker::_TAO_PrimaryKeyDef_Remote_Proxy_Broker (void) +_TAO_PrimaryKeyDef_Remote_Proxy_Broker::_TAO_PrimaryKeyDef_Remote_Proxy_Broker (void) { } -IR::_TAO_PrimaryKeyDef_Remote_Proxy_Broker::~_TAO_PrimaryKeyDef_Remote_Proxy_Broker (void) +_TAO_PrimaryKeyDef_Remote_Proxy_Broker::~_TAO_PrimaryKeyDef_Remote_Proxy_Broker (void) { } -IR::_TAO_PrimaryKeyDef_Proxy_Impl& -IR::_TAO_PrimaryKeyDef_Remote_Proxy_Broker::select_proxy ( - ::IR::PrimaryKeyDef *object, +_TAO_PrimaryKeyDef_Proxy_Impl& +_TAO_PrimaryKeyDef_Remote_Proxy_Broker::select_proxy ( + ::IR_PrimaryKeyDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -43754,110 +28101,110 @@ // default constructor -IR::PrimaryKeyDef::PrimaryKeyDef (int collocated) +IR_PrimaryKeyDef::IR_PrimaryKeyDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::PrimaryKeyDef::~PrimaryKeyDef (void) +IR_PrimaryKeyDef::~IR_PrimaryKeyDef (void) {} void -IR::PrimaryKeyDef::_tao_setup_collocation (int collocated) +IR_PrimaryKeyDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_PrimaryKeyDef_Proxy_Broker_ = - ::IR__TAO_PrimaryKeyDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_PrimaryKeyDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_PrimaryKeyDef_Proxy_Broker_ = - ::IR::_TAO_PrimaryKeyDef_Remote_Proxy_Broker::the_TAO_PrimaryKeyDef_Remote_Proxy_Broker (); + ::the_TAO_PrimaryKeyDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,Contained)::_tao_setup_collocation (collocated); + IR_Contained::_tao_setup_collocation (collocated); } -void IR::PrimaryKeyDef::_tao_any_destructor (void *x) +void IR_PrimaryKeyDef::_tao_any_destructor (void *x) { - PrimaryKeyDef *tmp = ACE_static_cast (PrimaryKeyDef*,x); + IR_PrimaryKeyDef *tmp = ACE_static_cast (IR_PrimaryKeyDef*,x); CORBA::release (tmp); } -IR::PrimaryKeyDef_ptr IR::PrimaryKeyDef::_narrow ( +IR_PrimaryKeyDef_ptr IR_PrimaryKeyDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return PrimaryKeyDef::_nil (); + return IR_PrimaryKeyDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/PrimaryKeyDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (PrimaryKeyDef::_nil ()); + ACE_CHECK_RETURN (IR_PrimaryKeyDef::_nil ()); if (is_a == 0) - return PrimaryKeyDef::_nil (); + return IR_PrimaryKeyDef::_nil (); } - return PrimaryKeyDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_PrimaryKeyDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::PrimaryKeyDef_ptr IR::PrimaryKeyDef::_unchecked_narrow ( +IR_PrimaryKeyDef_ptr IR_PrimaryKeyDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return PrimaryKeyDef::_nil (); + return IR_PrimaryKeyDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - PrimaryKeyDef_ptr default_proxy = PrimaryKeyDef::_nil (); + IR_PrimaryKeyDef_ptr default_proxy = IR_PrimaryKeyDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_PrimaryKeyDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_PrimaryKeyDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::PrimaryKeyDef ( + ::IR_PrimaryKeyDef ( stub, 1, obj->_servant ()), - PrimaryKeyDef::_nil ()); + IR_PrimaryKeyDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::PrimaryKeyDef (stub, 0, obj->_servant ()), PrimaryKeyDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_PrimaryKeyDef (stub, 0, obj->_servant ()), IR_PrimaryKeyDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - PrimaryKeyDef_ptr, + IR_PrimaryKeyDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &PrimaryKeyDef::_narrow + &IR_PrimaryKeyDef::_narrow ) ) ); } -IR::PrimaryKeyDef_ptr -IR::PrimaryKeyDef::_duplicate (PrimaryKeyDef_ptr obj) +IR_PrimaryKeyDef_ptr +IR_PrimaryKeyDef::_duplicate (IR_PrimaryKeyDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::PrimaryKeyDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_PrimaryKeyDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/PrimaryKeyDef:1.0")) || @@ -43869,34 +28216,34 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::PrimaryKeyDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_PrimaryKeyDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, PrimaryKeyDef)::_narrow)) + &IR_PrimaryKeyDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -43909,12 +28256,12 @@ return retv; } -const char* IR::PrimaryKeyDef::_interface_repository_id (void) const +const char* IR_PrimaryKeyDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/PrimaryKeyDef:1.0"; } -CORBA::Boolean IR::PrimaryKeyDef::is_a ( +CORBA::Boolean IR_PrimaryKeyDef::is_a ( const char * primary_key_id, CORBA::Environment &ACE_TRY_ENV ) @@ -43930,7 +28277,7 @@ ); } -IR::ValueDef_ptr IR::PrimaryKeyDef::primary_key ( +IR_ValueDef_ptr IR_PrimaryKeyDef::primary_key ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -43944,112 +28291,18 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_is_a::TAO_ClientRequestInfo_IR_PrimaryKeyDef_is_a ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * primary_key_id, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - primary_key_id_ (primary_key_id) -{} - -Dynamic::ParameterList * -IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_is_a::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_primary_key_id = this->parameter_list_.length (); - this->parameter_list_.length (length_primary_key_id + 1); - this->parameter_list_[length_primary_key_id].argument <<= primary_key_id_; - this->parameter_list_[length_primary_key_id].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_is_a::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_is_a::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_is_a::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_primary_key_get::TAO_ClientRequestInfo_IR_PrimaryKeyDef_primary_key_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_primary_key_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_primary_key_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_primary_key_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::PrimaryKeyDef::TAO_ClientRequestInfo_IR_PrimaryKeyDef_primary_key_get::result (IR::ValueDef_ptr result) -{ - // update the result - this->result_ = result; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_PrimaryKeyDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 33, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x72696d61), ACE_NTOHL (0x72794b65), ACE_NTOHL (0x79446566), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/PrimaryKeyDef:1.0 - 14, ACE_NTOHL (0x5072696d), ACE_NTOHL (0x6172794b), ACE_NTOHL (0x65794465), ACE_NTOHL (0x66000000), // name = PrimaryKeyDef + 14, ACE_NTOHL (0x5072696d), ACE_NTOHL (0x6172794b), ACE_NTOHL (0x65794465), ACE_NTOHL (0x66000000), // name = IR_PrimaryKeyDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_PrimaryKeyDef (CORBA::tk_objref, sizeof (_oc_IR_PrimaryKeyDef), (char *) &_oc_IR_PrimaryKeyDef, 0, sizeof (IR::PrimaryKeyDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_PrimaryKeyDef (CORBA::tk_objref, sizeof (_oc_IR_PrimaryKeyDef), (char *) &_oc_IR_PrimaryKeyDef, 0, sizeof (IR_PrimaryKeyDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_PrimaryKeyDef, &_tc_TAO_tc_IR_PrimaryKeyDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_PrimaryKeyDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -44097,17 +28350,18 @@ 52, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 28, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f56), ACE_NTOHL (0x616c7565), ACE_NTOHL (0x4465663a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/ValueDef:1.0 - 9, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = ValueDef + 9, ACE_NTOHL (0x56616c75), ACE_NTOHL (0x65446566), ACE_NTOHL (0x0), // name = IR_ValueDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_PrimaryKeyDescription (CORBA::tk_struct, sizeof (_oc_IR_PrimaryKeyDescription), (char *) &_oc_IR_PrimaryKeyDescription, 0, sizeof (IR::PrimaryKeyDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_PrimaryKeyDescription (CORBA::tk_struct, sizeof (_oc_IR_PrimaryKeyDescription), (char *) &_oc_IR_PrimaryKeyDescription, 0, sizeof (IR_PrimaryKeyDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_PrimaryKeyDescription, &_tc_TAO_tc_IR_PrimaryKeyDescription) TAO_NAMESPACE_END -void IR::PrimaryKeyDescription::_tao_any_destructor (void *x) + +void IR_PrimaryKeyDescription::_tao_any_destructor (void *x) { - PrimaryKeyDescription *tmp = ACE_static_cast (PrimaryKeyDescription*,x); + IR_PrimaryKeyDescription *tmp = ACE_static_cast (IR_PrimaryKeyDescription*,x); delete tmp; } @@ -44116,10 +28370,10 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_FactoryDef_Proxy_Impl::_TAO_FactoryDef_Proxy_Impl (void) +_TAO_FactoryDef_Proxy_Impl::_TAO_FactoryDef_Proxy_Impl (void) {} -IR::_TAO_FactoryDef_Remote_Proxy_Impl::_TAO_FactoryDef_Remote_Proxy_Impl (void) +_TAO_FactoryDef_Remote_Proxy_Impl::_TAO_FactoryDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods @@ -44134,32 +28388,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_FactoryDef_Proxy_Broker::_TAO_FactoryDef_Proxy_Broker (void) +_TAO_FactoryDef_Proxy_Broker::_TAO_FactoryDef_Proxy_Broker (void) { } -IR::_TAO_FactoryDef_Proxy_Broker::~_TAO_FactoryDef_Proxy_Broker (void) +_TAO_FactoryDef_Proxy_Broker::~_TAO_FactoryDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_FactoryDef_Remote_Proxy_Broker *IR::_TAO_FactoryDef_Remote_Proxy_Broker::the_TAO_FactoryDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_FactoryDef_Remote_Proxy_Broker *the_TAO_FactoryDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_FactoryDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_FactoryDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_FactoryDef_Remote_Proxy_Broker::_TAO_FactoryDef_Remote_Proxy_Broker (void) +_TAO_FactoryDef_Remote_Proxy_Broker::_TAO_FactoryDef_Remote_Proxy_Broker (void) { } -IR::_TAO_FactoryDef_Remote_Proxy_Broker::~_TAO_FactoryDef_Remote_Proxy_Broker (void) +_TAO_FactoryDef_Remote_Proxy_Broker::~_TAO_FactoryDef_Remote_Proxy_Broker (void) { } -IR::_TAO_FactoryDef_Proxy_Impl& -IR::_TAO_FactoryDef_Remote_Proxy_Broker::select_proxy ( - ::IR::FactoryDef *object, +_TAO_FactoryDef_Proxy_Impl& +_TAO_FactoryDef_Remote_Proxy_Broker::select_proxy ( + ::IR_FactoryDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -44175,110 +28429,110 @@ // default constructor -IR::FactoryDef::FactoryDef (int collocated) +IR_FactoryDef::IR_FactoryDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::FactoryDef::~FactoryDef (void) +IR_FactoryDef::~IR_FactoryDef (void) {} void -IR::FactoryDef::_tao_setup_collocation (int collocated) +IR_FactoryDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_FactoryDef_Proxy_Broker_ = - ::IR__TAO_FactoryDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_FactoryDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_FactoryDef_Proxy_Broker_ = - ::IR::_TAO_FactoryDef_Remote_Proxy_Broker::the_TAO_FactoryDef_Remote_Proxy_Broker (); + ::the_TAO_FactoryDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,OperationDef)::_tao_setup_collocation (collocated); + IR_OperationDef::_tao_setup_collocation (collocated); } -void IR::FactoryDef::_tao_any_destructor (void *x) +void IR_FactoryDef::_tao_any_destructor (void *x) { - FactoryDef *tmp = ACE_static_cast (FactoryDef*,x); + IR_FactoryDef *tmp = ACE_static_cast (IR_FactoryDef*,x); CORBA::release (tmp); } -IR::FactoryDef_ptr IR::FactoryDef::_narrow ( +IR_FactoryDef_ptr IR_FactoryDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return FactoryDef::_nil (); + return IR_FactoryDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/FactoryDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (FactoryDef::_nil ()); + ACE_CHECK_RETURN (IR_FactoryDef::_nil ()); if (is_a == 0) - return FactoryDef::_nil (); + return IR_FactoryDef::_nil (); } - return FactoryDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_FactoryDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::FactoryDef_ptr IR::FactoryDef::_unchecked_narrow ( +IR_FactoryDef_ptr IR_FactoryDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return FactoryDef::_nil (); + return IR_FactoryDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - FactoryDef_ptr default_proxy = FactoryDef::_nil (); + IR_FactoryDef_ptr default_proxy = IR_FactoryDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_FactoryDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_FactoryDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::FactoryDef ( + ::IR_FactoryDef ( stub, 1, obj->_servant ()), - FactoryDef::_nil ()); + IR_FactoryDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::FactoryDef (stub, 0, obj->_servant ()), FactoryDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_FactoryDef (stub, 0, obj->_servant ()), IR_FactoryDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - FactoryDef_ptr, + IR_FactoryDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &FactoryDef::_narrow + &IR_FactoryDef::_narrow ) ) ); } -IR::FactoryDef_ptr -IR::FactoryDef::_duplicate (FactoryDef_ptr obj) +IR_FactoryDef_ptr +IR_FactoryDef::_duplicate (IR_FactoryDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::FactoryDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_FactoryDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/FactoryDef:1.0")) || @@ -44291,46 +28545,46 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::FactoryDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_FactoryDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, FactoryDef)::_narrow)) + &IR_FactoryDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, OperationDef)::_narrow)) + &IR_OperationDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::OperationDef_ptr, + IR_OperationDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -44343,21 +28597,18 @@ return retv; } -const char* IR::FactoryDef::_interface_repository_id (void) const +const char* IR_FactoryDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/FactoryDef:1.0"; } - -#if (TAO_HAS_INTERCEPTORS == 1) -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_FactoryDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x6163746f), ACE_NTOHL (0x72794465), ACE_NTOHL (0x663a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/FactoryDef:1.0 - 11, ACE_NTOHL (0x46616374), ACE_NTOHL (0x6f727944), ACE_NTOHL (0x65660000), // name = FactoryDef + 11, ACE_NTOHL (0x46616374), ACE_NTOHL (0x6f727944), ACE_NTOHL (0x65660000), // name = IR_FactoryDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_FactoryDef (CORBA::tk_objref, sizeof (_oc_IR_FactoryDef), (char *) &_oc_IR_FactoryDef, 0, sizeof (IR::FactoryDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_FactoryDef (CORBA::tk_objref, sizeof (_oc_IR_FactoryDef), (char *) &_oc_IR_FactoryDef, 0, sizeof (IR_FactoryDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_FactoryDef, &_tc_TAO_tc_IR_FactoryDef) @@ -44367,10 +28618,10 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_FinderDef_Proxy_Impl::_TAO_FinderDef_Proxy_Impl (void) +_TAO_FinderDef_Proxy_Impl::_TAO_FinderDef_Proxy_Impl (void) {} -IR::_TAO_FinderDef_Remote_Proxy_Impl::_TAO_FinderDef_Remote_Proxy_Impl (void) +_TAO_FinderDef_Remote_Proxy_Impl::_TAO_FinderDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods @@ -44385,32 +28636,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_FinderDef_Proxy_Broker::_TAO_FinderDef_Proxy_Broker (void) +_TAO_FinderDef_Proxy_Broker::_TAO_FinderDef_Proxy_Broker (void) { } -IR::_TAO_FinderDef_Proxy_Broker::~_TAO_FinderDef_Proxy_Broker (void) +_TAO_FinderDef_Proxy_Broker::~_TAO_FinderDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_FinderDef_Remote_Proxy_Broker *IR::_TAO_FinderDef_Remote_Proxy_Broker::the_TAO_FinderDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_FinderDef_Remote_Proxy_Broker *the_TAO_FinderDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_FinderDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_FinderDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_FinderDef_Remote_Proxy_Broker::_TAO_FinderDef_Remote_Proxy_Broker (void) +_TAO_FinderDef_Remote_Proxy_Broker::_TAO_FinderDef_Remote_Proxy_Broker (void) { } -IR::_TAO_FinderDef_Remote_Proxy_Broker::~_TAO_FinderDef_Remote_Proxy_Broker (void) +_TAO_FinderDef_Remote_Proxy_Broker::~_TAO_FinderDef_Remote_Proxy_Broker (void) { } -IR::_TAO_FinderDef_Proxy_Impl& -IR::_TAO_FinderDef_Remote_Proxy_Broker::select_proxy ( - ::IR::FinderDef *object, +_TAO_FinderDef_Proxy_Impl& +_TAO_FinderDef_Remote_Proxy_Broker::select_proxy ( + ::IR_FinderDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -44426,110 +28677,110 @@ // default constructor -IR::FinderDef::FinderDef (int collocated) +IR_FinderDef::IR_FinderDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::FinderDef::~FinderDef (void) +IR_FinderDef::~IR_FinderDef (void) {} void -IR::FinderDef::_tao_setup_collocation (int collocated) +IR_FinderDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_FinderDef_Proxy_Broker_ = - ::IR__TAO_FinderDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_FinderDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_FinderDef_Proxy_Broker_ = - ::IR::_TAO_FinderDef_Remote_Proxy_Broker::the_TAO_FinderDef_Remote_Proxy_Broker (); + ::the_TAO_FinderDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,OperationDef)::_tao_setup_collocation (collocated); + IR_OperationDef::_tao_setup_collocation (collocated); } -void IR::FinderDef::_tao_any_destructor (void *x) +void IR_FinderDef::_tao_any_destructor (void *x) { - FinderDef *tmp = ACE_static_cast (FinderDef*,x); + IR_FinderDef *tmp = ACE_static_cast (IR_FinderDef*,x); CORBA::release (tmp); } -IR::FinderDef_ptr IR::FinderDef::_narrow ( +IR_FinderDef_ptr IR_FinderDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return FinderDef::_nil (); + return IR_FinderDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/FinderDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (FinderDef::_nil ()); + ACE_CHECK_RETURN (IR_FinderDef::_nil ()); if (is_a == 0) - return FinderDef::_nil (); + return IR_FinderDef::_nil (); } - return FinderDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_FinderDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::FinderDef_ptr IR::FinderDef::_unchecked_narrow ( +IR_FinderDef_ptr IR_FinderDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return FinderDef::_nil (); + return IR_FinderDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - FinderDef_ptr default_proxy = FinderDef::_nil (); + IR_FinderDef_ptr default_proxy = IR_FinderDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_FinderDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_FinderDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::FinderDef ( + ::IR_FinderDef ( stub, 1, obj->_servant ()), - FinderDef::_nil ()); + IR_FinderDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::FinderDef (stub, 0, obj->_servant ()), FinderDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_FinderDef (stub, 0, obj->_servant ()), IR_FinderDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - FinderDef_ptr, + IR_FinderDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &FinderDef::_narrow + &IR_FinderDef::_narrow ) ) ); } -IR::FinderDef_ptr -IR::FinderDef::_duplicate (FinderDef_ptr obj) +IR_FinderDef_ptr +IR_FinderDef::_duplicate (IR_FinderDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::FinderDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_FinderDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/FinderDef:1.0")) || @@ -44542,46 +28793,46 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::FinderDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_FinderDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, FinderDef)::_narrow)) + &IR_FinderDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, OperationDef)::_narrow)) + &IR_OperationDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::OperationDef_ptr, + IR_OperationDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -44594,21 +28845,18 @@ return retv; } -const char* IR::FinderDef::_interface_repository_id (void) const +const char* IR_FinderDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/FinderDef:1.0"; } - -#if (TAO_HAS_INTERCEPTORS == 1) -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_FinderDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x696e6465), ACE_NTOHL (0x72446566), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/FinderDef:1.0 - 10, ACE_NTOHL (0x46696e64), ACE_NTOHL (0x65724465), ACE_NTOHL (0x66000000), // name = FinderDef + 10, ACE_NTOHL (0x46696e64), ACE_NTOHL (0x65724465), ACE_NTOHL (0x66000000), // name = IR_FinderDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_FinderDef (CORBA::tk_objref, sizeof (_oc_IR_FinderDef), (char *) &_oc_IR_FinderDef, 0, sizeof (IR::FinderDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_FinderDef (CORBA::tk_objref, sizeof (_oc_IR_FinderDef), (char *) &_oc_IR_FinderDef, 0, sizeof (IR_FinderDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_FinderDef, &_tc_TAO_tc_IR_FinderDef) @@ -44618,15 +28866,15 @@ // Base & Remote Proxy Implementation. // -IR::_TAO_HomeDef_Proxy_Impl::_TAO_HomeDef_Proxy_Impl (void) +_TAO_HomeDef_Proxy_Impl::_TAO_HomeDef_Proxy_Impl (void) {} -IR::_TAO_HomeDef_Remote_Proxy_Impl::_TAO_HomeDef_Remote_Proxy_Impl (void) +_TAO_HomeDef_Remote_Proxy_Impl::_TAO_HomeDef_Remote_Proxy_Impl (void) {} // Remote Implementation of the IDL interface methods -IR::HomeDef_ptr IR::_TAO_HomeDef_Remote_Proxy_Impl::base_home ( +IR_HomeDef_ptr _TAO_HomeDef_Remote_Proxy_Impl::base_home ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -44635,8 +28883,8 @@ )) { - IR::HomeDef_ptr _tao_retval = IR::HomeDef::_nil (); - IR::HomeDef_var _tao_safe_retval (_tao_retval); + IR_HomeDef_ptr _tao_retval = IR_HomeDef::_nil (); + IR_HomeDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -44652,46 +28900,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_base_home_get ri ( - "_get_base_home", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -44700,7 +28923,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -44710,45 +28933,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::HomeDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::ComponentDef_ptr IR::_TAO_HomeDef_Remote_Proxy_Impl::managed_component ( +IR_ComponentDef_ptr _TAO_HomeDef_Remote_Proxy_Impl::managed_component ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -44757,8 +28953,8 @@ )) { - IR::ComponentDef_ptr _tao_retval = IR::ComponentDef::_nil (); - IR::ComponentDef_var _tao_safe_retval (_tao_retval); + IR_ComponentDef_ptr _tao_retval = IR_ComponentDef::_nil (); + IR_ComponentDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -44774,46 +28970,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_managed_component_get ri ( - "_get_managed_component", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -44822,7 +28993,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -44832,45 +29003,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::ComponentDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::PrimaryKeyDef_ptr IR::_TAO_HomeDef_Remote_Proxy_Impl::primary_key ( +IR_PrimaryKeyDef_ptr _TAO_HomeDef_Remote_Proxy_Impl::primary_key ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -44879,8 +29023,8 @@ )) { - IR::PrimaryKeyDef_ptr _tao_retval = IR::PrimaryKeyDef::_nil (); - IR::PrimaryKeyDef_var _tao_safe_retval (_tao_retval); + IR_PrimaryKeyDef_ptr _tao_retval = IR_PrimaryKeyDef::_nil (); + IR_PrimaryKeyDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -44896,46 +29040,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_primary_key_get ri ( - "_get_primary_key", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -44944,7 +29063,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -44954,45 +29073,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::PrimaryKeyDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::FactoryDefSeq * IR::_TAO_HomeDef_Remote_Proxy_Impl::factories ( +IR_FactoryDefSeq * _TAO_HomeDef_Remote_Proxy_Impl::factories ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -45001,7 +29093,7 @@ )) { - IR::FactoryDefSeq *_tao_retval = 0; + IR_FactoryDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -45009,8 +29101,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::FactoryDefSeq, _tao_retval); - IR::FactoryDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_FactoryDefSeq, _tao_retval); + IR_FactoryDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_factories", @@ -45019,46 +29111,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_factories_get ri ( - "_get_factories", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -45067,7 +29134,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -45077,45 +29144,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::FactoryDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::FinderDefSeq * IR::_TAO_HomeDef_Remote_Proxy_Impl::finders ( +IR_FinderDefSeq * _TAO_HomeDef_Remote_Proxy_Impl::finders ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -45124,7 +29164,7 @@ )) { - IR::FinderDefSeq *_tao_retval = 0; + IR_FinderDefSeq *_tao_retval = 0; TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -45132,8 +29172,8 @@ ACE_THROW_RETURN (CORBA::INTERNAL (), 0); - ACE_NEW_RETURN (_tao_retval, IR::FinderDefSeq, _tao_retval); - IR::FinderDefSeq_var _tao_safe_retval (_tao_retval); + ACE_NEW_RETURN (_tao_retval, IR_FinderDefSeq, _tao_retval); + IR_FinderDefSeq_var _tao_safe_retval (_tao_retval); TAO_GIOP_Twoway_Invocation _tao_call ( istub, "_get_finders", @@ -45142,46 +29182,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_finders_get ri ( - "_get_finders", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -45190,7 +29205,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -45200,45 +29215,18 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::FinderDefSeq * _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -CORBA::Boolean IR::_TAO_HomeDef_Remote_Proxy_Impl::is_basic ( +CORBA::Boolean _TAO_HomeDef_Remote_Proxy_Impl::is_basic ( CORBA_Object *_collocated_tao_target_, CORBA::Environment &ACE_TRY_ENV ) @@ -45263,46 +29251,21 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_is_basic_get ri ( - "_get_is_basic", - _tao_call.service_info (), - _collocated_tao_target_, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (_tao_retval); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); + ACE_CHECK_RETURN (_tao_retval); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -45311,7 +29274,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); @@ -45321,49 +29284,23 @@ (_tao_in >> CORBA::Any::to_boolean (_tao_retval)) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), _tao_retval ); } - TAO_INTERCEPTOR ( - CORBA::Boolean _tao_retval_info = _tao_retval; - ri.result (_tao_retval_info); - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (_tao_retval); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_retval; } -IR::PrimaryKeyDef_ptr IR::_TAO_HomeDef_Remote_Proxy_Impl::create_primary_key ( +IR_PrimaryKeyDef_ptr _TAO_HomeDef_Remote_Proxy_Impl::create_primary_key ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - IR::ValueDef_ptr primary_key, + IR_ValueDef_ptr primary_key, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -45371,8 +29308,8 @@ )) { - IR::PrimaryKeyDef_ptr _tao_retval = IR::PrimaryKeyDef::_nil (); - IR::PrimaryKeyDef_var _tao_safe_retval (_tao_retval); + IR_PrimaryKeyDef_ptr _tao_retval = IR_PrimaryKeyDef::_nil (); + IR_PrimaryKeyDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -45388,47 +29325,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_primary_key ri ( - "create_primary_key", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - primary_key, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -45437,14 +29345,14 @@ (_tao_out << version) && (_tao_out << primary_key) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -45453,7 +29361,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -45463,51 +29371,24 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::PrimaryKeyDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::FactoryDef_ptr IR::_TAO_HomeDef_Remote_Proxy_Impl::create_factory ( +IR_FactoryDef_ptr _TAO_HomeDef_Remote_Proxy_Impl::create_factory ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, + const IR_ParDescriptionSeq & params, + const IR_ExceptionDefSeq & exceptions, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -45515,8 +29396,8 @@ )) { - IR::FactoryDef_ptr _tao_retval = IR::FactoryDef::_nil (); - IR::FactoryDef_var _tao_safe_retval (_tao_retval); + IR_FactoryDef_ptr _tao_retval = IR_FactoryDef::_nil (); + IR_FactoryDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -45532,48 +29413,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_factory ri ( - "create_factory", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - params, - exceptions, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -45583,14 +29434,14 @@ (_tao_out << params) && (_tao_out << exceptions) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -45599,7 +29450,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -45609,51 +29460,24 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::FactoryDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } -IR::FinderDef_ptr IR::_TAO_HomeDef_Remote_Proxy_Impl::create_finder ( +IR_FinderDef_ptr _TAO_HomeDef_Remote_Proxy_Impl::create_finder ( CORBA_Object *_collocated_tao_target_, const char * id, const char * name, const char * version, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, + const IR_ParDescriptionSeq & params, + const IR_ExceptionDefSeq & exceptions, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -45661,8 +29485,8 @@ )) { - IR::FinderDef_ptr _tao_retval = IR::FinderDef::_nil (); - IR::FinderDef_var _tao_safe_retval (_tao_retval); + IR_FinderDef_ptr _tao_retval = IR_FinderDef::_nil (); + IR_FinderDef_var _tao_safe_retval (_tao_retval); TAO_Stub *istub = _collocated_tao_target_->_stubobj (); @@ -45678,48 +29502,18 @@ istub->orb_core () ); -#if (TAO_HAS_INTERCEPTORS == 1) - TAO_ClientRequestInterceptor_Adapter _tao_vfr ( - istub->orb_core ()->client_request_interceptors () - ); - - IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_finder ri ( - "create_finder", - _tao_call.service_info (), - _collocated_tao_target_, - id, - name, - version, - params, - exceptions, - ACE_TRY_ENV - ); - ACE_CHECK_RETURN (0); - - ACE_TRY - { -#endif /* TAO_HAS_INTERCEPTORS */ - for (;;) { _tao_call.start (ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); - TAO_INTERCEPTOR ( - ri.request_id (_tao_call.request_id ()); - _tao_vfr.send_request ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG; _tao_call.prepare_header ( ACE_static_cast (CORBA::Octet, _tao_response_flag), ACE_TRY_ENV ); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); TAO_OutputCDR &_tao_out = _tao_call.out_stream (); if (!( @@ -45729,14 +29523,14 @@ (_tao_out << params) && (_tao_out << exceptions) )) - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (), 0 ); int _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV); - TAO_INTERCEPTOR_CHECK_RETURN (0); + ACE_CHECK_RETURN (0); if (_invoke_status == TAO_INVOKE_RESTART) { @@ -45745,7 +29539,7 @@ } if (_invoke_status != TAO_INVOKE_OK) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); @@ -45755,41 +29549,14 @@ (_tao_in >> _tao_safe_retval.inout ()) )) { - TAO_INTERCEPTOR_THROW_RETURN ( + ACE_THROW_RETURN ( CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES), 0 ); } - TAO_INTERCEPTOR ( - IR::FinderDef_ptr _tao_retval_info = _tao_safe_retval._retn (); - ri.result (_tao_retval_info); - _tao_safe_retval = _tao_retval_info; - ); - - TAO_INTERCEPTOR ( - _tao_vfr.receive_reply ( - &ri, - ACE_TRY_ENV - ) - ); - TAO_INTERCEPTOR_CHECK_RETURN (0); break; } -#if (TAO_HAS_INTERCEPTORS == 1) - } - ACE_CATCHANY - { - ri.exception (&ACE_ANY_EXCEPTION); - _tao_vfr.receive_exception ( - &ri, - ACE_TRY_ENV - ); - ACE_RE_THROW; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); -#endif /* TAO_HAS_INTERCEPTORS */ return _tao_safe_retval._retn (); } @@ -45803,32 +29570,32 @@ // Remote & Base Proxy Broker Implementation // -IR::_TAO_HomeDef_Proxy_Broker::_TAO_HomeDef_Proxy_Broker (void) +_TAO_HomeDef_Proxy_Broker::_TAO_HomeDef_Proxy_Broker (void) { } -IR::_TAO_HomeDef_Proxy_Broker::~_TAO_HomeDef_Proxy_Broker (void) +_TAO_HomeDef_Proxy_Broker::~_TAO_HomeDef_Proxy_Broker (void) { } -// Factory Member function Implementation. -IR::_TAO_HomeDef_Remote_Proxy_Broker *IR::_TAO_HomeDef_Remote_Proxy_Broker::the_TAO_HomeDef_Remote_Proxy_Broker (void) +// Factory function Implementation. +_TAO_HomeDef_Remote_Proxy_Broker *the_TAO_HomeDef_Remote_Proxy_Broker (void) { - static ::IR::_TAO_HomeDef_Remote_Proxy_Broker remote_proxy_broker; + static ::_TAO_HomeDef_Remote_Proxy_Broker remote_proxy_broker; return &remote_proxy_broker; } -IR::_TAO_HomeDef_Remote_Proxy_Broker::_TAO_HomeDef_Remote_Proxy_Broker (void) +_TAO_HomeDef_Remote_Proxy_Broker::_TAO_HomeDef_Remote_Proxy_Broker (void) { } -IR::_TAO_HomeDef_Remote_Proxy_Broker::~_TAO_HomeDef_Remote_Proxy_Broker (void) +_TAO_HomeDef_Remote_Proxy_Broker::~_TAO_HomeDef_Remote_Proxy_Broker (void) { } -IR::_TAO_HomeDef_Proxy_Impl& -IR::_TAO_HomeDef_Remote_Proxy_Broker::select_proxy ( - ::IR::HomeDef *object, +_TAO_HomeDef_Proxy_Impl& +_TAO_HomeDef_Remote_Proxy_Broker::select_proxy ( + ::IR_HomeDef *object, CORBA::Environment &ACE_TRY_ENV ) { @@ -45844,110 +29611,110 @@ // default constructor -IR::HomeDef::HomeDef (int collocated) +IR_HomeDef::IR_HomeDef (int collocated) { this->_tao_setup_collocation (collocated); } // destructor -IR::HomeDef::~HomeDef (void) +IR_HomeDef::~IR_HomeDef (void) {} void -IR::HomeDef::_tao_setup_collocation (int collocated) +IR_HomeDef::_tao_setup_collocation (int collocated) { if (collocated) this->the_TAO_HomeDef_Proxy_Broker_ = - ::IR__TAO_HomeDef_Proxy_Broker_Factory_function_pointer (this); + _TAO_HomeDef_Proxy_Broker_Factory_function_pointer (this); else this->the_TAO_HomeDef_Proxy_Broker_ = - ::IR::_TAO_HomeDef_Remote_Proxy_Broker::the_TAO_HomeDef_Remote_Proxy_Broker (); + ::the_TAO_HomeDef_Remote_Proxy_Broker (); - ACE_NESTED_CLASS (IR,InterfaceDef)::_tao_setup_collocation (collocated); + IR_InterfaceDef::_tao_setup_collocation (collocated); } -void IR::HomeDef::_tao_any_destructor (void *x) +void IR_HomeDef::_tao_any_destructor (void *x) { - HomeDef *tmp = ACE_static_cast (HomeDef*,x); + IR_HomeDef *tmp = ACE_static_cast (IR_HomeDef*,x); CORBA::release (tmp); } -IR::HomeDef_ptr IR::HomeDef::_narrow ( +IR_HomeDef_ptr IR_HomeDef::_narrow ( CORBA::Object_ptr obj, CORBA::Environment &ACE_TRY_ENV ) { if (CORBA::is_nil (obj)) - return HomeDef::_nil (); + return IR_HomeDef::_nil (); if (! obj->_is_local ()) { CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/IR/HomeDef:1.0", ACE_TRY_ENV); - ACE_CHECK_RETURN (HomeDef::_nil ()); + ACE_CHECK_RETURN (IR_HomeDef::_nil ()); if (is_a == 0) - return HomeDef::_nil (); + return IR_HomeDef::_nil (); } - return HomeDef::_unchecked_narrow (obj, ACE_TRY_ENV); + return IR_HomeDef::_unchecked_narrow (obj, ACE_TRY_ENV); } -IR::HomeDef_ptr IR::HomeDef::_unchecked_narrow ( +IR_HomeDef_ptr IR_HomeDef::_unchecked_narrow ( CORBA::Object_ptr obj, CORBA::Environment & ) { if (CORBA::is_nil (obj)) - return HomeDef::_nil (); + return IR_HomeDef::_nil (); if (! obj->_is_local ()) { TAO_Stub* stub = obj->_stubobj (); if (stub) stub->_incr_refcnt (); - HomeDef_ptr default_proxy = HomeDef::_nil (); + IR_HomeDef_ptr default_proxy = IR_HomeDef::_nil (); if ( !CORBA::is_nil (stub->servant_orb_var ().ptr ()) && stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () && - obj->_is_collocated () &&IR__TAO_HomeDef_Proxy_Broker_Factory_function_pointer != 0 + obj->_is_collocated () &&_TAO_HomeDef_Proxy_Broker_Factory_function_pointer != 0 ) { ACE_NEW_RETURN ( default_proxy, - ::IR::HomeDef ( + ::IR_HomeDef ( stub, 1, obj->_servant ()), - HomeDef::_nil ()); + IR_HomeDef::_nil ()); } if (CORBA::is_nil (default_proxy)) - ACE_NEW_RETURN (default_proxy, ::IR::HomeDef (stub, 0, obj->_servant ()), HomeDef::_nil ()); + ACE_NEW_RETURN (default_proxy, ::IR_HomeDef (stub, 0, obj->_servant ()), IR_HomeDef::_nil ()); return default_proxy; } else return ACE_reinterpret_cast ( - HomeDef_ptr, + IR_HomeDef_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( ptr_arith_t, - &HomeDef::_narrow + &IR_HomeDef::_narrow ) ) ); } -IR::HomeDef_ptr -IR::HomeDef::_duplicate (HomeDef_ptr obj) +IR_HomeDef_ptr +IR_HomeDef::_duplicate (IR_HomeDef_ptr obj) { if (!CORBA::is_nil (obj)) obj->_add_ref (); return obj; } -CORBA::Boolean IR::HomeDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) +CORBA::Boolean IR_HomeDef::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV) { if ( (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/HomeDef:1.0")) || @@ -45962,70 +29729,70 @@ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV); } -void *IR::HomeDef::_tao_QueryInterface (ptr_arith_t type) +void *IR_HomeDef::_tao_QueryInterface (ptr_arith_t type) { void *retv = 0; if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, HomeDef)::_narrow)) + &IR_HomeDef::_narrow)) retv = ACE_reinterpret_cast (void*, this); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, InterfaceDef)::_narrow)) + &IR_InterfaceDef::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::InterfaceDef_ptr, + IR_InterfaceDef_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Container)::_narrow)) + &IR_Container::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Container_ptr, + IR_Container_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, Contained)::_narrow)) + &IR_Contained::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::Contained_ptr, + IR_Contained_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &ACE_NESTED_CLASS (::IR, IDLType)::_narrow)) + &IR_IDLType::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - IR::IDLType_ptr, + IR_IDLType_ptr, this ) ); else if (type == ACE_reinterpret_cast (ptr_arith_t, - &::CORBA::IRObject::_narrow)) + &CORBA_IRObject::_narrow)) retv = ACE_reinterpret_cast ( void *, ACE_static_cast ( - CORBA::IRObject_ptr, + CORBA_IRObject_ptr, this ) ); @@ -46038,12 +29805,12 @@ return retv; } -const char* IR::HomeDef::_interface_repository_id (void) const +const char* IR_HomeDef::_interface_repository_id (void) const { return "IDL:omg.org/IR/HomeDef:1.0"; } -IR::HomeDef_ptr IR::HomeDef::base_home ( +IR_HomeDef_ptr IR_HomeDef::base_home ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -46057,7 +29824,7 @@ ); } -IR::ComponentDef_ptr IR::HomeDef::managed_component ( +IR_ComponentDef_ptr IR_HomeDef::managed_component ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -46071,7 +29838,7 @@ ); } -IR::PrimaryKeyDef_ptr IR::HomeDef::primary_key ( +IR_PrimaryKeyDef_ptr IR_HomeDef::primary_key ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -46085,7 +29852,7 @@ ); } -IR::FactoryDefSeq * IR::HomeDef::factories ( +IR_FactoryDefSeq * IR_HomeDef::factories ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -46099,7 +29866,7 @@ ); } -IR::FinderDefSeq * IR::HomeDef::finders ( +IR_FinderDefSeq * IR_HomeDef::finders ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -46113,7 +29880,7 @@ ); } -CORBA::Boolean IR::HomeDef::is_basic ( +CORBA::Boolean IR_HomeDef::is_basic ( CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -46127,11 +29894,11 @@ ); } -IR::PrimaryKeyDef_ptr IR::HomeDef::create_primary_key ( +IR_PrimaryKeyDef_ptr IR_HomeDef::create_primary_key ( const char * id, const char * name, const char * version, - IR::ValueDef_ptr primary_key, + IR_ValueDef_ptr primary_key, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -46149,12 +29916,12 @@ ); } -IR::FactoryDef_ptr IR::HomeDef::create_factory ( +IR_FactoryDef_ptr IR_HomeDef::create_factory ( const char * id, const char * name, const char * version, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, + const IR_ParDescriptionSeq & params, + const IR_ExceptionDefSeq & exceptions, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -46173,12 +29940,12 @@ ); } -IR::FinderDef_ptr IR::HomeDef::create_finder ( +IR_FinderDef_ptr IR_HomeDef::create_finder ( const char * id, const char * name, const char * version, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, + const IR_ParDescriptionSeq & params, + const IR_ExceptionDefSeq & exceptions, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC (( @@ -46197,491 +29964,18 @@ ); } - -#if (TAO_HAS_INTERCEPTORS == 1) -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_base_home_get::TAO_ClientRequestInfo_IR_HomeDef_base_home_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_base_home_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_base_home_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_base_home_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_base_home_get::result (IR::HomeDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_managed_component_get::TAO_ClientRequestInfo_IR_HomeDef_managed_component_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_managed_component_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_managed_component_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_managed_component_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_managed_component_get::result (IR::ComponentDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_primary_key_get::TAO_ClientRequestInfo_IR_HomeDef_primary_key_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_primary_key_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_primary_key_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_primary_key_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_primary_key_get::result (IR::PrimaryKeyDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_factories_get::TAO_ClientRequestInfo_IR_HomeDef_factories_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_factories_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_factories_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_factories_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_factories_get::result (IR::FactoryDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_finders_get::TAO_ClientRequestInfo_IR_HomeDef_finders_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_finders_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_finders_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_finders_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_finders_get::result (IR::FinderDefSeq * result) -{ - // update the result - this->result_ = result; -} - -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_is_basic_get::TAO_ClientRequestInfo_IR_HomeDef_is_basic_get ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target) -{} - -Dynamic::ParameterList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_is_basic_get::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - return 0; -} - -Dynamic::ExceptionList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_is_basic_get::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_is_basic_get::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= CORBA::Any::from_boolean (this->result_); - - return &this->result_val_; -} - -void -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_is_basic_get::result (CORBA::Boolean result) -{ - // update the result - this->result_ = result; -} - -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_primary_key::TAO_ClientRequestInfo_IR_HomeDef_create_primary_key ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - IR::ValueDef_ptr primary_key, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - primary_key_ (primary_key) -{} - -Dynamic::ParameterList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_primary_key::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_primary_key = this->parameter_list_.length (); - this->parameter_list_.length (length_primary_key + 1); - this->parameter_list_[length_primary_key].argument <<= this->primary_key_; - - this->parameter_list_[length_primary_key].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_primary_key::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_primary_key::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_primary_key::result (IR::PrimaryKeyDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_factory::TAO_ClientRequestInfo_IR_HomeDef_create_factory ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - params_ (params), - exceptions_ (exceptions) -{} - -Dynamic::ParameterList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_factory::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_params = this->parameter_list_.length (); - this->parameter_list_.length (length_params + 1); - this->parameter_list_[length_params].argument <<= this->params_; - - this->parameter_list_[length_params].mode = Dynamic::PARAM_IN; - CORBA::ULong length_exceptions = this->parameter_list_.length (); - this->parameter_list_.length (length_exceptions + 1); - this->parameter_list_[length_exceptions].argument <<= this->exceptions_; - - this->parameter_list_[length_exceptions].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_factory::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_factory::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_factory::result (IR::FactoryDef_ptr result) -{ - // update the result - this->result_ = result; -} - -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_finder::TAO_ClientRequestInfo_IR_HomeDef_create_finder ( - const char *_tao_operation, - IOP::ServiceContextList &_tao_service_context_list, - CORBA::Object *_tao_target, - const char * id, - const char * name, - const char * version, - const IR::ParDescriptionSeq & params, - const IR::ExceptionDefSeq & exceptions, - CORBA::Environment & - ) - : TAO_ClientRequestInfo (_tao_operation, _tao_service_context_list, _tao_target), - id_ (id), - name_ (name), - version_ (version), - params_ (params), - exceptions_ (exceptions) -{} - -Dynamic::ParameterList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_finder::arguments (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the arg list on demand - CORBA::ULong length_id = this->parameter_list_.length (); - this->parameter_list_.length (length_id + 1); - this->parameter_list_[length_id].argument <<= id_; - this->parameter_list_[length_id].mode = Dynamic::PARAM_IN; - CORBA::ULong length_name = this->parameter_list_.length (); - this->parameter_list_.length (length_name + 1); - this->parameter_list_[length_name].argument <<= name_; - this->parameter_list_[length_name].mode = Dynamic::PARAM_IN; - CORBA::ULong length_version = this->parameter_list_.length (); - this->parameter_list_.length (length_version + 1); - this->parameter_list_[length_version].argument <<= version_; - this->parameter_list_[length_version].mode = Dynamic::PARAM_IN; - CORBA::ULong length_params = this->parameter_list_.length (); - this->parameter_list_.length (length_params + 1); - this->parameter_list_[length_params].argument <<= this->params_; - - this->parameter_list_[length_params].mode = Dynamic::PARAM_IN; - CORBA::ULong length_exceptions = this->parameter_list_.length (); - this->parameter_list_.length (length_exceptions + 1); - this->parameter_list_[length_exceptions].argument <<= this->exceptions_; - - this->parameter_list_[length_exceptions].mode = Dynamic::PARAM_IN; - - return &this->parameter_list_; -} - -Dynamic::ExceptionList * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_finder::exceptions (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the exception list on demand - return 0; -} - - -CORBA::Any * -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_finder::result (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Generate the result on demand. - this->result_val_ <<= this->result_; - return &this->result_val_; -} - -void -IR::HomeDef::TAO_ClientRequestInfo_IR_HomeDef_create_finder::result (IR::FinderDef_ptr result) -{ - // update the result - this->result_ = result; -} - -#endif /* TAO_HAS_INTERCEPTORS */ static const CORBA::Long _oc_IR_HomeDef[] = { TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f48), ACE_NTOHL (0x6f6d6544), ACE_NTOHL (0x65663a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/HomeDef:1.0 - 8, ACE_NTOHL (0x486f6d65), ACE_NTOHL (0x44656600), // name = HomeDef + 8, ACE_NTOHL (0x486f6d65), ACE_NTOHL (0x44656600), // name = IR_HomeDef }; -static CORBA::TypeCode _tc_TAO_tc_IR_HomeDef (CORBA::tk_objref, sizeof (_oc_IR_HomeDef), (char *) &_oc_IR_HomeDef, 0, sizeof (IR::HomeDef)); +static CORBA::TypeCode _tc_TAO_tc_IR_HomeDef (CORBA::tk_objref, sizeof (_oc_IR_HomeDef), (char *) &_oc_IR_HomeDef, 0, sizeof (IR_HomeDef)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_HomeDef, &_tc_TAO_tc_IR_HomeDef) TAO_NAMESPACE_END + static const CORBA::Long _oc_IR_HomeDescription[] = { TAO_ENCAP_BYTE_ORDER, // byte order @@ -46747,14 +30041,14 @@ 64, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 33, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f50), ACE_NTOHL (0x72696d61), ACE_NTOHL (0x72794b65), ACE_NTOHL (0x79446566), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/PrimaryKeyDef:1.0 - 14, ACE_NTOHL (0x5072696d), ACE_NTOHL (0x6172794b), ACE_NTOHL (0x65794465), ACE_NTOHL (0x66000000), // name = PrimaryKeyDef + 14, ACE_NTOHL (0x5072696d), ACE_NTOHL (0x6172794b), ACE_NTOHL (0x65794465), ACE_NTOHL (0x66000000), // name = IR_PrimaryKeyDef 10, ACE_NTOHL (0x66616374), ACE_NTOHL (0x6f726965), ACE_NTOHL (0x73000000), // name = factories CORBA::tk_alias, // typecode kind for typedefs 144, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 33, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x6163746f), ACE_NTOHL (0x72794465), ACE_NTOHL (0x66536571), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/FactoryDefSeq:1.0 - 14, ACE_NTOHL (0x46616374), ACE_NTOHL (0x6f727944), ACE_NTOHL (0x65665365), ACE_NTOHL (0x71000000), // name = FactoryDefSeq + 14, ACE_NTOHL (0x46616374), ACE_NTOHL (0x6f727944), ACE_NTOHL (0x65665365), ACE_NTOHL (0x71000000), // name = IR_FactoryDefSeq CORBA::tk_sequence, // typecode kind 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -46762,7 +30056,7 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x6163746f), ACE_NTOHL (0x72794465), ACE_NTOHL (0x663a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IR/FactoryDef:1.0 - 11, ACE_NTOHL (0x46616374), ACE_NTOHL (0x6f727944), ACE_NTOHL (0x65660000), // name = FactoryDef + 11, ACE_NTOHL (0x46616374), ACE_NTOHL (0x6f727944), ACE_NTOHL (0x65660000), // name = IR_FactoryDef 0U, @@ -46772,7 +30066,7 @@ 140, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x696e6465), ACE_NTOHL (0x72446566), ACE_NTOHL (0x5365713a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IR/FinderDefSeq:1.0 - 13, ACE_NTOHL (0x46696e64), ACE_NTOHL (0x65724465), ACE_NTOHL (0x66536571), ACE_NTOHL (0x0), // name = FinderDefSeq + 13, ACE_NTOHL (0x46696e64), ACE_NTOHL (0x65724465), ACE_NTOHL (0x66536571), ACE_NTOHL (0x0), // name = IR_FinderDefSeq CORBA::tk_sequence, // typecode kind 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order @@ -46780,7 +30074,7 @@ 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 29, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f46), ACE_NTOHL (0x696e6465), ACE_NTOHL (0x72446566), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IR/FinderDef:1.0 - 10, ACE_NTOHL (0x46696e64), ACE_NTOHL (0x65724465), ACE_NTOHL (0x66000000), // name = FinderDef + 10, ACE_NTOHL (0x46696e64), ACE_NTOHL (0x65724465), ACE_NTOHL (0x66000000), // name = IR_FinderDef 0U, @@ -46907,7 +30201,7 @@ 48, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 27, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x6f6d672e), ACE_NTOHL (0x6f72672f), ACE_NTOHL (0x49522f49), ACE_NTOHL (0x444c5479), ACE_NTOHL (0x70653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IR/IDLType:1.0 - 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IDLType + 8, ACE_NTOHL (0x49444c54), ACE_NTOHL (0x79706500), // name = IR_IDLType 5, ACE_NTOHL (0x6d6f6465), ACE_NTOHL (0x0), // name = mode CORBA::tk_enum, // typecode kind @@ -47174,18 +30468,19 @@ CORBA::tk_boolean, }; -static CORBA::TypeCode _tc_TAO_tc_IR_HomeDescription (CORBA::tk_struct, sizeof (_oc_IR_HomeDescription), (char *) &_oc_IR_HomeDescription, 0, sizeof (IR::HomeDescription)); +static CORBA::TypeCode _tc_TAO_tc_IR_HomeDescription (CORBA::tk_struct, sizeof (_oc_IR_HomeDescription), (char *) &_oc_IR_HomeDescription, 0, sizeof (IR_HomeDescription)); TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) TAO_NAMESPACE_BEGIN (IR) TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_HomeDescription, &_tc_TAO_tc_IR_HomeDescription) TAO_NAMESPACE_END -void IR::HomeDescription::_tao_any_destructor (void *x) + +void IR_HomeDescription::_tao_any_destructor (void *x) { - HomeDescription *tmp = ACE_static_cast (HomeDescription*,x); + IR_HomeDescription *tmp = ACE_static_cast (IR_HomeDescription*,x); delete tmp; } -void operator<<= (CORBA::Any &_tao_any, IR::DefinitionKind _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_DefinitionKind _tao_elem) { TAO_OutputCDR stream; stream << _tao_elem; @@ -47196,7 +30491,7 @@ ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::DefinitionKind &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_DefinitionKind &_tao_elem) { ACE_TRY_NEW_ENV { @@ -47223,11 +30518,11 @@ return 0; } -CORBA::_TAO_IRObject_Proxy_Broker * (*CORBA__TAO_IRObject_Proxy_Broker_Factory_function_pointer) ( +_TAO_IRObject_Proxy_Broker * (*_TAO_IRObject_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, CORBA::IRObject_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, CORBA_IRObject_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -47237,17 +30532,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - CORBA::IRObject::_duplicate (_tao_elem), - CORBA::IRObject::_tao_any_destructor + CORBA_IRObject::_duplicate (_tao_elem), + CORBA_IRObject::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA::IRObject_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA_IRObject_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = CORBA::IRObject::_nil (); + _tao_elem = CORBA_IRObject::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (CORBA::_tc_IRObject, ACE_TRY_ENV)) // not equal { @@ -47264,33 +30559,33 @@ CORBA::_tc_IRObject, 1, _tao_elem, - CORBA::IRObject::_tao_any_destructor + CORBA_IRObject::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = CORBA::IRObject::_nil (); + _tao_elem = CORBA_IRObject::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = CORBA::IRObject::_nil (); + _tao_elem = CORBA_IRObject::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_Contained_Proxy_Broker * (*IR__TAO_Contained_Proxy_Broker_Factory_function_pointer) ( +_TAO_Contained_Proxy_Broker * (*_TAO_Contained_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::Contained_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_Contained_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -47300,17 +30595,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::Contained::_duplicate (_tao_elem), - IR::Contained::_tao_any_destructor + IR_Contained::_duplicate (_tao_elem), + IR_Contained::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::Contained_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_Contained_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::Contained::_nil (); + _tao_elem = IR_Contained::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_Contained, ACE_TRY_ENV)) // not equal { @@ -47327,65 +30622,65 @@ IR::_tc_Contained, 1, _tao_elem, - IR::Contained::_tao_any_destructor + IR_Contained::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::Contained::_nil (); + _tao_elem = IR_Contained::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::Contained::_nil (); + _tao_elem = IR_Contained::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::Contained::Description &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_Contained::Description &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; _tao_any._tao_replace ( - IR::Contained::_tc_Description, + IR_Contained::_tc_Description, TAO_ENCAP_BYTE_ORDER, stream.begin () ); } -void operator<<= (CORBA::Any &_tao_any, IR::Contained::Description *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_Contained::Description *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; _tao_any._tao_replace ( - IR::Contained::_tc_Description, + IR_Contained::_tc_Description, TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, _tao_elem, - IR::Contained::Description::_tao_any_destructor + IR_Contained::Description::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::Contained::Description *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_Contained::Description *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::Contained::Description*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_Contained::Description*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::Contained::Description *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_Contained::Description *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - if (!type->equivalent (IR::Contained::_tc_Description, ACE_TRY_ENV)) // not equal + if (!type->equivalent (IR_Contained::_tc_Description, ACE_TRY_ENV)) // not equal { return 0; } @@ -47393,15 +30688,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::Contained::Description*, + const IR_Contained::Description*, _tao_any.value () ); return 1; } else { - IR::Contained::Description *tmp; - ACE_NEW_RETURN (tmp, IR::Contained::Description, 0); + IR_Contained::Description *tmp; + ACE_NEW_RETURN (tmp, IR_Contained::Description, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -47409,10 +30704,10 @@ if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( - IR::Contained::_tc_Description, + IR_Contained::_tc_Description, 1, ACE_static_cast (void *, tmp), - IR::Contained::Description::_tao_any_destructor + IR_Contained::Description::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -47432,7 +30727,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::InterfaceDefSeq &_tao_elem + const IR_InterfaceDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -47446,7 +30741,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::InterfaceDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_InterfaceDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -47456,19 +30751,19 @@ stream.begin (), 1, _tao_elem, - IR::InterfaceDefSeq::_tao_any_destructor + IR_InterfaceDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::InterfaceDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_InterfaceDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::InterfaceDefSeq*&, + const IR_InterfaceDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::InterfaceDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_InterfaceDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -47482,15 +30777,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::InterfaceDefSeq*, + const IR_InterfaceDefSeq*, _tao_any.value () ); return 1; } else { - IR::InterfaceDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::InterfaceDefSeq, 0); + IR_InterfaceDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_InterfaceDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -47501,7 +30796,7 @@ IR::_tc_InterfaceDefSeq, 1, ACE_static_cast (void *, tmp), - IR::InterfaceDefSeq::_tao_any_destructor + IR_InterfaceDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -47521,7 +30816,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ValueDefSeq &_tao_elem + const IR_ValueDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -47535,7 +30830,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ValueDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ValueDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -47545,19 +30840,19 @@ stream.begin (), 1, _tao_elem, - IR::ValueDefSeq::_tao_any_destructor + IR_ValueDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ValueDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ValueDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ValueDefSeq*&, + const IR_ValueDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ValueDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ValueDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -47571,15 +30866,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ValueDefSeq*, + const IR_ValueDefSeq*, _tao_any.value () ); return 1; } else { - IR::ValueDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ValueDefSeq, 0); + IR_ValueDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ValueDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -47590,7 +30885,7 @@ IR::_tc_ValueDefSeq, 1, ACE_static_cast (void *, tmp), - IR::ValueDefSeq::_tao_any_destructor + IR_ValueDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -47610,7 +30905,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ComponentDefSeq &_tao_elem + const IR_ComponentDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -47624,7 +30919,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ComponentDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ComponentDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -47634,19 +30929,19 @@ stream.begin (), 1, _tao_elem, - IR::ComponentDefSeq::_tao_any_destructor + IR_ComponentDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ComponentDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ComponentDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ComponentDefSeq*&, + const IR_ComponentDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ComponentDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ComponentDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -47660,15 +30955,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ComponentDefSeq*, + const IR_ComponentDefSeq*, _tao_any.value () ); return 1; } else { - IR::ComponentDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ComponentDefSeq, 0); + IR_ComponentDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ComponentDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -47679,7 +30974,7 @@ IR::_tc_ComponentDefSeq, 1, ACE_static_cast (void *, tmp), - IR::ComponentDefSeq::_tao_any_destructor + IR_ComponentDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -47699,7 +30994,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ProvidesDefSeq &_tao_elem + const IR_ProvidesDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -47713,7 +31008,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ProvidesDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ProvidesDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -47723,19 +31018,19 @@ stream.begin (), 1, _tao_elem, - IR::ProvidesDefSeq::_tao_any_destructor + IR_ProvidesDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ProvidesDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ProvidesDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ProvidesDefSeq*&, + const IR_ProvidesDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ProvidesDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ProvidesDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -47749,15 +31044,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ProvidesDefSeq*, + const IR_ProvidesDefSeq*, _tao_any.value () ); return 1; } else { - IR::ProvidesDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ProvidesDefSeq, 0); + IR_ProvidesDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ProvidesDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -47768,7 +31063,7 @@ IR::_tc_ProvidesDefSeq, 1, ACE_static_cast (void *, tmp), - IR::ProvidesDefSeq::_tao_any_destructor + IR_ProvidesDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -47788,7 +31083,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::UsesDefSeq &_tao_elem + const IR_UsesDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -47802,7 +31097,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::UsesDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_UsesDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -47812,19 +31107,19 @@ stream.begin (), 1, _tao_elem, - IR::UsesDefSeq::_tao_any_destructor + IR_UsesDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::UsesDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_UsesDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::UsesDefSeq*&, + const IR_UsesDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::UsesDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_UsesDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -47838,15 +31133,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::UsesDefSeq*, + const IR_UsesDefSeq*, _tao_any.value () ); return 1; } else { - IR::UsesDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::UsesDefSeq, 0); + IR_UsesDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_UsesDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -47857,7 +31152,7 @@ IR::_tc_UsesDefSeq, 1, ACE_static_cast (void *, tmp), - IR::UsesDefSeq::_tao_any_destructor + IR_UsesDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -47877,7 +31172,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::HomeDefSeq &_tao_elem + const IR_HomeDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -47891,7 +31186,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::HomeDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_HomeDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -47901,19 +31196,19 @@ stream.begin (), 1, _tao_elem, - IR::HomeDefSeq::_tao_any_destructor + IR_HomeDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::HomeDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_HomeDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::HomeDefSeq*&, + const IR_HomeDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::HomeDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_HomeDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -47927,15 +31222,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::HomeDefSeq*, + const IR_HomeDefSeq*, _tao_any.value () ); return 1; } else { - IR::HomeDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::HomeDefSeq, 0); + IR_HomeDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_HomeDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -47946,7 +31241,7 @@ IR::_tc_HomeDefSeq, 1, ACE_static_cast (void *, tmp), - IR::HomeDefSeq::_tao_any_destructor + IR_HomeDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -47966,7 +31261,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::EmitsDefSeq &_tao_elem + const IR_EmitsDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -47980,7 +31275,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::EmitsDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_EmitsDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -47990,19 +31285,19 @@ stream.begin (), 1, _tao_elem, - IR::EmitsDefSeq::_tao_any_destructor + IR_EmitsDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::EmitsDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_EmitsDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::EmitsDefSeq*&, + const IR_EmitsDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::EmitsDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_EmitsDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48016,15 +31311,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::EmitsDefSeq*, + const IR_EmitsDefSeq*, _tao_any.value () ); return 1; } else { - IR::EmitsDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::EmitsDefSeq, 0); + IR_EmitsDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_EmitsDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48035,7 +31330,7 @@ IR::_tc_EmitsDefSeq, 1, ACE_static_cast (void *, tmp), - IR::EmitsDefSeq::_tao_any_destructor + IR_EmitsDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48055,7 +31350,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::PublishesDefSeq &_tao_elem + const IR_PublishesDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -48069,7 +31364,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::PublishesDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_PublishesDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48079,19 +31374,19 @@ stream.begin (), 1, _tao_elem, - IR::PublishesDefSeq::_tao_any_destructor + IR_PublishesDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::PublishesDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_PublishesDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::PublishesDefSeq*&, + const IR_PublishesDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::PublishesDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_PublishesDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48105,15 +31400,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::PublishesDefSeq*, + const IR_PublishesDefSeq*, _tao_any.value () ); return 1; } else { - IR::PublishesDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::PublishesDefSeq, 0); + IR_PublishesDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_PublishesDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48124,7 +31419,7 @@ IR::_tc_PublishesDefSeq, 1, ACE_static_cast (void *, tmp), - IR::PublishesDefSeq::_tao_any_destructor + IR_PublishesDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48144,7 +31439,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ConsumesDefSeq &_tao_elem + const IR_ConsumesDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -48158,7 +31453,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ConsumesDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ConsumesDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48168,19 +31463,19 @@ stream.begin (), 1, _tao_elem, - IR::ConsumesDefSeq::_tao_any_destructor + IR_ConsumesDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ConsumesDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ConsumesDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ConsumesDefSeq*&, + const IR_ConsumesDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ConsumesDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ConsumesDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48194,15 +31489,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ConsumesDefSeq*, + const IR_ConsumesDefSeq*, _tao_any.value () ); return 1; } else { - IR::ConsumesDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ConsumesDefSeq, 0); + IR_ConsumesDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ConsumesDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48213,7 +31508,7 @@ IR::_tc_ConsumesDefSeq, 1, ACE_static_cast (void *, tmp), - IR::ConsumesDefSeq::_tao_any_destructor + IR_ConsumesDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48233,7 +31528,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::FactoryDefSeq &_tao_elem + const IR_FactoryDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -48247,7 +31542,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::FactoryDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_FactoryDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48257,19 +31552,19 @@ stream.begin (), 1, _tao_elem, - IR::FactoryDefSeq::_tao_any_destructor + IR_FactoryDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::FactoryDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_FactoryDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::FactoryDefSeq*&, + const IR_FactoryDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::FactoryDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_FactoryDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48283,15 +31578,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::FactoryDefSeq*, + const IR_FactoryDefSeq*, _tao_any.value () ); return 1; } else { - IR::FactoryDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::FactoryDefSeq, 0); + IR_FactoryDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_FactoryDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48302,7 +31597,7 @@ IR::_tc_FactoryDefSeq, 1, ACE_static_cast (void *, tmp), - IR::FactoryDefSeq::_tao_any_destructor + IR_FactoryDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48322,7 +31617,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::FinderDefSeq &_tao_elem + const IR_FinderDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -48336,7 +31631,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::FinderDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_FinderDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48346,19 +31641,19 @@ stream.begin (), 1, _tao_elem, - IR::FinderDefSeq::_tao_any_destructor + IR_FinderDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::FinderDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_FinderDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::FinderDefSeq*&, + const IR_FinderDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::FinderDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_FinderDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48372,15 +31667,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::FinderDefSeq*, + const IR_FinderDefSeq*, _tao_any.value () ); return 1; } else { - IR::FinderDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::FinderDefSeq, 0); + IR_FinderDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_FinderDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48391,7 +31686,7 @@ IR::_tc_FinderDefSeq, 1, ACE_static_cast (void *, tmp), - IR::FinderDefSeq::_tao_any_destructor + IR_FinderDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48411,7 +31706,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ContainedSeq &_tao_elem + const IR_ContainedSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -48425,7 +31720,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ContainedSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ContainedSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48435,19 +31730,19 @@ stream.begin (), 1, _tao_elem, - IR::ContainedSeq::_tao_any_destructor + IR_ContainedSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ContainedSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ContainedSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ContainedSeq*&, + const IR_ContainedSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ContainedSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ContainedSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48461,15 +31756,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ContainedSeq*, + const IR_ContainedSeq*, _tao_any.value () ); return 1; } else { - IR::ContainedSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ContainedSeq, 0); + IR_ContainedSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ContainedSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48480,7 +31775,7 @@ IR::_tc_ContainedSeq, 1, ACE_static_cast (void *, tmp), - IR::ContainedSeq::_tao_any_destructor + IR_ContainedSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48498,7 +31793,7 @@ return 0; } -void operator<<= (CORBA::Any &_tao_any, const IR::StructMember &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_StructMember &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -48509,7 +31804,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::StructMember *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_StructMember *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48519,16 +31814,16 @@ stream.begin (), 1, _tao_elem, - IR::StructMember::_tao_any_destructor + IR_StructMember::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::StructMember *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_StructMember *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::StructMember*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_StructMember*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::StructMember *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_StructMember *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48542,15 +31837,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::StructMember*, + const IR_StructMember*, _tao_any.value () ); return 1; } else { - IR::StructMember *tmp; - ACE_NEW_RETURN (tmp, IR::StructMember, 0); + IR_StructMember *tmp; + ACE_NEW_RETURN (tmp, IR_StructMember, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48561,7 +31856,7 @@ IR::_tc_StructMember, 1, ACE_static_cast (void *, tmp), - IR::StructMember::_tao_any_destructor + IR_StructMember::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48581,7 +31876,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::StructMemberSeq &_tao_elem + const IR_StructMemberSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -48595,7 +31890,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::StructMemberSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_StructMemberSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48605,19 +31900,19 @@ stream.begin (), 1, _tao_elem, - IR::StructMemberSeq::_tao_any_destructor + IR_StructMemberSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::StructMemberSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_StructMemberSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::StructMemberSeq*&, + const IR_StructMemberSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::StructMemberSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_StructMemberSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48631,15 +31926,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::StructMemberSeq*, + const IR_StructMemberSeq*, _tao_any.value () ); return 1; } else { - IR::StructMemberSeq *tmp; - ACE_NEW_RETURN (tmp, IR::StructMemberSeq, 0); + IR_StructMemberSeq *tmp; + ACE_NEW_RETURN (tmp, IR_StructMemberSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48650,7 +31945,7 @@ IR::_tc_StructMemberSeq, 1, ACE_static_cast (void *, tmp), - IR::StructMemberSeq::_tao_any_destructor + IR_StructMemberSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48668,7 +31963,7 @@ return 0; } -void operator<<= (CORBA::Any &_tao_any, const IR::Initializer &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_Initializer &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -48679,7 +31974,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::Initializer *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_Initializer *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48689,16 +31984,16 @@ stream.begin (), 1, _tao_elem, - IR::Initializer::_tao_any_destructor + IR_Initializer::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::Initializer *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_Initializer *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::Initializer*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_Initializer*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::Initializer *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_Initializer *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48712,15 +32007,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::Initializer*, + const IR_Initializer*, _tao_any.value () ); return 1; } else { - IR::Initializer *tmp; - ACE_NEW_RETURN (tmp, IR::Initializer, 0); + IR_Initializer *tmp; + ACE_NEW_RETURN (tmp, IR_Initializer, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48731,7 +32026,7 @@ IR::_tc_Initializer, 1, ACE_static_cast (void *, tmp), - IR::Initializer::_tao_any_destructor + IR_Initializer::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48751,7 +32046,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::InitializerSeq &_tao_elem + const IR_InitializerSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -48765,7 +32060,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::InitializerSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_InitializerSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48775,19 +32070,19 @@ stream.begin (), 1, _tao_elem, - IR::InitializerSeq::_tao_any_destructor + IR_InitializerSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::InitializerSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_InitializerSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::InitializerSeq*&, + const IR_InitializerSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::InitializerSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_InitializerSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48801,15 +32096,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::InitializerSeq*, + const IR_InitializerSeq*, _tao_any.value () ); return 1; } else { - IR::InitializerSeq *tmp; - ACE_NEW_RETURN (tmp, IR::InitializerSeq, 0); + IR_InitializerSeq *tmp; + ACE_NEW_RETURN (tmp, IR_InitializerSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48820,7 +32115,7 @@ IR::_tc_InitializerSeq, 1, ACE_static_cast (void *, tmp), - IR::InitializerSeq::_tao_any_destructor + IR_InitializerSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48838,7 +32133,7 @@ return 0; } -void operator<<= (CORBA::Any &_tao_any, const IR::UnionMember &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_UnionMember &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -48849,7 +32144,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::UnionMember *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_UnionMember *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48859,16 +32154,16 @@ stream.begin (), 1, _tao_elem, - IR::UnionMember::_tao_any_destructor + IR_UnionMember::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::UnionMember *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_UnionMember *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::UnionMember*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_UnionMember*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::UnionMember *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_UnionMember *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48882,15 +32177,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::UnionMember*, + const IR_UnionMember*, _tao_any.value () ); return 1; } else { - IR::UnionMember *tmp; - ACE_NEW_RETURN (tmp, IR::UnionMember, 0); + IR_UnionMember *tmp; + ACE_NEW_RETURN (tmp, IR_UnionMember, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48901,7 +32196,7 @@ IR::_tc_UnionMember, 1, ACE_static_cast (void *, tmp), - IR::UnionMember::_tao_any_destructor + IR_UnionMember::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -48921,7 +32216,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::UnionMemberSeq &_tao_elem + const IR_UnionMemberSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -48935,7 +32230,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::UnionMemberSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_UnionMemberSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -48945,19 +32240,19 @@ stream.begin (), 1, _tao_elem, - IR::UnionMemberSeq::_tao_any_destructor + IR_UnionMemberSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::UnionMemberSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_UnionMemberSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::UnionMemberSeq*&, + const IR_UnionMemberSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::UnionMemberSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_UnionMemberSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -48971,15 +32266,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::UnionMemberSeq*, + const IR_UnionMemberSeq*, _tao_any.value () ); return 1; } else { - IR::UnionMemberSeq *tmp; - ACE_NEW_RETURN (tmp, IR::UnionMemberSeq, 0); + IR_UnionMemberSeq *tmp; + ACE_NEW_RETURN (tmp, IR_UnionMemberSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -48990,7 +32285,7 @@ IR::_tc_UnionMemberSeq, 1, ACE_static_cast (void *, tmp), - IR::UnionMemberSeq::_tao_any_destructor + IR_UnionMemberSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -49010,7 +32305,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::EnumMemberSeq &_tao_elem + const IR_EnumMemberSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -49024,7 +32319,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::EnumMemberSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_EnumMemberSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -49034,19 +32329,19 @@ stream.begin (), 1, _tao_elem, - IR::EnumMemberSeq::_tao_any_destructor + IR_EnumMemberSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::EnumMemberSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_EnumMemberSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::EnumMemberSeq*&, + const IR_EnumMemberSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::EnumMemberSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_EnumMemberSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -49060,15 +32355,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::EnumMemberSeq*, + const IR_EnumMemberSeq*, _tao_any.value () ); return 1; } else { - IR::EnumMemberSeq *tmp; - ACE_NEW_RETURN (tmp, IR::EnumMemberSeq, 0); + IR_EnumMemberSeq *tmp; + ACE_NEW_RETURN (tmp, IR_EnumMemberSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -49079,7 +32374,7 @@ IR::_tc_EnumMemberSeq, 1, ACE_static_cast (void *, tmp), - IR::EnumMemberSeq::_tao_any_destructor + IR_EnumMemberSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -49097,11 +32392,11 @@ return 0; } -IR::_TAO_Container_Proxy_Broker * (*IR__TAO_Container_Proxy_Broker_Factory_function_pointer) ( +_TAO_Container_Proxy_Broker * (*_TAO_Container_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::Container_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_Container_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -49111,17 +32406,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::Container::_duplicate (_tao_elem), - IR::Container::_tao_any_destructor + IR_Container::_duplicate (_tao_elem), + IR_Container::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::Container_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_Container_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::Container::_nil (); + _tao_elem = IR_Container::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_Container, ACE_TRY_ENV)) // not equal { @@ -49138,65 +32433,65 @@ IR::_tc_Container, 1, _tao_elem, - IR::Container::_tao_any_destructor + IR_Container::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::Container::_nil (); + _tao_elem = IR_Container::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::Container::_nil (); + _tao_elem = IR_Container::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::Container::Description &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_Container::Description &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; _tao_any._tao_replace ( - IR::Container::_tc_Description, + IR_Container::_tc_Description, TAO_ENCAP_BYTE_ORDER, stream.begin () ); } -void operator<<= (CORBA::Any &_tao_any, IR::Container::Description *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_Container::Description *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; _tao_any._tao_replace ( - IR::Container::_tc_Description, + IR_Container::_tc_Description, TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, _tao_elem, - IR::Container::Description::_tao_any_destructor + IR_Container::Description::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::Container::Description *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_Container::Description *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::Container::Description*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_Container::Description*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::Container::Description *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_Container::Description *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - if (!type->equivalent (IR::Container::_tc_Description, ACE_TRY_ENV)) // not equal + if (!type->equivalent (IR_Container::_tc_Description, ACE_TRY_ENV)) // not equal { return 0; } @@ -49204,15 +32499,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::Container::Description*, + const IR_Container::Description*, _tao_any.value () ); return 1; } else { - IR::Container::Description *tmp; - ACE_NEW_RETURN (tmp, IR::Container::Description, 0); + IR_Container::Description *tmp; + ACE_NEW_RETURN (tmp, IR_Container::Description, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -49220,10 +32515,10 @@ if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( - IR::Container::_tc_Description, + IR_Container::_tc_Description, 1, ACE_static_cast (void *, tmp), - IR::Container::Description::_tao_any_destructor + IR_Container::Description::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -49243,49 +32538,49 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::Container::DescriptionSeq &_tao_elem + const IR_Container::DescriptionSeq &_tao_elem ) // copying { TAO_OutputCDR stream; if (stream << _tao_elem) { _tao_any._tao_replace ( - IR::Container::_tc_DescriptionSeq, + IR_Container::_tc_DescriptionSeq, TAO_ENCAP_BYTE_ORDER, stream.begin () ); } } -void operator<<= (CORBA::Any &_tao_any, IR::Container::DescriptionSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_Container::DescriptionSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; _tao_any._tao_replace ( - IR::Container::_tc_DescriptionSeq, + IR_Container::_tc_DescriptionSeq, TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, _tao_elem, - IR::Container::DescriptionSeq::_tao_any_destructor + IR_Container::DescriptionSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::Container::DescriptionSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_Container::DescriptionSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::Container::DescriptionSeq*&, + const IR_Container::DescriptionSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::Container::DescriptionSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_Container::DescriptionSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV { CORBA::TypeCode_var type = _tao_any.type (); - if (!type->equivalent (IR::Container::_tc_DescriptionSeq, ACE_TRY_ENV)) // not equal + if (!type->equivalent (IR_Container::_tc_DescriptionSeq, ACE_TRY_ENV)) // not equal { return 0; } @@ -49293,15 +32588,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::Container::DescriptionSeq*, + const IR_Container::DescriptionSeq*, _tao_any.value () ); return 1; } else { - IR::Container::DescriptionSeq *tmp; - ACE_NEW_RETURN (tmp, IR::Container::DescriptionSeq, 0); + IR_Container::DescriptionSeq *tmp; + ACE_NEW_RETURN (tmp, IR_Container::DescriptionSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -49309,10 +32604,10 @@ if (stream >> *tmp) { ((CORBA::Any *)&_tao_any)->_tao_replace ( - IR::Container::_tc_DescriptionSeq, + IR_Container::_tc_DescriptionSeq, 1, ACE_static_cast (void *, tmp), - IR::Container::DescriptionSeq::_tao_any_destructor + IR_Container::DescriptionSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -49330,11 +32625,11 @@ return 0; } -IR::_TAO_IDLType_Proxy_Broker * (*IR__TAO_IDLType_Proxy_Broker_Factory_function_pointer) ( +_TAO_IDLType_Proxy_Broker * (*_TAO_IDLType_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::IDLType_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_IDLType_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -49344,17 +32639,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::IDLType::_duplicate (_tao_elem), - IR::IDLType::_tao_any_destructor + IR_IDLType::_duplicate (_tao_elem), + IR_IDLType::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::IDLType_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_IDLType_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::IDLType::_nil (); + _tao_elem = IR_IDLType::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_IDLType, ACE_TRY_ENV)) // not equal { @@ -49371,29 +32666,29 @@ IR::_tc_IDLType, 1, _tao_elem, - IR::IDLType::_tao_any_destructor + IR_IDLType::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::IDLType::_nil (); + _tao_elem = IR_IDLType::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::IDLType::_nil (); + _tao_elem = IR_IDLType::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, IR::PrimitiveKind _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_PrimitiveKind _tao_elem) { TAO_OutputCDR stream; stream << _tao_elem; @@ -49404,7 +32699,7 @@ ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::PrimitiveKind &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_PrimitiveKind &_tao_elem) { ACE_TRY_NEW_ENV { @@ -49431,11 +32726,11 @@ return 0; } -IR::_TAO_Repository_Proxy_Broker * (*IR__TAO_Repository_Proxy_Broker_Factory_function_pointer) ( +_TAO_Repository_Proxy_Broker * (*_TAO_Repository_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::Repository_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_Repository_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -49445,17 +32740,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::Repository::_duplicate (_tao_elem), - IR::Repository::_tao_any_destructor + IR_Repository::_duplicate (_tao_elem), + IR_Repository::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::Repository_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_Repository_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::Repository::_nil (); + _tao_elem = IR_Repository::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_Repository, ACE_TRY_ENV)) // not equal { @@ -49472,33 +32767,33 @@ IR::_tc_Repository, 1, _tao_elem, - IR::Repository::_tao_any_destructor + IR_Repository::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::Repository::_nil (); + _tao_elem = IR_Repository::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::Repository::_nil (); + _tao_elem = IR_Repository::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_ComponentRepository_Proxy_Broker * (*IR__TAO_ComponentRepository_Proxy_Broker_Factory_function_pointer) ( +_TAO_ComponentRepository_Proxy_Broker * (*_TAO_ComponentRepository_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ComponentRepository_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ComponentRepository_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -49508,17 +32803,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ComponentRepository::_duplicate (_tao_elem), - IR::ComponentRepository::_tao_any_destructor + IR_ComponentRepository::_duplicate (_tao_elem), + IR_ComponentRepository::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ComponentRepository_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ComponentRepository_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ComponentRepository::_nil (); + _tao_elem = IR_ComponentRepository::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ComponentRepository, ACE_TRY_ENV)) // not equal { @@ -49535,33 +32830,33 @@ IR::_tc_ComponentRepository, 1, _tao_elem, - IR::ComponentRepository::_tao_any_destructor + IR_ComponentRepository::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ComponentRepository::_nil (); + _tao_elem = IR_ComponentRepository::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ComponentRepository::_nil (); + _tao_elem = IR_ComponentRepository::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_ModuleDef_Proxy_Broker * (*IR__TAO_ModuleDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_ModuleDef_Proxy_Broker * (*_TAO_ModuleDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ModuleDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ModuleDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -49571,17 +32866,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ModuleDef::_duplicate (_tao_elem), - IR::ModuleDef::_tao_any_destructor + IR_ModuleDef::_duplicate (_tao_elem), + IR_ModuleDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ModuleDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ModuleDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ModuleDef::_nil (); + _tao_elem = IR_ModuleDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ModuleDef, ACE_TRY_ENV)) // not equal { @@ -49598,29 +32893,29 @@ IR::_tc_ModuleDef, 1, _tao_elem, - IR::ModuleDef::_tao_any_destructor + IR_ModuleDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ModuleDef::_nil (); + _tao_elem = IR_ModuleDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ModuleDef::_nil (); + _tao_elem = IR_ModuleDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::ModuleDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_ModuleDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -49631,7 +32926,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::ModuleDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ModuleDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -49641,16 +32936,16 @@ stream.begin (), 1, _tao_elem, - IR::ModuleDescription::_tao_any_destructor + IR_ModuleDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ModuleDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ModuleDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::ModuleDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_ModuleDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ModuleDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ModuleDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -49664,15 +32959,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ModuleDescription*, + const IR_ModuleDescription*, _tao_any.value () ); return 1; } else { - IR::ModuleDescription *tmp; - ACE_NEW_RETURN (tmp, IR::ModuleDescription, 0); + IR_ModuleDescription *tmp; + ACE_NEW_RETURN (tmp, IR_ModuleDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -49683,7 +32978,7 @@ IR::_tc_ModuleDescription, 1, ACE_static_cast (void *, tmp), - IR::ModuleDescription::_tao_any_destructor + IR_ModuleDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -49701,11 +32996,11 @@ return 0; } -IR::_TAO_ConstantDef_Proxy_Broker * (*IR__TAO_ConstantDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_ConstantDef_Proxy_Broker * (*_TAO_ConstantDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ConstantDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ConstantDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -49715,17 +33010,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ConstantDef::_duplicate (_tao_elem), - IR::ConstantDef::_tao_any_destructor + IR_ConstantDef::_duplicate (_tao_elem), + IR_ConstantDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ConstantDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ConstantDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ConstantDef::_nil (); + _tao_elem = IR_ConstantDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ConstantDef, ACE_TRY_ENV)) // not equal { @@ -49742,29 +33037,29 @@ IR::_tc_ConstantDef, 1, _tao_elem, - IR::ConstantDef::_tao_any_destructor + IR_ConstantDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ConstantDef::_nil (); + _tao_elem = IR_ConstantDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ConstantDef::_nil (); + _tao_elem = IR_ConstantDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::ConstantDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_ConstantDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -49775,7 +33070,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::ConstantDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ConstantDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -49785,16 +33080,16 @@ stream.begin (), 1, _tao_elem, - IR::ConstantDescription::_tao_any_destructor + IR_ConstantDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ConstantDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ConstantDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::ConstantDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_ConstantDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ConstantDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ConstantDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -49808,15 +33103,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ConstantDescription*, + const IR_ConstantDescription*, _tao_any.value () ); return 1; } else { - IR::ConstantDescription *tmp; - ACE_NEW_RETURN (tmp, IR::ConstantDescription, 0); + IR_ConstantDescription *tmp; + ACE_NEW_RETURN (tmp, IR_ConstantDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -49827,7 +33122,7 @@ IR::_tc_ConstantDescription, 1, ACE_static_cast (void *, tmp), - IR::ConstantDescription::_tao_any_destructor + IR_ConstantDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -49845,11 +33140,11 @@ return 0; } -IR::_TAO_TypedefDef_Proxy_Broker * (*IR__TAO_TypedefDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_TypedefDef_Proxy_Broker * (*_TAO_TypedefDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::TypedefDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_TypedefDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -49859,17 +33154,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::TypedefDef::_duplicate (_tao_elem), - IR::TypedefDef::_tao_any_destructor + IR_TypedefDef::_duplicate (_tao_elem), + IR_TypedefDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::TypedefDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_TypedefDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::TypedefDef::_nil (); + _tao_elem = IR_TypedefDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_TypedefDef, ACE_TRY_ENV)) // not equal { @@ -49886,29 +33181,29 @@ IR::_tc_TypedefDef, 1, _tao_elem, - IR::TypedefDef::_tao_any_destructor + IR_TypedefDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::TypedefDef::_nil (); + _tao_elem = IR_TypedefDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::TypedefDef::_nil (); + _tao_elem = IR_TypedefDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::TypeDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_TypeDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -49919,7 +33214,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::TypeDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_TypeDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -49929,16 +33224,16 @@ stream.begin (), 1, _tao_elem, - IR::TypeDescription::_tao_any_destructor + IR_TypeDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::TypeDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_TypeDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::TypeDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_TypeDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::TypeDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_TypeDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -49952,15 +33247,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::TypeDescription*, + const IR_TypeDescription*, _tao_any.value () ); return 1; } else { - IR::TypeDescription *tmp; - ACE_NEW_RETURN (tmp, IR::TypeDescription, 0); + IR_TypeDescription *tmp; + ACE_NEW_RETURN (tmp, IR_TypeDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -49971,7 +33266,7 @@ IR::_tc_TypeDescription, 1, ACE_static_cast (void *, tmp), - IR::TypeDescription::_tao_any_destructor + IR_TypeDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -49989,11 +33284,11 @@ return 0; } -IR::_TAO_StructDef_Proxy_Broker * (*IR__TAO_StructDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_StructDef_Proxy_Broker * (*_TAO_StructDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::StructDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_StructDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50003,17 +33298,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::StructDef::_duplicate (_tao_elem), - IR::StructDef::_tao_any_destructor + IR_StructDef::_duplicate (_tao_elem), + IR_StructDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::StructDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_StructDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::StructDef::_nil (); + _tao_elem = IR_StructDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_StructDef, ACE_TRY_ENV)) // not equal { @@ -50030,33 +33325,33 @@ IR::_tc_StructDef, 1, _tao_elem, - IR::StructDef::_tao_any_destructor + IR_StructDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::StructDef::_nil (); + _tao_elem = IR_StructDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::StructDef::_nil (); + _tao_elem = IR_StructDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_UnionDef_Proxy_Broker * (*IR__TAO_UnionDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_UnionDef_Proxy_Broker * (*_TAO_UnionDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::UnionDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_UnionDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50066,17 +33361,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::UnionDef::_duplicate (_tao_elem), - IR::UnionDef::_tao_any_destructor + IR_UnionDef::_duplicate (_tao_elem), + IR_UnionDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::UnionDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_UnionDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::UnionDef::_nil (); + _tao_elem = IR_UnionDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_UnionDef, ACE_TRY_ENV)) // not equal { @@ -50093,33 +33388,33 @@ IR::_tc_UnionDef, 1, _tao_elem, - IR::UnionDef::_tao_any_destructor + IR_UnionDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::UnionDef::_nil (); + _tao_elem = IR_UnionDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::UnionDef::_nil (); + _tao_elem = IR_UnionDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_EnumDef_Proxy_Broker * (*IR__TAO_EnumDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_EnumDef_Proxy_Broker * (*_TAO_EnumDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::EnumDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_EnumDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50129,17 +33424,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::EnumDef::_duplicate (_tao_elem), - IR::EnumDef::_tao_any_destructor + IR_EnumDef::_duplicate (_tao_elem), + IR_EnumDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::EnumDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_EnumDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::EnumDef::_nil (); + _tao_elem = IR_EnumDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_EnumDef, ACE_TRY_ENV)) // not equal { @@ -50156,33 +33451,33 @@ IR::_tc_EnumDef, 1, _tao_elem, - IR::EnumDef::_tao_any_destructor + IR_EnumDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::EnumDef::_nil (); + _tao_elem = IR_EnumDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::EnumDef::_nil (); + _tao_elem = IR_EnumDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_AliasDef_Proxy_Broker * (*IR__TAO_AliasDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_AliasDef_Proxy_Broker * (*_TAO_AliasDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::AliasDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_AliasDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50192,17 +33487,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::AliasDef::_duplicate (_tao_elem), - IR::AliasDef::_tao_any_destructor + IR_AliasDef::_duplicate (_tao_elem), + IR_AliasDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::AliasDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_AliasDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::AliasDef::_nil (); + _tao_elem = IR_AliasDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_AliasDef, ACE_TRY_ENV)) // not equal { @@ -50219,33 +33514,33 @@ IR::_tc_AliasDef, 1, _tao_elem, - IR::AliasDef::_tao_any_destructor + IR_AliasDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::AliasDef::_nil (); + _tao_elem = IR_AliasDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::AliasDef::_nil (); + _tao_elem = IR_AliasDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_NativeDef_Proxy_Broker * (*IR__TAO_NativeDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_NativeDef_Proxy_Broker * (*_TAO_NativeDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::NativeDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_NativeDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50255,17 +33550,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::NativeDef::_duplicate (_tao_elem), - IR::NativeDef::_tao_any_destructor + IR_NativeDef::_duplicate (_tao_elem), + IR_NativeDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::NativeDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_NativeDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::NativeDef::_nil (); + _tao_elem = IR_NativeDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_NativeDef, ACE_TRY_ENV)) // not equal { @@ -50282,33 +33577,33 @@ IR::_tc_NativeDef, 1, _tao_elem, - IR::NativeDef::_tao_any_destructor + IR_NativeDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::NativeDef::_nil (); + _tao_elem = IR_NativeDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::NativeDef::_nil (); + _tao_elem = IR_NativeDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_PrimitiveDef_Proxy_Broker * (*IR__TAO_PrimitiveDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_PrimitiveDef_Proxy_Broker * (*_TAO_PrimitiveDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::PrimitiveDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_PrimitiveDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50318,17 +33613,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::PrimitiveDef::_duplicate (_tao_elem), - IR::PrimitiveDef::_tao_any_destructor + IR_PrimitiveDef::_duplicate (_tao_elem), + IR_PrimitiveDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::PrimitiveDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_PrimitiveDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::PrimitiveDef::_nil (); + _tao_elem = IR_PrimitiveDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_PrimitiveDef, ACE_TRY_ENV)) // not equal { @@ -50345,33 +33640,33 @@ IR::_tc_PrimitiveDef, 1, _tao_elem, - IR::PrimitiveDef::_tao_any_destructor + IR_PrimitiveDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::PrimitiveDef::_nil (); + _tao_elem = IR_PrimitiveDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::PrimitiveDef::_nil (); + _tao_elem = IR_PrimitiveDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_StringDef_Proxy_Broker * (*IR__TAO_StringDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_StringDef_Proxy_Broker * (*_TAO_StringDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::StringDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_StringDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50381,17 +33676,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::StringDef::_duplicate (_tao_elem), - IR::StringDef::_tao_any_destructor + IR_StringDef::_duplicate (_tao_elem), + IR_StringDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::StringDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_StringDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::StringDef::_nil (); + _tao_elem = IR_StringDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_StringDef, ACE_TRY_ENV)) // not equal { @@ -50408,33 +33703,33 @@ IR::_tc_StringDef, 1, _tao_elem, - IR::StringDef::_tao_any_destructor + IR_StringDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::StringDef::_nil (); + _tao_elem = IR_StringDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::StringDef::_nil (); + _tao_elem = IR_StringDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_WstringDef_Proxy_Broker * (*IR__TAO_WstringDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_WstringDef_Proxy_Broker * (*_TAO_WstringDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::WstringDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_WstringDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50444,17 +33739,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::WstringDef::_duplicate (_tao_elem), - IR::WstringDef::_tao_any_destructor + IR_WstringDef::_duplicate (_tao_elem), + IR_WstringDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::WstringDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_WstringDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::WstringDef::_nil (); + _tao_elem = IR_WstringDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_WstringDef, ACE_TRY_ENV)) // not equal { @@ -50471,33 +33766,33 @@ IR::_tc_WstringDef, 1, _tao_elem, - IR::WstringDef::_tao_any_destructor + IR_WstringDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::WstringDef::_nil (); + _tao_elem = IR_WstringDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::WstringDef::_nil (); + _tao_elem = IR_WstringDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_FixedDef_Proxy_Broker * (*IR__TAO_FixedDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_FixedDef_Proxy_Broker * (*_TAO_FixedDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::FixedDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_FixedDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50507,17 +33802,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::FixedDef::_duplicate (_tao_elem), - IR::FixedDef::_tao_any_destructor + IR_FixedDef::_duplicate (_tao_elem), + IR_FixedDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::FixedDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_FixedDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::FixedDef::_nil (); + _tao_elem = IR_FixedDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_FixedDef, ACE_TRY_ENV)) // not equal { @@ -50534,33 +33829,33 @@ IR::_tc_FixedDef, 1, _tao_elem, - IR::FixedDef::_tao_any_destructor + IR_FixedDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::FixedDef::_nil (); + _tao_elem = IR_FixedDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::FixedDef::_nil (); + _tao_elem = IR_FixedDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_SequenceDef_Proxy_Broker * (*IR__TAO_SequenceDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_SequenceDef_Proxy_Broker * (*_TAO_SequenceDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::SequenceDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_SequenceDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50570,17 +33865,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::SequenceDef::_duplicate (_tao_elem), - IR::SequenceDef::_tao_any_destructor + IR_SequenceDef::_duplicate (_tao_elem), + IR_SequenceDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::SequenceDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_SequenceDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::SequenceDef::_nil (); + _tao_elem = IR_SequenceDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_SequenceDef, ACE_TRY_ENV)) // not equal { @@ -50597,33 +33892,33 @@ IR::_tc_SequenceDef, 1, _tao_elem, - IR::SequenceDef::_tao_any_destructor + IR_SequenceDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::SequenceDef::_nil (); + _tao_elem = IR_SequenceDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::SequenceDef::_nil (); + _tao_elem = IR_SequenceDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_ArrayDef_Proxy_Broker * (*IR__TAO_ArrayDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_ArrayDef_Proxy_Broker * (*_TAO_ArrayDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ArrayDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ArrayDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50633,17 +33928,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ArrayDef::_duplicate (_tao_elem), - IR::ArrayDef::_tao_any_destructor + IR_ArrayDef::_duplicate (_tao_elem), + IR_ArrayDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ArrayDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ArrayDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ArrayDef::_nil (); + _tao_elem = IR_ArrayDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ArrayDef, ACE_TRY_ENV)) // not equal { @@ -50660,33 +33955,33 @@ IR::_tc_ArrayDef, 1, _tao_elem, - IR::ArrayDef::_tao_any_destructor + IR_ArrayDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ArrayDef::_nil (); + _tao_elem = IR_ArrayDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ArrayDef::_nil (); + _tao_elem = IR_ArrayDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_ExceptionDef_Proxy_Broker * (*IR__TAO_ExceptionDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_ExceptionDef_Proxy_Broker * (*_TAO_ExceptionDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ExceptionDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ExceptionDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -50696,17 +33991,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ExceptionDef::_duplicate (_tao_elem), - IR::ExceptionDef::_tao_any_destructor + IR_ExceptionDef::_duplicate (_tao_elem), + IR_ExceptionDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ExceptionDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ExceptionDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ExceptionDef::_nil (); + _tao_elem = IR_ExceptionDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ExceptionDef, ACE_TRY_ENV)) // not equal { @@ -50723,29 +34018,29 @@ IR::_tc_ExceptionDef, 1, _tao_elem, - IR::ExceptionDef::_tao_any_destructor + IR_ExceptionDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ExceptionDef::_nil (); + _tao_elem = IR_ExceptionDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ExceptionDef::_nil (); + _tao_elem = IR_ExceptionDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::ExceptionDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_ExceptionDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -50756,7 +34051,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::ExceptionDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ExceptionDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -50766,16 +34061,16 @@ stream.begin (), 1, _tao_elem, - IR::ExceptionDescription::_tao_any_destructor + IR_ExceptionDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ExceptionDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ExceptionDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::ExceptionDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_ExceptionDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ExceptionDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ExceptionDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -50789,15 +34084,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ExceptionDescription*, + const IR_ExceptionDescription*, _tao_any.value () ); return 1; } else { - IR::ExceptionDescription *tmp; - ACE_NEW_RETURN (tmp, IR::ExceptionDescription, 0); + IR_ExceptionDescription *tmp; + ACE_NEW_RETURN (tmp, IR_ExceptionDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -50808,7 +34103,7 @@ IR::_tc_ExceptionDescription, 1, ACE_static_cast (void *, tmp), - IR::ExceptionDescription::_tao_any_destructor + IR_ExceptionDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -50828,7 +34123,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ExceptionDefSeq &_tao_elem + const IR_ExceptionDefSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -50842,7 +34137,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ExceptionDefSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ExceptionDefSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -50852,19 +34147,19 @@ stream.begin (), 1, _tao_elem, - IR::ExceptionDefSeq::_tao_any_destructor + IR_ExceptionDefSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ExceptionDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ExceptionDefSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ExceptionDefSeq*&, + const IR_ExceptionDefSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ExceptionDefSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ExceptionDefSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -50878,15 +34173,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ExceptionDefSeq*, + const IR_ExceptionDefSeq*, _tao_any.value () ); return 1; } else { - IR::ExceptionDefSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ExceptionDefSeq, 0); + IR_ExceptionDefSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ExceptionDefSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -50897,7 +34192,7 @@ IR::_tc_ExceptionDefSeq, 1, ACE_static_cast (void *, tmp), - IR::ExceptionDefSeq::_tao_any_destructor + IR_ExceptionDefSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -50917,7 +34212,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ExcDescriptionSeq &_tao_elem + const IR_ExcDescriptionSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -50931,7 +34226,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ExcDescriptionSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ExcDescriptionSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -50941,19 +34236,19 @@ stream.begin (), 1, _tao_elem, - IR::ExcDescriptionSeq::_tao_any_destructor + IR_ExcDescriptionSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ExcDescriptionSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ExcDescriptionSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ExcDescriptionSeq*&, + const IR_ExcDescriptionSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ExcDescriptionSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ExcDescriptionSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -50967,15 +34262,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ExcDescriptionSeq*, + const IR_ExcDescriptionSeq*, _tao_any.value () ); return 1; } else { - IR::ExcDescriptionSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ExcDescriptionSeq, 0); + IR_ExcDescriptionSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ExcDescriptionSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -50986,7 +34281,7 @@ IR::_tc_ExcDescriptionSeq, 1, ACE_static_cast (void *, tmp), - IR::ExcDescriptionSeq::_tao_any_destructor + IR_ExcDescriptionSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -51004,7 +34299,7 @@ return 0; } -void operator<<= (CORBA::Any &_tao_any, IR::AttributeMode _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_AttributeMode _tao_elem) { TAO_OutputCDR stream; stream << _tao_elem; @@ -51015,7 +34310,7 @@ ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::AttributeMode &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_AttributeMode &_tao_elem) { ACE_TRY_NEW_ENV { @@ -51042,11 +34337,11 @@ return 0; } -IR::_TAO_AttributeDef_Proxy_Broker * (*IR__TAO_AttributeDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_AttributeDef_Proxy_Broker * (*_TAO_AttributeDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::AttributeDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_AttributeDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -51056,17 +34351,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::AttributeDef::_duplicate (_tao_elem), - IR::AttributeDef::_tao_any_destructor + IR_AttributeDef::_duplicate (_tao_elem), + IR_AttributeDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::AttributeDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_AttributeDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::AttributeDef::_nil (); + _tao_elem = IR_AttributeDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_AttributeDef, ACE_TRY_ENV)) // not equal { @@ -51083,29 +34378,29 @@ IR::_tc_AttributeDef, 1, _tao_elem, - IR::AttributeDef::_tao_any_destructor + IR_AttributeDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::AttributeDef::_nil (); + _tao_elem = IR_AttributeDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::AttributeDef::_nil (); + _tao_elem = IR_AttributeDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::AttributeDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_AttributeDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -51116,7 +34411,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::AttributeDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_AttributeDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -51126,16 +34421,16 @@ stream.begin (), 1, _tao_elem, - IR::AttributeDescription::_tao_any_destructor + IR_AttributeDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::AttributeDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_AttributeDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::AttributeDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_AttributeDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::AttributeDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_AttributeDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -51149,15 +34444,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::AttributeDescription*, + const IR_AttributeDescription*, _tao_any.value () ); return 1; } else { - IR::AttributeDescription *tmp; - ACE_NEW_RETURN (tmp, IR::AttributeDescription, 0); + IR_AttributeDescription *tmp; + ACE_NEW_RETURN (tmp, IR_AttributeDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -51168,7 +34463,7 @@ IR::_tc_AttributeDescription, 1, ACE_static_cast (void *, tmp), - IR::AttributeDescription::_tao_any_destructor + IR_AttributeDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -51186,7 +34481,7 @@ return 0; } -void operator<<= (CORBA::Any &_tao_any, IR::OperationMode _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_OperationMode _tao_elem) { TAO_OutputCDR stream; stream << _tao_elem; @@ -51197,7 +34492,7 @@ ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::OperationMode &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_OperationMode &_tao_elem) { ACE_TRY_NEW_ENV { @@ -51224,7 +34519,7 @@ return 0; } -void operator<<= (CORBA::Any &_tao_any, IR::ParameterMode _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ParameterMode _tao_elem) { TAO_OutputCDR stream; stream << _tao_elem; @@ -51235,7 +34530,7 @@ ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ParameterMode &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ParameterMode &_tao_elem) { ACE_TRY_NEW_ENV { @@ -51262,7 +34557,7 @@ return 0; } -void operator<<= (CORBA::Any &_tao_any, const IR::ParameterDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_ParameterDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -51273,7 +34568,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::ParameterDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ParameterDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -51283,16 +34578,16 @@ stream.begin (), 1, _tao_elem, - IR::ParameterDescription::_tao_any_destructor + IR_ParameterDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ParameterDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ParameterDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::ParameterDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_ParameterDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ParameterDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ParameterDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -51306,15 +34601,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ParameterDescription*, + const IR_ParameterDescription*, _tao_any.value () ); return 1; } else { - IR::ParameterDescription *tmp; - ACE_NEW_RETURN (tmp, IR::ParameterDescription, 0); + IR_ParameterDescription *tmp; + ACE_NEW_RETURN (tmp, IR_ParameterDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -51325,7 +34620,7 @@ IR::_tc_ParameterDescription, 1, ACE_static_cast (void *, tmp), - IR::ParameterDescription::_tao_any_destructor + IR_ParameterDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -51345,7 +34640,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ParDescriptionSeq &_tao_elem + const IR_ParDescriptionSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -51359,7 +34654,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ParDescriptionSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ParDescriptionSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -51369,19 +34664,19 @@ stream.begin (), 1, _tao_elem, - IR::ParDescriptionSeq::_tao_any_destructor + IR_ParDescriptionSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ParDescriptionSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ParDescriptionSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ParDescriptionSeq*&, + const IR_ParDescriptionSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ParDescriptionSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ParDescriptionSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -51395,15 +34690,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ParDescriptionSeq*, + const IR_ParDescriptionSeq*, _tao_any.value () ); return 1; } else { - IR::ParDescriptionSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ParDescriptionSeq, 0); + IR_ParDescriptionSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ParDescriptionSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -51414,7 +34709,7 @@ IR::_tc_ParDescriptionSeq, 1, ACE_static_cast (void *, tmp), - IR::ParDescriptionSeq::_tao_any_destructor + IR_ParDescriptionSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -51434,7 +34729,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ContextIdSeq &_tao_elem + const IR_ContextIdSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -51448,7 +34743,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ContextIdSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ContextIdSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -51458,19 +34753,19 @@ stream.begin (), 1, _tao_elem, - IR::ContextIdSeq::_tao_any_destructor + IR_ContextIdSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ContextIdSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ContextIdSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ContextIdSeq*&, + const IR_ContextIdSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ContextIdSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ContextIdSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -51484,15 +34779,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ContextIdSeq*, + const IR_ContextIdSeq*, _tao_any.value () ); return 1; } else { - IR::ContextIdSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ContextIdSeq, 0); + IR_ContextIdSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ContextIdSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -51503,7 +34798,7 @@ IR::_tc_ContextIdSeq, 1, ACE_static_cast (void *, tmp), - IR::ContextIdSeq::_tao_any_destructor + IR_ContextIdSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -51521,11 +34816,11 @@ return 0; } -IR::_TAO_OperationDef_Proxy_Broker * (*IR__TAO_OperationDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_OperationDef_Proxy_Broker * (*_TAO_OperationDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::OperationDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_OperationDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -51535,17 +34830,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::OperationDef::_duplicate (_tao_elem), - IR::OperationDef::_tao_any_destructor + IR_OperationDef::_duplicate (_tao_elem), + IR_OperationDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::OperationDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_OperationDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::OperationDef::_nil (); + _tao_elem = IR_OperationDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_OperationDef, ACE_TRY_ENV)) // not equal { @@ -51562,29 +34857,29 @@ IR::_tc_OperationDef, 1, _tao_elem, - IR::OperationDef::_tao_any_destructor + IR_OperationDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::OperationDef::_nil (); + _tao_elem = IR_OperationDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::OperationDef::_nil (); + _tao_elem = IR_OperationDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::OperationDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_OperationDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -51595,7 +34890,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::OperationDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_OperationDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -51605,16 +34900,16 @@ stream.begin (), 1, _tao_elem, - IR::OperationDescription::_tao_any_destructor + IR_OperationDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::OperationDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_OperationDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::OperationDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_OperationDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::OperationDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_OperationDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -51628,15 +34923,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::OperationDescription*, + const IR_OperationDescription*, _tao_any.value () ); return 1; } else { - IR::OperationDescription *tmp; - ACE_NEW_RETURN (tmp, IR::OperationDescription, 0); + IR_OperationDescription *tmp; + ACE_NEW_RETURN (tmp, IR_OperationDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -51647,7 +34942,7 @@ IR::_tc_OperationDescription, 1, ACE_static_cast (void *, tmp), - IR::OperationDescription::_tao_any_destructor + IR_OperationDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -51667,7 +34962,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::RepositoryIdSeq &_tao_elem + const IR_RepositoryIdSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -51681,7 +34976,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::RepositoryIdSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_RepositoryIdSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -51691,19 +34986,19 @@ stream.begin (), 1, _tao_elem, - IR::RepositoryIdSeq::_tao_any_destructor + IR_RepositoryIdSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::RepositoryIdSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_RepositoryIdSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::RepositoryIdSeq*&, + const IR_RepositoryIdSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::RepositoryIdSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_RepositoryIdSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -51717,15 +35012,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::RepositoryIdSeq*, + const IR_RepositoryIdSeq*, _tao_any.value () ); return 1; } else { - IR::RepositoryIdSeq *tmp; - ACE_NEW_RETURN (tmp, IR::RepositoryIdSeq, 0); + IR_RepositoryIdSeq *tmp; + ACE_NEW_RETURN (tmp, IR_RepositoryIdSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -51736,7 +35031,7 @@ IR::_tc_RepositoryIdSeq, 1, ACE_static_cast (void *, tmp), - IR::RepositoryIdSeq::_tao_any_destructor + IR_RepositoryIdSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -51756,7 +35051,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::OpDescriptionSeq &_tao_elem + const IR_OpDescriptionSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -51770,7 +35065,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::OpDescriptionSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_OpDescriptionSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -51780,19 +35075,19 @@ stream.begin (), 1, _tao_elem, - IR::OpDescriptionSeq::_tao_any_destructor + IR_OpDescriptionSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::OpDescriptionSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_OpDescriptionSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::OpDescriptionSeq*&, + const IR_OpDescriptionSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::OpDescriptionSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_OpDescriptionSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -51806,15 +35101,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::OpDescriptionSeq*, + const IR_OpDescriptionSeq*, _tao_any.value () ); return 1; } else { - IR::OpDescriptionSeq *tmp; - ACE_NEW_RETURN (tmp, IR::OpDescriptionSeq, 0); + IR_OpDescriptionSeq *tmp; + ACE_NEW_RETURN (tmp, IR_OpDescriptionSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -51825,7 +35120,7 @@ IR::_tc_OpDescriptionSeq, 1, ACE_static_cast (void *, tmp), - IR::OpDescriptionSeq::_tao_any_destructor + IR_OpDescriptionSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -51845,7 +35140,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::AttrDescriptionSeq &_tao_elem + const IR_AttrDescriptionSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -51859,7 +35154,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::AttrDescriptionSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_AttrDescriptionSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -51869,19 +35164,19 @@ stream.begin (), 1, _tao_elem, - IR::AttrDescriptionSeq::_tao_any_destructor + IR_AttrDescriptionSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::AttrDescriptionSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_AttrDescriptionSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::AttrDescriptionSeq*&, + const IR_AttrDescriptionSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::AttrDescriptionSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_AttrDescriptionSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -51895,15 +35190,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::AttrDescriptionSeq*, + const IR_AttrDescriptionSeq*, _tao_any.value () ); return 1; } else { - IR::AttrDescriptionSeq *tmp; - ACE_NEW_RETURN (tmp, IR::AttrDescriptionSeq, 0); + IR_AttrDescriptionSeq *tmp; + ACE_NEW_RETURN (tmp, IR_AttrDescriptionSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -51914,7 +35209,7 @@ IR::_tc_AttrDescriptionSeq, 1, ACE_static_cast (void *, tmp), - IR::AttrDescriptionSeq::_tao_any_destructor + IR_AttrDescriptionSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -51932,11 +35227,11 @@ return 0; } -IR::_TAO_InterfaceDef_Proxy_Broker * (*IR__TAO_InterfaceDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_InterfaceDef_Proxy_Broker * (*_TAO_InterfaceDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::InterfaceDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_InterfaceDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -51946,17 +35241,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::InterfaceDef::_duplicate (_tao_elem), - IR::InterfaceDef::_tao_any_destructor + IR_InterfaceDef::_duplicate (_tao_elem), + IR_InterfaceDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::InterfaceDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_InterfaceDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::InterfaceDef::_nil (); + _tao_elem = IR_InterfaceDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_InterfaceDef, ACE_TRY_ENV)) // not equal { @@ -51973,29 +35268,29 @@ IR::_tc_InterfaceDef, 1, _tao_elem, - IR::InterfaceDef::_tao_any_destructor + IR_InterfaceDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::InterfaceDef::_nil (); + _tao_elem = IR_InterfaceDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::InterfaceDef::_nil (); + _tao_elem = IR_InterfaceDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::InterfaceDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_InterfaceDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -52006,7 +35301,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::InterfaceDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_InterfaceDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -52016,16 +35311,16 @@ stream.begin (), 1, _tao_elem, - IR::InterfaceDescription::_tao_any_destructor + IR_InterfaceDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::InterfaceDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_InterfaceDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::InterfaceDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_InterfaceDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::InterfaceDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_InterfaceDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -52039,15 +35334,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::InterfaceDescription*, + const IR_InterfaceDescription*, _tao_any.value () ); return 1; } else { - IR::InterfaceDescription *tmp; - ACE_NEW_RETURN (tmp, IR::InterfaceDescription, 0); + IR_InterfaceDescription *tmp; + ACE_NEW_RETURN (tmp, IR_InterfaceDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -52058,7 +35353,7 @@ IR::_tc_InterfaceDescription, 1, ACE_static_cast (void *, tmp), - IR::InterfaceDescription::_tao_any_destructor + IR_InterfaceDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -52076,7 +35371,7 @@ return 0; } -void operator<<= (CORBA::Any &_tao_any, const IR::ValueMember &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_ValueMember &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -52087,7 +35382,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::ValueMember *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ValueMember *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -52097,16 +35392,16 @@ stream.begin (), 1, _tao_elem, - IR::ValueMember::_tao_any_destructor + IR_ValueMember::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ValueMember *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ValueMember *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::ValueMember*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_ValueMember*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ValueMember *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ValueMember *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -52120,15 +35415,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ValueMember*, + const IR_ValueMember*, _tao_any.value () ); return 1; } else { - IR::ValueMember *tmp; - ACE_NEW_RETURN (tmp, IR::ValueMember, 0); + IR_ValueMember *tmp; + ACE_NEW_RETURN (tmp, IR_ValueMember, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -52139,7 +35434,7 @@ IR::_tc_ValueMember, 1, ACE_static_cast (void *, tmp), - IR::ValueMember::_tao_any_destructor + IR_ValueMember::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -52159,7 +35454,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ValueMemberSeq &_tao_elem + const IR_ValueMemberSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -52173,7 +35468,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ValueMemberSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ValueMemberSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -52183,19 +35478,19 @@ stream.begin (), 1, _tao_elem, - IR::ValueMemberSeq::_tao_any_destructor + IR_ValueMemberSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ValueMemberSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ValueMemberSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ValueMemberSeq*&, + const IR_ValueMemberSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ValueMemberSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ValueMemberSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -52209,15 +35504,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ValueMemberSeq*, + const IR_ValueMemberSeq*, _tao_any.value () ); return 1; } else { - IR::ValueMemberSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ValueMemberSeq, 0); + IR_ValueMemberSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ValueMemberSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -52228,7 +35523,7 @@ IR::_tc_ValueMemberSeq, 1, ACE_static_cast (void *, tmp), - IR::ValueMemberSeq::_tao_any_destructor + IR_ValueMemberSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -52246,11 +35541,11 @@ return 0; } -IR::_TAO_ValueMemberDef_Proxy_Broker * (*IR__TAO_ValueMemberDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_ValueMemberDef_Proxy_Broker * (*_TAO_ValueMemberDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ValueMemberDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ValueMemberDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -52260,17 +35555,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ValueMemberDef::_duplicate (_tao_elem), - IR::ValueMemberDef::_tao_any_destructor + IR_ValueMemberDef::_duplicate (_tao_elem), + IR_ValueMemberDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ValueMemberDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ValueMemberDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ValueMemberDef::_nil (); + _tao_elem = IR_ValueMemberDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ValueMemberDef, ACE_TRY_ENV)) // not equal { @@ -52287,33 +35582,33 @@ IR::_tc_ValueMemberDef, 1, _tao_elem, - IR::ValueMemberDef::_tao_any_destructor + IR_ValueMemberDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ValueMemberDef::_nil (); + _tao_elem = IR_ValueMemberDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ValueMemberDef::_nil (); + _tao_elem = IR_ValueMemberDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_ValueDef_Proxy_Broker * (*IR__TAO_ValueDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_ValueDef_Proxy_Broker * (*_TAO_ValueDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ValueDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ValueDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -52323,17 +35618,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ValueDef::_duplicate (_tao_elem), - IR::ValueDef::_tao_any_destructor + IR_ValueDef::_duplicate (_tao_elem), + IR_ValueDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ValueDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ValueDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ValueDef::_nil (); + _tao_elem = IR_ValueDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ValueDef, ACE_TRY_ENV)) // not equal { @@ -52350,29 +35645,29 @@ IR::_tc_ValueDef, 1, _tao_elem, - IR::ValueDef::_tao_any_destructor + IR_ValueDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ValueDef::_nil (); + _tao_elem = IR_ValueDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ValueDef::_nil (); + _tao_elem = IR_ValueDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::ValueDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_ValueDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -52383,7 +35678,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::ValueDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ValueDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -52393,16 +35688,16 @@ stream.begin (), 1, _tao_elem, - IR::ValueDescription::_tao_any_destructor + IR_ValueDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ValueDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ValueDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::ValueDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_ValueDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ValueDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ValueDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -52416,15 +35711,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ValueDescription*, + const IR_ValueDescription*, _tao_any.value () ); return 1; } else { - IR::ValueDescription *tmp; - ACE_NEW_RETURN (tmp, IR::ValueDescription, 0); + IR_ValueDescription *tmp; + ACE_NEW_RETURN (tmp, IR_ValueDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -52435,7 +35730,7 @@ IR::_tc_ValueDescription, 1, ACE_static_cast (void *, tmp), - IR::ValueDescription::_tao_any_destructor + IR_ValueDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -52453,11 +35748,11 @@ return 0; } -IR::_TAO_ValueBoxDef_Proxy_Broker * (*IR__TAO_ValueBoxDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_ValueBoxDef_Proxy_Broker * (*_TAO_ValueBoxDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ValueBoxDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ValueBoxDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -52467,17 +35762,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ValueBoxDef::_duplicate (_tao_elem), - IR::ValueBoxDef::_tao_any_destructor + IR_ValueBoxDef::_duplicate (_tao_elem), + IR_ValueBoxDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ValueBoxDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ValueBoxDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ValueBoxDef::_nil (); + _tao_elem = IR_ValueBoxDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ValueBoxDef, ACE_TRY_ENV)) // not equal { @@ -52494,33 +35789,33 @@ IR::_tc_ValueBoxDef, 1, _tao_elem, - IR::ValueBoxDef::_tao_any_destructor + IR_ValueBoxDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ValueBoxDef::_nil (); + _tao_elem = IR_ValueBoxDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ValueBoxDef::_nil (); + _tao_elem = IR_ValueBoxDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_ProvidesDef_Proxy_Broker * (*IR__TAO_ProvidesDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_ProvidesDef_Proxy_Broker * (*_TAO_ProvidesDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ProvidesDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ProvidesDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -52530,17 +35825,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ProvidesDef::_duplicate (_tao_elem), - IR::ProvidesDef::_tao_any_destructor + IR_ProvidesDef::_duplicate (_tao_elem), + IR_ProvidesDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ProvidesDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ProvidesDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ProvidesDef::_nil (); + _tao_elem = IR_ProvidesDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ProvidesDef, ACE_TRY_ENV)) // not equal { @@ -52557,29 +35852,29 @@ IR::_tc_ProvidesDef, 1, _tao_elem, - IR::ProvidesDef::_tao_any_destructor + IR_ProvidesDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ProvidesDef::_nil (); + _tao_elem = IR_ProvidesDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ProvidesDef::_nil (); + _tao_elem = IR_ProvidesDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::ProvidesDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_ProvidesDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -52590,7 +35885,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::ProvidesDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ProvidesDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -52600,16 +35895,16 @@ stream.begin (), 1, _tao_elem, - IR::ProvidesDescription::_tao_any_destructor + IR_ProvidesDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ProvidesDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ProvidesDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::ProvidesDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_ProvidesDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ProvidesDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ProvidesDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -52623,15 +35918,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ProvidesDescription*, + const IR_ProvidesDescription*, _tao_any.value () ); return 1; } else { - IR::ProvidesDescription *tmp; - ACE_NEW_RETURN (tmp, IR::ProvidesDescription, 0); + IR_ProvidesDescription *tmp; + ACE_NEW_RETURN (tmp, IR_ProvidesDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -52642,7 +35937,7 @@ IR::_tc_ProvidesDescription, 1, ACE_static_cast (void *, tmp), - IR::ProvidesDescription::_tao_any_destructor + IR_ProvidesDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -52660,11 +35955,11 @@ return 0; } -IR::_TAO_UsesDef_Proxy_Broker * (*IR__TAO_UsesDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_UsesDef_Proxy_Broker * (*_TAO_UsesDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::UsesDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_UsesDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -52674,17 +35969,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::UsesDef::_duplicate (_tao_elem), - IR::UsesDef::_tao_any_destructor + IR_UsesDef::_duplicate (_tao_elem), + IR_UsesDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::UsesDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_UsesDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::UsesDef::_nil (); + _tao_elem = IR_UsesDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_UsesDef, ACE_TRY_ENV)) // not equal { @@ -52701,29 +35996,29 @@ IR::_tc_UsesDef, 1, _tao_elem, - IR::UsesDef::_tao_any_destructor + IR_UsesDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::UsesDef::_nil (); + _tao_elem = IR_UsesDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::UsesDef::_nil (); + _tao_elem = IR_UsesDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::UsesDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_UsesDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -52734,7 +36029,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::UsesDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_UsesDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -52744,16 +36039,16 @@ stream.begin (), 1, _tao_elem, - IR::UsesDescription::_tao_any_destructor + IR_UsesDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::UsesDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_UsesDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::UsesDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_UsesDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::UsesDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_UsesDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -52767,15 +36062,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::UsesDescription*, + const IR_UsesDescription*, _tao_any.value () ); return 1; } else { - IR::UsesDescription *tmp; - ACE_NEW_RETURN (tmp, IR::UsesDescription, 0); + IR_UsesDescription *tmp; + ACE_NEW_RETURN (tmp, IR_UsesDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -52786,7 +36081,7 @@ IR::_tc_UsesDescription, 1, ACE_static_cast (void *, tmp), - IR::UsesDescription::_tao_any_destructor + IR_UsesDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -52806,7 +36101,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::ProvidesDescSeq &_tao_elem + const IR_ProvidesDescSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -52820,7 +36115,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::ProvidesDescSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ProvidesDescSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -52830,19 +36125,19 @@ stream.begin (), 1, _tao_elem, - IR::ProvidesDescSeq::_tao_any_destructor + IR_ProvidesDescSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ProvidesDescSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ProvidesDescSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::ProvidesDescSeq*&, + const IR_ProvidesDescSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ProvidesDescSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ProvidesDescSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -52856,15 +36151,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ProvidesDescSeq*, + const IR_ProvidesDescSeq*, _tao_any.value () ); return 1; } else { - IR::ProvidesDescSeq *tmp; - ACE_NEW_RETURN (tmp, IR::ProvidesDescSeq, 0); + IR_ProvidesDescSeq *tmp; + ACE_NEW_RETURN (tmp, IR_ProvidesDescSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -52875,7 +36170,7 @@ IR::_tc_ProvidesDescSeq, 1, ACE_static_cast (void *, tmp), - IR::ProvidesDescSeq::_tao_any_destructor + IR_ProvidesDescSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -52895,7 +36190,7 @@ void operator<<= ( CORBA::Any &_tao_any, - const IR::UsesDescSeq &_tao_elem + const IR_UsesDescSeq &_tao_elem ) // copying { TAO_OutputCDR stream; @@ -52909,7 +36204,7 @@ } } -void operator<<= (CORBA::Any &_tao_any, IR::UsesDescSeq *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_UsesDescSeq *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -52919,19 +36214,19 @@ stream.begin (), 1, _tao_elem, - IR::UsesDescSeq::_tao_any_destructor + IR_UsesDescSeq::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::UsesDescSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_UsesDescSeq *&_tao_elem) { return _tao_any >>= ACE_const_cast( - const IR::UsesDescSeq*&, + const IR_UsesDescSeq*&, _tao_elem ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::UsesDescSeq *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_UsesDescSeq *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -52945,15 +36240,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::UsesDescSeq*, + const IR_UsesDescSeq*, _tao_any.value () ); return 1; } else { - IR::UsesDescSeq *tmp; - ACE_NEW_RETURN (tmp, IR::UsesDescSeq, 0); + IR_UsesDescSeq *tmp; + ACE_NEW_RETURN (tmp, IR_UsesDescSeq, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -52964,7 +36259,7 @@ IR::_tc_UsesDescSeq, 1, ACE_static_cast (void *, tmp), - IR::UsesDescSeq::_tao_any_destructor + IR_UsesDescSeq::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -52982,11 +36277,11 @@ return 0; } -IR::_TAO_EventDef_Proxy_Broker * (*IR__TAO_EventDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_EventDef_Proxy_Broker * (*_TAO_EventDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::EventDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_EventDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -52996,17 +36291,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::EventDef::_duplicate (_tao_elem), - IR::EventDef::_tao_any_destructor + IR_EventDef::_duplicate (_tao_elem), + IR_EventDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::EventDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_EventDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::EventDef::_nil (); + _tao_elem = IR_EventDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_EventDef, ACE_TRY_ENV)) // not equal { @@ -53023,29 +36318,29 @@ IR::_tc_EventDef, 1, _tao_elem, - IR::EventDef::_tao_any_destructor + IR_EventDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::EventDef::_nil (); + _tao_elem = IR_EventDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::EventDef::_nil (); + _tao_elem = IR_EventDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::EventDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_EventDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -53056,7 +36351,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::EventDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_EventDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -53066,16 +36361,16 @@ stream.begin (), 1, _tao_elem, - IR::EventDescription::_tao_any_destructor + IR_EventDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::EventDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_EventDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::EventDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_EventDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::EventDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_EventDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -53089,15 +36384,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::EventDescription*, + const IR_EventDescription*, _tao_any.value () ); return 1; } else { - IR::EventDescription *tmp; - ACE_NEW_RETURN (tmp, IR::EventDescription, 0); + IR_EventDescription *tmp; + ACE_NEW_RETURN (tmp, IR_EventDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -53108,7 +36403,7 @@ IR::_tc_EventDescription, 1, ACE_static_cast (void *, tmp), - IR::EventDescription::_tao_any_destructor + IR_EventDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -53126,11 +36421,11 @@ return 0; } -IR::_TAO_EmitsDef_Proxy_Broker * (*IR__TAO_EmitsDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_EmitsDef_Proxy_Broker * (*_TAO_EmitsDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::EmitsDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_EmitsDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -53140,17 +36435,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::EmitsDef::_duplicate (_tao_elem), - IR::EmitsDef::_tao_any_destructor + IR_EmitsDef::_duplicate (_tao_elem), + IR_EmitsDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::EmitsDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_EmitsDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::EmitsDef::_nil (); + _tao_elem = IR_EmitsDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_EmitsDef, ACE_TRY_ENV)) // not equal { @@ -53167,33 +36462,33 @@ IR::_tc_EmitsDef, 1, _tao_elem, - IR::EmitsDef::_tao_any_destructor + IR_EmitsDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::EmitsDef::_nil (); + _tao_elem = IR_EmitsDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::EmitsDef::_nil (); + _tao_elem = IR_EmitsDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_PublishesDef_Proxy_Broker * (*IR__TAO_PublishesDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_PublishesDef_Proxy_Broker * (*_TAO_PublishesDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::PublishesDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_PublishesDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -53203,17 +36498,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::PublishesDef::_duplicate (_tao_elem), - IR::PublishesDef::_tao_any_destructor + IR_PublishesDef::_duplicate (_tao_elem), + IR_PublishesDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::PublishesDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_PublishesDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::PublishesDef::_nil (); + _tao_elem = IR_PublishesDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_PublishesDef, ACE_TRY_ENV)) // not equal { @@ -53230,33 +36525,33 @@ IR::_tc_PublishesDef, 1, _tao_elem, - IR::PublishesDef::_tao_any_destructor + IR_PublishesDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::PublishesDef::_nil (); + _tao_elem = IR_PublishesDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::PublishesDef::_nil (); + _tao_elem = IR_PublishesDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_ConsumesDef_Proxy_Broker * (*IR__TAO_ConsumesDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_ConsumesDef_Proxy_Broker * (*_TAO_ConsumesDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ConsumesDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ConsumesDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -53266,17 +36561,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ConsumesDef::_duplicate (_tao_elem), - IR::ConsumesDef::_tao_any_destructor + IR_ConsumesDef::_duplicate (_tao_elem), + IR_ConsumesDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ConsumesDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ConsumesDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ConsumesDef::_nil (); + _tao_elem = IR_ConsumesDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ConsumesDef, ACE_TRY_ENV)) // not equal { @@ -53293,33 +36588,33 @@ IR::_tc_ConsumesDef, 1, _tao_elem, - IR::ConsumesDef::_tao_any_destructor + IR_ConsumesDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ConsumesDef::_nil (); + _tao_elem = IR_ConsumesDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ConsumesDef::_nil (); + _tao_elem = IR_ConsumesDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_ComponentDef_Proxy_Broker * (*IR__TAO_ComponentDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_ComponentDef_Proxy_Broker * (*_TAO_ComponentDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::ComponentDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_ComponentDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -53329,17 +36624,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::ComponentDef::_duplicate (_tao_elem), - IR::ComponentDef::_tao_any_destructor + IR_ComponentDef::_duplicate (_tao_elem), + IR_ComponentDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ComponentDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ComponentDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::ComponentDef::_nil (); + _tao_elem = IR_ComponentDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_ComponentDef, ACE_TRY_ENV)) // not equal { @@ -53356,29 +36651,29 @@ IR::_tc_ComponentDef, 1, _tao_elem, - IR::ComponentDef::_tao_any_destructor + IR_ComponentDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::ComponentDef::_nil (); + _tao_elem = IR_ComponentDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::ComponentDef::_nil (); + _tao_elem = IR_ComponentDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::ComponentDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_ComponentDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -53389,7 +36684,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::ComponentDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_ComponentDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -53399,16 +36694,16 @@ stream.begin (), 1, _tao_elem, - IR::ComponentDescription::_tao_any_destructor + IR_ComponentDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::ComponentDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_ComponentDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::ComponentDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_ComponentDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::ComponentDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_ComponentDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -53422,15 +36717,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::ComponentDescription*, + const IR_ComponentDescription*, _tao_any.value () ); return 1; } else { - IR::ComponentDescription *tmp; - ACE_NEW_RETURN (tmp, IR::ComponentDescription, 0); + IR_ComponentDescription *tmp; + ACE_NEW_RETURN (tmp, IR_ComponentDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -53441,7 +36736,7 @@ IR::_tc_ComponentDescription, 1, ACE_static_cast (void *, tmp), - IR::ComponentDescription::_tao_any_destructor + IR_ComponentDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -53459,11 +36754,11 @@ return 0; } -IR::_TAO_PrimaryKeyDef_Proxy_Broker * (*IR__TAO_PrimaryKeyDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_PrimaryKeyDef_Proxy_Broker * (*_TAO_PrimaryKeyDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::PrimaryKeyDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_PrimaryKeyDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -53473,17 +36768,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::PrimaryKeyDef::_duplicate (_tao_elem), - IR::PrimaryKeyDef::_tao_any_destructor + IR_PrimaryKeyDef::_duplicate (_tao_elem), + IR_PrimaryKeyDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::PrimaryKeyDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_PrimaryKeyDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::PrimaryKeyDef::_nil (); + _tao_elem = IR_PrimaryKeyDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_PrimaryKeyDef, ACE_TRY_ENV)) // not equal { @@ -53500,29 +36795,29 @@ IR::_tc_PrimaryKeyDef, 1, _tao_elem, - IR::PrimaryKeyDef::_tao_any_destructor + IR_PrimaryKeyDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::PrimaryKeyDef::_nil (); + _tao_elem = IR_PrimaryKeyDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::PrimaryKeyDef::_nil (); + _tao_elem = IR_PrimaryKeyDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::PrimaryKeyDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_PrimaryKeyDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -53533,7 +36828,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::PrimaryKeyDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_PrimaryKeyDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -53543,16 +36838,16 @@ stream.begin (), 1, _tao_elem, - IR::PrimaryKeyDescription::_tao_any_destructor + IR_PrimaryKeyDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::PrimaryKeyDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_PrimaryKeyDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::PrimaryKeyDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_PrimaryKeyDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::PrimaryKeyDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_PrimaryKeyDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -53566,15 +36861,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::PrimaryKeyDescription*, + const IR_PrimaryKeyDescription*, _tao_any.value () ); return 1; } else { - IR::PrimaryKeyDescription *tmp; - ACE_NEW_RETURN (tmp, IR::PrimaryKeyDescription, 0); + IR_PrimaryKeyDescription *tmp; + ACE_NEW_RETURN (tmp, IR_PrimaryKeyDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -53585,7 +36880,7 @@ IR::_tc_PrimaryKeyDescription, 1, ACE_static_cast (void *, tmp), - IR::PrimaryKeyDescription::_tao_any_destructor + IR_PrimaryKeyDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -53603,11 +36898,11 @@ return 0; } -IR::_TAO_FactoryDef_Proxy_Broker * (*IR__TAO_FactoryDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_FactoryDef_Proxy_Broker * (*_TAO_FactoryDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::FactoryDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_FactoryDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -53617,17 +36912,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::FactoryDef::_duplicate (_tao_elem), - IR::FactoryDef::_tao_any_destructor + IR_FactoryDef::_duplicate (_tao_elem), + IR_FactoryDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::FactoryDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_FactoryDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::FactoryDef::_nil (); + _tao_elem = IR_FactoryDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_FactoryDef, ACE_TRY_ENV)) // not equal { @@ -53644,33 +36939,33 @@ IR::_tc_FactoryDef, 1, _tao_elem, - IR::FactoryDef::_tao_any_destructor + IR_FactoryDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::FactoryDef::_nil (); + _tao_elem = IR_FactoryDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::FactoryDef::_nil (); + _tao_elem = IR_FactoryDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_FinderDef_Proxy_Broker * (*IR__TAO_FinderDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_FinderDef_Proxy_Broker * (*_TAO_FinderDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::FinderDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_FinderDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -53680,17 +36975,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::FinderDef::_duplicate (_tao_elem), - IR::FinderDef::_tao_any_destructor + IR_FinderDef::_duplicate (_tao_elem), + IR_FinderDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::FinderDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_FinderDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::FinderDef::_nil (); + _tao_elem = IR_FinderDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_FinderDef, ACE_TRY_ENV)) // not equal { @@ -53707,33 +37002,33 @@ IR::_tc_FinderDef, 1, _tao_elem, - IR::FinderDef::_tao_any_destructor + IR_FinderDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::FinderDef::_nil (); + _tao_elem = IR_FinderDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::FinderDef::_nil (); + _tao_elem = IR_FinderDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -IR::_TAO_HomeDef_Proxy_Broker * (*IR__TAO_HomeDef_Proxy_Broker_Factory_function_pointer) ( +_TAO_HomeDef_Proxy_Broker * (*_TAO_HomeDef_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -void operator<<= (CORBA::Any &_tao_any, IR::HomeDef_ptr _tao_elem) +void operator<<= (CORBA::Any &_tao_any, IR_HomeDef_ptr _tao_elem) { TAO_OutputCDR stream; if (stream << _tao_elem) @@ -53743,17 +37038,17 @@ TAO_ENCAP_BYTE_ORDER, stream.begin (), 1, - IR::HomeDef::_duplicate (_tao_elem), - IR::HomeDef::_tao_any_destructor + IR_HomeDef::_duplicate (_tao_elem), + IR_HomeDef::_tao_any_destructor ); } } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::HomeDef_ptr &_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_HomeDef_ptr &_tao_elem) { ACE_TRY_NEW_ENV { - _tao_elem = IR::HomeDef::_nil (); + _tao_elem = IR_HomeDef::_nil (); CORBA::TypeCode_var type = _tao_any.type (); if (!type->equivalent (IR::_tc_HomeDef, ACE_TRY_ENV)) // not equal { @@ -53770,29 +37065,29 @@ IR::_tc_HomeDef, 1, _tao_elem, - IR::HomeDef::_tao_any_destructor + IR_HomeDef::_tao_any_destructor ); return 1; } } ACE_CATCHANY { - _tao_elem = IR::HomeDef::_nil (); + _tao_elem = IR_HomeDef::_nil (); return 0; } ACE_ENDTRY; - _tao_elem = IR::HomeDef::_nil (); + _tao_elem = IR_HomeDef::_nil (); return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) - template class TAO_Object_Manager; + template class TAO_Object_Manager; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - # pragma instantiate TAO_Object_Manager + # pragma instantiate TAO_Object_Manager #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -void operator<<= (CORBA::Any &_tao_any, const IR::HomeDescription &_tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, const IR_HomeDescription &_tao_elem) // copying { TAO_OutputCDR stream; stream << _tao_elem; @@ -53803,7 +37098,7 @@ ); } -void operator<<= (CORBA::Any &_tao_any, IR::HomeDescription *_tao_elem) // non copying +void operator<<= (CORBA::Any &_tao_any, IR_HomeDescription *_tao_elem) // non copying { TAO_OutputCDR stream; stream << *_tao_elem; @@ -53813,16 +37108,16 @@ stream.begin (), 1, _tao_elem, - IR::HomeDescription::_tao_any_destructor + IR_HomeDescription::_tao_any_destructor ); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR::HomeDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, IR_HomeDescription *&_tao_elem) { - return _tao_any >>= ACE_const_cast(const IR::HomeDescription*&,_tao_elem); + return _tao_any >>= ACE_const_cast(const IR_HomeDescription*&,_tao_elem); } -CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR::HomeDescription *&_tao_elem) +CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IR_HomeDescription *&_tao_elem) { _tao_elem = 0; ACE_TRY_NEW_ENV @@ -53836,15 +37131,15 @@ if (_tao_any.any_owns_data ()) { _tao_elem = ACE_static_cast( - const IR::HomeDescription*, + const IR_HomeDescription*, _tao_any.value () ); return 1; } else { - IR::HomeDescription *tmp; - ACE_NEW_RETURN (tmp, IR::HomeDescription, 0); + IR_HomeDescription *tmp; + ACE_NEW_RETURN (tmp, IR_HomeDescription, 0); TAO_InputCDR stream ( _tao_any._tao_get_cdr (), _tao_any._tao_byte_order () @@ -53855,7 +37150,7 @@ IR::_tc_HomeDescription, 1, ACE_static_cast (void *, tmp), - IR::HomeDescription::_tao_any_destructor + IR_HomeDescription::_tao_any_destructor ); _tao_elem = tmp; return 1; @@ -53875,7 +37170,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::InterfaceDefSeq &_tao_sequence + const IR_InterfaceDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -53893,7 +37188,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::InterfaceDefSeq &_tao_sequence + IR_InterfaceDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -53917,7 +37212,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ValueDefSeq &_tao_sequence + const IR_ValueDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -53935,7 +37230,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ValueDefSeq &_tao_sequence + IR_ValueDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -53959,7 +37254,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ComponentDefSeq &_tao_sequence + const IR_ComponentDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -53977,7 +37272,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ComponentDefSeq &_tao_sequence + IR_ComponentDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54001,7 +37296,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ProvidesDefSeq &_tao_sequence + const IR_ProvidesDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54019,7 +37314,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ProvidesDefSeq &_tao_sequence + IR_ProvidesDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54043,7 +37338,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::UsesDefSeq &_tao_sequence + const IR_UsesDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54061,7 +37356,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::UsesDefSeq &_tao_sequence + IR_UsesDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54085,7 +37380,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::HomeDefSeq &_tao_sequence + const IR_HomeDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54103,7 +37398,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::HomeDefSeq &_tao_sequence + IR_HomeDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54127,7 +37422,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::EmitsDefSeq &_tao_sequence + const IR_EmitsDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54145,7 +37440,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::EmitsDefSeq &_tao_sequence + IR_EmitsDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54169,7 +37464,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::PublishesDefSeq &_tao_sequence + const IR_PublishesDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54187,7 +37482,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::PublishesDefSeq &_tao_sequence + IR_PublishesDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54211,7 +37506,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ConsumesDefSeq &_tao_sequence + const IR_ConsumesDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54229,7 +37524,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ConsumesDefSeq &_tao_sequence + IR_ConsumesDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54253,7 +37548,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::FactoryDefSeq &_tao_sequence + const IR_FactoryDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54271,7 +37566,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::FactoryDefSeq &_tao_sequence + IR_FactoryDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54295,7 +37590,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::FinderDefSeq &_tao_sequence + const IR_FinderDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54313,7 +37608,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::FinderDefSeq &_tao_sequence + IR_FinderDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54337,7 +37632,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ContainedSeq &_tao_sequence + const IR_ContainedSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54355,7 +37650,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ContainedSeq &_tao_sequence + IR_ContainedSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54379,7 +37674,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::StructMemberSeq &_tao_sequence + const IR_StructMemberSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54397,7 +37692,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::StructMemberSeq &_tao_sequence + IR_StructMemberSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54421,7 +37716,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::InitializerSeq &_tao_sequence + const IR_InitializerSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54439,7 +37734,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::InitializerSeq &_tao_sequence + IR_InitializerSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54463,7 +37758,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::UnionMemberSeq &_tao_sequence + const IR_UnionMemberSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54481,7 +37776,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::UnionMemberSeq &_tao_sequence + IR_UnionMemberSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54505,7 +37800,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::EnumMemberSeq &_tao_sequence + const IR_EnumMemberSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54523,7 +37818,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::EnumMemberSeq &_tao_sequence + IR_EnumMemberSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54547,7 +37842,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::Container::DescriptionSeq &_tao_sequence + const IR_Container::DescriptionSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54565,7 +37860,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::Container::DescriptionSeq &_tao_sequence + IR_Container::DescriptionSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54589,7 +37884,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ExceptionDefSeq &_tao_sequence + const IR_ExceptionDefSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54607,7 +37902,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ExceptionDefSeq &_tao_sequence + IR_ExceptionDefSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54631,7 +37926,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ExcDescriptionSeq &_tao_sequence + const IR_ExcDescriptionSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54649,7 +37944,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ExcDescriptionSeq &_tao_sequence + IR_ExcDescriptionSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54673,7 +37968,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ParDescriptionSeq &_tao_sequence + const IR_ParDescriptionSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54691,7 +37986,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ParDescriptionSeq &_tao_sequence + IR_ParDescriptionSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54715,7 +38010,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ContextIdSeq &_tao_sequence + const IR_ContextIdSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54733,7 +38028,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ContextIdSeq &_tao_sequence + IR_ContextIdSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54757,7 +38052,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::RepositoryIdSeq &_tao_sequence + const IR_RepositoryIdSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54775,7 +38070,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::RepositoryIdSeq &_tao_sequence + IR_RepositoryIdSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54799,7 +38094,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::OpDescriptionSeq &_tao_sequence + const IR_OpDescriptionSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54817,7 +38112,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::OpDescriptionSeq &_tao_sequence + IR_OpDescriptionSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54841,7 +38136,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::AttrDescriptionSeq &_tao_sequence + const IR_AttrDescriptionSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54859,7 +38154,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::AttrDescriptionSeq &_tao_sequence + IR_AttrDescriptionSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54883,7 +38178,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ValueMemberSeq &_tao_sequence + const IR_ValueMemberSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54901,7 +38196,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ValueMemberSeq &_tao_sequence + IR_ValueMemberSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54925,7 +38220,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::ProvidesDescSeq &_tao_sequence + const IR_ProvidesDescSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54943,7 +38238,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::ProvidesDescSeq &_tao_sequence + IR_ProvidesDescSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -54967,7 +38262,7 @@ CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const IR::UsesDescSeq &_tao_sequence + const IR_UsesDescSeq &_tao_sequence ) { if (strm << _tao_sequence.length ()) @@ -54985,7 +38280,7 @@ CORBA::Boolean operator>> ( TAO_InputCDR &strm, - IR::UsesDescSeq &_tao_sequence + IR_UsesDescSeq &_tao_sequence ) { CORBA::ULong _tao_seq_len; @@ -55007,3 +38302,4 @@ return 0; // error } +#endif /* TAO_HAS_INTERFACE_REPOSITORY */