|
libelemental 1.2.0
|
A base class for qualified values which have representative colors. More...
#include <value.hh>

Public Member Functions | |
| virtual color | get_color () const =0 throw () |
| Returns a color representing the value. | |
Protected Member Functions | |
| color_value_base (Qualifier qualifier) throw () | |
A base class for qualified values which have representative colors.
| Elemental::color_value_base::color_value_base | ( | Qualifier | qualifier | ) | throw () [protected] |
| qualifier | The qualification of the initial value. |
| virtual color Elemental::color_value_base::get_color | ( | ) | const throw () [pure virtual] |
Returns a color representing the value.
Derived classes must implement this function, returning a color that corresponds to the defined value. A special color should be returned if has_value() is false.
Implemented in Elemental::Series, Elemental::Block, Elemental::Phase, Elemental::LatticeType, and Elemental::ColorValue.
1.7.4