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

Method setHasParent

valdi/src/valdi/runtime/Context/ViewNode.cpp:1927–1932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1925SharedViewNode ViewNode::getParent() const {
1926 return _parent.lock();
1927}
1928
1929bool ViewNode::hasParent() const {
1930 return _flags[kHasParent];
1931}
1932
1933void ViewNode::setHasParent(bool hasParent) {
1934 if (_flags[kHasParent] != hasParent) {
1935 _flags[kHasParent] = hasParent;

Callers 1

insertChildAtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected