Scythe-1.0.3
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
scythe::const_matrix_random_access_iterator< T_type, ORDER, M_ORDER, M_STYLE > Class Template Reference

An STL-compliant const random access iterator for Matrix. More...

#include <scythestat/matrix_random_access_iterator.h>

Inheritance diagram for scythe::const_matrix_random_access_iterator< T_type, ORDER, M_ORDER, M_STYLE >:
Inheritance graph
[legend]

List of all members.

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)
selfoperator= (const self &mi)
const reference operator* () const
const pointer operator-> () const
selfoperator++ ()
self operator++ (int)
bool operator== (const self &x) const
bool operator!= (const self &x) const
selfoperator-- ()
self operator-- (int)
const reference operator[] (difference_type n) const
selfoperator+= (difference_type n)
selfoperator-= (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_

Detailed Description

template<typename T_type, matrix_order ORDER, matrix_order M_ORDER, matrix_style M_STYLE>
class scythe::const_matrix_random_access_iterator< T_type, ORDER, M_ORDER, M_STYLE >

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.

See also:
Matrix
matrix_random_access_iterator
const_matrix_forward_iterator
matrix_forward_iterator
const_matrix_bidirectional_iterator
matrix_bidirectional_iterator

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