MRPT logo

mrpt::math::CConstMatrixRowAccessorExtended< T > Class Template Reference

A vector-like wrapper for a const Matrix for accessing the elements of a given row with a [] operator, with offset and custom spacing. More...

#include <mrpt/math/CMatrixTemplate.h>

List of all members.

Public Types

typedef AccessorIterator
< const
CConstMatrixRowAccessorExtended
< T >, const T > 
const_iterator
typedef
ReverseAccessorIterator< const
CConstMatrixRowAccessorExtended
< T >, const T > 
const_reverse_iterator

Public Member Functions

 CConstMatrixRowAccessorExtended (const CMatrixTemplate< T > &mat, size_t row, size_t offset, size_t space)
 CConstMatrixRowAccessorExtended ()
const T & operator[] (size_t i) const
const_iterator begin () const
const_iterator end () const
const_reverse_iterator rbegin () const
const_reverse_iterator rend () const
size_t size () const

Protected Attributes

const CMatrixTemplate< T > * m_mat
size_t m_rowInd
size_t m_colOffset
size_t m_elementsSpace
size_t howMany

Detailed Description

template<class T>
class mrpt::math::CConstMatrixRowAccessorExtended< T >

A vector-like wrapper for a const Matrix for accessing the elements of a given row with a [] operator, with offset and custom spacing.

See also:
CConstMatrixColumnAccessorExtended,CMatrixRowAccessor,CConstMatrixRowAccessor,CMatrixRowAccessorExtended

Definition at line 2160 of file CMatrixTemplate.h.


Member Typedef Documentation

Definition at line 2176 of file CMatrixTemplate.h.

Definition at line 2177 of file CMatrixTemplate.h.


Constructor & Destructor Documentation

template<class T >
mrpt::math::CConstMatrixRowAccessorExtended< T >::CConstMatrixRowAccessorExtended ( const CMatrixTemplate< T > &  mat,
size_t  row,
size_t  offset,
size_t  space 
) [inline]

Definition at line 2172 of file CMatrixTemplate.h.


Member Function Documentation

template<class T >
const_iterator mrpt::math::CConstMatrixRowAccessorExtended< T >::begin (  )  const [inline]

Definition at line 2178 of file CMatrixTemplate.h.

template<class T >
const_iterator mrpt::math::CConstMatrixRowAccessorExtended< T >::end (  )  const [inline]

Definition at line 2181 of file CMatrixTemplate.h.

template<class T >
const T& mrpt::math::CConstMatrixRowAccessorExtended< T >::operator[] ( size_t  i  )  const [inline]

Definition at line 2173 of file CMatrixTemplate.h.

References mrpt::math::CMatrixColumnAccessor< T >::m_mat.

template<class T >
const_reverse_iterator mrpt::math::CConstMatrixRowAccessorExtended< T >::rbegin (  )  const [inline]

Definition at line 2184 of file CMatrixTemplate.h.

template<class T >
const_reverse_iterator mrpt::math::CConstMatrixRowAccessorExtended< T >::rend (  )  const [inline]

Definition at line 2187 of file CMatrixTemplate.h.

template<class T >
size_t mrpt::math::CConstMatrixRowAccessorExtended< T >::size (  )  const [inline]

Definition at line 2190 of file CMatrixTemplate.h.


Member Data Documentation

template<class T >
size_t mrpt::math::CConstMatrixRowAccessorExtended< T >::howMany [protected]

Definition at line 2166 of file CMatrixTemplate.h.

template<class T >
size_t mrpt::math::CConstMatrixRowAccessorExtended< T >::m_colOffset [protected]

Definition at line 2164 of file CMatrixTemplate.h.

template<class T >
size_t mrpt::math::CConstMatrixRowAccessorExtended< T >::m_elementsSpace [protected]

Definition at line 2165 of file CMatrixTemplate.h.

template<class T >
const CMatrixTemplate<T>* mrpt::math::CConstMatrixRowAccessorExtended< T >::m_mat [protected]

Definition at line 2162 of file CMatrixTemplate.h.

template<class T >
size_t mrpt::math::CConstMatrixRowAccessorExtended< T >::m_rowInd [protected]

Definition at line 2163 of file CMatrixTemplate.h.




Page generated by Doxygen 1.6.2 for MRPT 0.8.1 SVN:exported at Mon Feb 15 22:01:07 UTC 2010