Public Member Functions | Protected Attributes

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

#include <SparseVector.h>

Inheritance diagram for SparseVector< _Scalar, _Options, _Index >::InnerIterator:
DynamicSparseMatrix< _Scalar, _Options, _Index >::InnerIterator SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::InnerIterator

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

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


Constructor & Destructor Documentation

template<typename _Scalar , int _Options, typename _Index >
SparseVector< _Scalar, _Options, _Index >::InnerIterator::InnerIterator ( const SparseVector vec,
Index  outer = 0 
) [inline]
template<typename _Scalar , int _Options, typename _Index >
SparseVector< _Scalar, _Options, _Index >::InnerIterator::InnerIterator ( const CompressedStorage< Scalar, Index > &  data  )  [inline]
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]

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 (  )  const [inline]
template<typename _Scalar , int _Options, typename _Index >
InnerIterator& SparseVector< _Scalar, _Options, _Index >::InnerIterator::operator++ (  )  [inline]
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 (  )  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]
template<typename _Scalar , int _Options, typename _Index >
const Index SparseVector< _Scalar, _Options, _Index >::InnerIterator::m_end [protected]
template<typename _Scalar , int _Options, typename _Index >
Index SparseVector< _Scalar, _Options, _Index >::InnerIterator::m_id [protected]

The documentation for this class was generated from the following file: