osrm-backend/include/server/api/parsed_url.hpp
2016-04-08 21:03:50 +02:00

38 lines
569 B
C++

#ifndef SERVER_API_PARSED_URL_HPP
#define SERVER_API_PARSED_URL_HPP
#include "util/coordinate.hpp"
#include <boost/fusion/include/adapt_struct.hpp>
#include <string>
#include <vector>
namespace osrm
{
namespace server
{
namespace api
{
struct ParsedURL final
{
std::string service;
unsigned version;
std::string profile;
std::string query;
};
} // api
} // server
} // osrm
BOOST_FUSION_ADAPT_STRUCT(osrm::server::api::ParsedURL,
(std::string, service),
(unsigned, version),
(std::string, profile),
(std::string, query)
)
#endif