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 | |
| 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 |
Definition at line 76 of file matrix_adaptors.h.
| typedef std::random_access_iterator_tag mrpt::math::detail::AccessorIterator::iterator_category |
Definition at line 74 of file matrix_adaptors.h.
Definition at line 77 of file matrix_adaptors.h.
Definition at line 78 of file matrix_adaptors.h.
Definition at line 75 of file matrix_adaptors.h.
| mrpt::math::detail::AccessorIterator::AccessorIterator | ( | A & | obj, |
| size_t | N | ||
| ) | [inline] |
Definition at line 80 of file matrix_adaptors.h.
| bool mrpt::math::detail::AccessorIterator::operator!= | ( | const AccessorIterator< A, T > & | it | ) | const [inline] |
Definition at line 129 of file matrix_adaptors.h.
References operator==().
| T& mrpt::math::detail::AccessorIterator::operator* | ( | void | ) | const [inline] |
Definition at line 81 of file matrix_adaptors.h.
| AccessorIterator<A,T> mrpt::math::detail::AccessorIterator::operator+ | ( | int | off | ) | const [inline] |
Definition at line 106 of file matrix_adaptors.h.
| AccessorIterator<A,T>& mrpt::math::detail::AccessorIterator::operator++ | ( | ) | [inline] |
Definition at line 84 of file matrix_adaptors.h.
References pos.
| AccessorIterator<A,T> mrpt::math::detail::AccessorIterator::operator++ | ( | int | ) | [inline] |
Definition at line 88 of file matrix_adaptors.h.
| AccessorIterator<A,T>& mrpt::math::detail::AccessorIterator::operator+= | ( | int | off | ) | [inline] |
Definition at line 102 of file matrix_adaptors.h.
References pos.
| AccessorIterator<A,T> mrpt::math::detail::AccessorIterator::operator- | ( | int | off | ) | const [inline] |
Definition at line 115 of file matrix_adaptors.h.
| int mrpt::math::detail::AccessorIterator::operator- | ( | const AccessorIterator< A, T > & | it | ) | const [inline] |
Definition at line 120 of file matrix_adaptors.h.
References pos.
| AccessorIterator<A,T>& mrpt::math::detail::AccessorIterator::operator-- | ( | ) | [inline] |
Definition at line 93 of file matrix_adaptors.h.
References pos.
| AccessorIterator<A,T> mrpt::math::detail::AccessorIterator::operator-- | ( | int | ) | [inline] |
Definition at line 97 of file matrix_adaptors.h.
| AccessorIterator<A,T>& mrpt::math::detail::AccessorIterator::operator-= | ( | int | off | ) | [inline] |
Definition at line 111 of file matrix_adaptors.h.
References pos.
| bool mrpt::math::detail::AccessorIterator::operator== | ( | const AccessorIterator< A, T > & | it | ) | const [inline] |
Definition at line 126 of file matrix_adaptors.h.
Referenced by operator!=().
| T& mrpt::math::detail::AccessorIterator::operator[] | ( | int | off | ) | const [inline] |
Definition at line 123 of file matrix_adaptors.h.
A* mrpt::math::detail::AccessorIterator::base [protected] |
Definition at line 70 of file matrix_adaptors.h.
Referenced by operator*(), operator[](), and operator==().
int mrpt::math::detail::AccessorIterator::pos [protected] |
Definition at line 71 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 |