summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DxferProp.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-08-09 05:29:50 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-08-09 05:29:50 (GMT)
commitb3017997a8044daf273bf2e8084cc172e666830e (patch)
tree21bcef51d822cfbe061e44ece47de8c807691225 /c++/src/H5DxferProp.h
parent7de719287a6449cec0eab1e381d9a90f2ac8b8d1 (diff)
downloadhdf5-b3017997a8044daf273bf2e8084cc172e666830e.zip
hdf5-b3017997a8044daf273bf2e8084cc172e666830e.tar.gz
hdf5-b3017997a8044daf273bf2e8084cc172e666830e.tar.bz2
[svn-r30272] Purpose: Code improvement
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. 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.h12
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"); }