[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

@@ -322,27 +322,6 @@ hsize_t Attribute::getStorageSize() const
return (storage_size);
}
//--------------------------------------------------------------------------
// Function: Attribute::dereference
// Purpose Dereference a ref into a DataSet object.
// Parameters
// ref - IN: Reference pointer
// Exception H5::IdComponentException
// Programmer Binh-Minh Ribler - Oct, 2006
// Modification
// May 2008 - BMR
// Moved from IdComponent into H5File, H5Object, and Attribute
//--------------------------------------------------------------------------
Attribute::Attribute(H5Object& obj, void* ref) : AbstractDs(), IdComponent()
{
id = obj.p_dereference(ref);
}
Attribute::Attribute(H5File& h5file, void* ref) : AbstractDs(), IdComponent()
{
id = h5file.p_dereference(ref);
}
//--------------------------------------------------------------------------
// Function: Attribute::getId
// Purpose: Get the id of this attribute