Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / PortableServer / Var_Array_SArgument_T.inl
blobfa47a64f158d4856c742c8ca581f0fbf2b696c41
1 // -*- C++ -*-
2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
4 template<typename S_forany,
5          template <typename> class Insert_Policy>
6 ACE_INLINE
7 TAO::In_Var_Array_SArgument_T<S_forany,
8                               Insert_Policy>::In_Var_Array_SArgument_T ()
9 {}
11 template<typename S_forany,
12          template <typename> class Insert_Policy>
13 ACE_INLINE
14 typename S_forany::_slice_type const *
15 TAO::In_Var_Array_SArgument_T<S_forany,
16                               Insert_Policy>::arg () const
18   S_forany tmp (this->x_);
19   return tmp.in ();
22 // ==========================================================================
24 template<typename S_forany,
25          template <typename> class Insert_Policy>
26 ACE_INLINE
27 TAO::Inout_Var_Array_SArgument_T<S_forany,
28                                  Insert_Policy>::
29 Inout_Var_Array_SArgument_T ()
33 template<typename S_forany,
34          template <typename> class Insert_Policy>
35 typename S_forany::_slice_type *
36 TAO::Inout_Var_Array_SArgument_T<S_forany,
37                                  Insert_Policy>::arg ()
39   S_forany tmp (this->x_);
40   return tmp.inout ();
43 // ==========================================================================
45 template<typename S_var,
46          typename S_forany,
47          template <typename> class Insert_Policy>
48 ACE_INLINE
49 TAO::Out_Var_Array_SArgument_T<S_var,
50                                S_forany,
51                                Insert_Policy>::
52 Out_Var_Array_SArgument_T ()
56 template<typename S_var,
57          typename S_forany,
58          template <typename> class Insert_Policy>
59 typename S_forany::_slice_type *&
60 TAO::Out_Var_Array_SArgument_T<S_var,
61                                S_forany,
62                                Insert_Policy>::arg ()
64   return this->x_.out ();
67 // ==========================================================================
69 template<typename S_var,
70          typename S_forany,
71          template <typename> class Insert_Policy>
72 ACE_INLINE
73 TAO::Ret_Var_Array_SArgument_T<S_var,
74                                S_forany,
75                                Insert_Policy>::
76 Ret_Var_Array_SArgument_T ()
80 template<typename S_var,
81          typename S_forany,
82          template <typename> class Insert_Policy>
83 ACE_INLINE
84 typename S_forany::_slice_type *&
85 TAO::Ret_Var_Array_SArgument_T<S_var,
86                                S_forany,
87                                Insert_Policy>::arg ()
89   return this->x_.out ();
92 TAO_END_VERSIONED_NAMESPACE_DECL