1 #ifndef TAO_SPECIAL_BASIC_ARGUMENT_T_CPP
2 #define TAO_SPECIAL_BASIC_ARGUMENT_T_CPP
4 #include "tao/Special_Basic_Argument_T.h"
7 #if !defined (__ACE_INLINE__)
8 #include "tao/Special_Basic_Argument_T.inl"
9 #endif /* __ACE_INLINE__ */
11 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
16 template <typename
> class Insert_Policy
>
18 TAO::In_Special_Basic_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
20 return cdr
<< from_S (this->x_
);
23 #if TAO_HAS_INTERCEPTORS == 1
28 template <typename
> class Insert_Policy
>
30 TAO::In_Special_Basic_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::interceptor_value (
31 CORBA::Any
*any
) const
33 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
36 #endif /* TAO_HAS_INTERCEPTORS */
41 template <typename
> class Insert_Policy
>
42 TAO::In_Special_Basic_Clonable_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::~In_Special_Basic_Clonable_Argument_T (void)
46 S
* tmp
= const_cast<S
*> (&this->x_
);
54 template <typename
> class Insert_Policy
>
56 TAO::In_Special_Basic_Clonable_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::clone (void)
58 S
* clone_x
= new S (this->x_
);
59 In_Special_Basic_Clonable_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>* clone_arg
60 = new In_Special_Basic_Clonable_Argument_T
<S
,to_S
,from_S
,Insert_Policy
> (*clone_x
);
61 clone_arg
->is_clone_
= true;
65 // ===========================================================
70 template <typename
> class Insert_Policy
>
72 TAO::Inout_Special_Basic_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::marshal (
75 return cdr
<< from_S (this->x_
);
81 template <typename
> class Insert_Policy
>
83 TAO::Inout_Special_Basic_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::demarshal (
87 return cdr
>> to_S (this->x_
);
90 #if TAO_HAS_INTERCEPTORS == 1
95 template <typename
> class Insert_Policy
>
97 TAO::Inout_Special_Basic_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::interceptor_value (
98 CORBA::Any
*any
) const
100 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
103 #endif /* TAO_HAS_INTERCEPTORS */
105 // ==============================================================
110 template <typename
> class Insert_Policy
>
112 TAO::Out_Special_Basic_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::demarshal (
116 return cdr
>> to_S (this->x_
);
119 #if TAO_HAS_INTERCEPTORS == 1
124 template <typename
> class Insert_Policy
>
126 TAO::Out_Special_Basic_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::interceptor_value (
127 CORBA::Any
*any
) const
129 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
132 #endif /* TAO_HAS_INTERCEPTORS */
134 // ============================================================
139 template <typename
> class Insert_Policy
>
141 TAO::Ret_Special_Basic_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::demarshal (
145 return cdr
>> to_S (this->x_
);
148 #if TAO_HAS_INTERCEPTORS == 1
153 template <typename
> class Insert_Policy
>
155 TAO::Ret_Special_Basic_Argument_T
<S
,to_S
,from_S
,Insert_Policy
>::interceptor_value (
156 CORBA::Any
*any
) const
158 Insert_Policy
<from_S
>::any_insert (any
, from_S (this->x_
));
161 #endif /* TAO_HAS_INTERCEPTORS */
163 TAO_END_VERSIONED_NAMESPACE_DECL
165 #endif /* TAO_SPECIAL_BASIC_ARGUMENT_T_CPP */