color_element_type, color_element_reference_type, color_element_const_reference_type, get_color, contains_color |
Classes | |
struct | contains_color |
A predicate metafunction determining whether a given color base contains a given color. More... | |
struct | color_element_type |
Specifies the type of the element associated with a given color tag. More... | |
struct | color_element_reference_type |
Specifies the return type of the mutable element accessor by color name, get_color(color_base, Color());. More... | |
struct | color_element_const_reference_type |
Specifies the return type of the constant element accessor by color name, get_color(color_base, Color());. More... | |
Functions | |
template<typename ColorBase, typename Color> | |
color_element_reference_type < ColorBase, Color >::type | get_color (ColorBase &cb, Color=Color()) |
Mutable accessor to the element associated with a given color name. | |
template<typename ColorBase, typename Color> | |
color_element_const_reference_type < ColorBase, Color >::type | get_color (const ColorBase &cb, Color=Color()) |
Constant accessor to the element associated with a given color name. |