summaryrefslogtreecommitdiff
path: root/TAO/tao/Array_VarOut_T.cpp
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:11 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:11 +0000
commit6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch)
treeda50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/Array_VarOut_T.cpp
parent0e555b9150d38e3b3473ba325b56db2642e6352b (diff)
downloadATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz
Repo restructuring
Diffstat (limited to 'TAO/tao/Array_VarOut_T.cpp')
-rw-r--r--TAO/tao/Array_VarOut_T.cpp95
1 files changed, 0 insertions, 95 deletions
diff --git a/TAO/tao/Array_VarOut_T.cpp b/TAO/tao/Array_VarOut_T.cpp
deleted file mode 100644
index 23fcc598ff1..00000000000
--- a/TAO/tao/Array_VarOut_T.cpp
+++ /dev/null
@@ -1,95 +0,0 @@
-// $Id$
-
-#ifndef TAO_ARRAY_VAROUT_T_CPP
-#define TAO_ARRAY_VAROUT_T_CPP
-
-#include "tao/Array_VarOut_T.h"
-
-#if !defined (__ACE_INLINE__)
-#include "tao/Array_VarOut_T.inl"
-#endif /* __ACE_INLINE__ */
-
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
-template<typename T, typename T_slice, typename TAG>
-TAO_FixedArray_Var_T<T,T_slice,TAG> &
-TAO_FixedArray_Var_T<T,T_slice,TAG>::operator= (T_slice * p)
-{
- // Is what we own the same that is being assigned to us?
- if (this->ptr_ != p)
- {
- // Delete our stuff and assume ownership of p.
- TAO::Array_Traits<FORANY>::free (this->ptr_);
- this->ptr_ = p;
- }
-
- return *this;
-}
-
-template<typename T, typename T_slice, typename TAG>
-TAO_FixedArray_Var_T<T,T_slice,TAG> &
-TAO_FixedArray_Var_T<T,T_slice,TAG>::operator= (
- const TAO_FixedArray_Var_T<T,T_slice,TAG> & p
- )
-{
- if (this != &p)
- {
- TAO::Array_Traits<FORANY>::free (this->ptr_);
-
- // Deep copy.
- this->ptr_ = TAO::Array_Traits<FORANY>::dup (p.in ());
- }
-
- return *this;
-}
-
-// *************************************************************
-
-template<typename T, typename T_slice, typename TAG>
-TAO_VarArray_Var_T<T,T_slice,TAG> &
-TAO_VarArray_Var_T<T,T_slice,TAG>::operator= (T_slice * p)
-{
- // Is what we own the same that is being assigned to us?
- if (this->ptr_ != p)
- {
- // Delete our stuff and assume ownership of p.
- TAO::Array_Traits<FORANY>::free (this->ptr_);
- this->ptr_ = p;
- }
-
- return *this;
-}
-
-template<typename T, typename T_slice, typename TAG>
-TAO_VarArray_Var_T<T,T_slice,TAG> &
-TAO_VarArray_Var_T<T,T_slice,TAG>::operator= (
- const TAO_VarArray_Var_T<T,T_slice,TAG> & p
- )
-{
- if (this != &p)
- {
- TAO::Array_Traits<FORANY>::free (this->ptr_);
-
- // Deep copy.
- this->ptr_ = TAO::Array_Traits<FORANY>::dup (p.in ());
- }
-
- return *this;
-}
-
-// *************************************************************
-
-template<typename T, typename T_slice, typename TAG>
-void
-TAO_Array_Forany_T<T,T_slice,TAG>::_tao_any_destructor (
- void * _tao_void_pointer
- )
-{
- T_slice * tmp = static_cast<T_slice *> (_tao_void_pointer);
- TAO::Array_Traits<FORANY>::free (tmp);
-}
-
-TAO_END_VERSIONED_NAMESPACE_DECL
-
-#endif /* TAO_ARRAY_VAROUT_T_CPP */