![]() |
Reference documentation for deal.II version 9.6.0
|
#include <deal.II/base/config.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/base/iterator_range.h>
#include <deal.II/grid/tria_iterator_base.h>
#include <memory>
#include <set>
#include <tuple>
Go to the source code of this file.
Namespaces | |
namespace | IteratorFilters |
namespace | internal |
namespace | internal::FilteredIteratorImplementation |
Functions | |
template<typename BaseIterator , typename Predicate > | |
FilteredIterator< BaseIterator > | make_filtered_iterator (const BaseIterator &i, const Predicate &p) |
template<typename BaseIterator , typename Predicate > | |
IteratorRange< FilteredIterator< BaseIterator > > | filter_iterators (IteratorRange< BaseIterator > i, const Predicate &p) |
template<typename BaseIterator , typename Predicate , typename... Targs> | |
IteratorRange< typename internal::FilteredIteratorImplementation::NestFilteredIterators< BaseIterator, std::tuple< Predicate, Targs... > >::type > | filter_iterators (IteratorRange< BaseIterator > i, const Predicate &p, const Targs... args) |
template<typename BaseIterator , typename Predicate > | |
IteratorRange< FilteredIterator< BaseIterator > > | operator| (IteratorRange< BaseIterator > i, const Predicate &p) |
FilteredIterator< BaseIterator > make_filtered_iterator | ( | const BaseIterator & | i, |
const Predicate & | p ) |
Create an object of type FilteredIterator given the base iterator and predicate. This function makes the creation of temporary objects (for example as function arguments) a lot simpler because one does not have to explicitly specify the type of the base iterator by hand – it is deduced automatically here.
Definition at line 904 of file filtered_iterator.h.