diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-02-04 19:36:12 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-02-04 19:36:12 (GMT) |
commit | 78fb916259dad96f1252a99a47c5b576be17a951 (patch) | |
tree | 48d0f14af81a11733b157c20ed186ff4d775a2d8 /c++/src | |
parent | 517643f146678574693ee13a4857d55c1893f02b (diff) | |
download | hdf5-78fb916259dad96f1252a99a47c5b576be17a951.zip hdf5-78fb916259dad96f1252a99a47c5b576be17a951.tar.gz hdf5-78fb916259dad96f1252a99a47c5b576be17a951.tar.bz2 |
[svn-r8149]
Purpose:
replaced name of delete filter with remove filter for the new function H5Premove_filter
Description:
Solution:
Platforms tested:
linux
Misc. update:
Diffstat (limited to 'c++/src')
-rw-r--r-- | c++/src/H5DcreatProp.cpp | 8 | ||||
-rw-r--r-- | c++/src/H5DcreatProp.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/c++/src/H5DcreatProp.cpp b/c++/src/H5DcreatProp.cpp index 22a8f28..efaf30d 100644 --- a/c++/src/H5DcreatProp.cpp +++ b/c++/src/H5DcreatProp.cpp @@ -126,13 +126,13 @@ 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 +void DSetCreatPropList::removeFilter( H5Z_filter_t filter) const { - herr_t ret_value = H5Pdelete_filter( id, filter); + herr_t ret_value = H5Premove_filter( id, filter); if( ret_value < 0 ) { - throw PropListIException("DSetCreatPropList::deleteFilter", - "H5Pdelete_filter failed"); + throw PropListIException("DSetCreatPropList::removeFilter", + "H5Premove_filter failed"); } } diff --git a/c++/src/H5DcreatProp.h b/c++/src/H5DcreatProp.h index 3ef647f..55570c9 100644 --- a/c++/src/H5DcreatProp.h +++ b/c++/src/H5DcreatProp.h @@ -58,7 +58,7 @@ class H5_DLLCPP DSetCreatPropList : public PropList { void setFilter( H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const unsigned int cd_values[] ) const; // Remove one or all filters from the filter pipeline - void deleteFilter( H5Z_filter_t filter) const; + void removeFilter( H5Z_filter_t filter) const; // Returns the number of filters in the pipeline int getNfilters() const; |