- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#include <leafiterator.hh>
Inheritance diagram for Dune::LeafIterator< codim, pitype, GridImp, LeafIteratorImp >:

Public Types | |
|
typedef GridImp::template Codim< 0 >::Entity | Entity |
| The Entity that this EntityPointer can point to. | |
| enum | |
| codimension of entity pointer | |
|
typedef LeafIteratorImp< codim, pitype, GridImp > | ImplementationType |
| type of real implementation | |
Public Member Functions | |
| LeafIterator & | operator++ () |
| Preincrement operator. | |
| operator EntityPointer () | |
| Cast to EntityPointer with base class of implementation as engine. This conversion ensures assignablity of LevelIterator, LeafIterator and HierarchicIterator to EntityPointer. | |
| operator const EntityPointer () const | |
| Cast to EntityPointer with const base class of implementation as engine. This conversion ensures assignablity of LevelIterator, LeafIterator and HierarchicIterator to EntityPointer. | |
| void | compactify () |
| Reduce the entity pointers used memory to a minimum necessary to store all needed information. | |
| Entity & | operator * () const |
| Dereferencing operator. | |
| Entity * | operator-> () const |
| Pointer operator. | |
| bool | operator== (const EntityPointer< GridImp, base > &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, base > &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 &rhs) const |
| Forward equality check to realIterator. | |
Protected Types | |
|
typedef Dune::EnableIfInterOperable< typename LeafIteratorImp< codim, pitype, GridImp >::EntityPointerImp, LeafIteratorImp< codim, pitype, GridImp >, typename LeafIteratorImp< codim, pitype, GridImp >::EntityPointerImp >::type | base |
| autocheck wether imp is convertable into imp::base | |
Protected Member Functions | |
| ImplementationType & | getRealImp () |
| return reference to the real implementation | |
| const ImplementationType & | getRealImp () const |
| return reference to the real implementation | |