MCPcopy Create free account
hub / github.com/Tracktion/choc / getNumColumns

Method getNumColumns

choc/text/choc_TextTable.h:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133inline size_t TextTable::getNumColumns() const
134{
135 size_t maxColummns = 0;
136
137 for (auto& row : rows)
138 maxColummns = std::max (maxColummns, row.columns.size());
139
140 return maxColummns;
141}
142
143inline std::vector<std::string> TextTable::getRows (std::string_view rowPrefix,
144 std::string_view columnSeparator,

Callers 1

testStringUtilitiesFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

testStringUtilitiesFunction · 0.64