diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-01-22 22:26:09 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-01-22 22:26:09 +0000 |
commit | 228d07f6500293c189ac995078db229ab5c33e18 (patch) | |
tree | d2ee34817105a1ce78bd6be0df00581b395b851f /TAO/tao/Array_VarOut_T.h | |
parent | e285b474d52d8d3b6d8f6521cb7f42988c12d36b (diff) | |
download | ATCD-228d07f6500293c189ac995078db229ab5c33e18.tar.gz |
ChangeLogTag: Thu Jan 22 16:14:49 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Array_VarOut_T.h')
-rw-r--r-- | TAO/tao/Array_VarOut_T.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/TAO/tao/Array_VarOut_T.h b/TAO/tao/Array_VarOut_T.h index bc151f3a55e..ee495f345c4 100644 --- a/TAO/tao/Array_VarOut_T.h +++ b/TAO/tao/Array_VarOut_T.h @@ -28,7 +28,7 @@ namespace TAO * @brief Specialized for each array in generated code. * */ - template<typename T, typename T_slice> + template<typename T, typename T_slice, typename TAG> struct Array_Traits { static T_slice * tao_alloc (void); @@ -45,13 +45,13 @@ namespace TAO * @brief Parametrized implementation of _var base class for arrays. * */ -template<typename T, typename T_slice> +template<typename T, typename T_slice, typename TAG> class TAO_Array_Var_Base_T { public: TAO_Array_Var_Base_T (void); TAO_Array_Var_Base_T (T_slice *); - TAO_Array_Var_Base_T (const TAO_Array_Var_Base_T<T,T_slice> &); + TAO_Array_Var_Base_T (const TAO_Array_Var_Base_T<T,T_slice,TAG> &); ~TAO_Array_Var_Base_T (void); T_slice & operator[] (CORBA::ULong index); @@ -83,38 +83,38 @@ protected: * elements of fixed size. * */ -template<typename T, typename T_slice> -class TAO_FixedArray_Var_T: public TAO_Array_Var_Base_T<T,T_slice> +template<typename T, typename T_slice, typename TAG> +class TAO_FixedArray_Var_T: public TAO_Array_Var_Base_T<T,T_slice,TAG> { public: TAO_FixedArray_Var_T (void); TAO_FixedArray_Var_T (T_slice *); - TAO_FixedArray_Var_T (const TAO_FixedArray_Var_T<T,T_slice> &); + TAO_FixedArray_Var_T (const TAO_FixedArray_Var_T<T,T_slice,TAG> &); - TAO_FixedArray_Var_T<T,T_slice> &operator= (T_slice *); - TAO_FixedArray_Var_T<T,T_slice> &operator= ( - const TAO_FixedArray_Var_T<T,T_slice> & + TAO_FixedArray_Var_T<T,T_slice,TAG> &operator= (T_slice *); + TAO_FixedArray_Var_T<T,T_slice,TAG> &operator= ( + const TAO_FixedArray_Var_T<T,T_slice,TAG> & ); }; /** - * @class TAO_FixedArray_Var_T + * @class TAO_VarArray_Var_T * * @brief Parametrized implementation of _var class for arrays with * elements of variable size. * */ -template<typename T, typename T_slice> -class TAO_VarArray_Var_T : public TAO_Array_Var_Base_T<T,T_slice> +template<typename T, typename T_slice, typename TAG> +class TAO_VarArray_Var_T : public TAO_Array_Var_Base_T<T,T_slice,TAG> { public: TAO_VarArray_Var_T (void); TAO_VarArray_Var_T (T_slice *); - TAO_VarArray_Var_T (const TAO_VarArray_Var_T<T,T_slice> &); + TAO_VarArray_Var_T (const TAO_VarArray_Var_T<T,T_slice,TAG> &); - TAO_VarArray_Var_T<T,T_slice> &operator= (T_slice *); - TAO_VarArray_Var_T<T,T_slice> &operator= ( - const TAO_VarArray_Var_T<T,T_slice> & + TAO_VarArray_Var_T<T,T_slice,TAG> &operator= (T_slice *); + TAO_VarArray_Var_T<T,T_slice,TAG> &operator= ( + const TAO_VarArray_Var_T<T,T_slice,TAG> & ); operator T_slice *& (); @@ -126,18 +126,18 @@ public: * @brief Parametrized implementation of _out class for arrays. * */ -template<typename T, typename T_var, typename T_slice> +template<typename T, typename T_var, typename T_slice, typename TAG> class TAO_Array_Out_T { public: TAO_Array_Out_T (T_slice *&); TAO_Array_Out_T (T_var &); - TAO_Array_Out_T (const TAO_Array_Out_T<T,T_var,T_slice> &); + TAO_Array_Out_T (const TAO_Array_Out_T<T,T_var,T_slice,TAG> &); - TAO_Array_Out_T<T,T_var,T_slice> &operator= ( - const TAO_Array_Out_T<T,T_var,T_slice> & + TAO_Array_Out_T<T,T_var,T_slice,TAG> &operator= ( + const TAO_Array_Out_T<T,T_var,T_slice,TAG> & ); - TAO_Array_Out_T<T,T_var,T_slice> &operator= (T_slice *); + TAO_Array_Out_T<T,T_var,T_slice,TAG> &operator= (T_slice *); operator T_slice *& (); T_slice *& ptr (void); @@ -145,7 +145,7 @@ public: T_slice & operator[] (CORBA::ULong index); const T_slice & operator[] (CORBA::ULong index) const; private: - typedef TAO_Array_Out_T<T,T_var,T_slice> THIS_OUT_TYPE; + typedef TAO_Array_Out_T<T,T_var,T_slice,TAG> THIS_OUT_TYPE; T_slice *& ptr_; // Assignment from T_var not allowed. void operator= (const T_var &); @@ -157,21 +157,21 @@ private: * @brief Parametrized implementation of _forany class for arrays. * */ -template<typename T, typename T_slice> +template<typename T, typename T_slice, typename TAG> class TAO_Array_Forany_T { public: TAO_Array_Forany_T (void); TAO_Array_Forany_T (T_slice *, CORBA::Boolean nocopy = 0); - TAO_Array_Forany_T (const TAO_Array_Forany_T<T,T_slice> &); + TAO_Array_Forany_T (const TAO_Array_Forany_T<T,T_slice,TAG> &); ~TAO_Array_Forany_T (void); static void _tao_any_destructor (void *); TAO_Array_Forany_T & operator= (T_slice *); TAO_Array_Forany_T & operator= ( - const TAO_Array_Forany_T<T,T_slice> & + const TAO_Array_Forany_T<T,T_slice,TAG> & ); T_slice & operator[] (CORBA::ULong index); |