1 #ifndef TAO_SPECIAL_BASIC_SARGUMENT_T_CPP
2 #define TAO_SPECIAL_BASIC_SARGUMENT_T_CPP
4 #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
5 #include "tao/PortableServer/Special_Basic_SArgument_T.h"
6 #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
8 #if !defined (__ACE_INLINE__)
9 #include "tao/PortableServer/Special_Basic_SArgument_T.inl"
10 #endif /* __ACE_INLINE__ */
13 // ============================================================
15 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
20 template <typename
> class Insert_Policy
>
22 TAO::In_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::demarshal (
26 return cdr
>> to_S (this->x_
);
29 #if TAO_HAS_INTERCEPTORS == 1
34 template <typename
> class Insert_Policy
>
36 TAO::In_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::
37 interceptor_value (CORBA::Any
*any
) const
39 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
42 #endif /* TAO_HAS_INTERCEPTORS */
44 // ===========================================================
49 template <typename
> class Insert_Policy
>
51 TAO::Inout_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::marshal (
55 return cdr
<< from_S (this->x_
);
61 template <typename
> class Insert_Policy
>
63 TAO::Inout_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::demarshal (
67 return cdr
>> to_S (this->x_
);
70 #if TAO_HAS_INTERCEPTORS == 1
75 template <typename
> class Insert_Policy
>
77 TAO::Inout_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::
78 interceptor_value (CORBA::Any
*any
) const
80 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
83 #endif /* TAO_HAS_INTERCEPTORS */
85 // ==============================================================
90 template <typename
> class Insert_Policy
>
92 TAO::Out_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::marshal (
96 return cdr
<< from_S (this->x_
);
99 #if TAO_HAS_INTERCEPTORS == 1
104 template <typename
> class Insert_Policy
>
106 TAO::Out_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::
107 interceptor_value (CORBA::Any
*any
) const
109 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
112 #endif /* TAO_HAS_INTERCEPTORS */
114 // ==============================================================
119 template <typename
> class Insert_Policy
>
121 TAO::Ret_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::marshal (
125 return cdr
<< from_S (this->x_
);
128 #if TAO_HAS_INTERCEPTORS == 1
133 template <typename
> class Insert_Policy
>
135 TAO::Ret_Special_Basic_SArgument_T
<S
,to_S
,from_S
,Insert_Policy
>::
136 interceptor_value (CORBA::Any
*any
) const
138 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
141 #endif /* TAO_HAS_INTERCEPTORS */
143 TAO_END_VERSIONED_NAMESPACE_DECL
145 #endif /* TAO_SPECIAL_BASIC_SARGUMENT_T_CPP */