| 17 | } |
| 18 | |
| 19 | void 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 | |
| 34 | MapFormatPtr MapFormatManager::getMapFormatByName(const std::string& mapFormatName) |
| 35 | { |
no test coverage detected