This class bypasses pointer access in iterators to pointers, thus allowing the use of algorithms that expect an object of class T with containers of T*.
Although it may be used directly, use the bypassPointer function for better results and readability (since it most probably won't require template arguments).
Definition at line 154 of file metaprogramming.h.
#include <mrpt/utils/metaprogramming.h>
Public Types | |
typedef T::iterator_category | iterator_category |
typedef U | value_type |
typedef T::difference_type | difference_type |
typedef U * | pointer |
typedef U & | reference |
Public Member Functions | |
MemoryBypasserIterator (const T &bi) | |
reference | operator* () |
MemoryBypasserIterator< T, U > & | operator++ () |
MemoryBypasserIterator< T, U > | operator++ (int) |
MemoryBypasserIterator< T, U > & | operator-- () |
MemoryBypasserIterator< T, U > | operator-- (int) |
MemoryBypasserIterator< T, U > & | operator+= (difference_type off) |
MemoryBypasserIterator< T, U > | operator+ (difference_type off) const |
MemoryBypasserIterator< T, U > & | operator-= (difference_type off) |
MemoryBypasserIterator< T, U > | operator- (difference_type off) const |
difference_type | operator- (const MemoryBypasserIterator< T, U > &it) const |
reference | operator[] (difference_type off) const |
bool | operator== (const MemoryBypasserIterator< T, U > &i) const |
bool | operator!= (const MemoryBypasserIterator< T, U > &i) const |
bool | operator< (const MemoryBypasserIterator< T, U > &i) const |
Private Attributes | |
T | baseIterator |
typedef T::difference_type mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::difference_type |
Definition at line 160 of file metaprogramming.h.
typedef T::iterator_category mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::iterator_category |
Definition at line 158 of file metaprogramming.h.
typedef U* mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::pointer |
Definition at line 161 of file metaprogramming.h.
typedef U& mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::reference |
Definition at line 162 of file metaprogramming.h.
typedef U mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::value_type |
Definition at line 159 of file metaprogramming.h.
|
inline |
Definition at line 163 of file metaprogramming.h.
|
inline |
Definition at line 208 of file metaprogramming.h.
References mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::baseIterator.
|
inline |
Definition at line 164 of file metaprogramming.h.
|
inline |
Definition at line 189 of file metaprogramming.h.
|
inline |
Definition at line 167 of file metaprogramming.h.
References mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::baseIterator.
|
inline |
Definition at line 171 of file metaprogramming.h.
References mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::baseIterator.
|
inline |
Definition at line 185 of file metaprogramming.h.
References mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::baseIterator.
|
inline |
Definition at line 196 of file metaprogramming.h.
|
inline |
Definition at line 199 of file metaprogramming.h.
References mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::baseIterator.
|
inline |
Definition at line 176 of file metaprogramming.h.
References mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::baseIterator.
|
inline |
Definition at line 180 of file metaprogramming.h.
References mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::baseIterator.
|
inline |
Definition at line 192 of file metaprogramming.h.
References mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::baseIterator.
|
inline |
Definition at line 211 of file metaprogramming.h.
References mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::baseIterator.
|
inline |
Definition at line 205 of file metaprogramming.h.
References mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::baseIterator.
|
inline |
Definition at line 202 of file metaprogramming.h.
|
private |
Definition at line 156 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::operator!=(), mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::operator++(), mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::operator+=(), mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::operator-(), mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::operator--(), mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::operator-=(), mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::operator<(), and mrpt::utils::metaprogramming::MemoryBypasserIterator< T, U >::operator==().
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |