| 295 | } |
| 296 | |
| 297 | bool SymbolMappingLoader::LoadMappings(tinyxml2::XMLDocument* doc) |
| 298 | { |
| 299 | // TODO - check version specific mappings |
| 300 | auto ele = doc->RootElement()->FirstChildElement("Mappings"); |
| 301 | while (ele != nullptr) { |
| 302 | if (ele->BoolAttribute("Default")) { |
| 303 | return LoadMappingsNode(ele); |
| 304 | } |
| 305 | |
| 306 | ele = ele->NextSiblingElement("Mappings"); |
| 307 | } |
| 308 | |
| 309 | return false; |
| 310 | } |
| 311 | |
| 312 | bool SymbolMappingLoader::LoadMappingsNode(tinyxml2::XMLElement* mappingsNode) |
| 313 | { |
nothing calls this directly
no test coverage detected