Template class for matrix accessor's iterators.
#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 | |
| 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 |
Definition at line 145 of file matrix_adaptors.h.
| typedef std::random_access_iterator_tag mrpt::math::detail::ReverseAccessorIterator::iterator_category |
Definition at line 143 of file matrix_adaptors.h.
Definition at line 146 of file matrix_adaptors.h.
Definition at line 147 of file matrix_adaptors.h.
Definition at line 144 of file matrix_adaptors.h.
| mrpt::math::detail::ReverseAccessorIterator::ReverseAccessorIterator | ( | A & | obj, |
| size_t | N | ||
| ) | [inline] |
Definition at line 149 of file matrix_adaptors.h.
| bool mrpt::math::detail::ReverseAccessorIterator::operator!= | ( | const ReverseAccessorIterator< A, T > & | it | ) | const [inline] |
Definition at line 198 of file matrix_adaptors.h.
References operator==().
| T& mrpt::math::detail::ReverseAccessorIterator::operator* | ( | void | ) | const [inline] |
Definition at line 150 of file matrix_adaptors.h.
| ReverseAccessorIterator<A,T> mrpt::math::detail::ReverseAccessorIterator::operator+ | ( | int | off | ) | const [inline] |
Definition at line 175 of file matrix_adaptors.h.
| ReverseAccessorIterator<A,T>& mrpt::math::detail::ReverseAccessorIterator::operator++ | ( | ) | [inline] |
Definition at line 153 of file matrix_adaptors.h.
References pos.
| ReverseAccessorIterator<A,T> mrpt::math::detail::ReverseAccessorIterator::operator++ | ( | int | ) | [inline] |
Definition at line 157 of file matrix_adaptors.h.
| ReverseAccessorIterator<A,T>& mrpt::math::detail::ReverseAccessorIterator::operator+= | ( | int | off | ) | [inline] |
Definition at line 171 of file matrix_adaptors.h.
References pos.
| AccessorIterator<A,T> mrpt::math::detail::ReverseAccessorIterator::operator- | ( | int | off | ) | const [inline] |
Definition at line 184 of file matrix_adaptors.h.
| int mrpt::math::detail::ReverseAccessorIterator::operator- | ( | const ReverseAccessorIterator< A, T > & | it | ) | const [inline] |
Definition at line 189 of file matrix_adaptors.h.
References pos.
| ReverseAccessorIterator<A,T>& mrpt::math::detail::ReverseAccessorIterator::operator-- | ( | ) | [inline] |
Definition at line 162 of file matrix_adaptors.h.
References pos.
| ReverseAccessorIterator<A,T> mrpt::math::detail::ReverseAccessorIterator::operator-- | ( | int | ) | [inline] |
Definition at line 166 of file matrix_adaptors.h.
| AccessorIterator<A,T>& mrpt::math::detail::ReverseAccessorIterator::operator-= | ( | int | off | ) | [inline] |
Definition at line 180 of file matrix_adaptors.h.
References pos.
| bool mrpt::math::detail::ReverseAccessorIterator::operator== | ( | const ReverseAccessorIterator< A, T > & | it | ) | const [inline] |
Definition at line 195 of file matrix_adaptors.h.
Referenced by operator!=().
| T& mrpt::math::detail::ReverseAccessorIterator::operator[] | ( | int | off | ) | const [inline] |
Definition at line 192 of file matrix_adaptors.h.
A* mrpt::math::detail::ReverseAccessorIterator::base [protected] |
Definition at line 139 of file matrix_adaptors.h.
Referenced by operator*(), operator[](), and operator==().
int mrpt::math::detail::ReverseAccessorIterator::pos [protected] |
Definition at line 140 of file matrix_adaptors.h.
Referenced by operator*(), operator++(), operator--(), operator+=(), operator-=(), operator-(), operator[](), and operator==().
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |