#include <matgen.h>
Public Member Functions | |
GeneralIterator (unsigned rows, unsigned cols) | |
unsigned | offset () const |
operator int () const | |
unsigned | row () const |
unsigned | col () const |
Protected Attributes | |
unsigned | rows_ |
unsigned | cols_ |
unsigned | offset_ |
unsigned | i_ |
unsigned | j_ |
int | good_ |
GeneralIterator::GeneralIterator | ( | unsigned | rows, | |
unsigned | cols | |||
) | [inline] |
unsigned GeneralIterator::col | ( | ) | const [inline] |
References j_.
unsigned GeneralIterator::offset | ( | ) | const [inline] |
References offset_.
GeneralIterator::operator int | ( | ) | const [inline] |
References good_.
unsigned GeneralIterator::row | ( | ) | const [inline] |
References i_.
unsigned GeneralIterator::cols_ [protected] |
Referenced by GeneralIterator(), ColumnMajorIterator::operator++(), and RowMajorIterator::operator++().
int GeneralIterator::good_ [protected] |
Referenced by GeneralIterator(), operator int(), ColumnMajorIterator::operator++(), and RowMajorIterator::operator++().
unsigned GeneralIterator::i_ [protected] |
Referenced by GeneralIterator(), ColumnMajorIterator::operator++(), RowMajorIterator::operator++(), and row().
unsigned GeneralIterator::j_ [protected] |
Referenced by col(), GeneralIterator(), ColumnMajorIterator::operator++(), and RowMajorIterator::operator++().
unsigned GeneralIterator::offset_ [protected] |
Referenced by GeneralIterator(), offset(), ColumnMajorIterator::operator++(), and RowMajorIterator::operator++().
unsigned GeneralIterator::rows_ [protected] |
Referenced by GeneralIterator(), ColumnMajorIterator::operator++(), and RowMajorIterator::operator++().