Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
18
generator/node_mixer.hpp
Normal file
18
generator/node_mixer.hpp
Normal file
|
|
@ -0,0 +1,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 &)> const & processor);
|
||||
|
||||
inline void MixFakeNodes(std::string const filePath, std::function<void(OsmElement &)> const & processor)
|
||||
{
|
||||
std::ifstream stream(filePath);
|
||||
MixFakeNodes(stream, processor);
|
||||
}
|
||||
} // namespace generator
|
||||
Loading…
Add table
Add a link
Reference in a new issue