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

An indexed 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.

 IndSimpIter (CellConstIterator cell)
 Construct an indexed simplex iterator from a const cell iterator.
 IndSimpIter (const IndSimpIter &other)
 Copy constructor.
IndSimpIteroperator= (const IndSimpIter &other)
 Assignment operator.
 ~IndSimpIter ()
 Destructor.
Forward iterator requirements

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

IndSimpIteroperator-- ()
 Pre-decrement.
IndSimpIter operator-- (int)
 Post-decrement.
Base.

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

bool operator== (const IndSimpIter &x)
 Return true if the cells are the same.
bool operator!= (const IndSimpIter &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 >::IndSimpIter

An indexed 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>
IndSimpIter SimpMeshRed< _N, _M, T, _Node, _Cell, Container >::IndSimpIter::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>
IndSimpIter SimpMeshRed< _N, _M, T, _Node, _Cell, Container >::IndSimpIter::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