COPASI API  4.40.278
CCompressedColumnFormat::const_row_iterator Class Reference

#include <CSparseMatrix.h>

Inheritance diagram for CCompressedColumnFormat::const_row_iterator:
[legend]

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_FLOAT64operator* () const
 
const_row_iteratoroperator++ ()
 
const C_FLOAT64operator-> () const
 
const_row_iteratoroperator= (const const_row_iterator &rhs)
 
 ~const_row_iterator ()
 

Private Attributes

size_t mColumnIndex
 
const size_t * mpColumnIndex
 
const C_FLOAT64mpCurrent
 
const CCompressedColumnFormatmpMatrix
 
const size_t * mpRowIndex
 
size_t mRowIndex
 

Constructor & Destructor Documentation

◆ const_row_iterator() [1/2]

CCompressedColumnFormat::const_row_iterator::const_row_iterator ( const CCompressedColumnFormat pMatrix = NULL,
const size_t &  rowIndex = C_INVALID_INDEX 
)

◆ const_row_iterator() [2/2]

CCompressedColumnFormat::const_row_iterator::const_row_iterator ( const const_row_iterator src)

Copy constructor

Parameters
constiterator & src

◆ ~const_row_iterator()

CCompressedColumnFormat::const_row_iterator::~const_row_iterator ( )

Destructor

Member Function Documentation

◆ getColumnIndex()

const size_t & CCompressedColumnFormat::const_row_iterator::getColumnIndex ( ) const

◆ operator!=()

bool CCompressedColumnFormat::const_row_iterator::operator!= ( const const_row_iterator rhs)

Comparison operator !=

Parameters
constconst_row_iterator & rhs
Returns
bool not-equal

References mpCurrent.

◆ operator*()

const C_FLOAT64 & CCompressedColumnFormat::const_row_iterator::operator* ( ) const

Dereference operator * returns the node the iterator points to.

Returns
C_FLOAT64 &

◆ operator++()

CCompressedColumnFormat::const_row_iterator & CCompressedColumnFormat::const_row_iterator::operator++ ( )

Prefix increment operator ++

Returns
iterator &

References CCompressedColumnFormat::mpRowIndex.

◆ operator->()

const C_FLOAT64 & CCompressedColumnFormat::const_row_iterator::operator-> ( ) const

Dereference operator * returns the node the iterator points to.

Returns
C_FLOAT64 &

◆ operator=()

CCompressedColumnFormat::const_row_iterator & CCompressedColumnFormat::const_row_iterator::operator= ( const const_row_iterator rhs)

Assignement operator from a node to an iterator

Parameters
constconst_row_iterator & rhs
Returns
iterator &

References mColumnIndex, mpColumnIndex, mpCurrent, mpMatrix, CCompressedColumnFormat::mpRowIndex, mpRowIndex, and mRowIndex.

Member Data Documentation

◆ mColumnIndex

size_t CCompressedColumnFormat::const_row_iterator::mColumnIndex
private

Referenced by operator=().

◆ mpColumnIndex

const size_t* CCompressedColumnFormat::const_row_iterator::mpColumnIndex
private

Referenced by const_row_iterator(), and operator=().

◆ mpCurrent

const C_FLOAT64* CCompressedColumnFormat::const_row_iterator::mpCurrent
private

Referenced by operator!=(), and operator=().

◆ mpMatrix

const CCompressedColumnFormat* CCompressedColumnFormat::const_row_iterator::mpMatrix
private

Referenced by const_row_iterator(), and operator=().

◆ mpRowIndex

const size_t* CCompressedColumnFormat::const_row_iterator::mpRowIndex
private

Referenced by const_row_iterator(), and operator=().

◆ mRowIndex

size_t CCompressedColumnFormat::const_row_iterator::mRowIndex
private

Referenced by const_row_iterator(), and operator=().


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