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

Function foreach

src/openms_gui/source/VISUAL/DIALOGS/TOPPASIOMappingDialog.cpp:101–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100 ui_->source_combo->addItem("<select>");
101 foreach(TOPPASToolVertex::IOInfo info, source_output_files)
102 {
103 String item_name;
104 if (info.type == TOPPASToolVertex::IOInfo::IOT_FILE)
105 {
106 if (target_splitter) continue; // inputs for splitters must be lists
107 item_name = "File: ";
108 }
109 else
110 {
111 item_name = "List: ";
112 }
113 item_name += info.param_name + " ";
114 std::ostringstream ss;
115 ss << info.valid_types;
116 item_name += ss.str();
117
118 ui_->source_combo->addItem(item_name.toQString());
119 }
120 if (ui_->source_combo->count() == 2) // only 1 parameter
121 {
122 ui_->source_combo->setCurrentIndex(1);

Callers

nothing calls this directly

Calls 7

inEdgesBeginMethod · 0.80
inEdgesEndMethod · 0.80
getTargetInParamMethod · 0.80
roundBasedModeMethod · 0.80
toQStringMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected