SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::defaulttype::MapMapSparseMatrix< T >::ColIterator Class Reference

#include <MapMapSparseMatrix.h>

Public Member Functions

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

Protected Member Functions

 ColIterator (Iterator _internal, const KeyT _rowIndex)
 

Friends

class RowIterator
 

Constructor details

◆ ColIterator() [1/2]

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

◆ ColIterator() [2/2]

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

Function details

◆ index()

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

◆ operator!=()

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

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator->()

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

◆ operator<()

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

◆ operator=()

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

◆ operator==()

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

◆ operator>()

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

◆ row()

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

◆ val()

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

Related details

◆ RowIterator

template<class T >
friend class RowIterator
friend