planar_ptr< IC, lab_t > Struct Template Reference
[Planar PointersLAB Color Space]

#include <lab.hpp>

Inheritance diagram for planar_ptr< IC, lab_t >:

planar_ptr_base< IC, lab_t > List of all members.

Detailed Description

template<typename IC>
struct planar_ptr< IC, lab_t >

Represents a pointer to a planar LAB 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,
lab_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 il, IC ia, IC ib)
template<typename IC1, typename C1>
 planar_ptr (const planar_ptr< IC1, C1 > &ptr)
template<typename IC1, typename C1>
planar_ptroperator= (const planar_ptr< IC1, C1 > &ptr)
template<typename P>
 planar_ptr (P *pix)
template<typename P>
planar_ptroperator= (P *pix)
reference dereference () const

Member Function Documentation

planar_ptr 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.


The documentation for this struct was generated from the following file:

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google