1 #ifndef TAO_VECTOR_ARGUMENT_T_CPP
2 #define TAO_VECTOR_ARGUMENT_T_CPP
4 #include "tao/Vector_Argument_T.h"
6 #if !defined (__ACE_INLINE__)
7 #include "tao/Vector_Argument_T.inl"
8 #endif /* __ACE_INLINE__ */
10 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
13 template <typename
> class Insert_Policy
>
15 TAO::In_Vector_Argument_T
<S
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
17 return cdr
<< this->x_
;
20 #if TAO_HAS_INTERCEPTORS == 1
23 template <typename
> class Insert_Policy
>
25 TAO::In_Vector_Argument_T
<S
,Insert_Policy
>::interceptor_value (
26 CORBA::Any
*any
) const
28 Insert_Policy
<S
>::any_insert (any
, this->x_
);
31 #endif /* TAO_HAS_INTERCEPTORS */
34 template <typename
> class Insert_Policy
>
35 TAO::In_Vector_Clonable_Argument_T
<S
,Insert_Policy
>::~In_Vector_Clonable_Argument_T ()
39 S
& tmp
= const_cast<S
&> (this->x_
);
45 template <typename
> class Insert_Policy
>
47 TAO::In_Vector_Clonable_Argument_T
<S
,Insert_Policy
>::clone ()
49 S
* clone_x
= new S (this->x_
);
50 In_Vector_Clonable_Argument_T
<S
,Insert_Policy
>* clone_arg
51 = new In_Vector_Clonable_Argument_T
<S
,Insert_Policy
> (*clone_x
);
52 clone_arg
->is_clone_
= true;
56 // ===========================================================
59 template <typename
> class Insert_Policy
>
61 TAO::Inout_Vector_Argument_T
<S
,Insert_Policy
>::marshal (
64 return cdr
<< this->x_
;
68 template <typename
> class Insert_Policy
>
70 TAO::Inout_Vector_Argument_T
<S
,Insert_Policy
>::demarshal (
73 return cdr
>> this->x_
;
76 #if TAO_HAS_INTERCEPTORS == 1
79 template <typename
> class Insert_Policy
>
81 TAO::Inout_Vector_Argument_T
<S
,Insert_Policy
>::interceptor_value (
82 CORBA::Any
*any
) const
84 Insert_Policy
<S
>::any_insert (any
, this->x_
);
87 #endif /* TAO_HAS_INTERCEPTORS */
89 // ==============================================================
92 template <typename
> class Insert_Policy
>
94 TAO::Out_Vector_Argument_T
<S
,Insert_Policy
>::demarshal (
97 return cdr
>> this->x_
;
100 #if TAO_HAS_INTERCEPTORS == 1
103 template <typename
> class Insert_Policy
>
105 TAO::Out_Vector_Argument_T
<S
,Insert_Policy
>::interceptor_value (
106 CORBA::Any
*any
) const
108 Insert_Policy
<S
>::any_insert (any
, this->x_
);
111 #endif /* TAO_HAS_INTERCEPTORS */
113 // ============================================================
116 template <typename
> class Insert_Policy
>
118 TAO::Ret_Vector_Argument_T
<S
,Insert_Policy
>::demarshal (
121 return cdr
>> this->x_
;
124 #if TAO_HAS_INTERCEPTORS == 1
127 template <typename
> class Insert_Policy
>
129 TAO::Ret_Vector_Argument_T
<S
,Insert_Policy
>::interceptor_value (
130 CORBA::Any
*any
) const
132 Insert_Policy
<S
>::any_insert (any
, this->x_
);
135 #endif /* TAO_HAS_INTERCEPTORS */
137 TAO_END_VERSIONED_NAMESPACE_DECL
139 #endif /* TAO_VECTOR_ARGUMENT_T_CPP */