1 #ifndef TAO_FIXED_ARRAY_SARGUMENT_T_CPP
2 #define TAO_FIXED_ARRAY_SARGUMENT_T_CPP
4 #if !defined (__ACE_INLINE__)
5 #include "tao/PortableServer/Fixed_Array_SArgument_T.inl"
6 #endif /* __ACE_INLINE__ */
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
10 template<typename S_forany
,
11 template <typename
> class Insert_Policy
>
13 TAO::In_Fixed_Array_SArgument_T
<S_forany
,
14 Insert_Policy
>::demarshal (TAO_InputCDR
&cdr
)
16 S_forany
tmp (this->x_
);
20 #if TAO_HAS_INTERCEPTORS == 1
22 template<typename S_forany
,
23 template <typename
> class Insert_Policy
>
25 TAO::In_Fixed_Array_SArgument_T
<S_forany
,
26 Insert_Policy
>::interceptor_value (
27 CORBA::Any
*any
) const
29 Insert_Policy
<S_forany
>::any_insert (any
, S_forany (this->x_
));
32 #endif /* TAO_HAS_INTERCEPTORS */
34 // ===========================================================
36 template<typename S_forany
,
37 template <typename
> class Insert_Policy
>
39 TAO::Inout_Fixed_Array_SArgument_T
<S_forany
,
40 Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
42 return cdr
<< S_forany (this->x_
);
45 template<typename S_forany
,
46 template <typename
> class Insert_Policy
>
48 TAO::Inout_Fixed_Array_SArgument_T
<S_forany
,
50 demarshal (TAO_InputCDR
& cdr
)
52 S_forany
tmp (this->x_
);
56 #if TAO_HAS_INTERCEPTORS == 1
58 template<typename S_forany
,
59 template <typename
> class Insert_Policy
>
61 TAO::Inout_Fixed_Array_SArgument_T
<S_forany
,
62 Insert_Policy
>::interceptor_value (
63 CORBA::Any
*any
) const
65 Insert_Policy
<S_forany
>::any_insert (any
, S_forany (this->x_
));
68 #endif /* TAO_HAS_INTERCEPTORS */
70 // ==============================================================
72 template<typename S_forany
,
73 template <typename
> class Insert_Policy
>
75 TAO::Out_Fixed_Array_SArgument_T
<S_forany
,
76 Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
78 return cdr
<< S_forany (this->x_
);
81 #if TAO_HAS_INTERCEPTORS == 1
83 template<typename S_forany
,
84 template <typename
> class Insert_Policy
>
86 TAO::Out_Fixed_Array_SArgument_T
<S_forany
,
87 Insert_Policy
>::interceptor_value (
88 CORBA::Any
*any
) const
90 Insert_Policy
<S_forany
>::any_insert (any
, S_forany (this->x_
));
93 #endif /* TAO_HAS_INTERCEPTORS */
95 // ============================================================
97 template<typename S_var
,
99 template <typename
> class Insert_Policy
>
101 TAO::Ret_Fixed_Array_SArgument_T
<S_var
,
103 Insert_Policy
>::marshal (
107 return cdr
<< S_forany (this->x_
.inout ());
110 #if TAO_HAS_INTERCEPTORS == 1
112 template<typename S_var
,
114 template <typename
> class Insert_Policy
>
116 TAO::Ret_Fixed_Array_SArgument_T
<S_var
,
118 Insert_Policy
>::interceptor_value (
119 CORBA::Any
*any
) const
121 Insert_Policy
<S_forany
>::any_insert (any
, S_forany (this->x_
.ptr ()));
124 #endif /* TAO_HAS_INTERCEPTORS */
126 TAO_END_VERSIONED_NAMESPACE_DECL
128 #endif /* TAO_FIXED_ARRAY_SARGUMENT_T_CPP */