Public Member Functions | |
SubdomainEqualTo (const unsigned int subdomain_id) | |
template<class Iterator > | |
bool | operator() (const Iterator &i) const |
Protected Attributes | |
const unsigned int | subdomain_id |
Filter for iterators that evaluates to true if either the iterator is past the end or the subdomain id of the object pointed to is equal to a value given to the constructor, assuming that the iterator allows querying for a subdomain id).
Constructor. Store the subdomain which iterators shall have to be evaluated to true.
bool IteratorFilters::SubdomainEqualTo::operator() | ( | const Iterator & | i | ) | const [inline] |
Evaluation operator. Returns true if either the subdomain of the object pointed to is equal to the stored value or the iterator is past the end.
References subdomain_id.
const unsigned int IteratorFilters::SubdomainEqualTo::subdomain_id [protected] |
Stored value to compare the subdomain with.
Referenced by operator()().