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

Method GetAbsentRegions

libs/routing/absent_regions_finder.cpp:41–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void AbsentRegionsFinder::GetAbsentRegions(std::set<std::string> & regions)
42{
43 regions.clear();
44 GetAllRegions(regions);
45
46 for (auto i = regions.begin(); i != regions.end();)
47 if (m_localFileCheckerFn(*i))
48 i = regions.erase(i);
49 else
50 ++i;
51}
52
53void AbsentRegionsFinder::GetAllRegions(std::set<std::string> & countries)
54{

Callers 1

CalculateRouteMethod · 0.80

Calls 4

clearMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected