Scythe-1.0.3
|
An STL-compliant const forward iterator for Matrix. More...
#include <scythestat/matrix_forward_iterator.h>
Public Types | |
typedef std::iterator_traits < self >::value_type | value_type |
typedef std::iterator_traits < self >::iterator_category | iterator_category |
typedef std::iterator_traits < self >::difference_type | difference_type |
typedef std::iterator_traits < self >::pointer | pointer |
typedef std::iterator_traits < self >::reference | reference |
Public Member Functions | |
const_matrix_forward_iterator (const Matrix< value_type, M_ORDER, M_STYLE > &M) | |
const_matrix_forward_iterator (const self &mi) | |
self & | set_end () |
unsigned int | get_index () const |
self & | operator= (const self &mi) |
const reference | operator* () const |
const pointer | operator-> () const |
self & | operator++ () |
self | operator++ (int) |
bool | operator== (const self &x) const |
bool | operator!= (const self &x) const |
Static Public Member Functions | |
typedef const_matrix_forward_iterator < T_type, ORDER, M_ORDER, M_STYLE > | self |
Protected Attributes | |
T_type * | pos_ |
T_type * | vend_ |
uint | offset_ |
int | lead_length_ |
int | lead_inc_ |
int | trail_inc_ |
int | jump_ |
const Matrix< T_type, M_ORDER, M_STYLE > * | matrix_ |
An STL-compliant const forward iterator for Matrix.
Provides forward iteration over const Matrix objects. See Josuttis (1999), or some other STL reference, for a full description of the forward iterator interface.