Public Member Functions | |
| SubdomainEqualTo (const types::subdomain_id_t subdomain_id) | |
| template<class Iterator > | |
| bool | operator() (const Iterator &i) const |
Protected Attributes | |
| const types::subdomain_id_t | 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).
| IteratorFilters::SubdomainEqualTo::SubdomainEqualTo | ( | const types::subdomain_id_t | subdomain_id | ) | [inline] |
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 types::subdomain_id_t IteratorFilters::SubdomainEqualTo::subdomain_id [protected] |
Stored value to compare the subdomain with.
Referenced by operator()().
documentation generated on Fri Aug 12 2011 15:01:09 by
doxygen
1.7.4