osrm-backend/include/server/api/parsed_url.hpp

38 lines
566 B
C++
Raw Normal View History

2016-01-28 10:28:44 -05:00
#ifndef SERVER_API_PARSED_URL_HPP
#define SERVER_API_PARSED_URL_HPP
#include "util/coordinate.hpp"
#include <boost/fusion/include/adapt_struct.hpp>
2016-01-28 10:28:44 -05:00
#include <string>
#include <vector>
namespace osrm
{
namespace server
{
namespace api
{
struct ParsedURL final
2016-01-28 10:28:44 -05:00
{
std::string service;
unsigned version;
std::string profile;
2016-03-02 19:48:30 -05:00
std::string query;
2016-01-28 10:28:44 -05:00
};
} // api
} // server
} // osrm
BOOST_FUSION_ADAPT_STRUCT(osrm::server::api::ParsedURL,
(std::string, service)
(unsigned, version)
(std::string, profile)
(std::string, query)
)
2016-01-28 10:28:44 -05:00
#endif