MRPT logo

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

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

#include <mrpt/math/CMatrixTemplate.h>

List of all members.

Public Types

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

Public Member Functions

 CConstMatrixColumnAccessor (const CMatrixTemplate< T > &mat, size_t colIdx)
 CConstMatrixColumnAccessor ()
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_colInd

Detailed Description

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

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

See also:
CConstMatrixRowAccessor,CMatrixColumnAccessorExtended,CMatrixColumnAccessor,CConstMatrixColumnAccessorExtended

Definition at line 1948 of file CMatrixTemplate.h.


Member Typedef Documentation

Definition at line 1960 of file CMatrixTemplate.h.

Definition at line 1961 of file CMatrixTemplate.h.


Constructor & Destructor Documentation

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

Definition at line 1953 of file CMatrixTemplate.h.

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

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

Definition at line 1956 of file CMatrixTemplate.h.


Member Function Documentation

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

Definition at line 1968 of file CMatrixTemplate.h.

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

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

Definition at line 1971 of file CMatrixTemplate.h.

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

Definition at line 1974 of file CMatrixTemplate.h.

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


Member Data Documentation

template<class T >
size_t mrpt::math::CConstMatrixColumnAccessor< T >::m_colInd [protected]

Definition at line 1951 of file CMatrixTemplate.h.

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

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