All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions
QGpCoreTools::MatrixRowIterator< T > Class Template Reference

#include <MatrixIterator.h>

Inheritance diagram for QGpCoreTools::MatrixRowIterator< T >:
QGpCoreTools::MatrixIterator< T >

List of all members.

Public Member Functions

 MatrixRowIterator (const Matrix< T > &m, int iRow)

template<typename T>
class QGpCoreTools::MatrixRowIterator< T >


Constructor & Destructor Documentation

template<typename T >
QGpCoreTools::MatrixRowIterator< T >::MatrixRowIterator ( const Matrix< T > &  m,
int  iRow 
) [inline]

References QGpCoreTools::Matrix< T >::_d, QGpCoreTools::Matrix< T >::columnCount(), QGpCoreTools::Matrix< T >::rowCount(), and TRACE.

   : MatrixIterator<T>()
{
  TRACE;
  ASSERT(iRow>=0 && iRow<m.rowCount());
  MatrixIterator<T>::_offset=m.rowCount();
  MatrixIterator<T>::_start=m._d->values() + iRow;
  MatrixIterator<T>::_end=MatrixIterator<T>::_start+m.rowCount()*(m.columnCount()-1);
  MatrixIterator<T>::_cur=MatrixIterator<T>::_start-MatrixIterator<T>::_offset;
}

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