SOFA API  3ea83cbd
Open source framework for multi-physics simuation
sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator Class Reference

#include <MapMapSparseMatrix.h>

Sparse Matrix columns constant Iterator. More...

Detailed Description

template<class T>
class sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator

Sparse Matrix columns constant Iterator.

Public Member Functions

 ColConstIterator (const ColConstIterator &it2)
 
void operator= (const ColConstIterator &it2)
 
SparseMatrix::key_type row () const
 
KeyT index () const
 
const T & val () const
 
const std::pair< KeyT, T > & operator* () const
 
const std::pair< KeyT, T > & operator-> () const
 
void operator++ ()
 
void operator++ (int)
 
void operator-- ()
 
void operator-- (int)
 
bool operator== (const ColConstIterator &it2) const
 
bool operator!= (const ColConstIterator &it2) const
 
bool operator< (const ColConstIterator &it2) const
 
bool operator> (const ColConstIterator &it2) const
 

Protected Member Functions

 ColConstIterator (Iterator _internal, const KeyT _rowIndex)
 

Friends

class RowConstIterator
 

Constructor details

◆ ColConstIterator() [1/2]

template<class T >
sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::ColConstIterator ( Iterator  _internal,
const KeyT  _rowIndex 
)
inlineprotected

◆ ColConstIterator() [2/2]

template<class T >
sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::ColConstIterator ( const ColConstIterator it2)
inline

Function details

◆ index()

template<class T >
KeyT sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::index ( ) const
inline
Returns
the DOF index the constraint is applied on

◆ operator!=()

template<class T >
bool sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator!= ( const ColConstIterator it2) const
inline

◆ operator*()

template<class T >
const std::pair< KeyT, T >& sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator* ( ) const
inline
Returns
the DOF index the constraint is applied on and its value

◆ operator++() [1/2]

template<class T >
void sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator++ ( )
inline

◆ operator++() [2/2]

template<class T >
void sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator++ ( int  )
inline

◆ operator--() [1/2]

template<class T >
void sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator-- ( )
inline

◆ operator--() [2/2]

template<class T >
void sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator-- ( int  )
inline

◆ operator->()

template<class T >
const std::pair< KeyT, T >& sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator-> ( ) const
inline
Returns
the DOF index the constraint is applied on and its value

◆ operator<()

template<class T >
bool sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator< ( const ColConstIterator it2) const
inline

◆ operator=()

template<class T >
void sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator= ( const ColConstIterator it2)
inline

◆ operator==()

template<class T >
bool sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator== ( const ColConstIterator it2) const
inline

◆ operator>()

template<class T >
bool sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator> ( const ColConstIterator it2) const
inline

◆ row()

template<class T >
SparseMatrix::key_type sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::row ( ) const
inline
Returns
the row index of the parsed row (ie constraint id)

◆ val()

template<class T >
const T& sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::val ( ) const
inline
Returns
the constraint value

Related details

◆ RowConstIterator

template<class T >
friend class RowConstIterator
friend