Enables iteration over all leaf entities of a codimension zero of a grid. See also the documentation of Dune::EntityPointer.
More...
#include <dune/grid/common/leafiterator.hh>
List of all members.
Public Types |
typedef GridImp::template
Codim< codim >::Entity | Entity |
| The Entity that this EntityPointer can point to.
|
enum | |
| codimension of entity pointer More...
|
enum | |
Public Member Functions |
LeafIterator & | operator++ () |
| Preincrement operator.
|
|
| LeafIterator (const LeafIteratorImp< codim, pitype, const GridImp > &i) |
| copy constructor from LevelIteratorImp
|
|
Entity & | operator* () const |
| Dereferencing operator.
|
Entity * | operator-> () const |
| Pointer operator.
|
|
bool | operator== (const EntityPointer< GridImp, ItImp > &rhs) const |
| Checks for equality. Only works for EntityPointers and iterators on the same grid. Due to the conversion operators one can compare all kinds of iterators and EntityPointer.
|
bool | operator!= (const EntityPointer< GridImp, ItImp > &rhs) const |
| Checks for inequality. Only works for EntityPointers and iterators on the same grid. Due to the conversion operators one can compare all kinds of iterators and EntityPointer.
|
|
int | level () const |
| Ask for level of entity. This method is redundant and is only there for efficiency reasons. It allows an implementation to return the level without actually constructing the entity.
|
|
bool | equals (const EntityPointer< GridImp, ItImp > &rhs) const |
| Forward equality check to realIterator.
|
Detailed Description
template<int codim, PartitionIteratorType pitype, class GridImp, template< int, PartitionIteratorType, class > class LeafIteratorImp>
class Dune::LeafIterator< codim, pitype, GridImp, LeafIteratorImp >
Enables iteration over all leaf entities of a codimension zero of a grid. See also the documentation of Dune::EntityPointer.
- Note:
- The LeafIterator interface is deprecated. Use the EntityIterator interface instead.
Member Typedef Documentation
Member Enumeration Documentation
codimension of entity pointer
Constructor & Destructor Documentation
template<int codim, PartitionIteratorType pitype, class GridImp , template< int, PartitionIteratorType, class > class LeafIteratorImp>
Member Function Documentation
Forward equality check to realIterator.
return reference to the real implementation
return reference to the real implementation
Ask for level of entity. This method is redundant and is only there for efficiency reasons. It allows an implementation to return the level without actually constructing the entity.
Checks for inequality. Only works for EntityPointers and iterators on the same grid. Due to the conversion operators one can compare all kinds of iterators and EntityPointer.
template<int codim, PartitionIteratorType pitype, class GridImp , template< int, PartitionIteratorType, class > class LeafIteratorImp>
Checks for equality. Only works for EntityPointers and iterators on the same grid. Due to the conversion operators one can compare all kinds of iterators and EntityPointer.
Member Data Documentation
The documentation for this class was generated from the following file: