diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-08-07 06:30:15 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-08-07 06:30:15 (GMT) |
commit | e6266dd7a1977a8328ff456c2d7451c1af9a96dc (patch) | |
tree | 8c9a4efbec9799990aa1483ab16649de4fed6e0b /c++/src/H5DataSet.cpp | |
parent | 3ff3720c028f47aa0b9ea1e89592dcd42b82246f (diff) | |
download | hdf5-e6266dd7a1977a8328ff456c2d7451c1af9a96dc.zip hdf5-e6266dd7a1977a8328ff456c2d7451c1af9a96dc.tar.gz hdf5-e6266dd7a1977a8328ff456c2d7451c1af9a96dc.tar.bz2 |
[svn-r9049] Purpose: Clean up code
Description:
Removed private functions p_close, that were left over from the
removal of the reference counting mechanism.
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
Misc. update:
release_docs/RELEASE will be updated soon.
Diffstat (limited to 'c++/src/H5DataSet.cpp')
-rw-r--r-- | c++/src/H5DataSet.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/c++/src/H5DataSet.cpp b/c++/src/H5DataSet.cpp index 1753c04..9e509ad 100644 --- a/c++/src/H5DataSet.cpp +++ b/c++/src/H5DataSet.cpp @@ -478,24 +478,6 @@ DataSpace DataSet::getRegion(void *ref, H5R_type_t ref_type) const } //-------------------------------------------------------------------------- -// Function: DataSet::p_close (private) -///\brief Closes this dataset. -///\exception H5::DataSetIException -///\note -/// This function will be obsolete because its functionality -/// is recently handled by the C library layer. -// Programmer Binh-Minh Ribler - 2000 -//-------------------------------------------------------------------------- -void DataSet::p_close() const -{ - herr_t ret_value = H5Dclose( id ); - if( ret_value < 0 ) - { - throw DataSetIException(0, "H5Dclose failed"); - } -} - -//-------------------------------------------------------------------------- // Function: DataSet destructor ///\brief Properly terminates access to this dataset. // Programmer Binh-Minh Ribler - 2000 |