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

Method getToolNamesFromINI

src/openms/source/APPLICATIONS/INIUpdater.cpp:25–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 }
24
25 StringList INIUpdater::getToolNamesFromINI(const Param & ini) const
26 {
27 StringList tool_names;
28
29 for (Param::ParamIterator it = ini.begin(); it != ini.end(); ++it)
30 {
31 String name = it.getName();
32 if (name.toQString().count(':') == 1 && name.hasSuffix(":version"))
33 {
34 tool_names.push_back(name.prefix(':'));
35 }
36 }
37 return tool_names;
38 }
39
40 const ToolMapping & INIUpdater::getNameMapping()
41 {

Callers 2

updateINIMethod · 0.80

Calls 8

countMethod · 0.80
prefixMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
getNameMethod · 0.45
toQStringMethod · 0.45
hasSuffixMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected