Commit 17be7596 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

deepcopy is now available to the public

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1270
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent ca2dd6fd
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: README.changelog,v 1.32 2003-01-03 20:43:52 forbrig Exp $
* $Id: README.changelog,v 1.33 2003-01-03 22:20:21 forbrig Exp $
*
* Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
*
......@@ -21,7 +21,7 @@
/*! \page page_changelog ChangeLog (AFF)
$Id: README.changelog,v 1.32 2003-01-03 20:43:52 forbrig Exp $
$Id: README.changelog,v 1.33 2003-01-03 22:20:21 forbrig Exp $
\sa \ref page_project_status
......@@ -34,6 +34,8 @@
than an aff::ConstArray
- aff::Array inherits copyout from aff::ConstArray
- copyout now tested by tests/arraytest.cc
- \b !! aff::deepcopy is now placed in namespace aff, because it may prove
useful to external user together with slices and subarrays
- \b 31/12/2002 (thof)
- NULL is deprecated as pointed out by Wolfgang (replaced by literal 0 in
......@@ -156,7 +158,7 @@
/*! \page page_project_status Project status (AFF)
$Id: README.changelog,v 1.32 2003-01-03 20:43:52 forbrig Exp $
$Id: README.changelog,v 1.33 2003-01-03 22:20:21 forbrig Exp $
\sa \ref page_changelog
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: array_dec.h,v 1.22 2003-01-03 20:43:52 forbrig Exp $
* $Id: array_dec.h,v 1.23 2003-01-03 22:20:21 forbrig Exp $
* \author Thomas Forbriger
* \since 08/12/2002
*
......@@ -60,6 +60,7 @@
* - copyout function now returns an aff::Array rather
* than an aff::ConstArray
* - aff::Array inherits copyout from aff::ConstArray
* - deepcopy is now in namespace aff
*
* ============================================================================
*/
......@@ -70,7 +71,7 @@
#define AFF_ARRAY_DEC_H_VERSION \
"AFF_ARRAY_DEC_H V1.10"
#define AFF_ARRAY_DEC_H_CVSID \
"$Id: array_dec.h,v 1.22 2003-01-03 20:43:52 forbrig Exp $"
"$Id: array_dec.h,v 1.23 2003-01-03 22:20:21 forbrig Exp $"
#include <aff/lib/sharedheap.h>
#include <aff/lib/strided.h>
......@@ -416,7 +417,7 @@ namespace prebuilt {
template<class C>
Array& copyin(const C& a)
{
aff::util::deepcopy(a, *this);
aff::deepcopy(a, *this);
return(*this);
}
......
......@@ -3,13 +3,13 @@
*
* ----------------------------------------------------------------------------
*
* $Id: deepcopy.h,v 1.1 2002-12-29 23:02:16 forbrig Exp $
* $Id: deepcopy.h,v 1.2 2003-01-03 22:20:28 forbrig Exp $
* \author Thomas Forbriger
* \date 29/12/2002
*
* external deep copy function (prototypes)
*
* \sa aff::util::deepcopy
* \sa aff::deepcopy
* \sa aff::Array::copyin
* \sa aff::Series::copyin
*
......@@ -17,6 +17,7 @@
*
* REVISIONS and CHANGES
* - 29/12/2002 V1.0 Thomas Forbriger
* - 03/01/2003 V1.1 placed deepcopy in namespace aff
*
* ============================================================================
*/
......@@ -25,12 +26,11 @@
#ifndef AFF_DEEPCOPY_H_VERSION
#define AFF_DEEPCOPY_H_VERSION \
"AFF_DEEPCOPY_H V1.0"
"AFF_DEEPCOPY_H V1.1"
#define AFF_DEEPCOPY_H_CVSID \
"$Id: deepcopy.h,v 1.1 2002-12-29 23:02:16 forbrig Exp $"
"$Id: deepcopy.h,v 1.2 2003-01-03 22:20:28 forbrig Exp $"
namespace aff {
namespace util {
/*! \brief deep copy
*
......@@ -69,9 +69,8 @@ namespace util {
tstp.incr();
sstp.incr();
}
}
} // deepcopy
} // namespace util
} // namespace aff
#endif // TF_DEEPCOPY_H_VERSION (includeguard)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment