summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataSet.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-08-12 08:06:35 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-08-12 08:06:35 (GMT)
commitb8a08e043ec8c3a37ace521314063df6f14e894a (patch)
treee3e86741e2057df18f054bf0abe2008532242daa /c++/src/H5DataSet.h
parent6dec81e7ac7edacf524a8f4dbb125d4fe40f3dc0 (diff)
downloadhdf5-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/H5DataSet.h')
-rw-r--r--c++/src/H5DataSet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/c++/src/H5DataSet.h b/c++/src/H5DataSet.h
index 6c483ea..dce21a5 100644
--- a/c++/src/H5DataSet.h
+++ b/c++/src/H5DataSet.h
@@ -39,9 +39,11 @@ class H5_DLLCPP DataSet : public H5Object, public AbstractDs {
// Fills a selection in memory with a value
void fillMemBuf(const void *fill, const DataType& fill_type, void *buf, const DataType& buf_type, const DataSpace& space) const;
+ //void fillMemBuf(const void *fill, DataType& fill_type, void *buf, DataType& buf_type, DataSpace& space); // removed from 1.8.18 and 1.10.1
// Fills a selection in memory with zero
void fillMemBuf(void *buf, const DataType& buf_type, const DataSpace& space) const;
+ //void fillMemBuf(void *buf, DataType& buf_type, DataSpace& space); // removed from 1.8.18 and 1.10.1
// Gets the creation property list of this dataset.
DSetCreatPropList getCreatePlist() const;
@@ -63,7 +65,7 @@ class H5_DLLCPP DataSet : public H5Object, public AbstractDs {
// Returns the number of bytes required to store VL data.
hsize_t getVlenBufSize(const DataType& type, const DataSpace& space ) const;
- hsize_t getVlenBufSize(DataType& type, DataSpace& space) const; // kept for backward compatibility
+ //hsize_t getVlenBufSize(DataType& type, DataSpace& space) const; // removed from 1.8.18 and 1.10.1
// Reclaims VL datatype memory buffers.
static void vlenReclaim(const DataType& type, const DataSpace& space, const DSetMemXferPropList& xfer_plist, void* buf );