[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.
This commit is contained in:
@@ -477,24 +477,6 @@ DataSpace DataSet::getRegion(void *ref, H5R_type_t ref_type) const
|
||||
return(dataspace);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// 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.
|
||||
|
||||
Reference in New Issue
Block a user