summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DcreatProp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5DcreatProp.cpp')
-rw-r--r--c++/src/H5DcreatProp.cpp11
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
{