planar_pixel_iterator Struct Template Reference |
Public Types | |
typedef parent_t::value_type | value_type |
typedef parent_t::reference | reference |
typedef parent_t::difference_type | difference_type |
Public Member Functions | |
planar_pixel_iterator (bool) | |
planar_pixel_iterator (const ChannelPtr &v0, const ChannelPtr &v1) | |
planar_pixel_iterator (const ChannelPtr &v0, const ChannelPtr &v1, const ChannelPtr &v2) | |
planar_pixel_iterator (const ChannelPtr &v0, const ChannelPtr &v1, const ChannelPtr &v2, const ChannelPtr &v3) | |
planar_pixel_iterator (const ChannelPtr &v0, const ChannelPtr &v1, const ChannelPtr &v2, const ChannelPtr &v3, const ChannelPtr &v4) | |
template<typename IC1, typename C1> | |
planar_pixel_iterator (const planar_pixel_iterator< IC1, C1 > &ptr) | |
template<typename P> | |
planar_pixel_iterator (P *pix) | |
template<typename P> | |
planar_pixel_iterator & | operator= (P *pix) |
reference | operator[] (difference_type d) const |
reference | operator-> () const |
bool | operator< (const planar_pixel_iterator &ptr) const |
bool | operator!= (const planar_pixel_iterator &ptr) const |
Friends | |
class | boost::iterator_core_access |
planar_pixel_iterator | ( | P * | pix | ) | [inline] |
Copy constructor and operator= from pointers to compatible planar pixels or planar pixel references. That allow constructs like pointer = &value or pointer = &reference Since we should not override operator& that's the best we can do.
reference operator[] | ( | difference_type | d | ) | const [inline] |
For some reason operator[] provided by iterator_facade returns a custom class that is convertible to reference We require our own reference because it is registered in iterator_traits