dune-grid
2.2.0
|
#include <dune/grid/geometrygrid/iterator.hh>
Public Types | |
enum | |
codimension of entity pointer More... | |
enum | |
typedef IteratorImp::Entity | Entity |
The Entity that this EntityPointer can point to. | |
Public Member Functions | |
HierarchicIterator (const Grid &grid, const HostEntityIterator &hostEntityIterator) | |
void | increment () |
Dereferencing | |
Entity & | operator* () const |
Dereferencing operator. | |
Entity * | operator-> () const |
Pointer operator. | |
Compare methods | |
bool | operator== (const EntityPointer< HierarchicIteratorTraits< 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. | |
bool | operator!= (const EntityPointer< HierarchicIteratorTraits< 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. | |
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. | |
Implementor interface | |
bool | equals (const EntityPointer< HierarchicIteratorTraits< Grid >, ItImp > &rhs) const |
Forward equality check to realIterator. | |
Protected Types | |
typedef Base::EntityImpl | EntityImpl |
typedef Traits::HostEntityIterator | HostEntityIterator |
typedef IteratorImp | Implementation |
Protected Member Functions | |
Implementation & | impl () |
return reference to the real implementation | |
const Implementation & | impl () const |
return reference to the real implementation | |
Protected Attributes | |
Implementation | realIterator |
Friends | |
class | Dune::GenericLeafIterator< GridImp > |
class | GridDefaultImplementation< GridImp::dimension, GridImp::dimensionworld, typename GridImp::ctype, typename GridImp::GridFamily > |
typedef IteratorImp::Entity Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::Entity [inherited] |
The Entity that this EntityPointer can point to.
typedef Base::EntityImpl Dune::GeoGrid::HierarchicIterator< Grid >::EntityImpl [protected] |
typedef Traits::HostEntityIterator Dune::GeoGrid::HierarchicIterator< Grid >::HostEntityIterator [protected] |
typedef IteratorImp Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::Implementation [protected, inherited] |
anonymous enum [inherited] |
codimension of entity pointer
anonymous enum [inherited] |
Dune::GeoGrid::HierarchicIterator< Grid >::HierarchicIterator | ( | const Grid & | grid, |
const HostEntityIterator & | hostEntityIterator | ||
) | [inline] |
bool Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::equals | ( | const EntityPointer< HierarchicIteratorTraits< Grid > , ItImp > & | rhs | ) | const [inline, inherited] |
Forward equality check to realIterator.
Implementation& Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::impl | ( | ) | [inline, protected, inherited] |
return reference to the real implementation
const Implementation& Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::impl | ( | ) | const [inline, protected, inherited] |
return reference to the real implementation
void Dune::GeoGrid::HierarchicIterator< Grid >::increment | ( | ) | [inline] |
int Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::level | ( | ) | const [inline, inherited] |
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 Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::operator!= | ( | const EntityPointer< HierarchicIteratorTraits< Grid > , ItImp > & | rhs | ) | const [inline, inherited] |
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.
Entity& Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::operator* | ( | ) | const [inline, inherited] |
Dereferencing operator.
Entity* Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::operator-> | ( | ) | const [inline, inherited] |
Pointer operator.
bool Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::operator== | ( | const EntityPointer< HierarchicIteratorTraits< Grid > , ItImp > & | rhs | ) | const [inline, inherited] |
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.
friend class Dune::GenericLeafIterator< HierarchicIteratorTraits< Grid > > [friend, inherited] |
friend class GridDefaultImplementation< HierarchicIteratorTraits< Grid > ::dimension, HierarchicIteratorTraits< Grid > ::dimensionworld,typename HierarchicIteratorTraits< Grid > ::ctype,typename HierarchicIteratorTraits< Grid > ::GridFamily > [friend, inherited] |
Implementation Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::realIterator [protected, inherited] |