WaveBlocksND
Public Member Functions | Private Types | Private Attributes | Static Private Attributes | List of all members
waveblocks::utilities::MatrixToGridIterator< Matrix > Class Template Reference

Forward iterator for the MatrixToGrid class. More...

#include <adaptors.hpp>

Public Member Functions

 MatrixToGridIterator (MatrixToGrid< Matrix > &adaptor, int i)
 
bool operator!= (MatrixToGridIterator< Matrix > other) const
 
void operator++ ()
 
grid_element_type operator* () const
 

Private Types

using grid_element_type = GVector< typename Matrix::Scalar, N >
 

Private Attributes

MatrixToGrid< Matrix > & g
 
int i
 

Static Private Attributes

static const int N = Matrix::RowsAtCompileTime
 
static const int M = Matrix::ColsAtCompileTime
 

Detailed Description

template<class Matrix>
class waveblocks::utilities::MatrixToGridIterator< Matrix >

Forward iterator for the MatrixToGrid class.

Template Parameters
MatrixThe class that the MatrixToGrid is adapting

Member Typedef Documentation

template<class Matrix>
using waveblocks::utilities::MatrixToGridIterator< Matrix >::grid_element_type = GVector<typename Matrix::Scalar, N>
private

Constructor & Destructor Documentation

template<class Matrix>
waveblocks::utilities::MatrixToGridIterator< Matrix >::MatrixToGridIterator ( MatrixToGrid< Matrix > &  adaptor,
int  i 
)
inline

Member Function Documentation

template<class Matrix>
bool waveblocks::utilities::MatrixToGridIterator< Matrix >::operator!= ( MatrixToGridIterator< Matrix >  other) const
inline
template<class Matrix>
grid_element_type waveblocks::utilities::MatrixToGridIterator< Matrix >::operator* ( ) const
inline
template<class Matrix>
void waveblocks::utilities::MatrixToGridIterator< Matrix >::operator++ ( )
inline

Member Data Documentation

template<class Matrix>
MatrixToGrid<Matrix>& waveblocks::utilities::MatrixToGridIterator< Matrix >::g
private
template<class Matrix>
int waveblocks::utilities::MatrixToGridIterator< Matrix >::i
private
template<class Matrix>
const int waveblocks::utilities::MatrixToGridIterator< Matrix >::M = Matrix::ColsAtCompileTime
staticprivate
template<class Matrix>
const int waveblocks::utilities::MatrixToGridIterator< Matrix >::N = Matrix::RowsAtCompileTime
staticprivate

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