| 517 | } |
| 518 | |
| 519 | void ForwardTranslator::logUntranslatedObjects(const model::Model& model) { |
| 520 | auto allModelObjects = model.modelObjects(); |
| 521 | for (const auto& mo : allModelObjects) { |
| 522 | // If mo is not in m_translatedObjects |
| 523 | if (m_translatedObjects.find(mo.handle()) == m_translatedObjects.end()) { |
| 524 | // If mo.iddObjectType is not int the m_ignoreTypes list |
| 525 | if (std::find(m_ignoreTypes.begin(), m_ignoreTypes.end(), mo.iddObjectType()) == m_ignoreTypes.end()) { |
| 526 | // If mo is not in the m_ignoreObjects list |
| 527 | if (std::find(m_ignoreObjects.begin(), m_ignoreObjects.end(), mo.handle()) == m_ignoreObjects.end()) { |
| 528 | LOG(Error, mo.briefDescription() << " was not translated."); |
| 529 | } |
| 530 | } |
| 531 | } |
| 532 | } |
| 533 | } |
| 534 | |
| 535 | } // namespace sdd |
| 536 | } // namespace openstudio |
nothing calls this directly
no test coverage detected