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

Method getSourceOutParamName

src/openms_gui/source/VISUAL/TOPPASEdge.cpp:623–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621
622
623 QString TOPPASEdge::getSourceOutParamName()
624 {
625 const EdgeStatus& es = getEdgeStatus();
626 if (es != ES_TOOL_API_CHANGED)
627 {
628 TOPPASVertex* source_o = getSourceVertex();
629 const TOPPASToolVertex* source = qobject_cast<TOPPASToolVertex*>(source_o);
630 if (source && source_out_param_>=0)
631 {
632 QVector<TOPPASToolVertex::IOInfo> docks;
633 source->getOutputParameters(docks);
634 const TOPPASToolVertex::IOInfo& param = docks[this->source_out_param_];
635 return param.param_name.toQString();
636 }
637 }
638 return "";
639 }
640
641 void TOPPASEdge::updateColor()
642 {

Callers 1

getOutputDirMethod · 0.80

Calls 2

getOutputParametersMethod · 0.80
toQStringMethod · 0.45

Tested by

no test coverage detected