diff options
Diffstat (limited to 'c++/src/H5DataType.h')
-rw-r--r-- | c++/src/H5DataType.h | 8 |
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"); } |