Object Encoder -> Base64, kill false dependencies while doing so

This commit is contained in:
Daniel J. Hofmann 2016-03-14 15:11:38 +01:00 committed by Patrick Niklaus
parent 79cf1880fc
commit f948380fa2
7 changed files with 16 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#ifndef OBJECT_ENCODER_HPP
#define OBJECT_ENCODER_HPP
#ifndef OSRM_BASE64_HPP
#define OSRM_BASE64_HPP
#include <boost/assert.hpp>
#include <boost/archive/iterators/base64_from_binary.hpp>
@ -88,4 +88,4 @@ template <typename T> T decodeBase64(std::string encoded)
} // ns engine
} // ns osrm
#endif /* OBJECT_ENCODER_HPP */
#endif /* OSRM_BASE64_HPP */

View File

@ -5,7 +5,6 @@
#include "engine/plugins/plugin_base.hpp"
#include "engine/api/route_api.hpp"
#include "engine/object_encoder.hpp"
#include "engine/search_engine_data.hpp"
#include "engine/routing_algorithms/shortest_path.hpp"
#include "engine/routing_algorithms/alternative_path.hpp"

View File

@ -1,5 +1,5 @@
#include "engine/hint.hpp"
#include "engine/object_encoder.hpp"
#include "engine/base64.hpp"
#include "engine/datafacade/datafacade_base.hpp"
#include <boost/assert.hpp>

View File

@ -4,7 +4,6 @@
#include "engine/map_matching/bayes_classifier.hpp"
#include "engine/api/match_parameters.hpp"
#include "engine/api/match_api.hpp"
#include "engine/object_encoder.hpp"
#include "util/coordinate_calculation.hpp"
#include "util/integer_range.hpp"
#include "util/json_logger.hpp"

View File

@ -2,7 +2,6 @@
#include "engine/api/table_parameters.hpp"
#include "engine/api/table_api.hpp"
#include "engine/object_encoder.hpp"
#include "engine/routing_algorithms/many_to_many.hpp"
#include "engine/search_engine_data.hpp"
#include "util/string_util.hpp"

View File

@ -1,7 +1,6 @@
#include "engine/plugins/viaroute.hpp"
#include "engine/datafacade/datafacade_base.hpp"
#include "engine/api/route_api.hpp"
#include "engine/object_encoder.hpp"
#include "engine/status.hpp"
#include "util/for_each_pair.hpp"

View File

@ -0,0 +1,12 @@
#include "engine/base64.hpp"
#include <boost/test/unit_test.hpp>
#include <boost/test/test_case_template.hpp>
BOOST_AUTO_TEST_SUITE(base64)
BOOST_AUTO_TEST_CASE(encoding) {}
BOOST_AUTO_TEST_CASE(decoding) {}
BOOST_AUTO_TEST_SUITE_END()