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/H5Attribute.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/H5Attribute.cpp')
-rw-r--r-- | c++/src/H5Attribute.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/c++/src/H5Attribute.cpp b/c++/src/H5Attribute.cpp index bd77f22..570dbe7 100644 --- a/c++/src/H5Attribute.cpp +++ b/c++/src/H5Attribute.cpp @@ -250,24 +250,6 @@ string Attribute::getName() const } //-------------------------------------------------------------------------- -// Function: Attribute::p_close (private) -///\brief Closes this attribute. -///\exception H5::AttributeIException -///\note -/// This function will be obsolete because its functionality -/// is recently handled by the C library layer. - May, 2004 -// Programmer Binh-Minh Ribler - 2000 -//-------------------------------------------------------------------------- -void Attribute::p_close() const -{ - herr_t ret_value = H5Aclose( id ); - if( ret_value < 0 ) - { - throw AttributeIException(0, "H5Aclose failed"); - } -} - -//-------------------------------------------------------------------------- // Function: Attribute destructor ///\brief Properly terminates access to this attribute. // Programmer Binh-Minh Ribler - 2000 |