Boost GIL


Public Types | Public Member Functions | Friends | List of all members
bit_aligned_pixel_reference< BitField, ChannelBitSizes, Layout, IsMutable > Struct Template Reference

Heterogeneous pixel reference corresponding to non-byte-aligned bit range. Models ColorBaseConcept, PixelConcept, PixelBasedConcept. More...

#include <bit_aligned_pixel_reference.hpp>

Public Types

typedef boost::gil::bit_range
< bit_size, IsMutable > 
bit_range_t
 
typedef BitField bitfield_t
 
typedef mpl::if_c< IsMutable,
unsigned char *, const
unsigned char * >::type 
data_ptr_t
 
typedef Layout layout_t
 
typedef packed_pixel_type
< bitfield_t, ChannelBitSizes,
Layout >::type 
value_type
 
typedef const
bit_aligned_pixel_reference 
reference
 
typedef const
bit_aligned_pixel_reference
< BitField, ChannelBitSizes,
Layout, false > 
const_reference
 

Public Member Functions

 BOOST_STATIC_CONSTANT (int, bit_size=(mpl::accumulate< ChannelBitSizes, mpl::int_< 0 >, mpl::plus< mpl::_1, mpl::_2 > >::type::value))
 
 BOOST_STATIC_CONSTANT (bool, is_mutable=IsMutable)
 
 bit_aligned_pixel_reference (data_ptr_t data_ptr, int bit_offset)
 
 bit_aligned_pixel_reference (const bit_range_t &bit_range)
 
template<bool IsMutable2>
 bit_aligned_pixel_reference (const bit_aligned_pixel_reference< BitField, ChannelBitSizes, Layout, IsMutable2 > &p)
 
 bit_aligned_pixel_reference (const typename kth_element_type< bit_aligned_pixel_reference, 0 >::type channel0)
 
 bit_aligned_pixel_reference (const bit_aligned_pixel_reference &p)
 
template<typename BF , typename CR >
 bit_aligned_pixel_reference (packed_pixel< BF, CR, Layout > &p)
 
const bit_aligned_pixel_referenceoperator= (const bit_aligned_pixel_reference &p) const
 
template<typename P >
const bit_aligned_pixel_referenceoperator= (const P &p) const
 
template<typename P >
bool operator== (const P &p) const
 
template<typename P >
bool operator!= (const P &p) const
 
const bit_aligned_pixel_referenceoperator-> () const
 
const bit_range_t & bit_range () const
 

Friends

template<typename B , typename C , typename L , bool M>
struct bit_aligned_pixel_reference
 

Detailed Description

template<typename BitField, typename ChannelBitSizes, typename Layout, bool IsMutable>
struct boost::gil::bit_aligned_pixel_reference< BitField, ChannelBitSizes, Layout, IsMutable >

Heterogeneous pixel reference corresponding to non-byte-aligned bit range. Models ColorBaseConcept, PixelConcept, PixelBasedConcept.


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