summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Attribute.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-08-21 15:58:11 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-08-21 15:58:11 (GMT)
commit1bc611b62313f64dd65345385007f38e2eaeec7d (patch)
tree4df05add949d91f982107fde8911a56249b45e10 /c++/src/H5Attribute.cpp
parent1926a6538e52bb626be4411d52fd12eb4496a426 (diff)
downloadhdf5-1bc611b62313f64dd65345385007f38e2eaeec7d.zip
hdf5-1bc611b62313f64dd65345385007f38e2eaeec7d.tar.gz
hdf5-1bc611b62313f64dd65345385007f38e2eaeec7d.tar.bz2
[svn-r9133] Purpose: Clean up code
Description: The private function p_close was removed previously, but I inadvertently put it back in a few places, while transferring the changes from 1.6 branch. These are removed now. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
Diffstat (limited to 'c++/src/H5Attribute.cpp')
-rw-r--r--c++/src/H5Attribute.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/c++/src/H5Attribute.cpp b/c++/src/H5Attribute.cpp
index 7b26947..6c9b1b3 100644
--- a/c++/src/H5Attribute.cpp
+++ b/c++/src/H5Attribute.cpp
@@ -256,26 +256,6 @@ string Attribute::getName() const
return( attr_name );
}
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
-//--------------------------------------------------------------------------
-// Function: Attribute::p_close (private)
-// Purpose: Closes this attribute.
-// Exception H5::AttributeIException
-// Description
-// 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");
- }
-}
-#endif // DOXYGEN_SHOULD_SKIP_THIS
-
//--------------------------------------------------------------------------
// Function: Attribute destructor
///\brief Properly terminates access to this attribute.