diff options
Diffstat (limited to 'TAO/tao/Var_Array_Argument_T.cpp')
-rw-r--r-- | TAO/tao/Var_Array_Argument_T.cpp | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/TAO/tao/Var_Array_Argument_T.cpp b/TAO/tao/Var_Array_Argument_T.cpp index 17f0aa6f6fd..46356a756e2 100644 --- a/TAO/tao/Var_Array_Argument_T.cpp +++ b/TAO/tao/Var_Array_Argument_T.cpp @@ -69,13 +69,14 @@ template<typename S, typename S_slice, typename S_var, typename S_out, - typename S_forany> + typename S_forany, + typename S_tag> CORBA::Boolean -TAO::Out_Var_Array_Argument_T<S,S_slice,S_var,S_out,S_forany>::demarshal ( +TAO::Out_Var_Array_Argument_T<S,S_slice,S_var,S_out,S_forany,S_tag>::demarshal ( TAO_InputCDR & cdr ) { - typedef TAO::Array_Traits<S,S_slice> ARRAY_TRAITS; + typedef TAO::Array_Traits<S,S_slice,S_tag> ARRAY_TRAITS; ACE_ALLOCATOR_RETURN (this->x_, ARRAY_TRAITS::tao_alloc (), 0); @@ -87,9 +88,10 @@ template<typename S, typename S_slice, typename S_var, typename S_out, - typename S_forany> + typename S_forany, + typename S_tag> void -TAO::Out_Var_Array_Argument_T<S,S_slice,S_var,S_out,S_forany>:: +TAO::Out_Var_Array_Argument_T<S,S_slice,S_var,S_out,S_forany,S_tag>:: interceptor_param (Dynamic::Parameter & p) { p.argument <<= this->x_; @@ -98,13 +100,17 @@ interceptor_param (Dynamic::Parameter & p) // ============================================================ -template<typename S, typename S_slice, typename S_var, typename S_forany> +template<typename S, + typename S_slice, + typename S_var, + typename S_forany, + typename S_tag> CORBA::Boolean -TAO::Ret_Var_Array_Argument_T<S,S_slice,S_var,S_forany>::demarshal ( +TAO::Ret_Var_Array_Argument_T<S,S_slice,S_var,S_forany,S_tag>::demarshal ( TAO_InputCDR & cdr ) { - typedef TAO::Array_Traits<S,S_slice> ARRAY_TRAITS; + typedef TAO::Array_Traits<S,S_slice,S_tag> ARRAY_TRAITS; S_slice * tmp_ptr = 0; ACE_ALLOCATOR_RETURN (tmp_ptr, ARRAY_TRAITS::tao_alloc (), @@ -114,9 +120,13 @@ TAO::Ret_Var_Array_Argument_T<S,S_slice,S_var,S_forany>::demarshal ( return cdr >> tmp; } -template<typename S, typename S_slice, typename S_var, typename S_forany> +template<typename S, + typename S_slice, + typename S_var, + typename S_forany, + typename S_tag> void -TAO::Ret_Var_Array_Argument_T<S,S_slice,S_var,S_forany>:: +TAO::Ret_Var_Array_Argument_T<S,S_slice,S_var,S_forany,S_tag>:: interceptor_result (CORBA::Any * any) { (*any) <<= S_forany (this->x_.ptr ()); |