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/H5PropList.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/H5PropList.cpp')
-rw-r--r-- | c++/src/H5PropList.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/c++/src/H5PropList.cpp b/c++/src/H5PropList.cpp index 110ce6d..d2fb66f 100644 --- a/c++/src/H5PropList.cpp +++ b/c++/src/H5PropList.cpp @@ -153,26 +153,6 @@ void PropList::copyProp( PropList& dest, PropList& src, const string& name ) con //-------------------------------------------------------------------------- -// Function: PropList::p_close -///\brief Closes the property list if it is not a default one -///\note -/// This function will be obsolete because its functionality is recently -/// handled by the C library layer. -///\exception H5::PropListIException -//-------------------------------------------------------------------------- -void PropList::p_close() const -{ - if( id != H5P_NO_CLASS ) // not a constant, should call H5Pclose - { - herr_t ret_value = H5Pclose( id ); - if( ret_value < 0 ) - { - throw PropListIException(0, "property list close failed" ); - } - } -} - -//-------------------------------------------------------------------------- // Function: PropList::getClass ///\brief Returns the class of this property list, i.e. \c H5P_FILE_CREATE... ///\return The property list class if it is not equal to \c H5P_NO_CLASS |