// Fixed_Array_Argument_T.inl,v 1.2 2003/10/28 18:29:14 bala Exp

template<typename S, typename S_slice, typename S_forany>
ACE_INLINE
TAO::In_Fixed_Array_Argument_T<S,S_slice,S_forany>::
In_Fixed_Array_Argument_T (const S_slice * x)
  : x_ (ACE_const_cast (S_slice *, x))
{}

template<typename S, typename S_slice, typename S_forany>
ACE_INLINE
const S_slice *
TAO::In_Fixed_Array_Argument_T<S,S_slice,S_forany>::arg (void) const
{
  return this->x_.in ();
}

// ===========================================================================

template<typename S, typename S_slice, typename S_forany>
ACE_INLINE
TAO::Inout_Fixed_Array_Argument_T<S,S_slice,S_forany>::
Inout_Fixed_Array_Argument_T (S_slice *& x)
  : x_ (x)
{}

template<typename S, typename S_slice, typename S_forany>
ACE_INLINE
S_slice *
TAO::Inout_Fixed_Array_Argument_T<S,S_slice,S_forany>::arg (void)
{
  return this->x_.inout ();
}

// ===========================================================================

template<typename S, typename S_slice, typename S_forany>
ACE_INLINE
TAO::Out_Fixed_Array_Argument_T<S,S_slice,S_forany>::Out_Fixed_Array_Argument_T (S_slice *&x)
  : x_ (x)
{}

template<typename S, typename S_slice, typename S_forany>
ACE_INLINE
S_slice *&
TAO::Out_Fixed_Array_Argument_T<S,S_slice,S_forany>::arg (void)
{
  return this->x_.out ();
}

// ===========================================================================

template<typename S, typename S_slice, typename S_var, typename S_forany>
ACE_INLINE
TAO::Ret_Fixed_Array_Argument_T<S,S_slice,S_var,S_forany>::
Ret_Fixed_Array_Argument_T (void)
{}

template<typename S, typename S_slice, typename S_var, typename S_forany>
ACE_INLINE
S_slice *&
TAO::Ret_Fixed_Array_Argument_T<S,S_slice,S_var,S_forany>::arg (void)
{
  return this->x_.out ();
}

template<typename S, typename S_slice, typename S_var, typename S_forany>
ACE_INLINE
S_slice *
TAO::Ret_Fixed_Array_Argument_T<S,S_slice,S_var,S_forany>::excp (void)
{
  return this->x_.ptr ();
}

template<typename S, typename S_slice, typename S_var, typename S_forany>
ACE_INLINE
S_slice *
TAO::Ret_Fixed_Array_Argument_T<S,S_slice,S_var,S_forany>::retn (void)
{
  return this->x_._retn ();
}

