MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
source.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <mbgl/style/source.hpp>
5 
6 #include <memory>
7 #include <optional>
8 
9 namespace mbgl {
10 namespace style {
11 namespace conversion {
12 
13 template <>
14 struct Converter<std::unique_ptr<Source>> {
15 public:
16  std::optional<std::unique_ptr<Source>> operator()(const Convertible& value, Error& error, const std::string& id) const;
17 };
18 
19 } // namespace conversion
20 } // namespace style
21 } // namespace mbgl
std::unique_ptr< Expression > error(std::string)
std::unique_ptr< Expression > string(std::unique_ptr< Expression >, std::unique_ptr< Expression > def=nullptr)
Definition: actor.hpp:15
Definition: tile_id.hpp:256