| 78 | } |
| 79 | |
| 80 | const std::pair<FileCNodeId, DesignComponent*>* DesignComponent::getNamedObject( |
| 81 | std::string_view name) const { |
| 82 | auto itr = m_namedObjects.find(name); |
| 83 | if (itr == m_namedObjects.end()) { |
| 84 | return nullptr; |
| 85 | } else { |
| 86 | return &(*itr).second; |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | void DesignComponent::append(DesignComponent* comp) { |
| 91 | for (auto file : comp->m_fileContents) m_fileContents.push_back(file); |
no outgoing calls
no test coverage detected