diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-06 19:05:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-06 19:05:12 (GMT) |
commit | 7a30de3a2bf48a81dcf7679782ba4e247bd8991e (patch) | |
tree | bf62d63e3303453ed60f8bca611f8ad56b37fedd /c++ | |
parent | 1b67380c0abcf87ae05f8661647dacd75858b50e (diff) | |
download | hdf5-7a30de3a2bf48a81dcf7679782ba4e247bd8991e.zip hdf5-7a30de3a2bf48a81dcf7679782ba4e247bd8991e.tar.gz hdf5-7a30de3a2bf48a81dcf7679782ba4e247bd8991e.tar.bz2 |
[svn-r4680] Purpose:
Code cleanup
Description:
Property that H5P(g|s)et_hyper_cache uses is no longer in use inside the
library.
Solution:
Removed H5P(g|s)et_hyper_cache API functions, except when backward
compatibility is turned on. When backward compatibility is turned on,
the property is defined by the library, but unused internally.
Platforms tested:
FreeBSD 4.4 (sleipnir)
Diffstat (limited to 'c++')
-rw-r--r-- | c++/src/H5DxferProp.cpp | 2 | ||||
-rw-r--r-- | c++/src/H5DxferProp.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/c++/src/H5DxferProp.cpp b/c++/src/H5DxferProp.cpp index 36d2405..9c3c1ea 100644 --- a/c++/src/H5DxferProp.cpp +++ b/c++/src/H5DxferProp.cpp @@ -93,6 +93,7 @@ bool DSetMemXferPropList::getPreserve() const } } +#ifdef H5_WANT_H5_V1_4_COMPAT // Indicates whether to cache hyperslab blocks during I/O void DSetMemXferPropList::setHyperCache( bool cache, unsigned limit ) const { @@ -119,6 +120,7 @@ void DSetMemXferPropList::getHyperCache( bool& cache, unsigned& limit ) const else cache = false; } +#endif /* H5_WANT_H5_V1_4_COMPAT */ // Sets B-tree split ratios for a dataset transfer property list void DSetMemXferPropList::setBtreeRatios( double left, double middle, double right ) const diff --git a/c++/src/H5DxferProp.h b/c++/src/H5DxferProp.h index a612805..9c10c78 100644 --- a/c++/src/H5DxferProp.h +++ b/c++/src/H5DxferProp.h @@ -36,11 +36,13 @@ class DSetMemXferPropList : public PropList { // Checks status of the dataset transfer property list bool getPreserve() const; +#ifdef H5_WANT_H5_V1_4_COMPAT // Indicates whether to cache hyperslab blocks during I/O void setHyperCache( bool cache, unsigned limit = 0 ) const; // Returns information regarding the caching of hyperslab blocks during I/O void getHyperCache( bool& cache, unsigned& limit ) const; +#endif /* H5_WANT_H5_V1_4_COMPAT */ // Sets B-tree split ratios for a dataset transfer property list void setBtreeRatios( double left, double middle, double right ) const; |