dune-grid 2.9.0
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::VTK::CornerIterator< CellIterator > Class Template Reference

iterate over the corners of some cell range More...

#include <dune/grid/io/file/vtk/corneriterator.hh>

Inheritance diagram for Dune::VTK::CornerIterator< CellIterator >:
Inheritance graph

Public Types

typedef CornerIterator< CellIterator > DerivedType
 
typedef VTK::Corner< typename std::remove_const< typename std::iterator_traits< CellIterator >::value_type >::type > Corner
 
typedef const Corner Value
 
typedef ValueReference
 
typedef std::iterator_traits< CellIterator >::difference_type DifferenceType
 
typedef std::iterator_traits< CellIterator >::value_type::Geometry::ctype ctype
 
typedef ReferenceElements< ctype, dimRefelems
 

Public Member Functions

Reference dereference () const
 
bool isDereferencable () const
 
bool equals (const DerivedType &other) const
 
void increment ()
 
 CornerIterator (const CellIterator &cellit_, const CellIterator &cellend_, unsigned vtkIndex=0)
 construct a CornerIterator More...
 
 CornerIterator (const CellIterator &cellend_)
 construct a CornerIterator More...
 

Static Public Attributes

static const unsigned dim
 

Detailed Description

template<typename CellIterator>
class Dune::VTK::CornerIterator< CellIterator >

iterate over the corners of some cell range

This will visit all the corners of all elements visited by CellIterator.

Member Typedef Documentation

◆ Corner

template<typename CellIterator >
typedef VTK::Corner<typename std::remove_const<typename std::iterator_traits< CellIterator>::value_type>::type> Dune::VTK::CornerIterator< CellIterator >::Corner

◆ ctype

template<typename CellIterator >
typedef std::iterator_traits<CellIterator>::value_type::Geometry::ctype Dune::VTK::CornerIterator< CellIterator >::ctype

◆ DerivedType

template<typename CellIterator >
typedef CornerIterator<CellIterator> Dune::VTK::CornerIterator< CellIterator >::DerivedType

◆ DifferenceType

template<typename CellIterator >
typedef std::iterator_traits<CellIterator>::difference_type Dune::VTK::CornerIterator< CellIterator >::DifferenceType

◆ Refelems

template<typename CellIterator >
typedef ReferenceElements<ctype, dim> Dune::VTK::CornerIterator< CellIterator >::Refelems

◆ Reference

template<typename CellIterator >
typedef Value& Dune::VTK::CornerIterator< CellIterator >::Reference

◆ Value

template<typename CellIterator >
typedef const Corner Dune::VTK::CornerIterator< CellIterator >::Value

Constructor & Destructor Documentation

◆ CornerIterator() [1/2]

template<typename CellIterator >
Dune::VTK::CornerIterator< CellIterator >::CornerIterator ( const CellIterator &  cellit_,
const CellIterator &  cellend_,
unsigned  vtkIndex = 0 
)
inline

construct a CornerIterator

Parameters
cellit_The begin iterator of the undelying range.
cellend_The end iterator of the underlying range.
vtkIndexVTKIndex of the currently pointed to corner.

◆ CornerIterator() [2/2]

template<typename CellIterator >
Dune::VTK::CornerIterator< CellIterator >::CornerIterator ( const CellIterator &  cellend_)
inline

construct a CornerIterator

This constructs a passed-the-end iterator value.

Member Function Documentation

◆ dereference()

template<typename CellIterator >
Reference Dune::VTK::CornerIterator< CellIterator >::dereference ( ) const
inline

◆ equals()

template<typename CellIterator >
bool Dune::VTK::CornerIterator< CellIterator >::equals ( const DerivedType other) const
inline

◆ increment()

template<typename CellIterator >
void Dune::VTK::CornerIterator< CellIterator >::increment ( )
inline

◆ isDereferencable()

template<typename CellIterator >
bool Dune::VTK::CornerIterator< CellIterator >::isDereferencable ( ) const
inline

Member Data Documentation

◆ dim

template<typename CellIterator >
const unsigned Dune::VTK::CornerIterator< CellIterator >::dim
static
Initial value:
= std::iterator_traits<CellIterator>::
value_type::mydimension

The documentation for this class was generated from the following file: