Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
detail::homogeneous_color_base

A homogeneous color base holding one color element. More...

Classes

struct  boost::gil::detail::homogeneous_color_base< Element, Layout, 1 >
 A homogeneous color base holding one color element. More...
 
struct  boost::gil::detail::homogeneous_color_base< Element, Layout, 2 >
 A homogeneous color base holding two color elements. More...
 
struct  boost::gil::detail::homogeneous_color_base< Element, Layout, 3 >
 A homogeneous color base holding three color elements. More...
 
struct  boost::gil::detail::homogeneous_color_base< Element, Layout, 4 >
 A homogeneous color base holding four color elements. More...
 
struct  boost::gil::detail::homogeneous_color_base< Element, Layout, 5 >
 A homogeneous color base holding five color elements. More...
 

Functions

template<int K, typename E , typename L , int N>
add_reference< E >::type boost::gil::at_c (detail::homogeneous_color_base< E, L, N > &p)
 Provides mutable access to the K-th element, in physical order. More...
 
template<int K, typename E , typename L , int N>
add_reference< typename
add_const< E >::type >::type 
boost::gil::at_c (const detail::homogeneous_color_base< E, L, N > &p)
 Provides constant access to the K-th element, in physical order. More...
 

Detailed Description

A homogeneous color base holding one color element.

Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept If the element type models Regular, this class models HomogeneousColorBaseValueConcept.

Function Documentation

template<int K, typename E , typename L , int N>
add_reference< E >::type boost::gil::at_c ( detail::homogeneous_color_base< E, L, N > &  p)
inline

#include <boost_1_57_0/boost/gil/color_base.hpp>

Provides mutable access to the K-th element, in physical order.

template<int K, typename E , typename L , int N>
add_reference< typename add_const< E >::type >::type boost::gil::at_c ( const detail::homogeneous_color_base< E, L, N > &  p)
inline

#include <boost_1_57_0/boost/gil/color_base.hpp>

Provides constant access to the K-th element, in physical order.