Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | List of all members
honey::matrix::Iter< Matrix > Class Template Reference

Matrix element iterator. More...

#include <Iter.h>

Public Types

typedef std::conditional< std::is_const< Matrix >::value, const typename Matrix::ElemT, typename Matrix::ElemT >::type ElemT
 Our element access is const if matrix is const. More...
 
typedef std::random_access_iterator_tag iterator_category
 
typedef ElemT value_type
 
typedef sdt difference_type
 
typedef ElemTpointer
 
typedef ElemTreference
 

Public Member Functions

 Iter ()
 
 Iter (Matrix &m, sdt i)
 
Iteroperator++ ()
 
Iteroperator-- ()
 
Iter operator++ (int)
 
Iter operator-- (int)
 
Iteroperator+= (difference_type rhs)
 
Iteroperator-= (difference_type rhs)
 
Iter operator+ (difference_type rhs) const
 
Iter operator- (difference_type rhs) const
 
difference_type operator- (const Iter &rhs) const
 
bool operator== (const Iter &rhs) const
 
bool operator!= (const Iter &rhs) const
 
bool operator< (const Iter &rhs) const
 
bool operator> (const Iter &rhs) const
 
bool operator<= (const Iter &rhs) const
 
bool operator>= (const Iter &rhs) const
 
reference operator* () const
 
 operator difference_type () const
 

Detailed Description

template<class Matrix>
class honey::matrix::Iter< Matrix >

Matrix element iterator.

Member Typedef Documentation

template<class Matrix >
typedef sdt honey::matrix::Iter< Matrix >::difference_type
template<class Matrix >
typedef std::conditional<std::is_const<Matrix>::value, const typename Matrix::ElemT, typename Matrix::ElemT>::type honey::matrix::Iter< Matrix >::ElemT

Our element access is const if matrix is const.

template<class Matrix >
typedef std::random_access_iterator_tag honey::matrix::Iter< Matrix >::iterator_category
template<class Matrix >
typedef ElemT* honey::matrix::Iter< Matrix >::pointer
template<class Matrix >
typedef ElemT& honey::matrix::Iter< Matrix >::reference
template<class Matrix >
typedef ElemT honey::matrix::Iter< Matrix >::value_type

Constructor & Destructor Documentation

template<class Matrix >
honey::matrix::Iter< Matrix >::Iter ( )
inline
template<class Matrix >
honey::matrix::Iter< Matrix >::Iter ( Matrix m,
sdt  i 
)
inline

Member Function Documentation

template<class Matrix >
honey::matrix::Iter< Matrix >::operator difference_type ( ) const
inline
template<class Matrix >
bool honey::matrix::Iter< Matrix >::operator!= ( const Iter< Matrix > &  rhs) const
inline
template<class Matrix >
reference honey::matrix::Iter< Matrix >::operator* ( ) const
inline
template<class Matrix >
Iter honey::matrix::Iter< Matrix >::operator+ ( difference_type  rhs) const
inline
template<class Matrix >
Iter& honey::matrix::Iter< Matrix >::operator++ ( )
inline
template<class Matrix >
Iter honey::matrix::Iter< Matrix >::operator++ ( int  )
inline
template<class Matrix >
Iter& honey::matrix::Iter< Matrix >::operator+= ( difference_type  rhs)
inline
template<class Matrix >
Iter honey::matrix::Iter< Matrix >::operator- ( difference_type  rhs) const
inline
template<class Matrix >
difference_type honey::matrix::Iter< Matrix >::operator- ( const Iter< Matrix > &  rhs) const
inline
template<class Matrix >
Iter& honey::matrix::Iter< Matrix >::operator-- ( )
inline
template<class Matrix >
Iter honey::matrix::Iter< Matrix >::operator-- ( int  )
inline
template<class Matrix >
Iter& honey::matrix::Iter< Matrix >::operator-= ( difference_type  rhs)
inline
template<class Matrix >
bool honey::matrix::Iter< Matrix >::operator< ( const Iter< Matrix > &  rhs) const
inline
template<class Matrix >
bool honey::matrix::Iter< Matrix >::operator<= ( const Iter< Matrix > &  rhs) const
inline
template<class Matrix >
bool honey::matrix::Iter< Matrix >::operator== ( const Iter< Matrix > &  rhs) const
inline
template<class Matrix >
bool honey::matrix::Iter< Matrix >::operator> ( const Iter< Matrix > &  rhs) const
inline
template<class Matrix >
bool honey::matrix::Iter< Matrix >::operator>= ( const Iter< Matrix > &  rhs) const
inline

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