SimpMeshRed< _N, _M, T, _Node, _Cell, Container >::SimpIter Class Reference

A simplex iterator for a SimpMeshRed. More...

#include <SimpMeshRed.h>

List of all members.

Public Types

typedef Base::iterator_category iterator_category
 Iterator category.
typedef Base::value_type value_type
 Value type.
typedef Base::difference_type difference_type
 Pointer difference type.
typedef Base::pointer pointer
 Pointer to the value type.
typedef Base::reference reference
 Reference to the value type.

Public Member Functions

Constructors etc.

 SimpIter (CellConstIterator cell)
 Construct a simplex iterator from a const cell iterator.
 SimpIter (const SimpIter &other)
 Copy constructor.
SimpIteroperator= (const SimpIter &other)
 Assignment operator.
 ~SimpIter ()
 Destructor.
Forward iterator requirements

reference operator* () const
 Dereference.
pointer operator-> () const
 Pointer dereference.
SimpIteroperator++ ()
 Pre-increment.
SimpIter operator++ (int)
 Post-increment.
Bidirectional iterator requirements

SimpIteroperator-- ()
 Pre-decrement.
SimpIter operator-- (int)
 Post-decrement.
Base.

CellConstIterator base () const
 Return the const cell iterator.
Equality.

bool operator== (const SimpIter &x)
 Return true if the cells are the same.
bool operator!= (const SimpIter &x)
 Return true if the cells are not the same.

Detailed Description

template<int _N, int _M = _N, typename T = double, template< class > class _Node = SmrNode, template< class > class _Cell = SmrCell, template< class _Elem, class=std::allocator< _Elem > > class Container = std::list>
class SimpMeshRed< _N, _M, T, _Node, _Cell, Container >::SimpIter

A simplex iterator for a SimpMeshRed.

This is a const iterator.


Member Function Documentation

template<int _N, int _M = _N, typename T = double, template< class > class _Node = SmrNode, template< class > class _Cell = SmrCell, template< class _Elem, class=std::allocator< _Elem > > class Container = std::list>
SimpIter SimpMeshRed< _N, _M, T, _Node, _Cell, Container >::SimpIter::operator++ ( int   )  [inline]

Post-increment.

Note:
This is not efficient. If possible, use the pre-increment operator instead.
template<int _N, int _M = _N, typename T = double, template< class > class _Node = SmrNode, template< class > class _Cell = SmrCell, template< class _Elem, class=std::allocator< _Elem > > class Container = std::list>
SimpIter SimpMeshRed< _N, _M, T, _Node, _Cell, Container >::SimpIter::operator-- ( int   )  [inline]

Post-decrement.

Note:
This is not efficient. If possible, use the pre-decrement operator instead.

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:59 2016 for Computational Geometry Package by  doxygen 1.6.3