1 #ifndef TAO_BASIC_SARGUMENT_T_CPP
2 #define TAO_BASIC_SARGUMENT_T_CPP
4 #if !defined (__ACE_INLINE__)
5 #include "tao/PortableServer/Basic_SArgument_T.inl"
6 #endif /* __ACE_INLINE__ */
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
11 template <typename
> class Insert_Policy
>
13 TAO::In_Basic_SArgument_T
<S
,Insert_Policy
>::demarshal (TAO_InputCDR
&cdr
)
15 return cdr
>> this->x_
;
18 #if TAO_HAS_INTERCEPTORS == 1
21 template <typename
> class Insert_Policy
>
23 TAO::In_Basic_SArgument_T
<S
,Insert_Policy
>::interceptor_value (CORBA::Any
*any
) const
25 Insert_Policy
<S
>::any_insert (any
, this->x_
);
28 #endif /* TAO_HAS_INTERCEPTORS */
30 // ===========================================================
33 template <typename
> class Insert_Policy
>
35 TAO::Inout_Basic_SArgument_T
<S
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
37 return cdr
<< this->x_
;
41 template <typename
> class Insert_Policy
>
43 TAO::Inout_Basic_SArgument_T
<S
,Insert_Policy
>::demarshal (TAO_InputCDR
& cdr
)
45 return cdr
>> this->x_
;
48 #if TAO_HAS_INTERCEPTORS == 1
51 template <typename
> class Insert_Policy
>
53 TAO::Inout_Basic_SArgument_T
<S
,Insert_Policy
>::interceptor_value (CORBA::Any
*any
) const
55 Insert_Policy
<S
>::any_insert (any
, this->x_
);
58 #endif /* TAO_HAS_INTERCEPTORS */
60 // ==============================================================
63 template <typename
> class Insert_Policy
>
65 TAO::Out_Basic_SArgument_T
<S
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
67 return cdr
<< this->x_
;
70 #if TAO_HAS_INTERCEPTORS == 1
73 template <typename
> class Insert_Policy
>
75 TAO::Out_Basic_SArgument_T
<S
,Insert_Policy
>::interceptor_value (CORBA::Any
*any
) const
77 Insert_Policy
<S
>::any_insert (any
, this->x_
);
80 #endif /* TAO_HAS_INTERCEPTORS */
82 // ============================================================
85 template <typename
> class Insert_Policy
>
87 TAO::Ret_Basic_SArgument_T
<S
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
89 return cdr
<< this->x_
;
92 #if TAO_HAS_INTERCEPTORS == 1
95 template <typename
> class Insert_Policy
>
97 TAO::Ret_Basic_SArgument_T
<S
,Insert_Policy
>::interceptor_value (CORBA::Any
*any
) const
99 Insert_Policy
<S
>::any_insert (any
, this->x_
);
102 #endif /* TAO_HAS_INTERCEPTORS */
104 TAO_END_VERSIONED_NAMESPACE_DECL
106 #endif /* TAO_BASIC_SARGUMENT_T_CPP */