diff options
Diffstat (limited to 'c++/src/H5DataSpace.h')
-rw-r--r-- | c++/src/H5DataSpace.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/c++/src/H5DataSpace.h b/c++/src/H5DataSpace.h index e1c5ba4..e78e544 100644 --- a/c++/src/H5DataSpace.h +++ b/c++/src/H5DataSpace.h @@ -112,8 +112,18 @@ class H5_DLLCPP DataSpace : public IdComponent { // Copy constructor: makes a copy of the original DataSpace object. DataSpace(const DataSpace& original); + // Gets the dataspace id. + virtual hid_t getId() const; + // Destructor: properly terminates access to this dataspace. virtual ~DataSpace(); + + protected: + // Sets the dataspace id. + virtual void p_setId(const hid_t new_id); + + private: + hid_t id; // HDF5 dataspace id }; #ifndef H5_NO_NAMESPACE } |