- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#include <dune/grid/geometrygrid/iterator.hh>
Public Types | |
enum | |
codimension of entity pointer More... | |
enum | |
typedef IteratorImp | ImplementationType |
type of real implementation | |
typedef IteratorImp::Entity | Entity |
The Entity that this EntityPointer can point to. | |
Public Member Functions | |
HierarchicIterator (const Grid &grid, const HostEntityIterator &hostEntityIterator) | |
void | increment () |
Constructor & conversion | |
operator const EntityPointer< HierarchicIteratorTraits< Grid >, base > & () const | |
Cast to EntityPointer with const base class of implementation as engine. | |
void | compactify () |
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 Traits::HostEntityIterator | HostEntityIterator |
typedef Dune::EnableIfInterOperable < typename IteratorImp::EntityPointerImp, IteratorImp, typename IteratorImp::EntityPointerImp > ::type | base |
Protected Member Functions | |
ImplementationType & | getRealImp () |
return reference to the real implementation | |
const ImplementationType & | getRealImp () const |
return reference to the real implementation | |
Protected Attributes | |
IteratorImp | realIterator |
Friends | |
class | Dune::GenericLeafIterator< GridImp > |
class | GridDefaultImplementation< GridImp::dimension, GridImp::dimensionworld, typename GridImp::ctype, typename GridImp::GridFamily > |
typedef Dune::EnableIfInterOperable<typename IteratorImp::EntityPointerImp,IteratorImp, typename IteratorImp::EntityPointerImp>::type Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::base [protected, inherited] |
typedef IteratorImp::Entity Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::Entity [inherited] |
The Entity that this EntityPointer can point to.
typedef Traits::HostEntityIterator Dune::GeoGrid::HierarchicIterator< Grid >::HostEntityIterator [protected] |
typedef IteratorImp Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::ImplementationType [inherited] |
type of real implementation
anonymous enum [inherited] |
codimension of entity pointer
anonymous enum [inherited] |
Dune::GeoGrid::HierarchicIterator< Grid >::HierarchicIterator | ( | const Grid & | grid, | |
const HostEntityIterator & | hostEntityIterator | |||
) | [inline] |
void Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::compactify | ( | ) | [inline, inherited] |
Use EntitySeed to store entity information.
bool Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::equals | ( | const EntityPointer< HierarchicIteratorTraits< Grid > , ItImp > & | rhs | ) | const [inline, inherited] |
Forward equality check to realIterator.
const ImplementationType& Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::getRealImp | ( | ) | const [inline, protected, inherited] |
return reference to the real implementation
ImplementationType& Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::getRealImp | ( | ) | [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.
Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::operator const EntityPointer< HierarchicIteratorTraits< Grid > , base > & | ( | ) | const [inline, inherited] |
Cast to EntityPointer with const base class of implementation as engine.
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] |
IteratorImp Dune::EntityPointer< HierarchicIteratorTraits< Grid > , IteratorImp >::realIterator [protected, inherited] |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].