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

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

Function details

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

Related details

template<class T>
friend class RowIterator
friend