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

#include <MapMapSparseMatrix.h>

Public Member Functions

 RowIterator (const RowIterator &it2)
 
ColIterator begin ()
 
ColIterator end ()
 
void operator= (const RowIterator &it2)
 
std::pair< KeyT, RowType > & operator* ()
 
std::pair< KeyT, RowType > & operator-> ()
 
KeyT index ()
 
RowTyperow ()
 
void operator++ ()
 
void operator++ (int)
 
void operator-- ()
 
void operator-- (int)
 
bool operator== (const RowIterator &it2) const
 
bool operator!= (const RowIterator &it2) const
 
bool operator< (const RowIterator &it2) const
 
bool operator> (const RowIterator &it2) const
 
void addCol (KeyT id, const T &value)
 
void setCol (KeyT id, const T &value)
 

Protected Member Functions

 RowIterator (Iterator _internal)
 

Friends

template<class U >
class MapMapSparseMatrix
 

Constructor details

◆ RowIterator() [1/2]

template<class T >
sofa::defaulttype::MapMapSparseMatrix< T >::RowIterator::RowIterator ( Iterator  _internal)
inlineprotected

◆ RowIterator() [2/2]

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

Function details

◆ addCol()

template<class T >
void sofa::defaulttype::MapMapSparseMatrix< T >::RowIterator::addCol ( KeyT  id,
const T &  value 
)
inline

◆ begin()

template<class T >
ColIterator sofa::defaulttype::MapMapSparseMatrix< T >::RowIterator::begin ( )
inline

◆ end()

template<class T >
ColIterator sofa::defaulttype::MapMapSparseMatrix< T >::RowIterator::end ( )
inline

◆ index()

template<class T >
KeyT sofa::defaulttype::MapMapSparseMatrix< T >::RowIterator::index ( )
inline

◆ operator!=()

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

◆ operator*()

template<class T >
std::pair< KeyT, RowType >& sofa::defaulttype::MapMapSparseMatrix< T >::RowIterator::operator* ( )
inline

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator->()

template<class T >
std::pair< KeyT, RowType >& sofa::defaulttype::MapMapSparseMatrix< T >::RowIterator::operator-> ( )
inline

◆ operator<()

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

◆ operator=()

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

◆ operator==()

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

◆ operator>()

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

◆ row()

template<class T >
RowType& sofa::defaulttype::MapMapSparseMatrix< T >::RowIterator::row ( )
inline

◆ setCol()

template<class T >
void sofa::defaulttype::MapMapSparseMatrix< T >::RowIterator::setCol ( KeyT  id,
const T &  value 
)
inline

Related details

◆ MapMapSparseMatrix

template<class T >
template<class U >
friend class MapMapSparseMatrix
friend