Scythe-1.0.3
|
An STL-compliant const random access iterator for Matrix. More...
#include <scythestat/matrix_random_access_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_random_access_iterator (const Matrix< value_type, M_ORDER, M_STYLE > &M) | |
const_matrix_random_access_iterator (const self &mi) | |
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 |
self & | operator-- () |
self | operator-- (int) |
const reference | operator[] (difference_type n) const |
self & | operator+= (difference_type n) |
self & | operator-= (difference_type n) |
difference_type | operator- (const self &x) const |
difference_type | operator< (const self &x) const |
difference_type | operator> (const self &x) const |
difference_type | operator<= (const self &x) const |
difference_type | operator>= (const self &x) const |
Static Public Member Functions | |
typedef const_matrix_random_access_iterator < T_type, ORDER, M_ORDER, M_STYLE > | self |
Protected Attributes | |
T_type * | start_ |
T_type * | pos_ |
uint | offset_ |
int | lead_length_ |
int | lead_inc_ |
int | trail_inc_ |
int | jump_ |
An STL-compliant const random access iterator for Matrix.
Provides random access iteration over const Matrix objects. See Josuttis (1999), or some other STL reference, for a full description of the random access iterator interface.