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

The packed pixel class template. More...

#include <packed_pixel.hpp>

Inheritance diagram for png::packed_pixel< bits >:
Collaboration diagram for png::packed_pixel< bits >:

Public Member Functions

 packed_pixel (byte value=0)
 
 operator byte () const
 

Static Public Member Functions

static size_t const get_bit_depth ()
 
static byte const get_bit_mask ()
 

Private Attributes

byte m_value
 

Detailed Description

template<size_t bits>
class png::packed_pixel< bits >

The packed pixel class template.

See Also
packed_gray_pixel, packed_index_pixel

Constructor & Destructor Documentation

template<size_t bits>
png::packed_pixel< bits >::packed_pixel ( byte  value = 0)
inline

Member Function Documentation

template<size_t bits>
static size_t const png::packed_pixel< bits >::get_bit_depth ( )
inlinestatic
template<size_t bits>
static byte const png::packed_pixel< bits >::get_bit_mask ( )
inlinestatic
template<size_t bits>
png::packed_pixel< bits >::operator byte ( ) const
inline

Member Data Documentation

template<size_t bits>
byte png::packed_pixel< bits >::m_value
private

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