[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
![]() |
FilterIterator< PREDICATE, ITER > Class Template Reference | ![]() |
This iterator creates a view of another iterator and skips elements that do not fulfill a given predicate. More...
#include <vigra/filter_iterator.hxx>
Inherits ForwardIteratorFacade< FACADE, VALUE_TYPE, IS_CONST >.
Public Member Functions | |
FilterIterator (Predicate pred, Iter iter, Iter end=Iter()) | |
This iterator creates a view of another iterator and skips elements that do not fulfill a given predicate.
The iterator is compatible to an STL forward iterator as defined in the C++ standard.
FilterIterator | ( | Predicate | pred, |
Iter | iter, | ||
Iter | end = Iter() |
||
) |
Construct a filter iterator with the given predicate for a base iterator range iter to end.
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|