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

Method getChildren

include/Surelog/Design/ModuleInstance.h:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 DesignComponent* getDefinition() { return m_definition; }
77 uint32_t getNbChildren() const { return m_allSubInstances.size(); }
78 ModuleInstance* getChildren(uint32_t i) {
79 if (i < m_allSubInstances.size()) {
80 return m_allSubInstances[i];
81 } else {
82 return nullptr;
83 }
84 }
85 ModuleInstance* getParent() const { return m_parent; }
86 void setParent(ModuleInstance* parent) { m_parent = parent; }
87 const FileContent* getFileContent() const { return m_fileContent; }

Callers 15

mainFunction · 0.80
SLgetInstanceChildrenFunction · 0.80
bindAllInstances_Method · 0.80
reduceUnnamedBlocks_Method · 0.80
bindTypedefsPostElab_Method · 0.80
writeInstanceMethod · 0.80
collectUsedFileContentsFunction · 0.80
elaborate_Method · 0.80
elab_interfaces_Method · 0.80
reportInstanceTreeMethod · 0.80
findInstance_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected