#include <rgb.hpp>
Inheritance diagram for planar_ptr< IC, rgb_t >:
List of all members.
Detailed Description
template<typename IC>
struct planar_ptr< IC, rgb_t >
Represents a pointer to a planar RGB pixel.
A pointer can be constructed from and assigned to the address of a value, the address of a reference or another pointer It can also be dereferenced returning a reference.
|
Public Types |
typedef planar_ptr_base< IC,
rgb_t > | parent_t |
typedef parent_t::value_type | value_type |
typedef parent_t::reference | reference |
typedef parent_t::color_space_t | color_space_t |
Public Member Functions |
| planar_ptr () |
| planar_ptr (const IC &ir, const IC &ig, const IC &ib) |
template<typename T1, typename C1> |
| planar_ptr (const planar_ptr< T1, C1 > &ptr) |
template<typename T1, typename C1> |
planar_ptr & | operator= (const planar_ptr< T1, C1 > &ptr) |
template<typename P> |
| planar_ptr (P *pix) |
template<typename P> |
planar_ptr & | operator= (P *pix) |
reference | dereference () const |
Member Function Documentation
|
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. |
The documentation for this struct was generated from the following file:
|