diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-03-22 21:53:38 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-03-22 21:53:38 +0000 |
commit | 05aab858a84cb63b55d9617a4b53dbaa689e5f64 (patch) | |
tree | 57a4a88ca938127e8736a2330367cdaa36902896 | |
parent | 17f01f15d4569431bca42d06f79b2ec5c9dea85d (diff) | |
download | ATCD-05aab858a84cb63b55d9617a4b53dbaa689e5f64.tar.gz |
ChangeLogTag: Sat Mar 22 15:51:14 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 23 | ||||
-rw-r--r-- | TAO/tao/CurrentC.cpp | 25 | ||||
-rw-r--r-- | TAO/tao/CurrentC.h | 2 | ||||
-rw-r--r-- | TAO/tao/CurrentC.i | 27 | ||||
-rw-r--r-- | TAO/tao/DomainC.cpp | 20 | ||||
-rw-r--r-- | TAO/tao/DomainC.i | 22 | ||||
-rw-r--r-- | TAO/tao/IOPC.cpp | 48 | ||||
-rw-r--r-- | TAO/tao/IOPC.i | 54 | ||||
-rw-r--r-- | TAO/tao/ObjectReferenceTemplateC.cpp | 11 | ||||
-rw-r--r-- | TAO/tao/ObjectReferenceTemplateC.h | 1 | ||||
-rw-r--r-- | TAO/tao/ObjectReferenceTemplateC.i | 12 | ||||
-rw-r--r-- | TAO/tao/PolicyC.cpp | 58 | ||||
-rw-r--r-- | TAO/tao/PolicyC.i | 65 | ||||
-rw-r--r-- | TAO/tao/PortableInterceptorC.cpp | 288 | ||||
-rw-r--r-- | TAO/tao/PortableInterceptorC.i | 324 | ||||
-rw-r--r-- | TAO/tao/TAOC.cpp | 24 | ||||
-rw-r--r-- | TAO/tao/TAOC.i | 27 |
17 files changed, 556 insertions, 475 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 3ed16285a88..a05313c6667 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,26 @@ +Sat Mar 22 15:51:14 2003 Jeff Parsons <j.parsons@vanderbilt.edu> + + * tao/CurrentC.cpp: + * tao/CurrentC.h: + * tao/CurrentC.i: + * tao/DomainC.cpp: + * tao/DomainC.i: + * tao/IOPC.cpp: + * tao/IOPC.i: + * tao/ObjectReferenceTemplateC.cpp: + * tao/ObjectReferenceTemplateC.h: + * tao/ObjectReferenceTemplateC.i: + * tao/PolicyC.cpp: + * tao/PolicyC.i: + * tao/PortableInterceptorC.cpp: + * tao/PortableInterceptorC.i: + * tao/TAOC.cpp: + * tao/TAOC.i: + + Moved Any template method specializations to + the corresponding inline files, to avoid a + compile problem with BCB. + Sat Mar 22 12:55:16 2003 Jeff Parsons <j.parsons@vanderbilt.edu> * orbsvcs/IFR_Service/ifr_adding_visitor.cpp: diff --git a/TAO/tao/CurrentC.cpp b/TAO/tao/CurrentC.cpp index 8d5943f95ca..452382618b5 100644 --- a/TAO/tao/CurrentC.cpp +++ b/TAO/tao/CurrentC.cpp @@ -25,7 +25,6 @@ #include "CurrentC.h" #include "tao/Sequence_T.h" -#include "tao/Any_T.h" #if defined (__BORLANDC__) #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig @@ -457,30 +456,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::Current>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::Current>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::Current>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<CORBA::Current,CORBA::Current_var>; diff --git a/TAO/tao/CurrentC.h b/TAO/tao/CurrentC.h index bb7416ffd9b..4bbb43a8f4a 100644 --- a/TAO/tao/CurrentC.h +++ b/TAO/tao/CurrentC.h @@ -32,7 +32,7 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ - +#include "tao/Any_T.h" #include "tao/corbafwd.h" #include "tao/varbase.h" diff --git a/TAO/tao/CurrentC.i b/TAO/tao/CurrentC.i index 9cb6f83b66b..ddd83ee088e 100644 --- a/TAO/tao/CurrentC.i +++ b/TAO/tao/CurrentC.i @@ -33,5 +33,32 @@ CORBA::Current::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::Current>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::Current>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::Current>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ diff --git a/TAO/tao/DomainC.cpp b/TAO/tao/DomainC.cpp index 0de2ba8a8b1..df1909d2c02 100644 --- a/TAO/tao/DomainC.cpp +++ b/TAO/tao/DomainC.cpp @@ -2128,16 +2128,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::DomainManager>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<CORBA::DomainManager,CORBA::DomainManager_var>; @@ -2192,16 +2182,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ConstructionPolicy>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<CORBA::ConstructionPolicy,CORBA::ConstructionPolicy_var>; diff --git a/TAO/tao/DomainC.i b/TAO/tao/DomainC.i index 2ceb3142a7d..56e0cbea360 100644 --- a/TAO/tao/DomainC.i +++ b/TAO/tao/DomainC.i @@ -44,6 +44,17 @@ CORBA::DomainManager::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::DomainManager>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -70,6 +81,17 @@ CORBA::ConstructionPolicy::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ConstructionPolicy>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from diff --git a/TAO/tao/IOPC.cpp b/TAO/tao/IOPC.cpp index e59f52e8c40..3efd6649289 100644 --- a/TAO/tao/IOPC.cpp +++ b/TAO/tao/IOPC.cpp @@ -3712,30 +3712,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<IOP::Codec>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<IOP::Codec>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<IOP::Codec>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<IOP::Codec,IOP::Codec_var>; @@ -3855,30 +3831,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<IOP::CodecFactory>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<IOP::CodecFactory>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<IOP::CodecFactory>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<IOP::CodecFactory,IOP::CodecFactory_var>; diff --git a/TAO/tao/IOPC.i b/TAO/tao/IOPC.i index 1e49f78c2f5..6279d6c2d4b 100644 --- a/TAO/tao/IOPC.i +++ b/TAO/tao/IOPC.i @@ -2922,6 +2922,33 @@ IOP::Codec::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<IOP::Codec>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<IOP::Codec>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<IOP::Codec>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -3100,6 +3127,33 @@ IOP::CodecFactory::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<IOP::CodecFactory>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<IOP::CodecFactory>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<IOP::CodecFactory>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from diff --git a/TAO/tao/ObjectReferenceTemplateC.cpp b/TAO/tao/ObjectReferenceTemplateC.cpp index 70d293a0983..a1ba3becaa3 100644 --- a/TAO/tao/ObjectReferenceTemplateC.cpp +++ b/TAO/tao/ObjectReferenceTemplateC.cpp @@ -1353,17 +1353,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ObjectReferenceFactory>::to_value ( - CORBA::ValueBase *&_tao_elem - ) const -{ - CORBA::add_ref (this->value_); - _tao_elem = this->value_; - return 1; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Valuetype_Manager<PortableInterceptor::ObjectReferenceFactory, PortableInterceptor::ObjectReferenceFactory_var>; diff --git a/TAO/tao/ObjectReferenceTemplateC.h b/TAO/tao/ObjectReferenceTemplateC.h index e2cd7e8691b..e92cbee833a 100644 --- a/TAO/tao/ObjectReferenceTemplateC.h +++ b/TAO/tao/ObjectReferenceTemplateC.h @@ -37,6 +37,7 @@ #include "StringSeqC.h" #include "ValueBase.h" #include "Exception.h" +#include "Any_T.h" #if defined (TAO_EXPORT_MACRO) #undef TAO_EXPORT_MACRO diff --git a/TAO/tao/ObjectReferenceTemplateC.i b/TAO/tao/ObjectReferenceTemplateC.i index 4593ce1a908..c4d2fa4d9bf 100644 --- a/TAO/tao/ObjectReferenceTemplateC.i +++ b/TAO/tao/ObjectReferenceTemplateC.i @@ -37,6 +37,18 @@ PortableInterceptor::ObjectReferenceFactory::_tao_obv_static_repository_id () return "IDL:omg.org/PortableInterceptor/ObjectReferenceFactory:1.0"; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ObjectReferenceFactory>::to_value ( + CORBA::ValueBase *&_tao_elem + ) const +{ + CORBA::add_ref (this->value_); + _tao_elem = this->value_; + return 1; +} + // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ci.cpp:56 diff --git a/TAO/tao/PolicyC.cpp b/TAO/tao/PolicyC.cpp index 511ca4e2ddf..29a99422357 100644 --- a/TAO/tao/PolicyC.cpp +++ b/TAO/tao/PolicyC.cpp @@ -3002,16 +3002,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::Policy>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<CORBA::Policy,CORBA::Policy_var>; @@ -3066,30 +3056,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyManager>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyManager>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyManager>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<CORBA::PolicyManager,CORBA::PolicyManager_var>; @@ -3144,30 +3110,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyCurrent>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyCurrent>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyCurrent>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<CORBA::PolicyCurrent,CORBA::PolicyCurrent_var>; diff --git a/TAO/tao/PolicyC.i b/TAO/tao/PolicyC.i index 2e8ecab0895..81f7cb2234a 100644 --- a/TAO/tao/PolicyC.i +++ b/TAO/tao/PolicyC.i @@ -257,6 +257,17 @@ CORBA::Policy::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::Policy>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -272,6 +283,33 @@ CORBA::PolicyManager::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyManager>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyManager>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyManager>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -287,6 +325,33 @@ CORBA::PolicyCurrent::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyCurrent>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyCurrent>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyCurrent>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from diff --git a/TAO/tao/PortableInterceptorC.cpp b/TAO/tao/PortableInterceptorC.cpp index 370145569ef..791953a53d9 100644 --- a/TAO/tao/PortableInterceptorC.cpp +++ b/TAO/tao/PortableInterceptorC.cpp @@ -5544,30 +5544,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Interceptor>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Interceptor>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Interceptor>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::Interceptor,PortableInterceptor::Interceptor_var>; @@ -5752,30 +5728,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Current>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Current>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Current>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::Current,PortableInterceptor::Current_var>; @@ -5830,30 +5782,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::RequestInfo,PortableInterceptor::RequestInfo_var>; @@ -5908,30 +5836,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::ClientRequestInfo,PortableInterceptor::ClientRequestInfo_var>; @@ -5986,30 +5890,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::ServerRequestInfo,PortableInterceptor::ServerRequestInfo_var>; @@ -6064,30 +5944,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::ClientRequestInterceptor,PortableInterceptor::ClientRequestInterceptor_var>; @@ -6142,30 +5998,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::ServerRequestInterceptor,PortableInterceptor::ServerRequestInterceptor_var>; @@ -6220,30 +6052,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::IORInfo>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::IORInfo>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::IORInfo>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::IORInfo,PortableInterceptor::IORInfo_var>; @@ -6298,30 +6106,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::IORInterceptor>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::IORInterceptor>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::IORInterceptor>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::IORInterceptor,PortableInterceptor::IORInterceptor_var>; @@ -6376,30 +6160,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::PolicyFactory,PortableInterceptor::PolicyFactory_var>; @@ -6454,30 +6214,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::ORBInitInfo,PortableInterceptor::ORBInitInfo_var>; @@ -6532,30 +6268,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<PortableInterceptor::ORBInitializer,PortableInterceptor::ORBInitializer_var>; diff --git a/TAO/tao/PortableInterceptorC.i b/TAO/tao/PortableInterceptorC.i index b1528e1d8f8..2707bb88149 100644 --- a/TAO/tao/PortableInterceptorC.i +++ b/TAO/tao/PortableInterceptorC.i @@ -33,6 +33,33 @@ PortableInterceptor::Interceptor::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Interceptor>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Interceptor>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Interceptor>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -48,6 +75,33 @@ PortableInterceptor::Current::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Current>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Current>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Current>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -63,6 +117,33 @@ PortableInterceptor::RequestInfo::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -78,6 +159,33 @@ PortableInterceptor::ClientRequestInfo::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -93,6 +201,33 @@ PortableInterceptor::ServerRequestInfo::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -108,6 +243,33 @@ PortableInterceptor::ClientRequestInterceptor::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -123,6 +285,33 @@ PortableInterceptor::ServerRequestInterceptor::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -138,6 +327,33 @@ PortableInterceptor::IORInfo::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::IORInfo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::IORInfo>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::IORInfo>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -153,6 +369,33 @@ PortableInterceptor::IORInterceptor::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::IORInterceptor>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::IORInterceptor>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::IORInterceptor>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -168,6 +411,33 @@ PortableInterceptor::PolicyFactory::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -183,6 +453,33 @@ PortableInterceptor::ORBInitInfo::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -198,6 +495,33 @@ PortableInterceptor::ORBInitializer::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from diff --git a/TAO/tao/TAOC.cpp b/TAO/tao/TAOC.cpp index 4383d916fc8..d4cbbe0fc82 100644 --- a/TAO/tao/TAOC.cpp +++ b/TAO/tao/TAOC.cpp @@ -704,30 +704,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<TAO::BufferingConstraintPolicy,TAO::BufferingConstraintPolicy_var>; diff --git a/TAO/tao/TAOC.i b/TAO/tao/TAOC.i index a3c1ff1311c..38fdd22685a 100644 --- a/TAO/tao/TAOC.i +++ b/TAO/tao/TAOC.i @@ -196,6 +196,33 @@ TAO::BufferingConstraintPolicy::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from |