MCPcopy Create free account
hub / github.com/Profactor/cv-plot / printHeaderString

Method printHeaderString

CvPlot/ext/catch2/inc/catch.hpp:16332–16339  ·  view source on GitHub ↗

if string has a : in first line will set indent to follow it on subsequent lines

Source from the content-addressed store, hash-verified

16330// if string has a : in first line will set indent to follow it on
16331// subsequent lines
16332void ConsoleReporter::printHeaderString(std::string const& _string, std::size_t indent) {
16333 std::size_t i = _string.find(": ");
16334 if (i != std::string::npos)
16335 i += 2;
16336 else
16337 i = 0;
16338 stream << Column(_string).indent(indent + i).initialIndent(indent) << '\n';
16339}
16340
16341struct SummaryColumn {
16342

Callers

nothing calls this directly

Calls 4

ColumnClass · 0.85
initialIndentMethod · 0.80
findMethod · 0.45
indentMethod · 0.45

Tested by

no test coverage detected