TuttleOFX  1
boost::gil::packed_channel_value< NumBits > Class Template Reference

The value of a subbyte channel. Models: ChannelValueConcept. More...

#include <channel.hpp>

Public Types

typedef detail::min_fast_uint
< NumBits >::type 
integer_t
typedef packed_channel_value value_type
typedef value_typereference
typedef const value_typeconst_reference
typedef value_typepointer
typedef const value_typeconst_pointer
typedef detail::min_fast_uint
< NumBits >::type 
integer_t
typedef packed_channel_value value_type
typedef value_typereference
typedef const value_typeconst_reference
typedef value_typepointer
typedef const value_typeconst_pointer

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, is_mutable=true)
 packed_channel_value ()
 packed_channel_value (integer_t v)
 packed_channel_value (const packed_channel_value &v)
template<typename Scalar >
 packed_channel_value (Scalar v)
 operator integer_t () const
 BOOST_STATIC_CONSTANT (bool, is_mutable=true)
 packed_channel_value ()
 packed_channel_value (integer_t v)
 packed_channel_value (const packed_channel_value &v)
template<typename Scalar >
 packed_channel_value (Scalar v)
 operator integer_t () 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 ()

Private Attributes

integer_t _value

Static Private Attributes

static const std::size_t num_values = 1 << NumBits

Detailed Description

template<int NumBits>
class boost::gil::packed_channel_value< NumBits >

The value of a subbyte channel. Models: ChannelValueConcept.

Definition at line 249 of file channel.hpp.


Member Typedef Documentation

template<int NumBits>
typedef const value_type* boost::gil::packed_channel_value< NumBits >::const_pointer

Definition at line 260 of file channel.hpp.

template<int NumBits>
typedef const value_type* boost::gil::packed_channel_value< NumBits >::const_pointer

Definition at line 260 of file channel.hpp.

template<int NumBits>
typedef const value_type& boost::gil::packed_channel_value< NumBits >::const_reference

Definition at line 258 of file channel.hpp.

template<int NumBits>
typedef const value_type& boost::gil::packed_channel_value< NumBits >::const_reference

Definition at line 258 of file channel.hpp.

template<int NumBits>
typedef detail::min_fast_uint<NumBits>::type boost::gil::packed_channel_value< NumBits >::integer_t

Definition at line 254 of file channel.hpp.

template<int NumBits>
typedef detail::min_fast_uint<NumBits>::type boost::gil::packed_channel_value< NumBits >::integer_t

Definition at line 254 of file channel.hpp.

template<int NumBits>
typedef value_type* boost::gil::packed_channel_value< NumBits >::pointer

Definition at line 259 of file channel.hpp.

template<int NumBits>
typedef value_type* boost::gil::packed_channel_value< NumBits >::pointer

Definition at line 259 of file channel.hpp.

template<int NumBits>
typedef value_type& boost::gil::packed_channel_value< NumBits >::reference

Definition at line 257 of file channel.hpp.

template<int NumBits>
typedef value_type& boost::gil::packed_channel_value< NumBits >::reference

Definition at line 257 of file channel.hpp.

template<int NumBits>
typedef packed_channel_value boost::gil::packed_channel_value< NumBits >::value_type

Definition at line 256 of file channel.hpp.

template<int NumBits>
typedef packed_channel_value boost::gil::packed_channel_value< NumBits >::value_type

Definition at line 256 of file channel.hpp.


Constructor & Destructor Documentation

template<int NumBits>
boost::gil::packed_channel_value< NumBits >::packed_channel_value ( ) [inline]

Definition at line 266 of file channel.hpp.

template<int NumBits>
boost::gil::packed_channel_value< NumBits >::packed_channel_value ( integer_t  v) [inline]

Definition at line 267 of file channel.hpp.

template<int NumBits>
boost::gil::packed_channel_value< NumBits >::packed_channel_value ( const packed_channel_value< NumBits > &  v) [inline]

Definition at line 268 of file channel.hpp.

template<int NumBits>
template<typename Scalar >
boost::gil::packed_channel_value< NumBits >::packed_channel_value ( Scalar  v) [inline]

Definition at line 270 of file channel.hpp.

template<int NumBits>
boost::gil::packed_channel_value< NumBits >::packed_channel_value ( ) [inline]

Definition at line 266 of file channel.hpp.

template<int NumBits>
boost::gil::packed_channel_value< NumBits >::packed_channel_value ( integer_t  v) [inline]

Definition at line 267 of file channel.hpp.

template<int NumBits>
boost::gil::packed_channel_value< NumBits >::packed_channel_value ( const packed_channel_value< NumBits > &  v) [inline]

Definition at line 268 of file channel.hpp.

template<int NumBits>
template<typename Scalar >
boost::gil::packed_channel_value< NumBits >::packed_channel_value ( Scalar  v) [inline]

Definition at line 270 of file channel.hpp.


Member Function Documentation

template<int NumBits>
boost::gil::packed_channel_value< NumBits >::BOOST_STATIC_CONSTANT ( bool  ,
is_mutable  = true 
)
template<int NumBits>
boost::gil::packed_channel_value< NumBits >::BOOST_STATIC_CONSTANT ( bool  ,
is_mutable  = true 
)
template<int NumBits>
static value_type boost::gil::packed_channel_value< NumBits >::max_value ( ) [inline, static]

Definition at line 263 of file channel.hpp.

template<int NumBits>
static value_type boost::gil::packed_channel_value< NumBits >::max_value ( ) [inline, static]

Definition at line 263 of file channel.hpp.

template<int NumBits>
static value_type boost::gil::packed_channel_value< NumBits >::min_value ( ) [inline, static]

Definition at line 262 of file channel.hpp.

template<int NumBits>
static value_type boost::gil::packed_channel_value< NumBits >::min_value ( ) [inline, static]

Definition at line 262 of file channel.hpp.

template<int NumBits>
boost::gil::packed_channel_value< NumBits >::operator integer_t ( ) const [inline]

Definition at line 272 of file channel.hpp.

template<int NumBits>
boost::gil::packed_channel_value< NumBits >::operator integer_t ( ) const [inline]

Definition at line 272 of file channel.hpp.


Field Documentation

template<int NumBits>
integer_t boost::gil::packed_channel_value< NumBits >::_value [private]

Definition at line 275 of file channel.hpp.

template<int NumBits>
static const std::size_t boost::gil::packed_channel_value< NumBits >::num_values = 1 << NumBits [static, private]

Definition at line 251 of file channel.hpp.


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