#include <hsb.hpp>
Inheritance diagram for planar_ptr< IC, hsb_t >:
List of all members.
Detailed Description
template<typename IC>
struct planar_ptr< IC, hsb_t >
Represents a pointer to a planar HSB 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,
hsb_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 (IC ih, IC is, IC ib) |
template<typename IC1, typename C1> |
| planar_ptr (const planar_ptr< IC1, C1 > &ptr) |
template<typename IC1, typename C1> |
planar_ptr & | operator= (const planar_ptr< IC1, 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:
|