MCPcopy Create free account
hub / github.com/christophhart/HISE / getParentNode

Method getParentNode

hi_scripting/scripting/scriptnode/api/NodeBase.cpp:298–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298NodeBase* NodeBase::getParentNode() const
299{
300 if (parentNode != nullptr)
301 {
302 return parentNode;
303 }
304
305 auto v = v_data.getParent().getParent();
306
307 if (v.getType() == PropertyIds::Node)
308 {
309 return getRootNetwork()->getNodeForValueTree(v);
310 }
311
312 return nullptr;
313}
314
315
316juce::ValueTree NodeBase::getValueTree() const

Callers 15

isPolyphonicMethod · 0.45
addToSelectionMethod · 0.45
isBeingMovedMethod · 0.45
isHelpBelowMethod · 0.45
isPreservingRecursiveMethod · 0.45
rebuildBreadCrumbsMethod · 0.45
findLassoItemsInAreaMethod · 0.45
buttonClickedMethod · 0.45
handlePopupMenuResultMethod · 0.45

Calls 3

getNodeForValueTreeMethod · 0.80
getParentMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected