Template class for matrix accessor's iterators.
Definition at line 68 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 |
| typedef int mrpt::math::detail::AccessorIterator< A, T >::difference_type |
Definition at line 76 of file matrix_adaptors.h.
| typedef std::random_access_iterator_tag mrpt::math::detail::AccessorIterator< A, T >::iterator_category |
Definition at line 74 of file matrix_adaptors.h.
| typedef T* mrpt::math::detail::AccessorIterator< A, T >::pointer |
Definition at line 77 of file matrix_adaptors.h.
| typedef T& mrpt::math::detail::AccessorIterator< A, T >::reference |
Definition at line 78 of file matrix_adaptors.h.
| typedef T mrpt::math::detail::AccessorIterator< A, T >::value_type |
Definition at line 75 of file matrix_adaptors.h.
| mrpt::math::detail::AccessorIterator< A, T >::AccessorIterator | ( | A & | obj, |
| size_t | N | ||
| ) | [inline] |
Definition at line 80 of file matrix_adaptors.h.
| bool mrpt::math::detail::AccessorIterator< A, T >::operator!= | ( | const AccessorIterator< A, T > & | it ) | const [inline] |
Definition at line 129 of file matrix_adaptors.h.
References mrpt::math::detail::AccessorIterator< A, T >::operator==().
| T& mrpt::math::detail::AccessorIterator< A, T >::operator* | ( | void | ) | const [inline] |
Definition at line 81 of file matrix_adaptors.h.
References mrpt::math::detail::AccessorIterator< A, T >::base, and mrpt::math::detail::AccessorIterator< A, T >::pos.
| AccessorIterator<A,T> mrpt::math::detail::AccessorIterator< A, T >::operator+ | ( | int | off ) | const [inline] |
Definition at line 106 of file matrix_adaptors.h.
| AccessorIterator<A,T>& mrpt::math::detail::AccessorIterator< A, T >::operator++ | ( | ) | [inline] |
Definition at line 84 of file matrix_adaptors.h.
References mrpt::math::detail::AccessorIterator< A, T >::pos.
| AccessorIterator<A,T> mrpt::math::detail::AccessorIterator< A, T >::operator++ | ( | int | ) | [inline] |
Definition at line 88 of file matrix_adaptors.h.
| AccessorIterator<A,T>& mrpt::math::detail::AccessorIterator< A, T >::operator+= | ( | int | off ) | [inline] |
Definition at line 102 of file matrix_adaptors.h.
References mrpt::math::detail::AccessorIterator< A, T >::pos.
| AccessorIterator<A,T> mrpt::math::detail::AccessorIterator< A, T >::operator- | ( | int | off ) | const [inline] |
Definition at line 115 of file matrix_adaptors.h.
| int mrpt::math::detail::AccessorIterator< A, T >::operator- | ( | const AccessorIterator< A, T > & | it ) | const [inline] |
Definition at line 120 of file matrix_adaptors.h.
References mrpt::math::detail::AccessorIterator< A, T >::pos.
| AccessorIterator<A,T>& mrpt::math::detail::AccessorIterator< A, T >::operator-- | ( | ) | [inline] |
Definition at line 93 of file matrix_adaptors.h.
References mrpt::math::detail::AccessorIterator< A, T >::pos.
| AccessorIterator<A,T> mrpt::math::detail::AccessorIterator< A, T >::operator-- | ( | int | ) | [inline] |
Definition at line 97 of file matrix_adaptors.h.
| AccessorIterator<A,T>& mrpt::math::detail::AccessorIterator< A, T >::operator-= | ( | int | off ) | [inline] |
Definition at line 111 of file matrix_adaptors.h.
References mrpt::math::detail::AccessorIterator< A, T >::pos.
| bool mrpt::math::detail::AccessorIterator< A, T >::operator== | ( | const AccessorIterator< A, T > & | it ) | const [inline] |
Definition at line 126 of file matrix_adaptors.h.
References mrpt::math::detail::AccessorIterator< A, T >::base, and mrpt::math::detail::AccessorIterator< A, T >::pos.
Referenced by mrpt::math::detail::AccessorIterator< A, T >::operator!=().
| T& mrpt::math::detail::AccessorIterator< A, T >::operator[] | ( | int | off ) | const [inline] |
Definition at line 123 of file matrix_adaptors.h.
References mrpt::math::detail::AccessorIterator< A, T >::base, and mrpt::math::detail::AccessorIterator< A, T >::pos.
A* mrpt::math::detail::AccessorIterator< A, T >::base [protected] |
Definition at line 70 of file matrix_adaptors.h.
Referenced by mrpt::math::detail::AccessorIterator< A, T >::operator*(), mrpt::math::detail::AccessorIterator< A, T >::operator==(), and mrpt::math::detail::AccessorIterator< A, T >::operator[]().
int mrpt::math::detail::AccessorIterator< A, T >::pos [protected] |
Definition at line 71 of file matrix_adaptors.h.
Referenced by mrpt::math::detail::AccessorIterator< A, T >::operator*(), mrpt::math::detail::AccessorIterator< A, T >::operator++(), mrpt::math::detail::AccessorIterator< A, T >::operator+=(), mrpt::math::detail::AccessorIterator< A, T >::operator-(), mrpt::math::detail::AccessorIterator< A, T >::operator--(), mrpt::math::detail::AccessorIterator< A, T >::operator-=(), mrpt::math::detail::AccessorIterator< A, T >::operator==(), and mrpt::math::detail::AccessorIterator< A, T >::operator[]().
| Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011 |