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

Function vecToList

src/openms_gui/source/VISUAL/SpectraTreeTab.cpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33
34 QList<QVariant> vecToList(const std::vector<Size>& in)
35 {
36 QList<QVariant> res;
37 for (Size i : in) res.push_back((unsigned int)i);
38 return res;
39 }
40
41
42 // Use a namespace to encapsulate names, yet use c-style 'enum' for fast conversion to int.

Callers 1

updateEntriesMethod · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected