1 #ifndef TAO_VECTOR_SARGUMENT_T_CPP
2 #define TAO_VECTOR_SARGUMENT_T_CPP
4 #if !defined (__ACE_INLINE__)
5 #include "tao/PortableServer/Vector_SArgument_T.inl"
6 #endif /* __ACE_INLINE__ */
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
11 template <typename
> class Insert_Policy
>
13 TAO::In_Vector_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_Vector_SArgument_T
<S
,Insert_Policy
>::interceptor_value (
24 CORBA::Any
*any
) const
26 Insert_Policy
<S
>::any_insert (any
, this->x_
);
29 #endif /* TAO_HAS_INTERCEPTORS */
31 // ===========================================================
34 template <typename
> class Insert_Policy
>
36 TAO::Inout_Vector_SArgument_T
<S
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
38 return cdr
<< this->x_
;
42 template <typename
> class Insert_Policy
>
44 TAO::Inout_Vector_SArgument_T
<S
,Insert_Policy
>::demarshal (TAO_InputCDR
& cdr
)
46 return cdr
>> this->x_
;
49 #if TAO_HAS_INTERCEPTORS == 1
52 template <typename
> class Insert_Policy
>
54 TAO::Inout_Vector_SArgument_T
<S
,Insert_Policy
>::interceptor_value (
55 CORBA::Any
*any
) const
57 Insert_Policy
<S
>::any_insert (any
, this->x_
);
60 #endif /* TAO_HAS_INTERCEPTORS */
62 // ==============================================================
65 template <typename
> class Insert_Policy
>
67 TAO::Out_Vector_SArgument_T
<S
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
69 return cdr
<< this->x_
;
72 #if TAO_HAS_INTERCEPTORS == 1
75 template <typename
> class Insert_Policy
>
77 TAO::Out_Vector_SArgument_T
<S
,Insert_Policy
>::interceptor_value (
78 CORBA::Any
*any
) const
80 Insert_Policy
<S
>::any_insert (any
, this->x_
);
83 #endif /* TAO_HAS_INTERCEPTORS */
85 // ============================================================
88 template <typename
> class Insert_Policy
>
90 TAO::Ret_Vector_SArgument_T
<S
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
92 return cdr
<< this->x_
;
95 #if TAO_HAS_INTERCEPTORS == 1
98 template <typename
> class Insert_Policy
>
100 TAO::Ret_Vector_SArgument_T
<S
,Insert_Policy
>::interceptor_value (
101 CORBA::Any
*any
) const
103 Insert_Policy
<S
>::any_insert (any
, this->x_
);
106 #endif /* TAO_HAS_INTERCEPTORS */
108 TAO_END_VERSIONED_NAMESPACE_DECL
110 #endif /* TAO_VECTOR_SARGUMENT_T_CPP */