SOFA API  68730cbc
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

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

Function details

template<class T>
KeyT sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::index ( ) const
inline
Returns
the DOF index the constraint is applied on
template<class T>
bool sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator!= ( const ColConstIterator it2) const
inline
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
template<class T>
void sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator++ ( )
inline
template<class T>
void sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator++ ( int  )
inline
template<class T>
void sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator-- ( )
inline
template<class T>
void sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator-- ( int  )
inline
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
template<class T>
bool sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator< ( const ColConstIterator it2) const
inline
template<class T>
void sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator= ( const ColConstIterator it2)
inline
template<class T>
bool sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator== ( const ColConstIterator it2) const
inline
template<class T>
bool sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::operator> ( const ColConstIterator it2) const
inline
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)
template<class T>
const T& sofa::defaulttype::MapMapSparseMatrix< T >::ColConstIterator::val ( ) const
inline
Returns
the constraint value

Related details

template<class T>
friend class RowConstIterator
friend