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

Method getTypes

src/openms/source/APPLICATIONS/ToolHandler.cpp:247–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 }
246
247 StringList ToolHandler::getTypes(const String& toolname)
248 {
249 Internal::ToolDescription ret;
250 ToolListType tools;
251 if (toolname == "GenericWrapper")
252 {
253 tools = getTOPPToolList(true);
254 }
255 else
256 {
257 tools = getTOPPToolList();
258 }
259 if (tools.find(toolname) != tools.end())
260 {
261 return tools[toolname].types;
262 }
263 throw Exception::InvalidValue(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, "Requested tool '" + toolname + "' does not exist!", toolname);
264 }
265
266 std::vector<Internal::ToolDescription> ToolHandler::getInternalTools_()
267 {

Callers 2

saveCurrentLayerMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected