diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2008-10-27 02:30:06 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2008-10-27 02:30:06 (GMT) |
commit | 3677f54877df7df7cdaeff16cee8efce5b9bc98f (patch) | |
tree | 18f62ff1bce03347882f917a75c7e95d8da80d1b /c++/src/H5Attribute.cpp | |
parent | ff3481d9577d0d826403bc03c4842f3bd5ed7c0d (diff) | |
download | hdf5-3677f54877df7df7cdaeff16cee8efce5b9bc98f.zip hdf5-3677f54877df7df7cdaeff16cee8efce5b9bc98f.tar.gz hdf5-3677f54877df7df7cdaeff16cee8efce5b9bc98f.tar.bz2 |
[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)
Diffstat (limited to 'c++/src/H5Attribute.cpp')
-rw-r--r-- | c++/src/H5Attribute.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/c++/src/H5Attribute.cpp b/c++/src/H5Attribute.cpp index fd08744..c90076c 100644 --- a/c++/src/H5Attribute.cpp +++ b/c++/src/H5Attribute.cpp @@ -323,27 +323,6 @@ hsize_t Attribute::getStorageSize() const } //-------------------------------------------------------------------------- -// 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 // Description: |