diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-08-12 08:06:35 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-08-12 08:06:35 (GMT) |
commit | b8a08e043ec8c3a37ace521314063df6f14e894a (patch) | |
tree | e3e86741e2057df18f054bf0abe2008532242daa /c++/src/H5DxferProp.h | |
parent | 6dec81e7ac7edacf524a8f4dbb125d4fe40f3dc0 (diff) | |
download | hdf5-b8a08e043ec8c3a37ace521314063df6f14e894a.zip hdf5-b8a08e043ec8c3a37ace521314063df6f14e894a.tar.gz hdf5-b8a08e043ec8c3a37ace521314063df6f14e894a.tar.bz2 |
[svn-r30280] Purpose: Code improvement (HDFFR-9725)
Description:
- Added "const" to arguments that should be const
- Added "const" to const functions, i.e., function that don't change
the objects they operate on.
- Removed deprecated functions in previous releases due to missing const.
Merged from trunk: 30272 and 30279
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5DxferProp.h')
-rw-r--r-- | c++/src/H5DxferProp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/c++/src/H5DxferProp.h b/c++/src/H5DxferProp.h index 52a9a48..31fc372 100644 --- a/c++/src/H5DxferProp.h +++ b/c++/src/H5DxferProp.h @@ -86,24 +86,24 @@ class H5_DLLCPP DSetMemXferPropList : public PropList { H5MM_free_t& free, void** free_info ) const; // Sets the size of a contiguous block reserved for small data. - void setSmallDataBlockSize(hsize_t size); + void setSmallDataBlockSize(hsize_t size) const; // Returns the current small data block size setting. - hsize_t getSmallDataBlockSize(); + hsize_t getSmallDataBlockSize() const; // Sets number of I/O vectors to be read/written in hyperslab I/O. - void setHyperVectorSize(size_t vector_size); + void setHyperVectorSize(size_t vector_size) const; // Returns the number of I/O vectors to be read/written in // hyperslab I/O. - size_t getHyperVectorSize(); + size_t getHyperVectorSize() const; // Enables or disables error-detecting for a dataset reading // process. - void setEDCCheck(H5Z_EDC_t check); + void setEDCCheck(H5Z_EDC_t check) const; // Determines whether error-detection is enabled for dataset reads. - H5Z_EDC_t getEDCCheck(); + H5Z_EDC_t getEDCCheck() const; ///\brief Returns this class name. virtual H5std_string fromClass () const { return("DSetMemXferPropList"); } |