A mutable subbyte channel reference whose bit offset is fixed at compile time. More...
#include <channel.hpp>
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 |
typedef packed_channel_value < NumBits > | value_type |
typedef const packed_channel_reference < BitField, FirstBit, NumBits, true > | reference |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef BitField | bitfield_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 |
BOOST_STATIC_CONSTANT (int, num_bits=NumBits) | |
BOOST_STATIC_CONSTANT (bool, is_mutable=Mutable) | |
const packed_channel_reference < BitField, FirstBit, NumBits, true > & | operator++ () const |
packed_channel_reference < BitField, FirstBit, NumBits, true > | operator++ (int) const |
const packed_channel_reference < BitField, FirstBit, NumBits, true > & | operator-- () const |
packed_channel_reference < BitField, FirstBit, NumBits, true > | operator-- (int) const |
const packed_channel_reference < BitField, FirstBit, NumBits, true > & | operator+= (Scalar2 v) const |
const packed_channel_reference < BitField, FirstBit, NumBits, true > & | operator-= (Scalar2 v) const |
const packed_channel_reference < BitField, FirstBit, NumBits, true > & | operator*= (Scalar2 v) const |
const packed_channel_reference < BitField, FirstBit, NumBits, true > & | operator/= (Scalar2 v) const |
operator integer_t () const | |
data_ptr_t | operator& () const |
Static Public Member Functions | |
static value_type | min_value () |
static value_type | max_value () |
Public Attributes | |
data_ptr_t | _data_ptr |
Protected Types | |
typedef mpl::if_c< Mutable, void *, const void * >::type | data_ptr_t |
typedef detail::num_value_fn < NumBits >::type | num_value_t |
typedef detail::max_value_fn < NumBits >::type | max_value_t |
Protected Member Functions | |
const bitfield_t & | get_data () const |
void | set_data (const bitfield_t &val) const |
Static Protected Attributes | |
static const num_value_t | num_values |
static const max_value_t | max_val |
Friends | |
class | packed_channel_reference< BitField, FirstBit, NumBits, false > |
A mutable subbyte channel reference whose bit offset is fixed at compile time.
Models ChannelConcept
|
inherited |
|
inherited |
typedef const packed_channel_reference<BitField,FirstBit,NumBits,false> boost::gil::packed_channel_reference< BitField, FirstBit, NumBits, true >::const_reference |
|
protectedinherited |
typedef parent_t::integer_t boost::gil::packed_channel_reference< BitField, FirstBit, NumBits, true >::integer_t |
|
protectedinherited |
typedef const packed_channel_reference<BitField,FirstBit,NumBits,true> boost::gil::packed_channel_reference< BitField, FirstBit, NumBits, true >::mutable_reference |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineexplicit |
|
inline |
|
inherited |
|
inherited |
|
inline |
|
inline |
|
inlineprotectedinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedinherited |
|
inline |
|
friend |
|
inherited |
|
staticprotectedinherited |
|
staticprotectedinherited |