Main MRPT website > C++ reference
MRPT logo

mrpt::math::CConstMatrixRowAccessor< MAT > 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/CMatrixViews.h>

List of all members.

Public Types

typedef MAT::value_type value_type
typedef
CConstMatrixRowAccessor< MAT > 
mrpt_autotype
typedef
detail::AccessorIterator
< const
CConstMatrixRowAccessor< MAT >
, const value_type
const_iterator
typedef
detail::ReverseAccessorIterator
< const
CConstMatrixRowAccessor< MAT >
, const value_type
const_reverse_iterator

Public Member Functions

DECLARE_MRPT_CONTAINER_TYPES
DECLARE_MRPT_CONTAINER_IS_VECTOR 
CConstMatrixRowAccessor (const MAT &mat, size_t row)
 CConstMatrixRowAccessor ()
value_type 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
void resize (size_t N)

Protected Attributes

const MAT * m_mat
size_t m_rowInd

Detailed Description

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

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 1010 of file CMatrixViews.h.


Member Typedef Documentation

Definition at line 1027 of file CMatrixViews.h.

Definition at line 1028 of file CMatrixViews.h.

Definition at line 1016 of file CMatrixViews.h.

template<class MAT >
typedef MAT::value_type mrpt::math::CConstMatrixRowAccessor< MAT >::value_type

Definition at line 1015 of file CMatrixViews.h.


Constructor & Destructor Documentation

template<class MAT >
DECLARE_MRPT_CONTAINER_TYPES DECLARE_MRPT_CONTAINER_IS_VECTOR mrpt::math::CConstMatrixRowAccessor< MAT >::CConstMatrixRowAccessor ( const MAT &  mat,
size_t  row 
) [inline]

Definition at line 1020 of file CMatrixViews.h.

References ASSERT_.

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

Definition at line 1023 of file CMatrixViews.h.


Member Function Documentation

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

Definition at line 1024 of file CMatrixViews.h.

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

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

Definition at line 1035 of file CMatrixViews.h.

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

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

Definition at line 1038 of file CMatrixViews.h.

template<class MAT >
void mrpt::math::CConstMatrixRowAccessor< MAT >::resize ( size_t  N  )  [inline]

Definition at line 1044 of file CMatrixViews.h.

References mrpt::math::CMatrixColumnAccessor< MAT >::size().

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

Definition at line 1041 of file CMatrixViews.h.

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


Member Data Documentation

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

Definition at line 1012 of file CMatrixViews.h.

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

Definition at line 1013 of file CMatrixViews.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010