MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / AddChildren

Method AddChildren

ZEngine/src/UIComponent.cpp:74–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 void UIComponent::AddChildren(std::vector<Ref<UIComponent>>& items) {
75 std::for_each(std::begin(items), std::end(items), [this](Ref<UIComponent>& component) { this->AddChild(component); });
76 }
77
78 void UIComponent::AddChildren(std::vector<Ref<UIComponent>>&& items) {
79 std::for_each(std::begin(items), std::end(items), [this](Ref<UIComponent>& component) { this->AddChild(std::move(component)); });

Callers

nothing calls this directly

Calls 1

AddChildMethod · 0.95

Tested by

no test coverage detected