Main MRPT website > C++ reference
MRPT logo

mrpt::math::detail::ReverseAccessorIterator< A, T > Class Template Reference

Template class for matrix accessor's iterators. More...

#include <mrpt/math/CMatrixViews.h>

List of all members.

Public Types

typedef
std::random_access_iterator_tag 
iterator_category
typedef T value_type
typedef int difference_type
typedef T * pointer
typedef T & reference

Public Member Functions

 ReverseAccessorIterator (A &obj, size_t N)
T & operator* () const
ReverseAccessorIterator< A, T > & operator++ ()
ReverseAccessorIterator< A, T > operator++ (int)
ReverseAccessorIterator< A, T > & operator-- ()
ReverseAccessorIterator< A, T > operator-- (int)
ReverseAccessorIterator< A, T > & operator+= (int off)
ReverseAccessorIterator< A, T > operator+ (int off) const
AccessorIterator< A, T > & operator-= (int off)
AccessorIterator< A, T > operator- (int off) const
int operator- (const ReverseAccessorIterator< A, T > &it) const
T & operator[] (int off) const
bool operator== (const ReverseAccessorIterator< A, T > &it) const
bool operator!= (const ReverseAccessorIterator< A, T > &it) const

Protected Attributes

A * base
int pos

Detailed Description

template<typename A, typename T>
class mrpt::math::detail::ReverseAccessorIterator< A, T >

Template class for matrix accessor's iterators.

See also:
CMatrixRowAccessor,CMatrixColumnAccessor

Definition at line 595 of file CMatrixViews.h.


Member Typedef Documentation

template<typename A, typename T>
typedef int mrpt::math::detail::ReverseAccessorIterator< A, T >::difference_type

Definition at line 603 of file CMatrixViews.h.

template<typename A, typename T>
typedef std::random_access_iterator_tag mrpt::math::detail::ReverseAccessorIterator< A, T >::iterator_category

Definition at line 601 of file CMatrixViews.h.

template<typename A, typename T>
typedef T* mrpt::math::detail::ReverseAccessorIterator< A, T >::pointer

Definition at line 604 of file CMatrixViews.h.

template<typename A, typename T>
typedef T& mrpt::math::detail::ReverseAccessorIterator< A, T >::reference

Definition at line 605 of file CMatrixViews.h.

template<typename A, typename T>
typedef T mrpt::math::detail::ReverseAccessorIterator< A, T >::value_type

Definition at line 602 of file CMatrixViews.h.


Constructor & Destructor Documentation

template<typename A, typename T>
mrpt::math::detail::ReverseAccessorIterator< A, T >::ReverseAccessorIterator ( A &  obj,
size_t  N 
) [inline]

Definition at line 607 of file CMatrixViews.h.


Member Function Documentation

template<typename A, typename T>
bool mrpt::math::detail::ReverseAccessorIterator< A, T >::operator!= ( const ReverseAccessorIterator< A, T > &  it  )  const [inline]
template<typename A, typename T>
T& mrpt::math::detail::ReverseAccessorIterator< A, T >::operator* (  )  const [inline]
template<typename A, typename T>
ReverseAccessorIterator<A,T> mrpt::math::detail::ReverseAccessorIterator< A, T >::operator+ ( int  off  )  const [inline]

Definition at line 633 of file CMatrixViews.h.

template<typename A, typename T>
ReverseAccessorIterator<A,T> mrpt::math::detail::ReverseAccessorIterator< A, T >::operator++ ( int   )  [inline]

Definition at line 615 of file CMatrixViews.h.

template<typename A, typename T>
ReverseAccessorIterator<A,T>& mrpt::math::detail::ReverseAccessorIterator< A, T >::operator++ (  )  [inline]
template<typename A, typename T>
ReverseAccessorIterator<A,T>& mrpt::math::detail::ReverseAccessorIterator< A, T >::operator+= ( int  off  )  [inline]
template<typename A, typename T>
int mrpt::math::detail::ReverseAccessorIterator< A, T >::operator- ( const ReverseAccessorIterator< A, T > &  it  )  const [inline]
template<typename A, typename T>
AccessorIterator<A,T> mrpt::math::detail::ReverseAccessorIterator< A, T >::operator- ( int  off  )  const [inline]

Definition at line 642 of file CMatrixViews.h.

template<typename A, typename T>
ReverseAccessorIterator<A,T> mrpt::math::detail::ReverseAccessorIterator< A, T >::operator-- ( int   )  [inline]

Definition at line 624 of file CMatrixViews.h.

template<typename A, typename T>
ReverseAccessorIterator<A,T>& mrpt::math::detail::ReverseAccessorIterator< A, T >::operator-- (  )  [inline]
template<typename A, typename T>
AccessorIterator<A,T>& mrpt::math::detail::ReverseAccessorIterator< A, T >::operator-= ( int  off  )  [inline]
template<typename A, typename T>
bool mrpt::math::detail::ReverseAccessorIterator< A, T >::operator== ( const ReverseAccessorIterator< A, T > &  it  )  const [inline]
template<typename A, typename T>
T& mrpt::math::detail::ReverseAccessorIterator< A, T >::operator[] ( int  off  )  const [inline]

Member Data Documentation

template<typename A, typename T>
A* mrpt::math::detail::ReverseAccessorIterator< A, T >::base [protected]
template<typename A, typename T>
int mrpt::math::detail::ReverseAccessorIterator< A, T >::pos [protected]
 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