Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Protected Attributes

SparseVector< _Scalar, _Options, _Index >::InnerIterator Class Reference


Detailed Description

template<typename _Scalar, int _Options, typename _Index>
class SparseVector< _Scalar, _Options, _Index >::InnerIterator

Definition at line 390 of file SparseVector.h.

#include <src/Sparse/SparseVector.h>

Inheritance diagram for SparseVector< _Scalar, _Options, _Index >::InnerIterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 InnerIterator (const SparseVector &vec, Index outer=0)
 InnerIterator (const CompressedStorage< Scalar, Index > &data)
template<unsigned int Added, unsigned int Removed>
 InnerIterator (const Flagged< SparseVector, Added, Removed > &vec, Index)
InnerIteratoroperator++ ()
Scalar value () const
ScalarvalueRef ()
Index index () const
Index row () const
Index col () const
 operator bool () const

Protected Attributes

const CompressedStorage
< Scalar, Index > & 
m_data
Index m_id
const Index m_end

Constructor & Destructor Documentation

template<typename _Scalar , int _Options, typename _Index >
SparseVector< _Scalar, _Options, _Index >::InnerIterator::InnerIterator ( const SparseVector vec,
Index  outer = 0 
) [inline]

Definition at line 393 of file SparseVector.h.

References eigen_assert.

template<typename _Scalar , int _Options, typename _Index >
SparseVector< _Scalar, _Options, _Index >::InnerIterator::InnerIterator ( const CompressedStorage< Scalar, Index > &  data ) [inline]

Definition at line 399 of file SparseVector.h.

template<typename _Scalar , int _Options, typename _Index >
template<unsigned int Added, unsigned int Removed>
SparseVector< _Scalar, _Options, _Index >::InnerIterator::InnerIterator ( const Flagged< SparseVector, Added, Removed > &  vec,
Index   
) [inline]

Definition at line 404 of file SparseVector.h.


Member Function Documentation

template<typename _Scalar , int _Options, typename _Index >
Index SparseVector< _Scalar, _Options, _Index >::InnerIterator::col (  ) const [inline]
template<typename _Scalar , int _Options, typename _Index >
Index SparseVector< _Scalar, _Options, _Index >::InnerIterator::index (  ) const [inline]
template<typename _Scalar , int _Options, typename _Index >
SparseVector< _Scalar, _Options, _Index >::InnerIterator::operator bool ( void   ) const [inline]

Definition at line 417 of file SparseVector.h.

template<typename _Scalar , int _Options, typename _Index >
InnerIterator& SparseVector< _Scalar, _Options, _Index >::InnerIterator::operator++ (  ) [inline]

Definition at line 408 of file SparseVector.h.

template<typename _Scalar , int _Options, typename _Index >
Index SparseVector< _Scalar, _Options, _Index >::InnerIterator::row (  ) const [inline]
template<typename _Scalar , int _Options, typename _Index >
Scalar SparseVector< _Scalar, _Options, _Index >::InnerIterator::value ( void   ) const [inline]
template<typename _Scalar , int _Options, typename _Index >
Scalar& SparseVector< _Scalar, _Options, _Index >::InnerIterator::valueRef (  ) [inline]

Member Data Documentation

template<typename _Scalar , int _Options, typename _Index >
const CompressedStorage<Scalar,Index>& SparseVector< _Scalar, _Options, _Index >::InnerIterator::m_data [protected]

Definition at line 420 of file SparseVector.h.

template<typename _Scalar , int _Options, typename _Index >
const Index SparseVector< _Scalar, _Options, _Index >::InnerIterator::m_end [protected]

Definition at line 422 of file SparseVector.h.

template<typename _Scalar , int _Options, typename _Index >
Index SparseVector< _Scalar, _Options, _Index >::InnerIterator::m_id [protected]

Definition at line 421 of file SparseVector.h.




Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:46:17 UTC 2011