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

Method getNodeProperty

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

Source from the content-addressed store, hash-verified

169}
170
171var NodeBase::getNodeProperty(const Identifier& id)
172{
173 auto propTree = getPropertyTree().getChildWithProperty(PropertyIds::ID, id.toString());
174
175 if (propTree.isValid())
176 return propTree[PropertyIds::Value];
177
178 return {};
179}
180
181bool NodeBase::hasNodeProperty(const Identifier& id) const
182{

Callers 1

isWrappableMethod · 0.45

Calls 2

toStringMethod · 0.45
isValidMethod · 0.45

Tested by

no test coverage detected