MCPcopy Create free account
hub / github.com/comaps/comaps / LoadTileProfiles

Function LoadTileProfiles

tools/topography_generator/generator.cpp:60–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60bool LoadTileProfiles(std::string const & fileName, std::set<std::string> & profileNames)
61{
62 std::ifstream fin(fileName);
63 if (!fin)
64 return false;
65 std::string line;
66 while (std::getline(fin, line))
67 if (!line.empty())
68 profileNames.insert(line);
69 return true;
70}
71
72class SrtmProvider : public ValuesProvider<Altitude>
73{

Callers 1

ProcessTileMethod · 0.85

Calls 2

emptyMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected