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

An STL-compliant const bidirectional iterator for Matrix. More...

#include <scythestat/matrix_bidirectional_iterator.h>

Inheritance diagram for scythe::const_matrix_bidirectional_iterator< T_type, ORDER, M_ORDER, M_STYLE >:
Inheritance graph
[legend]
Collaboration diagram for scythe::const_matrix_bidirectional_iterator< T_type, ORDER, M_ORDER, M_STYLE >:
Collaboration 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_bidirectional_iterator (const Matrix< value_type, M_ORDER, M_STYLE > &M)
 const_matrix_bidirectional_iterator (const self &mi)
selfset_end ()
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)

Static Public Member Functions

typedef
const_matrix_bidirectional_iterator
< T_type, ORDER, M_ORDER,
M_STYLE > 
self

Protected Attributes

T_type * pos_
T_type * vend_
T_type * vbegin_
uint offset_
int lead_length_
int lead_inc_
int trail_inc_
int jump_
const Matrix< T_type, M_ORDER,
M_STYLE > * 
matrix_

Detailed Description

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

An STL-compliant const bidirectional iterator for Matrix.

Provides bidirectional iteration over const Matrix objects. See Josuttis (1999), or some other STL reference, for a full description of the bidirectional iterator interface.

See also:
Matrix
matrix_bidirectional_iterator
const_matrix_forward_iterator
matrix_forward_iterator
const_matrix_random_access_iterator
matrix_random_access_iterator

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