blob: 9df5c83e037eeab356ab05b313daa023803b2987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "generator/collector_interface.hpp"
#include "coding/file_writer.hpp"
#include <memory>
#include <string>
namespace generator
{
// The class CollectorAddresses is responsible for the collecting addresses to the file.
class CollectorAddresses : public CollectorInterface
{
public:
CollectorAddresses(std::string const & filename);
// CollectorInterface overrides:
void CollectFeature(feature::FeatureBuilder const & feature, OsmElement const &) override;
void Save() override {}
private:
std::unique_ptr<FileWriter> m_addrWriter;
};
} // namespace generator
|