MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
find_zoom_curve.hpp
Go to the documentation of this file.
1 #pragma once
2 
6 
7 #include <mbgl/util/variant.hpp>
8 
9 #include <optional>
10 
11 namespace mbgl {
12 namespace style {
13 namespace expression {
14 
15 std::optional<variant<const Interpolate*, const Step*, ParsingError>> findZoomCurve(const expression::Expression* e);
16 
18 
19 } // namespace expression
20 } // namespace style
21 } // namespace mbgl
std::optional< variant< const Interpolate *, const Step *, ParsingError > > findZoomCurve(const expression::Expression *e)
variant< std::nullptr_t, const Interpolate *, const Step * > findZoomCurveChecked(const expression::Expression *e)
Definition: actor.hpp:15
mapbox::util::variant< T... > variant
Definition: variant.hpp:17