![]() |
Vault
4.1
|
VIntegerRangeColorMapper maps ranges of integer values to colors. More...
#include <vcolor.h>
Public Member Functions | |
virtual VColorPair | getColors (const VString &stringValue) const |
virtual VColorPair | getColors (int intValue) const |
virtual VColorPair | getColors (Vs64 int64Value) const |
virtual VColorPair | getColors (VDouble doubleValue) const |
void | addColors (Vs64 rangeMin, const VColorPair &rangeColors) |
Protected Member Functions | |
virtual void | _readColorElement (const VSettingsNode &colorNode) |
Friends | |
class | VColorUnit |
VIntegerRangeColorMapper maps ranges of integer values to colors.
Note that we use Vs64 so that this class can handle any size integer. We don't need separate mapper types for (32-bit) int and Vs64.