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

Method collapseArrayNode

Source/GUI/MemWatcher/MemWatchModel.cpp:1057–1064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1055}
1056
1057void MemWatchModel::collapseArrayNode(MemWatchTreeNode* node)
1058{
1059 while (node->hasChildren())
1060 deleteNode(getIndexFromTreeNode(node->getChildren()[0]));
1061
1062 addNodes({new MemWatchTreeNode(new MemWatchEntry(m_placeholderEntry))},
1063 getIndexFromTreeNode(node), true);
1064}
1065
1066int MemWatchModel::getTotalContainerLength(MemWatchEntry* entry)
1067{

Callers

nothing calls this directly

Calls 1

hasChildrenMethod · 0.45

Tested by

no test coverage detected