MCPcopy Create free account
hub / github.com/MyGUI/mygui / clear

Method clear

Tools/EditorFramework/DataManager.cpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 void DataManager::clear()
49 {
50 while (!mRoot->getChilds().empty())
51 {
52 DataPtr child = mRoot->getChilds().back();
53 mRoot->removeChild(child);
54 }
55 }
56
57 DataPtr DataManager::getRoot()
58 {

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
removeChildMethod · 0.45

Tested by

no test coverage detected