MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / unregisterMapFormat

Method unregisterMapFormat

radiantcore/map/format/MapFormatManager.cpp:19–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void MapFormatManager::unregisterMapFormat(const MapFormatPtr& mapFormat)
20{
21 for (auto i = _mapFormats.begin(); i != _mapFormats.end(); )
22 {
23 if (i->second == mapFormat)
24 {
25 _mapFormats.erase(i++);
26 }
27 else
28 {
29 ++i;
30 }
31 }
32}
33
34MapFormatPtr MapFormatManager::getMapFormatByName(const std::string& mapFormatName)
35{

Callers 5

shutdownModuleMethod · 0.80
shutdownModuleMethod · 0.80
shutdownModuleMethod · 0.80
shutdownModuleMethod · 0.80
shutdownModuleMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected