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

Method n_times

src/openms_gui/source/VISUAL/TVIdentificationViewController.cpp:474–482  ·  view source on GitHub ↗

Helper function for text formatting

Source from the content-addressed store, hash-verified

472
473 // Helper function for text formatting
474 String TVIdentificationViewController::n_times(Size n, const String& input)
475 {
476 String result;
477 for (Size i = 0; i < n; ++i)
478 {
479 result.append(input);
480 }
481 return result;
482 }
483
484 // Helper function that collapses a vector of strings into one string
485 String TVIdentificationViewController::collapseStringVector(vector<String> strings)

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected