1 #ifndef TAO_SPECIAL_BASIC_SARGUMENT_T_CPP
2 #define TAO_SPECIAL_BASIC_SARGUMENT_T_CPP
4 #if !defined (__ACE_INLINE__)
5 #include "tao/PortableServer/Special_Basic_SArgument_T.inl"
6 #endif /* __ACE_INLINE__ */
9 // ============================================================
11 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
16 template <typename
> class Insert_Policy
>
18 TAO::In_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::demarshal (
22 return cdr
>> to_S (this->x_
);
25 #if TAO_HAS_INTERCEPTORS == 1
30 template <typename
> class Insert_Policy
>
32 TAO::In_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::
33 interceptor_value (CORBA::Any
*any
) const
35 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
38 #endif /* TAO_HAS_INTERCEPTORS */
40 // ===========================================================
45 template <typename
> class Insert_Policy
>
47 TAO::Inout_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::marshal (
51 return cdr
<< from_S (this->x_
);
57 template <typename
> class Insert_Policy
>
59 TAO::Inout_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::demarshal (
63 return cdr
>> to_S (this->x_
);
66 #if TAO_HAS_INTERCEPTORS == 1
71 template <typename
> class Insert_Policy
>
73 TAO::Inout_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::
74 interceptor_value (CORBA::Any
*any
) const
76 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
79 #endif /* TAO_HAS_INTERCEPTORS */
81 // ==============================================================
86 template <typename
> class Insert_Policy
>
88 TAO::Out_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::marshal (
92 return cdr
<< from_S (this->x_
);
95 #if TAO_HAS_INTERCEPTORS == 1
100 template <typename
> class Insert_Policy
>
102 TAO::Out_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::
103 interceptor_value (CORBA::Any
*any
) const
105 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
108 #endif /* TAO_HAS_INTERCEPTORS */
110 // ==============================================================
115 template <typename
> class Insert_Policy
>
117 TAO::Ret_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::marshal (
121 return cdr
<< from_S (this->x_
);
124 #if TAO_HAS_INTERCEPTORS == 1
129 template <typename
> class Insert_Policy
>
131 TAO::Ret_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::
132 interceptor_value (CORBA::Any
*any
) const
134 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
137 #endif /* TAO_HAS_INTERCEPTORS */
139 TAO_END_VERSIONED_NAMESPACE_DECL
141 #endif /* TAO_SPECIAL_BASIC_SARGUMENT_T_CPP */