diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-01-27 20:39:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-01-27 20:39:20 (GMT) |
commit | 61a451f89ea2015eac08e361e6ad244bd4af5f25 (patch) | |
tree | 0f2dccdca39001329f6004a149e8384fa4e4433f /c++/src/H5DcreatProp.cpp | |
parent | 6042adf10b2c00796c52dec2a1f97a4989c42cfd (diff) | |
download | hdf5-61a451f89ea2015eac08e361e6ad244bd4af5f25.zip hdf5-61a451f89ea2015eac08e361e6ad244bd4af5f25.tar.gz hdf5-61a451f89ea2015eac08e361e6ad244bd4af5f25.tar.bz2 |
[svn-r8117] Purpose:
Code cleanup
Description:
Add C++ and FORTRAN wrappers for new H5Pdelete_filter routine, along with
documentation and a note in the release notes.
Platforms tested:
FreeBSD 4.9 (sleipnir)
Linux 2.4 (verbena) w/ C++ and FORTRAN
Too minor for full h5committest
Diffstat (limited to 'c++/src/H5DcreatProp.cpp')
-rw-r--r-- | c++/src/H5DcreatProp.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/c++/src/H5DcreatProp.cpp b/c++/src/H5DcreatProp.cpp index d8327c2..22a8f28 100644 --- a/c++/src/H5DcreatProp.cpp +++ b/c++/src/H5DcreatProp.cpp @@ -125,6 +125,17 @@ void DSetCreatPropList::setFilter( H5Z_filter_t filter, unsigned int flags, size } } +// Removes one or more filters to the filter pipeline +void DSetCreatPropList::deleteFilter( H5Z_filter_t filter) const +{ + herr_t ret_value = H5Pdelete_filter( id, filter); + if( ret_value < 0 ) + { + throw PropListIException("DSetCreatPropList::deleteFilter", + "H5Pdelete_filter failed"); + } +} + // Returns the number of filters in the pipeline int DSetCreatPropList::getNfilters() const { |