MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getChild

Method getChild

valdi/src/valdi/standalone_runtime/StandaloneView.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26StandaloneView::~StandaloneView() = default;
27
28Ref<StandaloneView> StandaloneView::getChild(size_t index) const {
29 SC_ASSERT(index < _children.size());
30
31 return _children[index];
32}
33
34void StandaloneView::removeFromParent() {
35 auto parent = getParent();

Callers 2

operator==Method · 0.45
getChildAtMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected