#pragma once #include #include namespace mbgl { namespace style { template class CompositeExponentialStops { public: using Stops = std::map>; Stops stops; float base = 1.0f; CompositeExponentialStops() = default; CompositeExponentialStops(Stops stops_, float base_ = 1.0f) : stops(std::move(stops_)), base(base_) { } ExponentialStops innerStops(const std::map& stops_) const { return ExponentialStops(stops_, base); } friend bool operator==(const CompositeExponentialStops& lhs, const CompositeExponentialStops& rhs) { return lhs.stops == rhs.stops && lhs.base == rhs.base; } }; } // namespace style } // namespace mbgl