diff options
Diffstat (limited to 'TAO/tao/BD_String_Argument_T.cpp')
-rw-r--r-- | TAO/tao/BD_String_Argument_T.cpp | 140 |
1 files changed, 0 insertions, 140 deletions
diff --git a/TAO/tao/BD_String_Argument_T.cpp b/TAO/tao/BD_String_Argument_T.cpp deleted file mode 100644 index cd1625d1ced..00000000000 --- a/TAO/tao/BD_String_Argument_T.cpp +++ /dev/null @@ -1,140 +0,0 @@ -// $Id$ - -#ifndef TAO_BD_STRING_ARGUMENT_T_C -#define TAO_BD_STRING_ARGUMENT_T_C - -#include "tao/BD_String_Argument_T.h" -#include "tao/Dynamic_ParameterC.h" - -#if !defined (__ACE_INLINE__) -#include "tao/BD_String_Argument_T.inl" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID (tao, - BD_String_Argument_T, - "$Id$") - -template<typename S, typename to_S, typename from_S, size_t BOUND> -CORBA::Boolean -TAO::In_BD_String_Argument_T<S,to_S,from_S,BOUND>::marshal ( - TAO_OutputCDR & cdr - ) -{ - return cdr << from_S (this->x_, BOUND); -} - -#if TAO_HAS_INTERCEPTORS == 1 - -template<typename S, typename to_S, typename from_S, size_t BOUND> -void -TAO::In_BD_String_Argument_T<S,to_S,from_S,BOUND>::interceptor_param ( - Dynamic::Parameter & p - ) -{ - p.argument <<= from_S (this->x_, BOUND); - p.mode = CORBA::PARAM_IN; -} - -#endif /* TAO_HAS_INTERCEPTORS */ - -// =========================================================== - -template<typename S, typename to_S, typename from_S, size_t BOUND> -CORBA::Boolean -TAO::Inout_BD_String_Argument_T<S,to_S,from_S,BOUND>::marshal ( - TAO_OutputCDR & cdr - ) -{ - return cdr << from_S (this->x_, BOUND); -} - -template<typename S, typename to_S, typename from_S, size_t BOUND> -CORBA::Boolean -TAO::Inout_BD_String_Argument_T<S,to_S,from_S,BOUND>::demarshal ( - TAO_InputCDR & cdr - ) -{ - delete [] this->x_; - return cdr >> to_S (this->x_, BOUND); -} - -#if TAO_HAS_INTERCEPTORS == 1 - -template<typename S, typename to_S, typename from_S, size_t BOUND> -void -TAO::Inout_BD_String_Argument_T<S,to_S,from_S,BOUND>::interceptor_param ( - Dynamic::Parameter & p - ) -{ - p.argument <<= from_S (this->x_, BOUND); - p.mode = CORBA::PARAM_INOUT; -} - -#endif /* TAO_HAS_INTERCEPTORS */ - -// ============================================================== - -template<typename S, - typename S_out, - typename to_S, - typename from_S, - size_t BOUND> -CORBA::Boolean -TAO::Out_BD_String_Argument_T<S,S_out,to_S,from_S,BOUND>::demarshal ( - TAO_InputCDR & cdr - ) -{ - return cdr >> to_S (this->x_, BOUND); -} - -#if TAO_HAS_INTERCEPTORS == 1 - -template<typename S, - typename S_out, - typename to_S, - typename from_S, - size_t BOUND> -void -TAO::Out_BD_String_Argument_T<S,S_out,to_S,from_S,BOUND>::interceptor_param ( - Dynamic::Parameter & p - ) -{ - p.argument <<= from_S (this->x_, BOUND); - p.mode = CORBA::PARAM_OUT; -} - -#endif /* TAO_HAS_INTERCEPTORS */ - -// ============================================================ - -template<typename S, - typename S_var, - typename to_S, - typename from_S, - size_t BOUND> -CORBA::Boolean -TAO::Ret_BD_String_Argument_T<S,S_var,to_S,from_S,BOUND>::demarshal ( - TAO_InputCDR & cdr - ) -{ - return cdr >> to_S (this->x_.out (), BOUND); -} - -#if TAO_HAS_INTERCEPTORS == 1 - -template<typename S, - typename S_var, - typename to_S, - typename from_S, - size_t BOUND> -void -TAO::Ret_BD_String_Argument_T<S,S_var,to_S,from_S,BOUND>::interceptor_result ( - CORBA::Any * any - ) -{ - (*any) <<= from_S (this->x_.in (), BOUND); -} - -#endif /* TAO_HAS_INTERCEPTORS */ - -#endif /* TAO_BD_STRING_ARGUMENT_T_C */ |