MCPcopy Create free account
hub / github.com/IENT/YUView / at

Method at

YUViewLib/src/statistics/CustomColorMapStorage.cpp:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117CustomColorMap CustomColorMapStorage::at(size_t index) const
118{
119 if (index >= this->customColorMaps.size())
120 return {};
121 return this->customColorMaps.at(index);
122}
123
124std::optional<size_t> CustomColorMapStorage::indexOfColorMap(const ColorMap &colorMap,
125 const Color & other) const

Callers 15

parseColorMapFunction · 0.45
storeToSettingsFunction · 0.45
indexOfColorMapMethod · 0.45
saveAndGetIndexMethod · 0.45
getColorMethod · 0.45
loadPlaylistMethod · 0.45
getValueTxtMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected