[svn-r15959] Description:

Added missing wrappers for H5Rdereference.
    Also, for these wrappers, improved exception handlings to report specific
        overloaded functions, where failure occurs.  Will do the same for more
        functions later...

Platforms tested:
    Linux 2.6 (kagiso)
    SunOS 5.10 (linew)
    FreeBSD (duty)
This commit is contained in:
Binh-Minh Ribler
2008-10-26 21:30:06 -05:00
parent ff3481d957
commit 3677f54877
12 changed files with 265 additions and 102 deletions

View File

@@ -299,24 +299,6 @@ H5std_string IdComponent::p_get_file_name() const
return(file_name);
}
//--------------------------------------------------------------------------
// Function: H5Object::p_dereference (protected)
// Purpose Opens the HDF5 object referenced.
// Parameters
// ref - IN: Reference pointer
// Exception H5::IdComponentException
// Programmer Binh-Minh Ribler - Oct, 2006
//--------------------------------------------------------------------------
hid_t IdComponent::p_dereference(void* ref)
{
hid_t temp_id = H5Rdereference(getId(), H5R_OBJECT, ref);
if (temp_id < 0)
{
throw ReferenceException("", "H5Rdereference failed");
}
return(temp_id);
}
//
// Local functions used in this class
//