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

Function printWithPrefix

src/openms/source/CONCEPT/ClassTest.cpp:226–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 }
225
226 void
227 printWithPrefix(const std::string& text, const int marked)
228 {
229 std::istringstream is(text);
230 std::string line;
231 int line_number = 0;
232 while (std::getline(is, line))
233 {
234 ++line_number;
235 std::cout << (line_number == marked ? " # :|: " : " :|: ") << line << '\n';
236 }
237 return;
238 }
239
240 bool
241 validate(const std::vector<std::string>& file_names)

Callers 1

testStringSimilarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected