Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes | Static Public Attributes
icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator Struct Reference

internal struct for row-wise iteration with stride=COLS More...

#include <FixedMatrix.h>

List of all members.

Public Types

typedef unsigned int difference_type
 just for compatibility with STL

Public Member Functions

 col_iterator (T *col_begin)
 Constructor.
col_iteratoroperator++ ()
 prefix increment operator
const col_iteratoroperator++ () const
 prefix increment operator (const)
col_iterator operator++ (int)
 postfix increment operator
const col_iterator operator++ (int) const
 postfix increment operator (const)
col_iteratoroperator-- ()
 prefix decrement operator
const col_iteratoroperator-- () const
 prefix decrement operator (const)
col_iterator operator-- (int)
 postfix decrement operator
const col_iterator operator-- (int) const
 postfix decrement operator (const)
col_iteratoroperator+= (difference_type n)
 jump next n elements (inplace)
const col_iteratoroperator+= (difference_type n) const
 jump next n elements (inplace) (const)
col_iteratoroperator-= (difference_type n)
 jump backward next n elements (inplace)
const col_iteratoroperator-= (difference_type n) const
 jump backward next n elements (inplace) (const)
col_iterator operator+ (difference_type n)
 jump next n elements
const col_iterator operator+ (difference_type n) const
 jump next n elements (const)
col_iterator operator- (difference_type n)
 jump backward next n elements
const col_iterator operator- (difference_type n) const
 jump backward next n elements (const)
difference_type operator- (const col_iterator &i) const
 steps between two iterators ... (todo: check!)
T & operator* ()
 Dereference operator.
const T & operator* () const
 const Dereference operator
bool operator== (const col_iterator &i) const
 comparison operator ==
bool operator!= (const col_iterator &i) const
 comparison operator !=
bool operator< (const col_iterator &i) const
 comparison operator <
bool operator<= (const col_iterator &i) const
 comparison operator <=
bool operator>= (const col_iterator &i) const
 comparison operator >=
bool operator> (const col_iterator &i) const
 comparison operator >

Public Attributes

T * p
 wrapped data pointer (held shallowly)

Static Public Attributes

static const unsigned int STRIDE = COLS
 the stride is equal to parent Matrix' classes COLS template parameter

Detailed Description

template<class T, unsigned int COLS, unsigned int ROWS>
struct icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator

internal struct for row-wise iteration with stride=COLS


Member Typedef Documentation

template<class T, unsigned int COLS, unsigned int ROWS>
typedef unsigned int icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::difference_type

just for compatibility with STL


Constructor & Destructor Documentation

template<class T, unsigned int COLS, unsigned int ROWS>
icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::col_iterator ( T *  col_begin) [inline]

Constructor.


Member Function Documentation

template<class T, unsigned int COLS, unsigned int ROWS>
bool icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator!= ( const col_iterator i) const [inline]

comparison operator !=

template<class T, unsigned int COLS, unsigned int ROWS>
T& icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator* ( ) [inline]

Dereference operator.

template<class T, unsigned int COLS, unsigned int ROWS>
const T& icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator* ( ) const [inline]

const Dereference operator

template<class T, unsigned int COLS, unsigned int ROWS>
col_iterator icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator+ ( difference_type  n) [inline]

jump next n elements

template<class T, unsigned int COLS, unsigned int ROWS>
const col_iterator icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator+ ( difference_type  n) const [inline]

jump next n elements (const)

template<class T, unsigned int COLS, unsigned int ROWS>
col_iterator& icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator++ ( ) [inline]

prefix increment operator

template<class T, unsigned int COLS, unsigned int ROWS>
const col_iterator& icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator++ ( ) const [inline]

prefix increment operator (const)

template<class T, unsigned int COLS, unsigned int ROWS>
col_iterator icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator++ ( int  ) [inline]

postfix increment operator

template<class T, unsigned int COLS, unsigned int ROWS>
const col_iterator icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator++ ( int  ) const [inline]

postfix increment operator (const)

template<class T, unsigned int COLS, unsigned int ROWS>
col_iterator& icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator+= ( difference_type  n) [inline]

jump next n elements (inplace)

template<class T, unsigned int COLS, unsigned int ROWS>
const col_iterator& icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator+= ( difference_type  n) const [inline]

jump next n elements (inplace) (const)

template<class T, unsigned int COLS, unsigned int ROWS>
col_iterator icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator- ( difference_type  n) [inline]

jump backward next n elements

template<class T, unsigned int COLS, unsigned int ROWS>
const col_iterator icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator- ( difference_type  n) const [inline]

jump backward next n elements (const)

template<class T, unsigned int COLS, unsigned int ROWS>
difference_type icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator- ( const col_iterator i) const [inline]

steps between two iterators ... (todo: check!)

template<class T, unsigned int COLS, unsigned int ROWS>
col_iterator& icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator-- ( ) [inline]

prefix decrement operator

template<class T, unsigned int COLS, unsigned int ROWS>
const col_iterator& icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator-- ( ) const [inline]

prefix decrement operator (const)

template<class T, unsigned int COLS, unsigned int ROWS>
col_iterator icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator-- ( int  ) [inline]

postfix decrement operator

template<class T, unsigned int COLS, unsigned int ROWS>
const col_iterator icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator-- ( int  ) const [inline]

postfix decrement operator (const)

template<class T, unsigned int COLS, unsigned int ROWS>
col_iterator& icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator-= ( difference_type  n) [inline]

jump backward next n elements (inplace)

template<class T, unsigned int COLS, unsigned int ROWS>
const col_iterator& icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator-= ( difference_type  n) const [inline]

jump backward next n elements (inplace) (const)

template<class T, unsigned int COLS, unsigned int ROWS>
bool icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator< ( const col_iterator i) const [inline]

comparison operator <

template<class T, unsigned int COLS, unsigned int ROWS>
bool icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator<= ( const col_iterator i) const [inline]

comparison operator <=

template<class T, unsigned int COLS, unsigned int ROWS>
bool icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator== ( const col_iterator i) const [inline]

comparison operator ==

template<class T, unsigned int COLS, unsigned int ROWS>
bool icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator> ( const col_iterator i) const [inline]

comparison operator >

template<class T, unsigned int COLS, unsigned int ROWS>
bool icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::operator>= ( const col_iterator i) const [inline]

comparison operator >=


Member Data Documentation

template<class T, unsigned int COLS, unsigned int ROWS>
T* icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::p [mutable]

wrapped data pointer (held shallowly)

template<class T, unsigned int COLS, unsigned int ROWS>
const unsigned int icl::math::FixedMatrix< T, COLS, ROWS >::col_iterator::STRIDE = COLS [static]

the stride is equal to parent Matrix' classes COLS template parameter


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines