Var_Array_Argument_T.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Var_Array_Argument_T.inl,v 1.11 2006/06/27 06:22:00 jwillemsen Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 template<typename S_forany,
00008          class Insert_Policy>
00009 ACE_INLINE
00010 TAO::In_Var_Array_Argument_T<S_forany,Insert_Policy>::
00011 In_Var_Array_Argument_T (const typename S_forany::_slice_type * x)
00012   : x_ (const_cast<typename S_forany::_slice_type *> (x))
00013 {
00014 }
00015 
00016 template<typename S_forany,
00017          class Insert_Policy>
00018 ACE_INLINE
00019 typename S_forany::_slice_type const *
00020 TAO::In_Var_Array_Argument_T<S_forany,Insert_Policy>::arg (void) const
00021 {
00022   return this->x_.in ();
00023 }
00024 
00025 // ==========================================================================
00026 
00027 template<typename S_forany,
00028          class Insert_Policy>
00029 ACE_INLINE
00030 TAO::Inout_Var_Array_Argument_T<S_forany,Insert_Policy>::
00031 Inout_Var_Array_Argument_T (typename S_forany::_slice_type  *&x)
00032   : x_ (x)
00033 {
00034 }
00035 
00036 template<typename S_forany,
00037          class Insert_Policy>
00038 ACE_INLINE
00039 typename S_forany::_slice_type *
00040 TAO::Inout_Var_Array_Argument_T<S_forany,Insert_Policy>::arg (void)
00041 {
00042   return this->x_.inout ();
00043 }
00044 
00045 // ==========================================================================
00046 
00047 template<typename S_out,
00048          typename S_forany,
00049          class Insert_Policy>
00050 ACE_INLINE
00051 TAO::Out_Var_Array_Argument_T<S_out,S_forany,Insert_Policy>::
00052 Out_Var_Array_Argument_T (S_out x)
00053   : x_ (x.ptr ())
00054 {
00055 }
00056 
00057 template<typename S_out,
00058          typename S_forany,
00059          class Insert_Policy>
00060 ACE_INLINE
00061 typename S_forany::_slice_type *&
00062 TAO::Out_Var_Array_Argument_T<S_out,S_forany,Insert_Policy>::arg (void)
00063 {
00064   return this->x_;
00065 }
00066 
00067 // ==========================================================================
00068 
00069 template<typename S_var,
00070          typename S_forany,
00071          class Insert_Policy>
00072 ACE_INLINE
00073 TAO::Ret_Var_Array_Argument_T<S_var,S_forany,Insert_Policy>::
00074 Ret_Var_Array_Argument_T (void)
00075 {}
00076 
00077 template<typename S_var,
00078          typename S_forany,
00079          class Insert_Policy>
00080 ACE_INLINE
00081 typename S_forany::_slice_type *&
00082 TAO::Ret_Var_Array_Argument_T<S_var,S_forany,Insert_Policy>::arg (void)
00083 {
00084   return this->x_.out ();
00085 }
00086 
00087 template<typename S_var,
00088          typename S_forany,
00089          class Insert_Policy>
00090 ACE_INLINE
00091 typename S_forany::_slice_type *
00092 TAO::Ret_Var_Array_Argument_T<S_var,S_forany,Insert_Policy>::excp (void)
00093 {
00094   return this->x_.ptr ();
00095 }
00096 
00097 template<typename S_var,
00098          typename S_forany,
00099          class Insert_Policy>
00100 ACE_INLINE
00101 typename S_forany::_slice_type *
00102 TAO::Ret_Var_Array_Argument_T<S_var,S_forany,Insert_Policy>::retn (void)
00103 {
00104   return this->x_._retn ();
00105 }
00106 
00107 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 11:54:28 2006 for TAO by doxygen 1.3.6