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

Method remove

hi_scripting/scripting/api/ScriptingApiObjects.cpp:6627–6644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6625
6626
6627bool ScriptingObjects::ScriptUnorderedStack::remove(var value)
6628{
6629 if (isEventStack)
6630 {
6631 auto index = getIndexForEvent(value);
6632
6633 if (index != -1)
6634 return eventData.removeElement(index);
6635
6636 return false;
6637 }
6638 else
6639 {
6640 auto ok = data.remove(value);
6641 updateElementBuffer();
6642 return ok;
6643 }
6644}
6645
6646bool ScriptingObjects::ScriptUnorderedStack::removeElement(int index)
6647{

Callers 2

removeModuleMethod · 0.45
clearChildrenMethod · 0.45

Calls 1

removeElementMethod · 0.45

Tested by

no test coverage detected