libpng++  v0.2.5-1
C++ library for PNG images
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
png::detail::packed_pixel_proxy< pixel > Class Template Reference

#include <pixel_buffer.hpp>

Inheritance diagram for png::detail::packed_pixel_proxy< pixel >:
Collaboration diagram for png::detail::packed_pixel_proxy< pixel >:

Public Types

typedef
basic_packed_pixel_proxy
< pixel, byte & > 
basic_proxy
 

Public Member Functions

 packed_pixel_proxy (byte &ref, size_t index)
 
 packed_pixel_proxy (packed_pixel_proxy const &other)
 
 operator pixel () const
 
packed_pixel_proxyoperator= (packed_pixel_proxy const &other)
 
template<typename reference >
packed_pixel_proxyoperator= (basic_packed_pixel_proxy< pixel, reference > const &other)
 
packed_pixel_proxyoperator= (pixel p)
 

Static Protected Member Functions

static size_t get_pixels_per_byte ()
 
static size_t get_shift (size_t index)
 

Protected Attributes

bytem_ref
 
size_t m_shift
 

Member Typedef Documentation

template<class pixel >
typedef basic_packed_pixel_proxy< pixel, byte& > png::detail::packed_pixel_proxy< pixel >::basic_proxy

Constructor & Destructor Documentation

template<class pixel >
png::detail::packed_pixel_proxy< pixel >::packed_pixel_proxy ( byte ref,
size_t  index 
)
inline

Member Function Documentation

static size_t png::detail::basic_packed_pixel_proxy< pixel, byte & >::get_pixels_per_byte ( )
inlinestaticprotectedinherited
static size_t png::detail::basic_packed_pixel_proxy< pixel, byte & >::get_shift ( size_t  index)
inlinestaticprotectedinherited

References png::detail::basic_packed_pixel_proxy< pixel, reference >::get_pixels_per_byte().

Here is the call graph for this function:

template<class pixel >
packed_pixel_proxy& png::detail::packed_pixel_proxy< pixel >::operator= ( packed_pixel_proxy< pixel > const &  other)
inline
template<class pixel >
template<typename reference >
packed_pixel_proxy& png::detail::packed_pixel_proxy< pixel >::operator= ( basic_packed_pixel_proxy< pixel, reference > const &  other)
inline

Member Data Documentation


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