MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / getMaxWidthOfColumn

Function getMaxWidthOfColumn

quest/src/core/printer.cpp:601–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599
600
601size_t getMaxWidthOfColumn(stringmatr matr, size_t col) {
602
603 size_t maxWidth = 0;
604
605 for (size_t r=0; r<matr.size(); r++) {
606 size_t width = matr[r][col].size();
607 if (width > maxWidth)
608 maxWidth = width;
609 }
610
611 return maxWidth;
612}
613
614
615vector<size_t> getMaxWidthOfColumns(stringmatr upper, stringmatr lower) {

Callers 1

getMaxWidthOfColumnsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected