| 47 | ImageStatisticsContainer::ImageStatisticsObject::ImageStatisticsObject() { Reset(); } |
| 48 | |
| 49 | void ImageStatisticsContainer::ImageStatisticsObject::AddStatistic(const std::string_view key, StatisticsVariantType value) |
| 50 | { |
| 51 | m_Statistics.emplace(key, value); |
| 52 | |
| 53 | if (std::find(m_DefaultNames.cbegin(), m_DefaultNames.cend(), key) == m_DefaultNames.cend()) |
| 54 | { |
| 55 | if (std::find(m_CustomNames.cbegin(), m_CustomNames.cend(), key) == m_CustomNames.cend()) |
| 56 | { |
| 57 | m_CustomNames.emplace_back(key); |
| 58 | } |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | const ImageStatisticsContainer::ImageStatisticsObject::StatisticNameVector & |
| 63 | ImageStatisticsContainer::ImageStatisticsObject::GetDefaultStatisticNames() |
no outgoing calls