| 31 | } |
| 32 | |
| 33 | void ContainerView::removeAllChildViews() |
| 34 | { |
| 35 | auto copyChildren = childViews(); |
| 36 | |
| 37 | for (auto &childView : copyChildren) { |
| 38 | removeChildView(childView); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | std::vector<std::shared_ptr<View>> ContainerView::childViews() const |
| 43 | { |
no outgoing calls