MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / loadTemplateFiles

Method loadTemplateFiles

src/core/map.cpp:1968–1976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1966}
1967
1968void Map::loadTemplateFiles(const MapView& view)
1969{
1970 for (auto& temp : templates)
1971 {
1972 if (temp->getTemplateState() == Template::Unloaded
1973 && view.getTemplateVisibility(temp.get()).visible)
1974 temp->loadTemplateFile();
1975 }
1976}
1977
1978// cppcheck-suppress passedByValue
1979void Map::loadTemplateFilesAsync(MapView& view, std::function<void(const QString&)> listener)

Callers 2

worldFileTemplateTestMethod · 0.80
geoTiffTemplateTestMethod · 0.80

Calls 4

getTemplateStateMethod · 0.80
getTemplateVisibilityMethod · 0.80
loadTemplateFileMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected