Reference documentation for deal.II version 9.6.0
|
Public Member Functions | |
virtual | ~PredicateBase ()=default |
virtual bool | operator() (const BaseIterator &bi) const =0 |
virtual std::unique_ptr< PredicateBase > | clone () const =0 |
Base class to encapsulate a predicate object. Since predicates can be of different types and we do not want to code these types into the template parameter list of the filtered iterator class, we use a base class with an abstract function and templatized derived classes that implement the use of actual predicate types through the virtual function.
Definition at line 820 of file filtered_iterator.h.
|
virtualdefault |
Mark the destructor virtual to allow destruction through pointers to the base class.
|
pure virtual |
Abstract function which in derived classes denotes the evaluation of the predicate on the given iterator.
Implemented in FilteredIterator< BaseIterator >::PredicateTemplate< Predicate >.
|
pure virtual |
Generate a copy of this object, i.e. of the actual type of this pointer.
Implemented in FilteredIterator< BaseIterator >::PredicateTemplate< Predicate >.