deal.II version GIT relicensing-6917-gb466a1809f 2026-10-16 06:30:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FilteredIterator< BaseIterator >::PredicateBase Class Referenceabstract

Detailed Description

template<typename BaseIterator>
class FilteredIterator< BaseIterator >::PredicateBase

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 821 of file filtered_iterator.h.

Inheritance diagram for FilteredIterator< BaseIterator >::PredicateBase:
[legend]

Public Member Functions

virtual ~PredicateBase ()=default
 
virtual bool operator() (const BaseIterator &bi) const =0
 

Constructor & Destructor Documentation

◆ ~PredicateBase()

template<typename BaseIterator >
virtual FilteredIterator< BaseIterator >::PredicateBase::~PredicateBase ( )
virtualdefault

Mark the destructor virtual to allow destruction through pointers to the base class.

Member Function Documentation

◆ operator()()

template<typename BaseIterator >
virtual bool FilteredIterator< BaseIterator >::PredicateBase::operator() ( const BaseIterator &  bi) const
pure virtual

Abstract function which in derived classes denotes the evaluation of the predicate on the given iterator.

Implemented in FilteredIterator< BaseIterator >::PredicateTemplate< Predicate >.


The documentation for this class was generated from the following file: