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

#include <channel.hpp>

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 Thu Nov 8 21:53:21 2007 for Generic Image Library by  doxygen 1.4.4