Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal > Struct Template Reference

A channel adaptor that modifies the range of the source channel. More...

#include <typedefs.hpp>

Public Types

typedef scoped_channel_value value_type
 
typedef value_typereference
 
typedef value_typepointer
 
typedef const value_typeconst_reference
 
typedef const value_typeconst_pointer
 
typedef BaseChannelValue base_channel_t
 

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, is_mutable=channel_traits< BaseChannelValue >::is_mutable)
 
 scoped_channel_value ()
 
 scoped_channel_value (const scoped_channel_value &c)
 
 scoped_channel_value (BaseChannelValue val)
 
scoped_channel_valueoperator++ ()
 
scoped_channel_valueoperator-- ()
 
scoped_channel_value operator++ (int)
 
scoped_channel_value operator-- (int)
 
template<typename Scalar2 >
scoped_channel_valueoperator+= (Scalar2 v)
 
template<typename Scalar2 >
scoped_channel_valueoperator-= (Scalar2 v)
 
template<typename Scalar2 >
scoped_channel_valueoperator*= (Scalar2 v)
 
template<typename Scalar2 >
scoped_channel_valueoperator/= (Scalar2 v)
 
scoped_channel_valueoperator= (BaseChannelValue v)
 
 operator BaseChannelValue () const
 

Static Public Member Functions

static value_type min_value ()
 
static value_type max_value ()
 

Detailed Description

template<typename BaseChannelValue, typename MinVal, typename MaxVal>
struct boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >

A channel adaptor that modifies the range of the source channel.

Models: ChannelValueConcept

Member Typedef Documentation

template<typename BaseChannelValue , typename MinVal , typename MaxVal >
typedef BaseChannelValue boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::base_channel_t
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
typedef const value_type* boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::const_pointer
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
typedef const value_type& boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::const_reference
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
typedef value_type* boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::pointer
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
typedef value_type& boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::reference
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
typedef scoped_channel_value boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::value_type

Constructor & Destructor Documentation

template<typename BaseChannelValue , typename MinVal , typename MaxVal >
boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::scoped_channel_value ( )
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::scoped_channel_value ( const scoped_channel_value< BaseChannelValue, MinVal, MaxVal > &  c)
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::scoped_channel_value ( BaseChannelValue  val)
inline

Member Function Documentation

template<typename BaseChannelValue , typename MinVal , typename MaxVal >
boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::BOOST_STATIC_CONSTANT ( bool  ,
is_mutable  = channel_traits< BaseChannelValue >::is_mutable 
)
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
static value_type boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::max_value ( )
inlinestatic
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
static value_type boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::min_value ( )
inlinestatic
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::operator BaseChannelValue ( ) const
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
template<typename Scalar2 >
scoped_channel_value& boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::operator*= ( Scalar2  v)
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
scoped_channel_value& boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::operator++ ( )
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
scoped_channel_value boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::operator++ ( int  )
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
template<typename Scalar2 >
scoped_channel_value& boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::operator+= ( Scalar2  v)
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
scoped_channel_value& boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::operator-- ( )
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
scoped_channel_value boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::operator-- ( int  )
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
template<typename Scalar2 >
scoped_channel_value& boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::operator-= ( Scalar2  v)
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
template<typename Scalar2 >
scoped_channel_value& boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::operator/= ( Scalar2  v)
inline
template<typename BaseChannelValue , typename MinVal , typename MaxVal >
scoped_channel_value& boost::gil::scoped_channel_value< BaseChannelValue, MinVal, MaxVal >::operator= ( BaseChannelValue  v)
inline

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