MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / getNamedObject

Method getNamedObject

src/Design/DesignComponent.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80const 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
90void DesignComponent::append(DesignComponent* comp) {
91 for (auto file : comp->m_fileContents) m_fileContents.push_back(file);

Callers 4

bindDataType_Method · 0.80
bindPortType_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected