// $Id$ #ifndef TAO_VAR_ARRAY_SARGUMENT_T_CPP #define TAO_VAR_ARRAY_SARGUMENT_T_CPP #include "tao/PortableServer/Var_Array_SArgument_T.h" #if !defined (__ACE_INLINE__) #include "tao/PortableServer/Var_Array_SArgument_T.inl" #endif /* __ACE_INLINE__ */ TAO_BEGIN_VERSIONED_NAMESPACE_DECL template class Insert_Policy> CORBA::Boolean TAO::In_Var_Array_SArgument_T::demarshal (TAO_InputCDR & cdr) { S_forany tmp (this->x_); return cdr >> tmp; } #if TAO_HAS_INTERCEPTORS == 1 template class Insert_Policy> void TAO::In_Var_Array_SArgument_T::interceptor_value ( CORBA::Any *any) const { Insert_Policy::any_insert (any, S_forany (this->x_)); } #endif /* TAO_HAS_INTERCEPTORS */ // =========================================================== template class Insert_Policy> CORBA::Boolean TAO::Inout_Var_Array_SArgument_T::marshal (TAO_OutputCDR &cdr) { return cdr << S_forany (this->x_); } template class Insert_Policy> CORBA::Boolean TAO::Inout_Var_Array_SArgument_T::demarshal (TAO_InputCDR & cdr) { S_forany tmp (this->x_); return cdr >> tmp; } #if TAO_HAS_INTERCEPTORS == 1 template class Insert_Policy> void TAO::Inout_Var_Array_SArgument_T::interceptor_value ( CORBA::Any *any) const { typedef typename S_forany::_slice_type slice_type; Insert_Policy::any_insert ( any, S_forany (const_cast (this->x_)) ); } #endif /* TAO_HAS_INTERCEPTORS */ // ============================================================== template class Insert_Policy> CORBA::Boolean TAO::Out_Var_Array_SArgument_T::marshal ( TAO_OutputCDR & cdr ) { S_forany tmp (this->x_.ptr ()); return cdr << tmp; } #if TAO_HAS_INTERCEPTORS == 1 template class Insert_Policy> void TAO::Out_Var_Array_SArgument_T::interceptor_value ( CORBA::Any *any) const { Insert_Policy::any_insert (any, S_forany (this->x_.ptr ())); } #endif /* TAO_HAS_INTERCEPTORS */ // ============================================================ template class Insert_Policy> CORBA::Boolean TAO::Ret_Var_Array_SArgument_T::marshal ( TAO_OutputCDR & cdr ) { return cdr << S_forany (this->x_.ptr ()); } #if TAO_HAS_INTERCEPTORS == 1 template class Insert_Policy> void TAO::Ret_Var_Array_SArgument_T::interceptor_value ( CORBA::Any *any) const { Insert_Policy::any_insert (any, S_forany (this->x_.ptr ())); } #endif /* TAO_HAS_INTERCEPTORS */ TAO_END_VERSIONED_NAMESPACE_DECL #endif /* TAO_VAR_ARRAY_SARGUMENT_T_CPP */