template class mrpt::math::detail::ReverseAccessorIterator¶
Template class for matrix accessor’s iterators.
See also:
CMatrixRowAccessor, CMatrixColumnAccessor
#include <mrpt/math/matrix_adaptors.h> template <typename A, typename T> class ReverseAccessorIterator { public: // typedefs typedef std::random_access_iterator_tag iterator_category; typedef T value_type; typedef int difference_type; typedef T* pointer; typedef T& reference; // construction ReverseAccessorIterator( A& obj, size_t N ); // methods 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; };