blob: ecea49605ce7b899408995c5d30e307b77b44ff6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include "generator/osm_element.hpp"
#include <fstream>
#include <functional>
#include <string>
namespace generator
{
void MixFakeNodes(std::istream & stream, std::function<void(OsmElement *)> processor);
inline void MixFakeNodes(std::string const filePath, std::function<void(OsmElement *)> processor)
{
std::ifstream stream(filePath);
MixFakeNodes(stream, processor);
}
} // namespace generator
|