MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetChildren

Method GetChildren

Source/Objects/group.cpp:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void Group::GetChildren(std::vector<Object*>* ret_children) {
60 ret_children->resize(children.size());
61 for (int i = 0, len = children.size(); i < len; ++i) {
62 ret_children->at(i) = children[i].direct_ptr;
63 }
64}
65
66void Group::GetBottomUpCompleteChildren(std::vector<Object*>* ret_children) {
67 for (auto& i : children) {

Callers 8

iterateMethod · 0.45
Base.hFile · 0.45
ExpandAllMethod · 0.45
DeselectAllMethod · 0.45
iterateMethod · 0.45
OnKeyUpMethod · 0.45
OnKeyDownMethod · 0.45
ActorsEditor_AddEntityFunction · 0.45

Calls 3

resizeMethod · 0.45
sizeMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected