Information
MediaSupport
RSSOther Adobe ProjectsOther Resources |
planar_ptr_base< IC, C > Struct Template Referencebase class for the the representation of a pointer to a planar pixel
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
|
typedef std::iterator_traits< IC >::value_type | channel_t |
|
typedef detail::color_base< IC, C > | color_base_parent_t |
| typedef C | color_space_t |
| typedef parent_t::difference_type | difference_type |
| typedef std::random_access_iterator_tag | iterator_category |
|
typedef boost::iterator_facade< planar_ptr< IC, C >, pixel< typename std::iterator_traits< IC >::value_type, C >, boost::random_access_traversal_tag, planar_ref< typename std::iterator_traits< IC >::reference, C > > | parent_t |
|
typedef pixel< typename std::iterator_traits< IC >::value_type, C > | pixel_t |
| typedef parent_t::reference | reference |
Public Member Functions | |
| template<int N> | |
| IC const & | channel () const |
| template<int N> | |
| IC & | channel () |
| const IC & | channel_ptr (std::size_t i) const |
| IC & | channel_ptr (std::size_t i) |
| bool | operator!= (const planar_ptr_base &ptr) const |
| reference | operator-> () const |
| bool | operator< (const planar_ptr_base &ptr) const |
| reference | operator[] (difference_type d) const |
| template<typename IC1, typename C1> | |
| planar_ptr_base (const planar_ptr_base< IC1, C1 > &ptr) | |
| planar_ptr_base (const IC &v0, const IC &v1, const IC &v2, const IC &v3) | |
| planar_ptr_base (const IC &v0, const IC &v1, const IC &v2) | |
| planar_ptr_base () | |
| template<int N> | |
| IC const & | semantic_channel () const |
| template<int N> | |
| IC & | semantic_channel () |
Static Public Attributes | |
| static const int | num_channels |
Friends | |
| class | boost::iterator_core_access |
Definition at line 46 of file planar_ptr.hpp.
|
||||||||||
|
For some reason operator[] provided by boost::iterator_facade returns a custom class that is convertible to reference We require our own reference because it is registered in iterator_traits Definition at line 73 of file planar_ptr.hpp. |