blitz  Version 0.9
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes
GeneralIterator Class Reference

#include <matgen.h>

Inheritance diagram for GeneralIterator:
ColumnMajorIterator RowMajorIterator

List of all members.

Public Member Functions

 GeneralIterator (unsigned rows, unsigned cols)
unsigned offset () const
 operator bool () const
unsigned row () const
unsigned col () const

Protected Attributes

unsigned rows_
unsigned cols_
unsigned offset_
unsigned i_
unsigned j_
bool good_

Constructor & Destructor Documentation

GeneralIterator::GeneralIterator ( unsigned  rows,
unsigned  cols 
)
inline

References cols_, good_, i_, j_, offset_, and rows_.


Member Function Documentation

unsigned GeneralIterator::col ( ) const
inline

References j_.

unsigned GeneralIterator::offset ( ) const
inline

References offset_.

GeneralIterator::operator bool ( ) const
inline

References good_.

unsigned GeneralIterator::row ( ) const
inline

References i_.


Member Data Documentation

unsigned GeneralIterator::cols_
protected
bool GeneralIterator::good_
protected
unsigned GeneralIterator::i_
protected
unsigned GeneralIterator::j_
protected
unsigned GeneralIterator::offset_
protected
unsigned GeneralIterator::rows_
protected

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