packed_channel_reference< BitField, FirstBit, NumBits, true > Class Template Reference
[packed_channel_reference]

#include <channel.hpp>

Inherits boost::gil::detail::packed_channel_reference_base< boost::gil::packed_channel_reference< BitField, FirstBit, NumBits, true >, BitField, NumBits, true >.

List of all members.


Detailed Description

template<typename BitField, int FirstBit, int NumBits>
class boost::gil::packed_channel_reference< BitField, FirstBit, NumBits, true >

A mutable subbyte channel reference whose bit offset is fixed at compile time. Models ChannelConcept.

Public Types

typedef const
packed_channel_reference
< BitField, FirstBit, NumBits,
false > 
const_reference
typedef const
packed_channel_reference
< BitField, FirstBit, NumBits,
true > 
mutable_reference
typedef parent_t::integer_t integer_t

Public Member Functions

 packed_channel_reference (void *data_ptr)
 packed_channel_reference (const packed_channel_reference &ref)
const packed_channel_reference & operator= (integer_t value) const
const packed_channel_reference & operator= (const mutable_reference &ref) const
const packed_channel_reference & operator= (const const_reference &ref) const
template<bool Mutable1>
const packed_channel_reference & operator= (const packed_dynamic_channel_reference< BitField, NumBits, Mutable1 > &ref) const
unsigned first_bit () const
integer_t get () const
void set_unsafe (integer_t value) const

Friends

class packed_channel_reference< BitField, FirstBit, NumBits, false >

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

Generated on Sat May 2 13:50:17 2009 for Generic Image Library by  doxygen 1.5.6