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

Method fill

hi_scripting/scripting/api/FixLayoutObjects.cpp:952–964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

950}
951
952void Array::fill(var obj)
953{
954 if (auto o = dynamic_cast<ObjectReference*>(obj.getObject()))
955 {
956 for (auto i : items)
957 *i = *o;
958 }
959 else
960 {
961 for (auto i : items)
962 i->clear();
963 }
964}
965
966void Array::clear()
967{

Callers

nothing calls this directly

Calls 2

getObjectMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected