diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
commit | 40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch) | |
tree | 37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /TAO/tao/Var_Array_Argument_T.cpp | |
parent | c254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff) | |
download | ATCD-typecode-overhaul.tar.gz |
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'TAO/tao/Var_Array_Argument_T.cpp')
-rw-r--r-- | TAO/tao/Var_Array_Argument_T.cpp | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/TAO/tao/Var_Array_Argument_T.cpp b/TAO/tao/Var_Array_Argument_T.cpp index 591995eb163..c7f04620b0a 100644 --- a/TAO/tao/Var_Array_Argument_T.cpp +++ b/TAO/tao/Var_Array_Argument_T.cpp @@ -23,8 +23,6 @@ TAO::In_Var_Array_Argument_T<S,S_slice,S_forany>::marshal ( return cdr << this->x_; } -#if TAO_HAS_INTERCEPTORS == 1 - template<typename S, typename S_slice, typename S_forany> void TAO::In_Var_Array_Argument_T<S,S_slice,S_forany>::interceptor_param ( @@ -35,8 +33,6 @@ TAO::In_Var_Array_Argument_T<S,S_slice,S_forany>::interceptor_param ( p.mode = CORBA::PARAM_IN; } -#endif /* TAO_HAS_INTERCEPTORS */ - // =========================================================== template<typename S, typename S_slice, typename S_forany> @@ -57,8 +53,6 @@ TAO::Inout_Var_Array_Argument_T<S,S_slice,S_forany>::demarshal ( return cdr >> this->x_; } -#if TAO_HAS_INTERCEPTORS == 1 - template<typename S, typename S_slice, typename S_forany> void TAO::Inout_Var_Array_Argument_T<S,S_slice,S_forany>::interceptor_param ( @@ -69,8 +63,6 @@ TAO::Inout_Var_Array_Argument_T<S,S_slice,S_forany>::interceptor_param ( p.mode = CORBA::PARAM_INOUT; } -#endif /* TAO_HAS_INTERCEPTORS */ - // ============================================================== template<typename S, @@ -86,14 +78,12 @@ TAO::Out_Var_Array_Argument_T<S,S_slice,S_var,S_out,S_forany,S_tag>::demarshal ( { typedef TAO::Array_Traits<S,S_slice,S_tag> ARRAY_TRAITS; ACE_ALLOCATOR_RETURN (this->x_, - ARRAY_TRAITS::alloc (), + ARRAY_TRAITS::tao_alloc (), 0); S_forany tmp (this->x_); return cdr >> tmp; } -#if TAO_HAS_INTERCEPTORS == 1 - template<typename S, typename S_slice, typename S_var, @@ -108,8 +98,6 @@ interceptor_param (Dynamic::Parameter & p) p.mode = CORBA::PARAM_OUT; } -#endif /* TAO_HAS_INTERCEPTORS */ - // ============================================================ template<typename S, @@ -125,15 +113,13 @@ TAO::Ret_Var_Array_Argument_T<S,S_slice,S_var,S_forany,S_tag>::demarshal ( typedef TAO::Array_Traits<S,S_slice,S_tag> ARRAY_TRAITS; S_slice * tmp_ptr = 0; ACE_ALLOCATOR_RETURN (tmp_ptr, - ARRAY_TRAITS::alloc (), + ARRAY_TRAITS::tao_alloc (), 0); this->x_ = tmp_ptr; S_forany tmp (this->x_.ptr ()); return cdr >> tmp; } -#if TAO_HAS_INTERCEPTORS == 1 - template<typename S, typename S_slice, typename S_var, @@ -146,6 +132,4 @@ interceptor_result (CORBA::Any * any) (*any) <<= S_forany (this->x_.ptr ()); } -#endif /* TAO_HAS_INTERCEPTORS */ - #endif /* TAO_VAR_ARRAY_ARGUMENT_T_C */ |