IteratorFilters::LevelEqualTo Class Reference
[Iterators on mesh-like containers]

List of all members.

Public Member Functions

 LevelEqualTo (const unsigned int level)
template<class Iterator >
bool operator() (const Iterator &i) const

Protected Attributes

const unsigned int level

Detailed Description

Filter for iterators that evaluates to true if either the iterator is past the end or the level of the object pointed to is equal to a value given to the constructor.


Constructor & Destructor Documentation

IteratorFilters::LevelEqualTo::LevelEqualTo ( const unsigned int  level  )  [inline]

Constructor. Store the level which iterators shall have to be evaluated to true.


Member Function Documentation

template<class Iterator >
bool IteratorFilters::LevelEqualTo::operator() ( const Iterator &  i  )  const [inline]

Evaluation operator. Returns true if either the level of the object pointed to is equal to the stored value or the iterator is past the end.

References level.


Member Data Documentation

Stored value to compare the level with.

Referenced by operator()().


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

deal.II documentation generated on Mon Nov 23 22:58:26 2009 by doxygen 1.6.1