diff options
Diffstat (limited to 'TAO/tao')
25 files changed, 1041 insertions, 894 deletions
diff --git a/TAO/tao/IFR_Client/IFR_BaseC.cpp b/TAO/tao/IFR_Client/IFR_BaseC.cpp index da3b8fa5306..6a9ccf6cf7f 100644 --- a/TAO/tao/IFR_Client/IFR_BaseC.cpp +++ b/TAO/tao/IFR_Client/IFR_BaseC.cpp @@ -19910,16 +19910,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::IRObject>::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::IRObject,CORBA::IRObject_var>; @@ -19974,16 +19964,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::Contained>::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::Contained,CORBA::Contained_var>; @@ -21475,16 +21455,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::IDLType>::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::IDLType,CORBA::IDLType_var>; @@ -21539,16 +21509,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::TypedefDef>::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::TypedefDef,CORBA::TypedefDef_var>; diff --git a/TAO/tao/IFR_Client/IFR_BaseC.h b/TAO/tao/IFR_Client/IFR_BaseC.h index 0e7f2bfbad7..3c1cd4b3f16 100644 --- a/TAO/tao/IFR_Client/IFR_BaseC.h +++ b/TAO/tao/IFR_Client/IFR_BaseC.h @@ -35,7 +35,7 @@ #include "tao/Remote_Object_Proxy_Impl.h" #include "tao/Object.h" -#include "tao/Any.h" +#include "tao/Any_T.h" #if defined (TAO_EXPORT_MACRO) #undef TAO_EXPORT_MACRO diff --git a/TAO/tao/IFR_Client/IFR_BaseC.i b/TAO/tao/IFR_Client/IFR_BaseC.i index 9bc28ee6169..11d23f2fb35 100644 --- a/TAO/tao/IFR_Client/IFR_BaseC.i +++ b/TAO/tao/IFR_Client/IFR_BaseC.i @@ -44,6 +44,17 @@ CORBA::IRObject::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::IRObject>::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 @@ -4169,6 +4180,17 @@ CORBA::ContainedSeq_out::operator[] (CORBA::ULong index) return this->ptr_->operator[] (index); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::Contained>::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 @@ -8473,6 +8495,17 @@ CORBA::IDLType::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::IDLType>::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 @@ -8499,6 +8532,17 @@ CORBA::TypedefDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::TypedefDef>::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/IFR_Client/IFR_BasicC.cpp b/TAO/tao/IFR_Client/IFR_BasicC.cpp index b4ead1166f0..f5e06f30937 100644 --- a/TAO/tao/IFR_Client/IFR_BasicC.cpp +++ b/TAO/tao/IFR_Client/IFR_BasicC.cpp @@ -42444,16 +42444,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::Repository>::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::Repository,CORBA::Repository_var>; @@ -42508,16 +42498,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ModuleDef>::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::ModuleDef,CORBA::ModuleDef_var>; @@ -42637,16 +42617,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ConstantDef>::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::ConstantDef,CORBA::ConstantDef_var>; @@ -42766,16 +42736,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::StructDef>::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::StructDef,CORBA::StructDef_var>; @@ -42830,16 +42790,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::UnionDef>::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::UnionDef,CORBA::UnionDef_var>; @@ -42894,16 +42844,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::EnumDef>::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::EnumDef,CORBA::EnumDef_var>; @@ -42958,16 +42898,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::AliasDef>::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::AliasDef,CORBA::AliasDef_var>; @@ -43022,16 +42952,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::NativeDef>::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::NativeDef,CORBA::NativeDef_var>; @@ -43086,16 +43006,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PrimitiveDef>::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::PrimitiveDef,CORBA::PrimitiveDef_var>; @@ -43150,16 +43060,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::StringDef>::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::StringDef,CORBA::StringDef_var>; @@ -43214,16 +43114,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::WstringDef>::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::WstringDef,CORBA::WstringDef_var>; @@ -43278,16 +43168,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::SequenceDef>::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::SequenceDef,CORBA::SequenceDef_var>; @@ -43342,16 +43222,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ArrayDef>::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::ArrayDef,CORBA::ArrayDef_var>; @@ -43406,16 +43276,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ExceptionDef>::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::ExceptionDef,CORBA::ExceptionDef_var>; @@ -43563,16 +43423,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::AttributeDef>::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::AttributeDef,CORBA::AttributeDef_var>; @@ -43757,16 +43607,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ExtAttributeDef>::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::ExtAttributeDef,CORBA::ExtAttributeDef_var>; @@ -44037,16 +43877,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::OperationDef>::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::OperationDef,CORBA::OperationDef_var>; @@ -44701,16 +44531,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ExtInterfaceDef>::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::ExtInterfaceDef,CORBA::ExtInterfaceDef_var>; @@ -44765,16 +44585,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::AbstractInterfaceDef>::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::AbstractInterfaceDef,CORBA::AbstractInterfaceDef_var>; @@ -44829,16 +44639,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ExtAbstractInterfaceDef>::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::ExtAbstractInterfaceDef,CORBA::ExtAbstractInterfaceDef_var>; @@ -44893,16 +44693,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::LocalInterfaceDef>::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::LocalInterfaceDef,CORBA::LocalInterfaceDef_var>; @@ -44957,16 +44747,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ExtLocalInterfaceDef>::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::ExtLocalInterfaceDef,CORBA::ExtLocalInterfaceDef_var>; diff --git a/TAO/tao/IFR_Client/IFR_BasicC.i b/TAO/tao/IFR_Client/IFR_BasicC.i index 9c8cc41e5a9..61c9a836caf 100644 --- a/TAO/tao/IFR_Client/IFR_BasicC.i +++ b/TAO/tao/IFR_Client/IFR_BasicC.i @@ -44,6 +44,17 @@ CORBA::Repository::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::Repository>::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::ModuleDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ModuleDef>::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 @@ -307,6 +329,17 @@ CORBA::ConstantDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ConstantDef>::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 @@ -544,6 +577,17 @@ CORBA::StructDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::StructDef>::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 @@ -570,6 +614,17 @@ CORBA::UnionDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::UnionDef>::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 @@ -596,6 +651,17 @@ CORBA::EnumDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::EnumDef>::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 @@ -622,6 +688,17 @@ CORBA::AliasDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::AliasDef>::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 @@ -648,6 +725,17 @@ CORBA::NativeDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::NativeDef>::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 @@ -674,6 +762,17 @@ CORBA::PrimitiveDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PrimitiveDef>::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 @@ -700,6 +799,17 @@ CORBA::StringDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::StringDef>::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 @@ -726,6 +836,17 @@ CORBA::WstringDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::WstringDef>::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 @@ -752,6 +873,17 @@ CORBA::SequenceDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::SequenceDef>::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 @@ -778,6 +910,17 @@ CORBA::ArrayDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ArrayDef>::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 @@ -804,6 +947,17 @@ CORBA::ExceptionDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ExceptionDef>::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 @@ -1262,6 +1416,17 @@ CORBA::AttributeDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::AttributeDef>::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 @@ -1710,6 +1875,17 @@ CORBA::ExtAttributeDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ExtAttributeDef>::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 @@ -2643,6 +2819,17 @@ CORBA::OperationDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::OperationDef>::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 @@ -5177,6 +5364,17 @@ CORBA::ExtInterfaceDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ExtInterfaceDef>::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 @@ -5203,6 +5401,17 @@ CORBA::AbstractInterfaceDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::AbstractInterfaceDef>::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 @@ -5229,6 +5438,17 @@ CORBA::ExtAbstractInterfaceDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ExtAbstractInterfaceDef>::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 @@ -5255,6 +5475,17 @@ CORBA::LocalInterfaceDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::LocalInterfaceDef>::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 @@ -5281,6 +5512,17 @@ CORBA::ExtLocalInterfaceDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ExtLocalInterfaceDef>::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/IFR_Client/IFR_ComponentsC.cpp b/TAO/tao/IFR_Client/IFR_ComponentsC.cpp index a95a4c45928..9d6b4e59ef1 100644 --- a/TAO/tao/IFR_Client/IFR_ComponentsC.cpp +++ b/TAO/tao/IFR_Client/IFR_ComponentsC.cpp @@ -21948,16 +21948,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::EventDef>::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::ComponentIR::EventDef,CORBA::ComponentIR::EventDef_var>; @@ -22012,16 +22002,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::Container>::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::ComponentIR::Container,CORBA::ComponentIR::Container_var>; @@ -22076,16 +22056,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::ModuleDef>::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::ComponentIR::ModuleDef,CORBA::ComponentIR::ModuleDef_var>; @@ -22140,16 +22110,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::Repository>::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::ComponentIR::Repository,CORBA::ComponentIR::Repository_var>; @@ -22204,16 +22164,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::ProvidesDef>::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::ComponentIR::ProvidesDef,CORBA::ComponentIR::ProvidesDef_var>; @@ -22333,16 +22283,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::UsesDef>::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::ComponentIR::UsesDef,CORBA::ComponentIR::UsesDef_var>; @@ -22462,16 +22402,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::EventPortDef>::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::ComponentIR::EventPortDef,CORBA::ComponentIR::EventPortDef_var>; @@ -22591,16 +22521,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::EmitsDef>::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::ComponentIR::EmitsDef,CORBA::ComponentIR::EmitsDef_var>; @@ -22655,15 +22575,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::PublishesDef>::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) @@ -22719,16 +22630,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::ConsumesDef>::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::ComponentIR::ConsumesDef,CORBA::ComponentIR::ConsumesDef_var>; @@ -22783,16 +22684,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::ComponentDef>::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::ComponentIR::ComponentDef,CORBA::ComponentIR::ComponentDef_var>; @@ -23086,16 +22977,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::FactoryDef>::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::ComponentIR::FactoryDef,CORBA::ComponentIR::FactoryDef_var>; @@ -23150,16 +23031,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::FinderDef>::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::ComponentIR::FinderDef,CORBA::ComponentIR::FinderDef_var>; @@ -23214,16 +23085,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ComponentIR::HomeDef>::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::ComponentIR::HomeDef,CORBA::ComponentIR::HomeDef_var>; diff --git a/TAO/tao/IFR_Client/IFR_ComponentsC.i b/TAO/tao/IFR_Client/IFR_ComponentsC.i index 4fdb43173fd..57fb1f20d45 100644 --- a/TAO/tao/IFR_Client/IFR_ComponentsC.i +++ b/TAO/tao/IFR_Client/IFR_ComponentsC.i @@ -44,6 +44,17 @@ CORBA::ComponentIR::EventDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::EventDef>::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::ComponentIR::Container::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::Container>::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 @@ -96,6 +118,17 @@ CORBA::ComponentIR::ModuleDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::ModuleDef>::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 @@ -122,6 +155,17 @@ CORBA::ComponentIR::Repository::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::Repository>::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 @@ -148,6 +192,17 @@ CORBA::ComponentIR::ProvidesDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::ProvidesDef>::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 @@ -385,6 +440,17 @@ CORBA::ComponentIR::UsesDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::UsesDef>::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 @@ -622,6 +688,17 @@ CORBA::ComponentIR::EventPortDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::EventPortDef>::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 @@ -859,6 +936,17 @@ CORBA::ComponentIR::EmitsDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::EmitsDef>::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 @@ -885,6 +973,16 @@ CORBA::ComponentIR::PublishesDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::PublishesDef>::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 @@ -911,6 +1009,17 @@ CORBA::ComponentIR::ConsumesDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::ConsumesDef>::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 @@ -937,6 +1046,17 @@ CORBA::ComponentIR::ComponentDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::ComponentDef>::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 @@ -2548,6 +2668,17 @@ CORBA::ComponentIR::FactoryDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::FactoryDef>::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 @@ -2574,6 +2705,17 @@ CORBA::ComponentIR::FinderDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::FinderDef>::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 @@ -2600,6 +2742,17 @@ CORBA::ComponentIR::HomeDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ComponentIR::HomeDef>::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/IFR_Client/IFR_ExtendedC.cpp b/TAO/tao/IFR_Client/IFR_ExtendedC.cpp index d3a4abfd10a..91a50c83955 100644 --- a/TAO/tao/IFR_Client/IFR_ExtendedC.cpp +++ b/TAO/tao/IFR_Client/IFR_ExtendedC.cpp @@ -16475,16 +16475,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::FixedDef>::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::FixedDef,CORBA::FixedDef_var>; @@ -16662,16 +16652,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ValueMemberDef>::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::ValueMemberDef,CORBA::ValueMemberDef_var>; @@ -16726,16 +16706,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ValueDef>::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::ValueDef,CORBA::ValueDef_var>; @@ -16920,16 +16890,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ExtValueDef>::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::ExtValueDef,CORBA::ExtValueDef_var>; @@ -17049,16 +17009,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::ValueBoxDef>::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::ValueBoxDef,CORBA::ValueBoxDef_var>; diff --git a/TAO/tao/IFR_Client/IFR_ExtendedC.i b/TAO/tao/IFR_Client/IFR_ExtendedC.i index 4c500652a3a..166759e9887 100644 --- a/TAO/tao/IFR_Client/IFR_ExtendedC.i +++ b/TAO/tao/IFR_Client/IFR_ExtendedC.i @@ -44,6 +44,17 @@ CORBA::FixedDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::FixedDef>::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 @@ -739,6 +750,17 @@ CORBA::ValueMemberDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ValueMemberDef>::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 @@ -976,6 +998,17 @@ CORBA::ValueDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ValueDef>::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 @@ -1424,6 +1457,17 @@ CORBA::ExtValueDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ExtValueDef>::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 @@ -1450,6 +1494,17 @@ CORBA::ValueBoxDef::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::ValueBoxDef>::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/IORManipulation/IORC.cpp b/TAO/tao/IORManipulation/IORC.cpp index 24880aa8519..2a01d8d4461 100644 --- a/TAO/tao/IORManipulation/IORC.cpp +++ b/TAO/tao/IORManipulation/IORC.cpp @@ -2106,30 +2106,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>::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_IOP::TAO_IOR_Property>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<TAO_IOP::TAO_IOR_Property,TAO_IOP::TAO_IOR_Property_var>; @@ -2184,30 +2160,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::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_IOP::TAO_IOR_Manipulation>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<TAO_IOP::TAO_IOR_Manipulation,TAO_IOP::TAO_IOR_Manipulation_var>; diff --git a/TAO/tao/IORManipulation/IORC.i b/TAO/tao/IORManipulation/IORC.i index 2ac7e82b0ad..d9ffd5b1525 100644 --- a/TAO/tao/IORManipulation/IORC.i +++ b/TAO/tao/IORManipulation/IORC.i @@ -33,6 +33,33 @@ TAO_IOP::TAO_IOR_Property::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>::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_IOP::TAO_IOR_Property>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -480,6 +507,33 @@ TAO_IOP::TAO_IOR_Manipulation::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::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_IOP::TAO_IOR_Manipulation>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from diff --git a/TAO/tao/Messaging/TAO_ExtC.cpp b/TAO/tao/Messaging/TAO_ExtC.cpp index 0222121c979..b38f1d1e709 100644 --- a/TAO/tao/Messaging/TAO_ExtC.cpp +++ b/TAO/tao/Messaging/TAO_ExtC.cpp @@ -486,30 +486,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<TAO::ConnectionTimeoutPolicy>::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::ConnectionTimeoutPolicy>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<TAO::ConnectionTimeoutPolicy>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<TAO::ConnectionTimeoutPolicy,TAO::ConnectionTimeoutPolicy_var>; diff --git a/TAO/tao/Messaging/TAO_ExtC.i b/TAO/tao/Messaging/TAO_ExtC.i index cb0677651e5..f82ebc3d9ed 100644 --- a/TAO/tao/Messaging/TAO_ExtC.i +++ b/TAO/tao/Messaging/TAO_ExtC.i @@ -33,5 +33,32 @@ TAO::ConnectionTimeoutPolicy::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<TAO::ConnectionTimeoutPolicy>::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::ConnectionTimeoutPolicy>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<TAO::ConnectionTimeoutPolicy>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ diff --git a/TAO/tao/PortableServer/Default_ORTC.i b/TAO/tao/PortableServer/Default_ORTC.i index 98f2c6fbd2f..95ea7798c2a 100644 --- a/TAO/tao/PortableServer/Default_ORTC.i +++ b/TAO/tao/PortableServer/Default_ORTC.i @@ -37,6 +37,18 @@ TAO_Default_ORT::ObjectReferenceTemplate::_tao_obv_static_repository_id () return "IDL:TAO_Default_ORT/ObjectReferenceTemplate:1.0"; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<TAO_Default_ORT::ObjectReferenceTemplate>::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_valuetype.cpp:712 diff --git a/TAO/tao/PortableServer/ImR_LocatorC.cpp b/TAO/tao/PortableServer/ImR_LocatorC.cpp index 7da23a9a83d..583864cbd8f 100644 --- a/TAO/tao/PortableServer/ImR_LocatorC.cpp +++ b/TAO/tao/PortableServer/ImR_LocatorC.cpp @@ -2774,16 +2774,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<ImplementationRepository::Locator>::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<ImplementationRepository::Locator,ImplementationRepository::Locator_var>; diff --git a/TAO/tao/PortableServer/ImR_LocatorC.i b/TAO/tao/PortableServer/ImR_LocatorC.i index cc468739215..3c4fefe5ab1 100644 --- a/TAO/tao/PortableServer/ImR_LocatorC.i +++ b/TAO/tao/PortableServer/ImR_LocatorC.i @@ -44,6 +44,17 @@ ImplementationRepository::Locator::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<ImplementationRepository::Locator>::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/PortableServer/ImplRepoC.h b/TAO/tao/PortableServer/ImplRepoC.h index f5695778688..c93fa013e0e 100644 --- a/TAO/tao/PortableServer/ImplRepoC.h +++ b/TAO/tao/PortableServer/ImplRepoC.h @@ -38,6 +38,7 @@ #include "tao/Object.h" #include "tao/Sequence.h" #include "tao/Remote_Object_Proxy_Impl.h" +#include "tao/Any_T.h" #if defined (TAO_EXPORT_MACRO) #undef TAO_EXPORT_MACRO diff --git a/TAO/tao/PortableServer/ImplRepoC.i b/TAO/tao/PortableServer/ImplRepoC.i index ba41ad76b93..5391af79952 100644 --- a/TAO/tao/PortableServer/ImplRepoC.i +++ b/TAO/tao/PortableServer/ImplRepoC.i @@ -44,6 +44,17 @@ ImplementationRepository::ServerObject::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<ImplementationRepository::ServerObject>::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 @@ -1619,6 +1630,17 @@ ImplementationRepository::Administration::marshal (TAO_OutputCDR &cdr) return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<ImplementationRepository::Administration>::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 @@ -1645,6 +1667,17 @@ ImplementationRepository::ServerInformationIterator::marshal (TAO_OutputCDR &cdr return (cdr << this); } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<ImplementationRepository::ServerInformationIterator>::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/PortableServer/POA.cpp b/TAO/tao/PortableServer/POA.cpp index 181f2c18342..c5e8e5dc215 100644 --- a/TAO/tao/PortableServer/POA.cpp +++ b/TAO/tao/PortableServer/POA.cpp @@ -352,7 +352,7 @@ TAO_POA::TAO_POA (const TAO_POA::String &name, // Must increase ref count since this->obj_ref_factory_ will // descrease it upon destruction. - CORBA::add_ref (this->ort_template_); + CORBA::add_ref (this->ort_template_.in ()); this->obj_ref_factory_ = this->ort_template_; // Iterate over the registered IOR interceptors so that they may be diff --git a/TAO/tao/RTCORBA/RTCORBAC.cpp b/TAO/tao/RTCORBA/RTCORBAC.cpp index 0b8316a30d7..84fb87208ad 100644 --- a/TAO/tao/RTCORBA/RTCORBAC.cpp +++ b/TAO/tao/RTCORBA/RTCORBAC.cpp @@ -7250,30 +7250,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::PriorityModelPolicy>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::PriorityModelPolicy>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::PriorityModelPolicy>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::PriorityModelPolicy,RTCORBA::PriorityModelPolicy_var>; @@ -7396,30 +7372,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::ProtocolProperties>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::ProtocolProperties>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::ProtocolProperties>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::ProtocolProperties,RTCORBA::ProtocolProperties_var>; @@ -7632,30 +7584,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::ServerProtocolPolicy>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::ServerProtocolPolicy>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::ServerProtocolPolicy>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::ServerProtocolPolicy,RTCORBA::ServerProtocolPolicy_var>; @@ -7710,30 +7638,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::ClientProtocolPolicy>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::ClientProtocolPolicy>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::ClientProtocolPolicy>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::ClientProtocolPolicy,RTCORBA::ClientProtocolPolicy_var>; @@ -7788,30 +7692,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::PrivateConnectionPolicy>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::PrivateConnectionPolicy>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::PrivateConnectionPolicy>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::PrivateConnectionPolicy,RTCORBA::PrivateConnectionPolicy_var>; @@ -7866,30 +7746,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::TCPProtocolProperties>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::TCPProtocolProperties>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::TCPProtocolProperties>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::TCPProtocolProperties,RTCORBA::TCPProtocolProperties_var>; @@ -7944,29 +7800,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::GIOPProtocolProperties>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::GIOPProtocolProperties>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::GIOPProtocolProperties>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::GIOPProtocolProperties,RTCORBA::GIOPProtocolProperties_var>; @@ -8021,30 +7854,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::UnixDomainProtocolProperties>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::UnixDomainProtocolProperties>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::UnixDomainProtocolProperties>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::UnixDomainProtocolProperties,RTCORBA::UnixDomainProtocolProperties_var>; @@ -8099,29 +7908,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::SharedMemoryProtocolProperties>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::SharedMemoryProtocolProperties>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::SharedMemoryProtocolProperties>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::SharedMemoryProtocolProperties,RTCORBA::SharedMemoryProtocolProperties_var>; @@ -8299,33 +8085,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::PriorityBandedConnectionPolicy>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_cs.cpp:60 - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::PriorityBandedConnectionPolicy>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::PriorityBandedConnectionPolicy>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::PriorityBandedConnectionPolicy,RTCORBA::PriorityBandedConnectionPolicy_var>; @@ -8380,30 +8139,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::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<RTCORBA::Current>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::Current>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::Current,RTCORBA::Current_var>; @@ -8458,30 +8193,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::Mutex>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::Mutex>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::Mutex>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::Mutex,RTCORBA::Mutex_var>; @@ -8536,30 +8247,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::RTORB>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::RTORB>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTCORBA::RTORB>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTCORBA::RTORB,RTCORBA::RTORB_var>; diff --git a/TAO/tao/RTCORBA/RTCORBAC.i b/TAO/tao/RTCORBA/RTCORBAC.i index 0d79cf0564f..7fab5c66943 100644 --- a/TAO/tao/RTCORBA/RTCORBAC.i +++ b/TAO/tao/RTCORBA/RTCORBAC.i @@ -668,6 +668,33 @@ RTCORBA::PriorityModelPolicy::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::PriorityModelPolicy>::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<RTCORBA::PriorityModelPolicy>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::PriorityModelPolicy>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -698,6 +725,33 @@ RTCORBA::ProtocolProperties::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::ProtocolProperties>::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<RTCORBA::ProtocolProperties>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::ProtocolProperties>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -1382,6 +1436,33 @@ RTCORBA::ServerProtocolPolicy::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::ServerProtocolPolicy>::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<RTCORBA::ServerProtocolPolicy>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::ServerProtocolPolicy>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -1397,6 +1478,33 @@ RTCORBA::ClientProtocolPolicy::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::ClientProtocolPolicy>::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<RTCORBA::ClientProtocolPolicy>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::ClientProtocolPolicy>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -1412,6 +1520,33 @@ RTCORBA::PrivateConnectionPolicy::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::PrivateConnectionPolicy>::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<RTCORBA::PrivateConnectionPolicy>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::PrivateConnectionPolicy>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -1427,6 +1562,33 @@ RTCORBA::TCPProtocolProperties::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::TCPProtocolProperties>::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<RTCORBA::TCPProtocolProperties>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::TCPProtocolProperties>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -1442,6 +1604,33 @@ RTCORBA::GIOPProtocolProperties::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::GIOPProtocolProperties>::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<RTCORBA::GIOPProtocolProperties>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::GIOPProtocolProperties>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -1457,6 +1646,33 @@ RTCORBA::UnixDomainProtocolProperties::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::UnixDomainProtocolProperties>::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<RTCORBA::UnixDomainProtocolProperties>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::UnixDomainProtocolProperties>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -1472,6 +1688,32 @@ RTCORBA::SharedMemoryProtocolProperties::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::SharedMemoryProtocolProperties>::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<RTCORBA::SharedMemoryProtocolProperties>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::SharedMemoryProtocolProperties>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -2122,6 +2364,36 @@ RTCORBA::PriorityBandedConnectionPolicy::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::PriorityBandedConnectionPolicy>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +// TAO_IDL - Generated from +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_cs.cpp:60 + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::PriorityBandedConnectionPolicy>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::PriorityBandedConnectionPolicy>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -2137,6 +2409,33 @@ RTCORBA::Current::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::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<RTCORBA::Current>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::Current>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -2152,6 +2451,33 @@ RTCORBA::Mutex::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::Mutex>::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<RTCORBA::Mutex>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::Mutex>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from @@ -2167,6 +2493,33 @@ RTCORBA::RTORB::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::RTORB>::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<RTCORBA::RTORB>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTCORBA::RTORB>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ // TAO_IDL - Generated from diff --git a/TAO/tao/RTPortableServer/RTPortableServerC.cpp b/TAO/tao/RTPortableServer/RTPortableServerC.cpp index a25deb3b5f6..5aac33868f3 100644 --- a/TAO/tao/RTPortableServer/RTPortableServerC.cpp +++ b/TAO/tao/RTPortableServer/RTPortableServerC.cpp @@ -470,30 +470,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTPortableServer::POA>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTPortableServer::POA>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<RTPortableServer::POA>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<RTPortableServer::POA,RTPortableServer::POA_var>; diff --git a/TAO/tao/RTPortableServer/RTPortableServerC.i b/TAO/tao/RTPortableServer/RTPortableServerC.i index 47528e8c024..5e0c1596d0f 100644 --- a/TAO/tao/RTPortableServer/RTPortableServerC.i +++ b/TAO/tao/RTPortableServer/RTPortableServerC.i @@ -33,5 +33,32 @@ RTPortableServer::POA::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTPortableServer::POA>::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<RTPortableServer::POA>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<RTPortableServer::POA>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ diff --git a/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.cpp b/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.cpp index 8713fcd3817..2aa239bf0d7 100644 --- a/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.cpp +++ b/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.cpp @@ -470,30 +470,6 @@ operator>>= ( ); } -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::TypeCodeFactory>::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::TypeCodeFactory>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -template<> -CORBA::Boolean -TAO::Any_Impl_T<CORBA::TypeCodeFactory>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ defined (ACE_HAS_GNU_REPO) template class TAO_Object_Manager<CORBA::TypeCodeFactory,CORBA::TypeCodeFactory_var>; diff --git a/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.inl b/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.inl index d716996626b..7113bb15dbd 100644 --- a/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.inl +++ b/TAO/tao/TypeCodeFactory/TypeCodeFactoryC.inl @@ -33,5 +33,32 @@ CORBA::TypeCodeFactory::marshal (TAO_OutputCDR &) return 0; } +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::TypeCodeFactory>::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::TypeCodeFactory>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<CORBA::TypeCodeFactory>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + #endif /* end #if !defined */ |