MCPcopy Create free account
hub / github.com/Yaafe/Yaafe / resetStep

Method resetStep

src_cpp/yaafe-core/Engine.cpp:308–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306 }
307
308 inline bool Engine::resetStep(ProcessFlow::Node& step) {
309 for (int i=0;i<step.v.m_input.size();++i)
310 step.v.m_input[i].data->clear();
311 for (int i=0;i<step.v.m_output.size();++i)
312 step.v.m_output[i].data->clear();
313 if ((step.v.m_id=="Input") || (step.v.m_id=="Output"))
314 step.v.m_component = NULL;
315 if (step.v.m_component != NULL)
316 step.v.m_component->reset();
317 return true;
318 }
319
320 inline bool Engine::processStep(ProcessFlow::Node& step) {
321#ifdef DEBUG

Callers

nothing calls this directly

Calls 3

clearMethod · 0.80
sizeMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected