Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
filter_iterator.H File Reference

Generic filter iterator wrapper for Aleph containers. More...

#include <stdexcept>
#include <ah-errors.H>
Include dependency graph for filter_iterator.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Aleph::Filter_Iterator< Container, It, Show_Item >
 Generic filter iterator wrapper. More...
 
struct  Aleph::Show_All< T >
 Default filter functor that shows all elements. More...
 
struct  Aleph::Show_None< T >
 Filter functor that hides all elements. More...
 

Namespaces

namespace  Aleph
 Main namespace for Aleph-w library functions.
 

Detailed Description

Generic filter iterator wrapper for Aleph containers.

This file provides a generic filter iterator that wraps an existing iterator and filters elements based on a user-defined predicate. Only elements that satisfy the filter predicate are visible during iteration.

Author
Leandro Rabindranath León

Definition in file filter_iterator.H.