MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / isAChildOf

Function isAChildOf

JUCE/modules/juce_data_structures/values/juce_ValueTree.cpp:233–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 }
232
233 bool isAChildOf (const SharedObject* possibleParent) const noexcept
234 {
235 for (auto* p = parent; p != nullptr; p = p->parent)
236 if (p == possibleParent)
237 return true;
238
239 return false;
240 }
241
242 int indexOf (const ValueTree& child) const noexcept
243 {

Callers 2

addChildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected