MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / printHeaderString

Method printHeaderString

tests/catch.hpp:13588–13595  ·  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

13586// if string has a : in first line will set indent to follow it on
13587// subsequent lines
13588void ConsoleReporter::printHeaderString(std::string const& _string, std::size_t indent) {
13589 std::size_t i = _string.find(": ");
13590 if (i != std::string::npos)
13591 i += 2;
13592 else
13593 i = 0;
13594 stream << Column(_string).indent(indent + i).initialIndent(indent) << '\n';
13595}
13596
13597struct SummaryColumn {
13598

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected