diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-08-08 15:42:39 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-08-08 15:42:39 (GMT) |
commit | f74bef15ced59291d51e0d3428e2dd595ed37260 (patch) | |
tree | 7af4e30ad90920545c29911e4b34e8da6d290bf1 /c++/src/H5DataSpace.h | |
parent | ea15f348a1254b5a4ed3e8039f191a0430e4c3f2 (diff) | |
download | hdf5-f74bef15ced59291d51e0d3428e2dd595ed37260.zip hdf5-f74bef15ced59291d51e0d3428e2dd595ed37260.tar.gz hdf5-f74bef15ced59291d51e0d3428e2dd595ed37260.tar.bz2 |
[svn-r11210] Purpose: Code improvement
Description:
Made use of IdComponent::inMemFunc in more classes.
Platforms tested:
Linux 2.4 (heping)
SunOS 5.8 64-bit (sol)
Diffstat (limited to 'c++/src/H5DataSpace.h')
-rw-r--r-- | c++/src/H5DataSpace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/src/H5DataSpace.h b/c++/src/H5DataSpace.h index ee568e4..46c620e 100644 --- a/c++/src/H5DataSpace.h +++ b/c++/src/H5DataSpace.h @@ -102,6 +102,9 @@ class H5_DLLCPP DataSpace : public IdComponent { // Sets or resets the size of this dataspace. void setExtentSimple( int rank, const hsize_t *current_size, const hsize_t *maximum_size = NULL ) const; + // Returns this class name + virtual string fromClass () const { return ("DataSpace"); } + // Creates a DataSpace object using an existing dataspace id. DataSpace(const hid_t space_id); |