alaCarte Maps
Renderer for OpenStreetMap tiles
importer.hpp
Go to the documentation of this file.
1 
21 #pragma once
22 #ifndef IMPORTER_HPP
23 #define IMPORTER_HPP
24 
25 #include "settings.hpp"
26 
27 class Configuration;
28 class Geodata;
29 
30 class Importer
31 {
32 public:
33  class OsmXmlParser;
34 public:
35  Importer(const shared_ptr<Configuration>& config);
36 
37 
38  TESTABLE shared_ptr<Geodata> importXML();
39 
40 private:
41  shared_ptr<Configuration> config;
42 };
43 
44 
45 #endif
TESTABLE shared_ptr< Geodata > importXML()
Parses an osm xml file specified in configuration containing osm data.
Definition: importer.cpp:548
Importer(const shared_ptr< Configuration > &config)
Initializes the importer.
Definition: importer.cpp:538
shared_ptr< Configuration > config
Definition: importer.hpp:41
Represents a set of options accessible via strings.
#define TESTABLE
Definition: settings.hpp:85
Parser for osm-xml-data.
Definition: importer.cpp:52