2019-08-02 10:40:55 -04:00
|
|
|
#ifndef ENGINE_API_BASE_RESULT_HPP
|
|
|
|
#define ENGINE_API_BASE_RESULT_HPP
|
|
|
|
|
2019-08-05 06:46:13 -04:00
|
|
|
#include <flatbuffers/flatbuffers.h>
|
2019-08-02 10:40:55 -04:00
|
|
|
#include <mapbox/variant.hpp>
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "util/json_container.hpp"
|
|
|
|
|
|
|
|
namespace osrm
|
|
|
|
{
|
|
|
|
namespace engine
|
|
|
|
{
|
|
|
|
namespace api
|
|
|
|
{
|
2019-08-05 06:46:13 -04:00
|
|
|
using ResultT = mapbox::util::variant<util::json::Object, std::string, flatbuffers::FlatBufferBuilder>;
|
2019-08-02 10:40:55 -04:00
|
|
|
} // ns api
|
|
|
|
} // ns engine
|
|
|
|
} // ns osrm
|
|
|
|
|
|
|
|
#endif
|