<% const properties = locals.properties; -%> // clang-format off // This file is generated. Do not edit. #pragma once #include #include #include #include #include #include namespace mbgl { namespace style { class LightObserver; class Light { public: Light(); ~Light(); // Dynamic properties optional setProperty(const std::string& name, const conversion::Convertible& value); StyleProperty getProperty(const std::string&) const; <% for (const property of properties) { -%> static <%- evaluatedType(property) %> getDefault<%- camelize(property.name) %>(); <%- propertyValueType(property) %> get<%- camelize(property.name) %>() const; void set<%- camelize(property.name) %>(<%- propertyValueType(property) %>); void set<%- camelize(property.name) %>Transition(const TransitionOptions&); TransitionOptions get<%- camelize(property.name) %>Transition() const; <% } -%> class Impl; Immutable impl; explicit Light(Immutable); Mutable mutableImpl() const; LightObserver* observer = nullptr; void setObserver(LightObserver*); }; } // namespace style } // namespace mbgl // clang-format on