Var_Size_Argument_T.inl

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

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