png++  0.2.9
Public Member Functions | Static Public Member Functions | List of all members
png::packed_pixel< bits > Class Template Reference

The packed pixel class template. More...

#include <packed_pixel.hpp>

Inheritance diagram for png::packed_pixel< bits >:
png::detail::allowed_bit_depth< bits > png::packed_gray_pixel< bits > png::packed_index_pixel< bits >

Public Member Functions

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

Static Public Member Functions

static int get_bit_depth ()
 
static byte get_bit_mask ()
 

Detailed Description

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

The packed pixel class template.

See also
packed_gray_pixel, packed_index_pixel

Constructor & Destructor Documentation

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

Member Function Documentation

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

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