| 47 | } |
| 48 | |
| 49 | void DataManager::clear() |
| 50 | { |
| 51 | while (!mRoot->getChilds().empty()) |
| 52 | { |
| 53 | Data* child = mRoot->getChilds().back(); |
| 54 | mRoot->removeChild(child); |
| 55 | delete child; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | Data* DataManager::getRoot() |
| 60 | { |
nothing calls this directly
no test coverage detected