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

Method registerMapFormat

radiantcore/map/format/MapFormatManager.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12{
13
14void MapFormatManager::registerMapFormat(const std::string& extension, const MapFormatPtr& mapFormat)
15{
16 _mapFormats.insert(std::make_pair(string::to_lower_copy(extension), mapFormat));
17}
18
19void MapFormatManager::unregisterMapFormat(const MapFormatPtr& mapFormat)
20{

Callers 5

initialiseModuleMethod · 0.80
initialiseModuleMethod · 0.80
initialiseModuleMethod · 0.80
initialiseModuleMethod · 0.80
initialiseModuleMethod · 0.80

Calls 2

to_lower_copyFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected