MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / setupArrayNode

Method setupArrayNode

Source/GUI/MemWatcher/MemWatchModel.cpp:1185–1198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1183}
1184
1185void MemWatchModel::setupArrayNode(MemWatchTreeNode* node)
1186{
1187 if (node->childrenCount() == 0)
1188 {
1189 addNodes({new MemWatchTreeNode(new MemWatchEntry(m_placeholderEntry))},
1190 getIndexFromTreeNode(node), true);
1191 return;
1192 }
1193 else if (node->isExpanded())
1194 {
1195 collapseArrayNode(node);
1196 expandArrayNode(node);
1197 }
1198}

Callers

nothing calls this directly

Calls 2

childrenCountMethod · 0.45
isExpandedMethod · 0.45

Tested by

no test coverage detected