summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataType.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2008-10-27 02:30:06 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2008-10-27 02:30:06 (GMT)
commit3677f54877df7df7cdaeff16cee8efce5b9bc98f (patch)
tree18f62ff1bce03347882f917a75c7e95d8da80d1b /c++/src/H5DataType.h
parentff3481d9577d0d826403bc03c4842f3bd5ed7c0d (diff)
downloadhdf5-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/H5DataType.h')
-rw-r--r--c++/src/H5DataType.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h
index 4e7ca03..48aeaf8 100644
--- a/c++/src/H5DataType.h
+++ b/c++/src/H5DataType.h
@@ -30,8 +30,9 @@ class H5_DLLCPP DataType : public H5Object {
DataType( const DataType& original );
// Creates a datatype by way of dereference.
- DataType(H5Object& obj, void* ref);
- DataType(H5File& file, void* ref);
+ DataType(H5Object& obj, const void* ref, H5R_type_t ref_type = H5R_OBJECT);
+ DataType(H5File& h5file, const void* ref, H5R_type_t ref_type = H5R_OBJECT);
+ DataType(Attribute& attr, const void* ref, H5R_type_t ref_type = H5R_OBJECT);
// Closes this datatype.
virtual void close();