TuttleOFX  1
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable > Class Template Reference

#include <channel.hpp>

Inheritance diagram for boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >:

Public Types

typedef packed_channel_value
< NumBits > 
value_type
typedef const Derived reference
typedef value_typepointer
typedef const value_typeconst_pointer
typedef BitField bitfield_t
typedef value_type::integer_t integer_t
typedef packed_channel_value
< NumBits > 
value_type
typedef const Derived reference
typedef value_typepointer
typedef const value_typeconst_pointer
typedef BitField bitfield_t
typedef value_type::integer_t integer_t

Public Member Functions

 BOOST_STATIC_CONSTANT (int, num_bits=NumBits)
 BOOST_STATIC_CONSTANT (bool, is_mutable=Mutable)
 packed_channel_reference_base (data_ptr_t data_ptr)
 packed_channel_reference_base (const packed_channel_reference_base &ref)
const Derived & operator= (integer_t v) const
const Derived & operator++ () const
const Derived & operator-- () const
Derived operator++ (int) const
Derived operator-- (int) const
template<typename Scalar2 >
const Derived & operator+= (Scalar2 v) const
template<typename Scalar2 >
const Derived & operator-= (Scalar2 v) const
template<typename Scalar2 >
const Derived & operator*= (Scalar2 v) const
template<typename Scalar2 >
const Derived & operator/= (Scalar2 v) const
 operator integer_t () const
data_ptr_t operator& () const
 BOOST_STATIC_CONSTANT (int, num_bits=NumBits)
 BOOST_STATIC_CONSTANT (bool, is_mutable=Mutable)
 packed_channel_reference_base (data_ptr_t data_ptr)
 packed_channel_reference_base (const packed_channel_reference_base &ref)
const Derived & operator= (integer_t v) const
const Derived & operator++ () const
const Derived & operator-- () const
Derived operator++ (int) const
Derived operator-- (int) const
template<typename Scalar2 >
const Derived & operator+= (Scalar2 v) const
template<typename Scalar2 >
const Derived & operator-= (Scalar2 v) const
template<typename Scalar2 >
const Derived & operator*= (Scalar2 v) const
template<typename Scalar2 >
const Derived & 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 ()
static value_type min_value ()
static value_type max_value ()

Data Fields

data_ptr_t _data_ptr

Protected Types

typedef mpl::if_c< Mutable,
void *, const void * >::type 
data_ptr_t
typedef mpl::if_c< Mutable,
void *, const void * >::type 
data_ptr_t

Protected Member Functions

bitfield_t get_data () const
void set_data (const bitfield_t &val) const
bitfield_t get_data () const
void set_data (const bitfield_t &val) const

Static Protected Attributes

static const integer_t max_val = ( 1 << NumBits ) - 1

Private Member Functions

void set (integer_t value) const
integer_t get () const
const Derived & derived () const
void set (integer_t value) const
integer_t get () const
const Derived & derived () const

Detailed Description

template<typename Derived, typename BitField, int NumBits, bool Mutable>
class boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >

Definition at line 299 of file channel.hpp.


Member Typedef Documentation

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef BitField boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::bitfield_t

Definition at line 317 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef BitField boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::bitfield_t

Definition at line 317 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef const value_type* boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::const_pointer

Definition at line 310 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef const value_type* boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::const_pointer

Definition at line 310 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef mpl::if_c<Mutable, void*, const void*>::type boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::data_ptr_t [protected]

Definition at line 302 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef mpl::if_c<Mutable, void*, const void*>::type boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::data_ptr_t [protected]

Definition at line 302 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef value_type* boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::pointer

Definition at line 309 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef value_type* boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::pointer

Definition at line 309 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef const Derived boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::reference

Definition at line 308 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef const Derived boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::reference

Definition at line 308 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef packed_channel_value<NumBits> boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::value_type

Definition at line 307 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
typedef packed_channel_value<NumBits> boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::value_type

Definition at line 307 of file channel.hpp.


Constructor & Destructor Documentation

template<typename Derived, typename BitField, int NumBits, bool Mutable>
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::packed_channel_reference_base ( data_ptr_t  data_ptr) [inline]

Definition at line 320 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::packed_channel_reference_base ( const packed_channel_reference_base< Derived, BitField, NumBits, Mutable > &  ref) [inline]

