dune-grid
2.3.0
|
interface class for an iterator over grid entitiesAn entity iterator is an iterator over a subset of entities within a hierarchical grid. It is an extension of the Dune::EntityPointer interface. More...
#include <dune/grid/common/entityiterator.hh>
Public Types | |
typedef Grid::template Codim < codim >::Entity | Entity |
enum | |
codimension of entity pointer More... | |
enum | |
Public Member Functions | |
EntityIterator & | operator++ () |
prefix increment operator More... | |
Implementor's interface | |
EntityIterator (const IteratorImp &imp) | |
copy constructor from implementaton More... | |
Dereferencing | |
Entity & | operator* () const |
Dereferencing operator. More... | |
Entity * | operator-> () const |
Pointer operator. More... | |
Compare methods | |
bool | operator== (const EntityPointer< Grid, 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. More... | |
bool | operator!= (const EntityPointer< Grid, 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. More... | |
Query methods | |
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. More... | |
Implementor interface | |
bool | equals (const EntityPointer< Grid, ItImp > &rhs) const |
Forward equality check to realIterator. More... | |
Protected Types | |
typedef IteratorImp | Implementation |
Protected Member Functions | |
Implementation & | impl () |
return reference to the real implementation More... | |
const Implementation & | impl () const |
return reference to the real implementation More... | |
Protected Attributes | |
Implementation | realIterator |
interface class for an iterator over grid entities
An entity iterator is an iterator over a subset of entities within a hierarchical grid. It is an extension of the Dune::EntityPointer interface.
Examples of entity iterators are:
See also the documentation of Dune::EntityPointer.
codim | codimension of entities this iterator walks over |
Grid | type of the grid implementation |
IteratorImp | type of the iterator implementation |
typedef Grid::template Codim< codim >::Entity Dune::EntityIterator< codim, Grid, IteratorImp >::Entity |
|
protectedinherited |
|
inherited |
codimension of entity pointer
|
inherited |
|
inline |
copy constructor from implementaton
|
inlineinherited |
Forward equality check to realIterator.
References Dune::EntityPointer< GridImp, IteratorImp >::realIterator.
|
inlineprotectedinherited |
return reference to the real implementation
References Dune::EntityPointer< GridImp, IteratorImp >::realIterator.
|
inlineprotectedinherited |
return reference to the real implementation
References Dune::EntityPointer< GridImp, IteratorImp >::realIterator.
|
inlineinherited |
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.
References Dune::EntityPointer< GridImp, IteratorImp >::realIterator.
|
inlineinherited |
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.
References Dune::EntityPointer< GridImp, IteratorImp >::equals().
|
inlineinherited |
Dereferencing operator.
References Dune::EntityPointer< GridImp, IteratorImp >::realIterator.
|
inline |
prefix increment operator
|
inlineinherited |
Pointer operator.
References Dune::EntityPointer< GridImp, IteratorImp >::realIterator.
|
inlineinherited |
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.
References Dune::EntityPointer< GridImp, IteratorImp >::equals().
|
protectedinherited |