summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataSpace.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2005-02-20 20:45:44 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2005-02-20 20:45:44 (GMT)
commit6f2de2c62cdc8a6def14fd06b0b25fae1d487d28 (patch)
tree2f0bef8ee7912db66bb0432a4d9be19c41cfe4ac /c++/src/H5DataSpace.cpp
parent322297809cfe9e7ca4ed39d62706f1d0301a0da1 (diff)
downloadhdf5-6f2de2c62cdc8a6def14fd06b0b25fae1d487d28.zip
hdf5-6f2de2c62cdc8a6def14fd06b0b25fae1d487d28.tar.gz
hdf5-6f2de2c62cdc8a6def14fd06b0b25fae1d487d28.tar.bz2
[svn-r10050] Purpose: Fix bugzilla #241
Description: Checked return value from C API for failure condition. Added/Modified some comments appropriately. Platforms tested: Linux 2.4 (heping) AIX 5.1 (copper) - tests passed but there were some old warnings about duplicate symbols on std::string; I'll check on that.
Diffstat (limited to 'c++/src/H5DataSpace.cpp')
-rw-r--r--c++/src/H5DataSpace.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/c++/src/H5DataSpace.cpp b/c++/src/H5DataSpace.cpp
index f5584a6..7250285 100644
--- a/c++/src/H5DataSpace.cpp
+++ b/c++/src/H5DataSpace.cpp
@@ -93,6 +93,9 @@ DataSpace::DataSpace( const DataSpace& original ) : IdComponent( original ) {}
///\param like_space - IN: Dataspace to be copied
///\exception H5::DataSpaceIException
// Programmer Binh-Minh Ribler - 2000
+// Modification
+// Replaced resetIdComponent with decRefCount to use new ID
+// reference counting mechanisms by Quincey Koziol, June 1, 2004
//--------------------------------------------------------------------------
void DataSpace::copy( const DataSpace& like_space )
{
@@ -538,6 +541,9 @@ void DataSpace::selectHyperslab( H5S_seloper_t op, const hsize_t *count, const h
// Function: DataSpace destructor
///\brief Properly terminates access to this dataspace.
// Programmer Binh-Minh Ribler - 2000
+// Modification
+// Replaced resetIdComponent with decRefCount to use new ID
+// reference counting mechanisms by Quincey Koziol, June 1, 2004
//--------------------------------------------------------------------------
DataSpace::~DataSpace()
{