Definition at line 321 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::packed_channel_reference_base ( data_ptr_t  data_ptr) [inline]

Definition at line 320 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::packed_channel_reference_base ( const packed_channel_reference_base< Derived, BitField, NumBits, Mutable > &  ref) [inline]

Definition at line 321 of file channel.hpp.


Member Function Documentation

template<typename Derived, typename BitField, int NumBits, bool Mutable>
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::BOOST_STATIC_CONSTANT ( int  ,
num_bits  = NumBits 
)
template<typename Derived, typename BitField, int NumBits, bool Mutable>
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::BOOST_STATIC_CONSTANT ( int  ,
num_bits  = NumBits 
)
template<typename Derived, typename BitField, int NumBits, bool Mutable>
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::BOOST_STATIC_CONSTANT ( bool  ,
is_mutable  = Mutable 
)
template<typename Derived, typename BitField, int NumBits, bool Mutable>
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::BOOST_STATIC_CONSTANT ( bool  ,
is_mutable  = Mutable 
)
template<typename Derived, typename BitField, int NumBits, bool Mutable>
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::derived ( ) const [inline, private]

Definition at line 374 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::derived ( ) const [inline, private]

Definition at line 374 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
bitfield_t boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::get_data ( ) const [inline, protected]

Definition at line 349 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
bitfield_t boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::get_data ( ) const [inline, protected]

Definition at line 349 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
static value_type boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::max_value ( ) [inline, static]

Definition at line 315 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
static value_type boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::max_value ( ) [inline, static]

Definition at line 315 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
static value_type boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::min_value ( ) [inline, static]

Definition at line 314 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
static value_type boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::min_value ( ) [inline, static]

Definition at line 314 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator integer_t ( ) const [inline]

Definition at line 339 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator integer_t ( ) const [inline]

Definition at line 339 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
data_ptr_t boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator& ( ) const [inline]

Definition at line 340 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
data_ptr_t boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator& ( ) const [inline]

Definition at line 340 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
template<typename Scalar2 >
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator*= ( Scalar2  v) const [inline]

Definition at line 335 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
template<typename Scalar2 >
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator*= ( Scalar2  v) const [inline]

Definition at line 335 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator++ ( ) const [inline]

Definition at line 324 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator++ ( ) const [inline]

Definition at line 324 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
Derived boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator++ ( int  ) const [inline]

Definition at line 327 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
Derived boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator++ ( int  ) const [inline]

Definition at line 327 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
template<typename Scalar2 >
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator+= ( Scalar2  v) const [inline]

Definition at line 331 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
template<typename Scalar2 >
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator+= ( Scalar2  v) const [inline]

Definition at line 331 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator-- ( ) const [inline]

Definition at line 325 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator-- ( ) const [inline]

Definition at line 325 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
Derived boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator-- ( int  ) const [inline]

Definition at line 328 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
Derived boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator-- ( int  ) const [inline]

Definition at line 328 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
template<typename Scalar2 >
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator-= ( Scalar2  v) const [inline]

Definition at line 333 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
template<typename Scalar2 >
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator-= ( Scalar2  v) const [inline]

Definition at line 333 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
template<typename Scalar2 >
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator/= ( Scalar2  v) const [inline]

Definition at line 337 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
template<typename Scalar2 >
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator/= ( Scalar2  v) const [inline]

Definition at line 337 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator= ( integer_t  v) const [inline]

Definition at line 322 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
const Derived& boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::operator= ( integer_t  v) const [inline]

Definition at line 322 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
void boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::set ( integer_t  value) const [inline, private]

Definition at line 365 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
void boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::set ( integer_t  value) const [inline, private]

Definition at line 365 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
void boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::set_data ( const bitfield_t val) const [inline, protected]

Definition at line 357 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
void boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::set_data ( const bitfield_t val) const [inline, protected]

Definition at line 357 of file channel.hpp.


Field Documentation

template<typename Derived, typename BitField, int NumBits, bool Mutable>
data_ptr_t boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::_data_ptr

Definition at line 305 of file channel.hpp.

template<typename Derived, typename BitField, int NumBits, bool Mutable>
static const integer_t boost::gil::detail::packed_channel_reference_base< Derived, BitField, NumBits, Mutable >::max_val = ( 1 << NumBits ) - 1 [static, protected]

Definition at line 343 of file channel.hpp.


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