![]() |
|
#include <iterators.h>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | value_type = T |
using | pointer = const value_type * |
using | reference = const value_type & |
using | iterator_category = std::forward_iterator_tag |
typedef ConstIterator &(ConstIterator::* | IncrementMemFn) () |
Public Member Functions | |
ConstIterator (const Image &img, std::vector< int > pos={}) | |
ConstIterator & | operator++ () |
const T & | operator * () const |
const T * | operator-> () const |
bool | operator== (const ConstIterator &rhs) const |
bool | operator!= (const ConstIterator &rhs) const |
Public Attributes | |
std::vector< int > | pos_ |
const uint8_t * | ptr_ |
const Image * | img_ |
IncrementMemFn | incrementor = &ConstIterator<T>::IncrementPos |
Definition at line 52 of file iterators.h.
using ecvl::ConstIterator< T >::difference_type = std::ptrdiff_t |
Definition at line 54 of file iterators.h.
typedef ConstIterator&(ConstIterator::* ecvl::ConstIterator< T >::IncrementMemFn) () |
Definition at line 64 of file iterators.h.
using ecvl::ConstIterator< T >::iterator_category = std::forward_iterator_tag |
Definition at line 58 of file iterators.h.
using ecvl::ConstIterator< T >::pointer = const value_type* |
Definition at line 56 of file iterators.h.
using ecvl::ConstIterator< T >::reference = const value_type& |
Definition at line 57 of file iterators.h.
using ecvl::ConstIterator< T >::value_type = T |
Definition at line 55 of file iterators.h.
ConstIterator::ConstIterator | ( | const Image & | img, |
std::vector< int > | pos = {} |
||
) |
|
inline |
Definition at line 69 of file iterators.h.
|
inline |
Definition at line 72 of file iterators.h.
|
inline |
Definition at line 68 of file iterators.h.
|
inline |
Definition at line 70 of file iterators.h.
|
inline |
Definition at line 71 of file iterators.h.
const Image* ecvl::ConstIterator< T >::img_ |
Definition at line 62 of file iterators.h.
IncrementMemFn ecvl::ConstIterator< T >::incrementor = &ConstIterator<T>::IncrementPos |
Definition at line 65 of file iterators.h.
std::vector<int> ecvl::ConstIterator< T >::pos_ |
Definition at line 60 of file iterators.h.
const uint8_t* ecvl::ConstIterator< T >::ptr_ |
Definition at line 61 of file iterators.h.