MRPT logo

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

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

#include <mrpt/math/CMatrixTemplate.h>

List of all members.

Public Types

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

Public Member Functions

 CConstMatrixRowAccessor (const CMatrixTemplate< T > &mat, size_t row)
 CConstMatrixRowAccessor ()
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

Detailed Description

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

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

See also:
CConstMatrixColumnAccessor,CMatrixRowAccessorExtended,CMatrixRowAccessor,CConstMatrixRowAccessorExtended

Definition at line 2125 of file CMatrixTemplate.h.


Member Typedef Documentation

Definition at line 2137 of file CMatrixTemplate.h.

Definition at line 2138 of file CMatrixTemplate.h.


Constructor & Destructor Documentation

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

Definition at line 2130 of file CMatrixTemplate.h.

References ASSERT_, and mrpt::math::CMatrixTemplate< T >::getRowCount().

template<class T >
mrpt::math::CConstMatrixRowAccessor< T >::CConstMatrixRowAccessor (  )  [inline]

Definition at line 2133 of file CMatrixTemplate.h.


Member Function Documentation

template<class T >
const_iterator mrpt::math::CConstMatrixRowAccessor< T >::begin (  )  const [inline]
template<class T >
const_iterator mrpt::math::CConstMatrixRowAccessor< T >::end (  )  const [inline]
template<class T >
const T& mrpt::math::CConstMatrixRowAccessor< T >::operator[] ( size_t  i  )  const [inline]

Definition at line 2134 of file CMatrixTemplate.h.

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

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

Definition at line 2145 of file CMatrixTemplate.h.

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

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

Definition at line 2148 of file CMatrixTemplate.h.

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

Definition at line 2151 of file CMatrixTemplate.h.

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


Member Data Documentation

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

Definition at line 2127 of file CMatrixTemplate.h.

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

Definition at line 2128 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