Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / Fixed_Array_SArgument_T.inl
blob3147aefa654f8bfd97458baab0025b641f076013
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_Fixed_Array_SArgument_T<S_forany,
8                                 Insert_Policy>::In_Fixed_Array_SArgument_T ()
12 template<typename S_forany,
13          template <typename> class Insert_Policy>
14 ACE_INLINE
15 typename S_forany::_slice_type const *
16 TAO::In_Fixed_Array_SArgument_T<S_forany,
17                                 Insert_Policy>::arg () const
19   S_forany tmp (this->x_);
20   return tmp.in ();
23 // ===========================================================================
25 template<typename S_forany,
26          template <typename> class Insert_Policy>
27 ACE_INLINE
28 TAO::Inout_Fixed_Array_SArgument_T<S_forany,
29                                    Insert_Policy>::
30 Inout_Fixed_Array_SArgument_T ()
34 template<typename S_forany,
35          template <typename> class Insert_Policy>
36 ACE_INLINE
37 typename S_forany::_slice_type *
38 TAO::Inout_Fixed_Array_SArgument_T<S_forany,
39                                    Insert_Policy>::arg ()
41   S_forany tmp (this->x_);
42   return tmp.inout ();
45 // ===========================================================================
47 template<typename S_forany,
48          template <typename> class Insert_Policy>
49 ACE_INLINE
50 TAO::Out_Fixed_Array_SArgument_T<S_forany,
51                                  Insert_Policy>::
52 Out_Fixed_Array_SArgument_T ()
56 template<typename S_forany,
57          template <typename> class Insert_Policy>
58 ACE_INLINE
59 typename S_forany::_slice_type *
60 TAO::Out_Fixed_Array_SArgument_T<S_forany,
61                                  Insert_Policy>::arg ()
63   S_forany tmp (this->x_);
64   return tmp.inout ();
67 // ===========================================================================
69 template<typename S_var,
70          typename S_forany,
71          template <typename> class Insert_Policy>
72 ACE_INLINE
73 TAO::Ret_Fixed_Array_SArgument_T<S_var,
74                                  S_forany,
75                                  Insert_Policy>::
76 Ret_Fixed_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_Fixed_Array_SArgument_T<S_var,
86                                  S_forany,
87                                  Insert_Policy>::arg ()
89   return this->x_._retn_arg ();
92 TAO_END_VERSIONED_NAMESPACE_DECL