summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataType.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2013-09-19 02:41:00 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2013-09-19 02:41:00 (GMT)
commitd95f5e293a2c550f24522a98873a08ad7942ee06 (patch)
treec5cf910060adc63724b65e57f540261f33961063 /c++/src/H5DataType.h
parent18b896112c1fd7db68323a9dd4a18cfa19deedc2 (diff)
downloadhdf5-d95f5e293a2c550f24522a98873a08ad7942ee06.zip
hdf5-d95f5e293a2c550f24522a98873a08ad7942ee06.tar.gz
hdf5-d95f5e293a2c550f24522a98873a08ad7942ee06.tar.bz2
[svn-r24162] backing out a commit that includes wrong files
Diffstat (limited to 'c++/src/H5DataType.h')
-rw-r--r--c++/src/H5DataType.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h
index e4254b0..6e56622 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(const H5Location& loc, const void* ref, H5R_type_t ref_type = H5R_OBJECT, const PropList& plist = PropList::DEFAULT);
- DataType(const Attribute& attr, const void* ref, H5R_type_t ref_type = H5R_OBJECT, const PropList& plist = PropList::DEFAULT);
+ 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();
@@ -100,6 +101,9 @@ class H5_DLLCPP DataType : public H5Object {
// Checks whether this datatype is a variable-length string.
bool isVariableStr() const;
+ // Retrieves a dataspace with the region pointed to selected.
+ DataSpace getRegion(void *ref, H5R_type_t ref_type = H5R_DATASET_REGION) const;
+
///\brief Returns this class name.
virtual H5std_string fromClass () const { return("DataType"); }