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/H5DataSet.h | |
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/H5DataSet.h')
-rw-r--r-- | c++/src/H5DataSet.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c++/src/H5DataSet.h b/c++/src/H5DataSet.h index f5d13d0..f26d775 100644 --- a/c++/src/H5DataSet.h +++ b/c++/src/H5DataSet.h @@ -85,8 +85,9 @@ class H5_DLLCPP DataSet : public H5Object, public AbstractDs { virtual H5std_string fromClass () const { return("DataSet"); } // Creates a dataset by way of dereference. - DataSet(H5Object& obj, void* ref); - DataSet(H5File& file, void* ref); + DataSet(H5Object& obj, const void* ref, H5R_type_t ref_type = H5R_OBJECT); + DataSet(H5File& h5file, const void* ref, H5R_type_t ref_type = H5R_OBJECT); + DataSet(Attribute& attr, const void* ref, H5R_type_t ref_type = H5R_OBJECT); // Default constructor. DataSet(); |