COPASI API
4.16.103
|
#include <CSparseMatrix.h>
Public Member Functions | |
const_row_iterator (const CCompressedColumnFormat *pMatrix=NULL, const size_t &rowIndex=C_INVALID_INDEX) | |
const_row_iterator (const const_row_iterator &src) | |
const size_t & | getColumnIndex () const |
bool | operator!= (const const_row_iterator &rhs) |
const C_FLOAT64 & | operator* () const |
const_row_iterator & | operator++ () |
const C_FLOAT64 & | operator-> () const |
const_row_iterator & | operator= (const const_row_iterator &rhs) |
~const_row_iterator () | |
Private Attributes | |
size_t | mColumnIndex |
const size_t * | mpColumnIndex |
const C_FLOAT64 * | mpCurrent |
const CCompressedColumnFormat * | mpMatrix |
const size_t * | mpRowIndex |
size_t | mRowIndex |
Definition at line 147 of file CSparseMatrix.h.
CCompressedColumnFormat::const_row_iterator::const_row_iterator | ( | const CCompressedColumnFormat * | pMatrix = NULL , |
const size_t & | rowIndex = C_INVALID_INDEX |
||
) |
Default constructor.
Definition at line 389 of file CSparseMatrix.cpp.
References C_INVALID_INDEX, CCompressedColumnFormat::getColumnStart(), CCompressedColumnFormat::getRowIndex(), mpColumnIndex, mpMatrix, mpRowIndex, mRowIndex, and CCompressedColumnFormat::numRows().
CCompressedColumnFormat::const_row_iterator::const_row_iterator | ( | const const_row_iterator & | src | ) |
Copy constructor
const | iterator & src |
Definition at line 409 of file CSparseMatrix.cpp.
CCompressedColumnFormat::const_row_iterator::~const_row_iterator | ( | ) |
const size_t & CCompressedColumnFormat::const_row_iterator::getColumnIndex | ( | ) | const |
Definition at line 465 of file CSparseMatrix.cpp.
bool CCompressedColumnFormat::const_row_iterator::operator!= | ( | const const_row_iterator & | rhs | ) |
Comparison operator !=
const | const_row_iterator & rhs |
Definition at line 427 of file CSparseMatrix.cpp.
References mpCurrent.
const C_FLOAT64 & CCompressedColumnFormat::const_row_iterator::operator* | ( | ) | const |
Dereference operator * returns the node the iterator points to.
Definition at line 421 of file CSparseMatrix.cpp.
CCompressedColumnFormat::const_row_iterator & CCompressedColumnFormat::const_row_iterator::operator++ | ( | ) |
Prefix increment operator ++
Definition at line 442 of file CSparseMatrix.cpp.
References CCompressedColumnFormat::mpRowIndex.
const C_FLOAT64 & CCompressedColumnFormat::const_row_iterator::operator-> | ( | ) | const |
Dereference operator * returns the node the iterator points to.
Definition at line 424 of file CSparseMatrix.cpp.
CCompressedColumnFormat::const_row_iterator & CCompressedColumnFormat::const_row_iterator::operator= | ( | const const_row_iterator & | rhs | ) |
Assignement operator from a node to an iterator
const | const_row_iterator & rhs |
Definition at line 430 of file CSparseMatrix.cpp.
References mColumnIndex, mpColumnIndex, mpCurrent, mpMatrix, CCompressedColumnFormat::mpRowIndex, mpRowIndex, and mRowIndex.
|
private |
Definition at line 212 of file CSparseMatrix.h.
Referenced by operator=().
|
private |
Definition at line 214 of file CSparseMatrix.h.
Referenced by const_row_iterator(), and operator=().
|
private |
Definition at line 216 of file CSparseMatrix.h.
Referenced by operator!=(), and operator=().
|
private |
Definition at line 206 of file CSparseMatrix.h.
Referenced by const_row_iterator(), and operator=().
|
private |
Definition at line 210 of file CSparseMatrix.h.
Referenced by const_row_iterator(), and operator=().
|
private |
Definition at line 208 of file CSparseMatrix.h.
Referenced by const_row_iterator(), and operator=().