| 299 | } |
| 300 | |
| 301 | std::vector<std::pair<MappedName, ElementIDRefs>> |
| 302 | ComplexGeoData::getElementMappedNames(const IndexedName& element, bool needUnmapped) const |
| 303 | { |
| 304 | flushElementMap(); |
| 305 | if (_elementMap) { |
| 306 | auto res = _elementMap->findAll(element); |
| 307 | if (!res.empty()) { |
| 308 | return res; |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | if (!needUnmapped) { |
| 313 | return {}; |
| 314 | } |
| 315 | return {std::make_pair(MappedName(element), ElementIDRefs())}; |
| 316 | } |
| 317 | |
| 318 | ElementMapPtr ComplexGeoData::resetElementMap(ElementMapPtr elementMap) |
| 319 | { |
no test coverage detected