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

Specifies the return type of the constant element accessor by color name, get_color(color_base, Color());. More...

#include <color_base_algorithm.hpp>

Inheritance diagram for boost::gil::color_element_const_reference_type< ColorBase, Color >:
Collaboration diagram for boost::gil::color_element_const_reference_type< ColorBase, Color >:

Public Types

typedef
kth_element_const_reference_type
< ColorBase, semantic_index >
::type 
type
 

Public Member Functions

 BOOST_STATIC_CONSTANT (int, semantic_index=(mpl::at_c< typename ColorBase::layout_t::channel_mapping_t, K >::type::value))
 

Static Public Member Functions

static type get (const ColorBase &cb)
 

Detailed Description

template<typename ColorBase, typename Color>
struct boost::gil::color_element_const_reference_type< ColorBase, Color >

Specifies the return type of the constant element accessor by color name, get_color(color_base, Color());.

Member Typedef Documentation

typedef kth_element_const_reference_type<ColorBase,semantic_index>::type boost::gil::kth_semantic_element_const_reference_type< ColorBase, K >::type
inherited

Member Function Documentation

boost::gil::kth_semantic_element_const_reference_type< ColorBase, K >::BOOST_STATIC_CONSTANT ( int  ,
semantic_index  = (mpl::at_c<typename ColorBase::layout_t::channel_mapping_t,K>::type::value) 
)
inherited
static type boost::gil::kth_semantic_element_const_reference_type< ColorBase, K >::get ( const ColorBase &  cb)
inlinestaticinherited

Referenced by boost::gil::get_color().


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