Schnek
schnek::Range< T, rank, CheckingPolicy >::iterator Class Reference

Forward iterator over the rectangular domain. More...

#include <range.hpp>

Inheritance diagram for schnek::Range< T, rank, CheckingPolicy >::iterator:
Collaboration diagram for schnek::Range< T, rank, CheckingPolicy >::iterator:

Public Member Functions

 iterator (const iterator &it)
 Copy constructor.
 
iteratoroperator++ ()
 Prefix increment. Increments the iterator by one position.
 
const iterator operator++ (int)
 Postfix increment. Increments the iterator by one position.
 
bool operator== (const iterator &it)
 Equality test.
 
bool operator!= (const iterator &it)
 Equality test.
 
const LimitTypeoperator* ()
 Returns the current iterator position.
 
const LimitTypegetPos ()
 Returns the current iterator position.
 

Friends

class Range
 

Detailed Description

template<class T, size_t rank, template< size_t > class CheckingPolicy = ArrayNoArgCheck>
class schnek::Range< T, rank, CheckingPolicy >::iterator

Forward iterator over the rectangular domain.

Implements operator* and getPos which both return the current iterator position


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