Main MRPT website > C++ reference for MRPT 1.5.5
List of all members | Public Types | Public Member Functions | Protected Attributes
mrpt::math::detail::AccessorIterator< A, T > Class Template Reference

Detailed Description

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

Template class for matrix accessor's iterators.

See Also
CMatrixRowAccessor,CMatrixColumnAccessor

Definition at line 49 of file matrix_adaptors.h.

#include <mrpt/math/matrix_adaptors.h>

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

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

Protected Attributes

A * base
 
int pos
 

Member Typedef Documentation

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

Definition at line 57 of file matrix_adaptors.h.

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

Definition at line 55 of file matrix_adaptors.h.

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

Definition at line 58 of file matrix_adaptors.h.

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

Definition at line 59 of file matrix_adaptors.h.

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

Definition at line 56 of file matrix_adaptors.h.

Constructor & Destructor Documentation

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

Definition at line 61 of file matrix_adaptors.h.

Member Function Documentation

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

Definition at line 87 of file matrix_adaptors.h.

template<typename A, typename T>
AccessorIterator<A,T>& mrpt::math::detail::AccessorIterator< A, T >::operator++ ( )
inline
template<typename A, typename T>
AccessorIterator<A,T> mrpt::math::detail::AccessorIterator< A, T >::operator++ ( int  )
inline

Definition at line 69 of file matrix_adaptors.h.

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

Definition at line 96 of file matrix_adaptors.h.

template<typename A, typename T>
int mrpt::math::detail::AccessorIterator< A, T >::operator- ( const AccessorIterator< A, T > &  it) const
inline
template<typename A, typename T>
AccessorIterator<A,T>& mrpt::math::detail::AccessorIterator< A, T >::operator-- ( )
inline
template<typename A, typename T>
AccessorIterator<A,T> mrpt::math::detail::AccessorIterator< A, T >::operator-- ( int  )
inline

Definition at line 78 of file matrix_adaptors.h.

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

Member Data Documentation

template<typename A, typename T>
A* mrpt::math::detail::AccessorIterator< A, T >::base
protected
template<typename A, typename T>
int mrpt::math::detail::AccessorIterator< A, T >::pos
protected



Page generated by Doxygen 1.8.6 for MRPT 1.5.5 Git: e06b63d Fri Dec 1 14:41:11 2017 +0100 at sáb dic 2 13:00:21 CET 2017