MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / getTargetInParamName

Method getTargetInParamName

src/openms_gui/source/VISUAL/TOPPASEdge.cpp:604–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602 }
603
604 QString TOPPASEdge::getTargetInParamName()
605 {
606 const EdgeStatus& es = getEdgeStatus();
607 if (es != ES_TOOL_API_CHANGED)
608 {
609 TOPPASVertex* target_o = getTargetVertex();
610 const TOPPASToolVertex* target = qobject_cast<TOPPASToolVertex*>(target_o);
611 if (target && target_in_param_>=0)
612 {
613 QVector<TOPPASToolVertex::IOInfo> docks;
614 target->getInputParameters(docks);
615 const TOPPASToolVertex::IOInfo& param = docks[this->target_in_param_];
616 return param.param_name.toQString();
617 }
618 }
619 return "";
620 }
621
622
623 QString TOPPASEdge::getSourceOutParamName()

Callers 1

Calls 2

getInputParametersMethod · 0.80
toQStringMethod · 0.45

Tested by

no test coverage detected