scythe::const_matrix_forward_iterator< T_type, ORDER, M_ORDER, M_STYLE > Class Template Reference

#include <scythestat/matrix_forward_iterator.h>

Inheritance diagram for scythe::const_matrix_forward_iterator< T_type, ORDER, M_ORDER, M_STYLE >:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

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

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.

See also:
Matrix

matrix_forward_iterator

const_matrix_random_access_iterator

matrix_random_access_iterator

const_matrix_bidirectional_iterator

matrix_bidirectional_iterator


Public Types

typedef const_matrix_forward_iterator<
T_type, ORDER, M_ORDER, M_STYLE > 
self
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)
selfset_end ()
unsigned int get_index () const
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

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_


The documentation for this class was generated from the following file:
Generated on Wed Aug 15 14:53:56 2007 for Scythe-1.0.2 by  doxygen 1.4.7