| 86 | } |
| 87 | |
| 88 | std::set<MapFormatPtr> MapFormatManager::getMapFormatList(const std::string& extension) |
| 89 | { |
| 90 | std::set<MapFormatPtr> list; |
| 91 | std::string extLower = string::to_lower_copy(extension); |
| 92 | |
| 93 | for (auto it = _mapFormats.find(extLower); |
| 94 | it != _mapFormats.upper_bound(extLower) && it != _mapFormats.end(); |
| 95 | ++it) |
| 96 | { |
| 97 | list.insert(it->second); |
| 98 | } |
| 99 | |
| 100 | return list; |
| 101 | } |
| 102 | |
| 103 | // RegisterableModule implementation |
| 104 | const std::string& MapFormatManager::getName() const |
no test coverage detected