22 std::shared_ptr<lc::MetaColorByValue>
intToColor(
int code)
const {
23 if (code < 0 || code > 255) {
35 for (
int i = 0; i < 256; i++) {
49 inline int colorToInt(std::shared_ptr<const lc::MetaColorByValue>& col)
const {
50 for (
int i = 0; i < 256; i++) {
int colorToInt(const lc::Color &col) const
int colorToInt(std::shared_ptr< const lc::MetaColorByValue > &col) const
lc::MetaColorByValue_SPtr _intToCol[256]
std::shared_ptr< lc::MetaColorByValue > intToColor(int code) const