dune-grid  2.2.0
Public Types | Public Member Functions | Static Public Attributes
Dune::VTK::CornerIterator< CellIterator > Class Template Reference

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

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

List of all members.

Public Types

typedef CornerIterator
< CellIterator > 
DerivedType
typedef VTK::Corner< typename
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::ctype 
ctype
typedef
GenericReferenceElements
< ctype, dim
Refelems

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
 CornerIterator (const CellIterator &cellend_)
 construct a CornerIterator

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

template<typename CellIterator >
typedef VTK::Corner<typename remove_const<typename std::iterator_traits< CellIterator>::value_type>::type> Dune::VTK::CornerIterator< CellIterator >::Corner
template<typename CellIterator >
typedef std::iterator_traits<CellIterator>::value_type::ctype Dune::VTK::CornerIterator< CellIterator >::ctype
template<typename CellIterator >
typedef CornerIterator<CellIterator> Dune::VTK::CornerIterator< CellIterator >::DerivedType
template<typename CellIterator >
typedef std::iterator_traits<CellIterator>::difference_type Dune::VTK::CornerIterator< CellIterator >::DifferenceType
template<typename CellIterator >
typedef GenericReferenceElements<ctype, dim> Dune::VTK::CornerIterator< CellIterator >::Refelems
template<typename CellIterator >
typedef Value& Dune::VTK::CornerIterator< CellIterator >::Reference
template<typename CellIterator >
typedef const Corner Dune::VTK::CornerIterator< CellIterator >::Value

Constructor & Destructor Documentation

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.

References Dune::VTK::Corner< Cell >::cell(), and Dune::VTK::Corner< Cell >::vtkIndex().

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

template<typename CellIterator >
Reference Dune::VTK::CornerIterator< CellIterator >::dereference ( ) const [inline]
template<typename CellIterator >
bool Dune::VTK::CornerIterator< CellIterator >::equals ( const DerivedType other) const [inline]
template<typename CellIterator >
void Dune::VTK::CornerIterator< CellIterator >::increment ( ) [inline]
template<typename CellIterator >
bool Dune::VTK::CornerIterator< CellIterator >::isDereferencable ( ) const [inline]

Member Data Documentation

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

Referenced by Dune::VTK::CornerIterator< CellIterator >::increment().


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