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

#include <MatrixIterator.h>

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

List of all members.

Public Member Functions

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

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


Constructor & Destructor Documentation

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

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

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

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