1 #ifndef TAO_UB_STRING_SARGUMENT_T_CPP
2 #define TAO_UB_STRING_SARGUMENT_T_CPP
4 #if !defined (__ACE_INLINE__)
5 #include "tao/PortableServer/UB_String_SArgument_T.inl"
6 #endif /* __ACE_INLINE__ */
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
10 template<typename S
, typename S_var
>
12 TAO::In_UB_String_SArgument_T
<S
,S_var
>::demarshal (TAO_InputCDR
&cdr
)
14 return cdr
>> this->x_
.out ();
17 #if TAO_HAS_INTERCEPTORS == 1
19 template<typename S
, typename S_var
>
21 TAO::In_UB_String_SArgument_T
<S
,S_var
>::interceptor_value (
22 CORBA::Any
*any
) const
24 (*any
) <<= this->x_
.in ();
27 #endif /* TAO_HAS_INTERCEPTORS */
29 // ===========================================================
31 template<typename S
, typename S_var
>
33 TAO::Inout_UB_String_SArgument_T
<S
,S_var
>::marshal (TAO_OutputCDR
&cdr
)
35 return cdr
<< this->x_
.in ();
38 template<typename S
, typename S_var
>
40 TAO::Inout_UB_String_SArgument_T
<S
,S_var
>::demarshal (TAO_InputCDR
& cdr
)
42 return cdr
>> this->x_
.out ();
45 #if TAO_HAS_INTERCEPTORS == 1
47 template<typename S
, typename S_var
>
49 TAO::Inout_UB_String_SArgument_T
<S
,S_var
>::interceptor_value (
50 CORBA::Any
*any
) const
52 (*any
) <<= this->x_
.in ();
55 #endif /* TAO_HAS_INTERCEPTORS */
57 // ==============================================================
59 template<typename S
, typename S_var
>
61 TAO::Out_UB_String_SArgument_T
<S
,S_var
>::marshal (TAO_OutputCDR
&cdr
)
63 return cdr
<< this->x_
.in ();
66 #if TAO_HAS_INTERCEPTORS == 1
68 template<typename S
, typename S_var
>
70 TAO::Out_UB_String_SArgument_T
<S
,S_var
>::interceptor_value (
71 CORBA::Any
*any
) const
73 (*any
) <<= this->x_
.in ();
76 #endif /* TAO_HAS_INTERCEPTORS */
78 // ============================================================
80 template<typename S
, typename S_var
>
82 TAO::Ret_UB_String_SArgument_T
<S
,S_var
>::marshal (TAO_OutputCDR
&cdr
)
84 return cdr
<< this->x_
.in ();
87 #if TAO_HAS_INTERCEPTORS == 1
89 template<typename S
, typename S_var
>
91 TAO::Ret_UB_String_SArgument_T
<S
,S_var
>::interceptor_value (
92 CORBA::Any
*any
) const
94 (*any
) <<= this->x_
.in ();
97 #endif /* TAO_HAS_INTERCEPTORS */
99 TAO_END_VERSIONED_NAMESPACE_DECL
101 #endif /* TAO_UB_STRING_SARGUMENT_T_CPP */