[svn-r8837] Purpose: Update doc and fix minor bug

Description:
    H5IdComponent.cpp: initialized a pointer to NULL
    H5Object.cpp: removed functions being added by mistake
    Update function headers for the rest.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
This commit is contained in:
Binh-Minh Ribler
2004-07-08 14:48:45 -05:00
parent c19e495c00
commit c3bfac0639
10 changed files with 159 additions and 112 deletions

View File

@@ -484,22 +484,22 @@ hid_t H5File::getLocId() const
//--------------------------------------------------------------------------
// Function: H5File::getFileSize
///\brief Retrieves the file size of the HDF5 file. This function
/// is called after an existing file is opened in order
/// to learn the true size of the underlying file.
///\brief Retrieves the file size of the HDF5 file.
///\exception H5::FileIException
///\return File size
///\par Description
/// This function is called after an existing file is opened in
/// order to learn the true size of the underlying file.
// Programmer Raymond Lu - June 24, 2004
//--------------------------------------------------------------------------
haddr_t H5File::getFileSize(void) const
{
herr_t ret;
ret = H5Fget_filesize(id, size);
if( ret < 0 )
haddr_t file_size = H5Fget_filesize(id);
if( file_size < 0 )
{
throw FileIException("H5File::getFileSize", "H5Fget_filesize failed");
}
return ret;
return(file_size);
}
//--------------------------------------------------------------------------