MCPcopy Create free account
hub / github.com/comaps/comaps / PrintWithSpaces

Function PrintWithSpaces

tools/poly_borders/borders_data.cpp:28–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26using namespace poly_borders;
27
28void PrintWithSpaces(std::string const & str, size_t maxN)
29{
30 std::cout << str;
31 if (maxN <= str.size())
32 return;
33
34 maxN -= str.size();
35 for (size_t i = 0; i < maxN; ++i)
36 std::cout << " ";
37}
38
39std::string RemoveIndexFromMwmName(std::string const & mwmName)
40{

Callers 1

PrintDiffMethod · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected