diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-12 03:54:25 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-12 03:54:25 (GMT) |
commit | 170b9d0eed23d84bfad64f216b8759b1dc40586c (patch) | |
tree | 261d2079cd91b85c4b82b3a5d1362ffcff913696 /c++/src/H5DataSet.h | |
parent | 53a50fa7c8802f7f964ccf082b5fa8646cf61287 (diff) | |
download | hdf5-170b9d0eed23d84bfad64f216b8759b1dc40586c.zip hdf5-170b9d0eed23d84bfad64f216b8759b1dc40586c.tar.gz hdf5-170b9d0eed23d84bfad64f216b8759b1dc40586c.tar.bz2 |
[svn-r25029] Purpose: Fixed HDFFV-3384
Description:
- Added const to const arguments
- Fixed miscellaneous comments
(merged from trunk-24991)
Platforms tested:
Linux/ppc64 (ostrich)
Linux/32 2.6 (jam)
SunOS 5.11 (emu)
Diffstat (limited to 'c++/src/H5DataSet.h')
-rw-r--r-- | c++/src/H5DataSet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5DataSet.h b/c++/src/H5DataSet.h index c407727..75fde5e 100644 --- a/c++/src/H5DataSet.h +++ b/c++/src/H5DataSet.h @@ -37,9 +37,9 @@ class H5_DLLCPP DataSet : public H5Object, public AbstractDs { void extend( const hsize_t* size ) const; // Fills a selection in memory with a value - void fillMemBuf(const void *fill, DataType& fill_type, void *buf, DataType& buf_type, DataSpace& space); + void fillMemBuf(const void *fill, const DataType& fill_type, void *buf, const DataType& buf_type, const DataSpace& space); // Fills a selection in memory with zero - void fillMemBuf(void *buf, DataType& buf_type, DataSpace& space); + void fillMemBuf(void *buf, const DataType& buf_type, const DataSpace& space); // Gets the creation property list of this dataset. DSetCreatPropList getCreatePlist() const; @@ -60,7 +60,7 @@ class H5_DLLCPP DataSet : public H5Object, public AbstractDs { virtual size_t getInMemDataSize() const; // Returns the number of bytes required to store VL data. - hsize_t getVlenBufSize( DataType& type, DataSpace& space ) const; + hsize_t getVlenBufSize(const DataType& type, const DataSpace& space ) const; // Reclaims VL datatype memory buffers. static void vlenReclaim(const DataType& type, const DataSpace& space, const DSetMemXferPropList& xfer_plist, void* buf ); |