MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / getHelpColumns

Method getHelpColumns

extlibs/catch/include/catch/catch.hpp:9210–9217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9208 auto operator+( T const &other ) const -> Parser { return operator|( other ); }
9209
9210 auto getHelpColumns() const -> std::vector<HelpColumns> {
9211 std::vector<HelpColumns> cols;
9212 for (auto const &o : m_options) {
9213 auto childCols = o.getHelpColumns();
9214 cols.insert( cols.end(), childCols.begin(), childCols.end() );
9215 }
9216 return cols;
9217 }
9218
9219 void writeToStream( std::ostream &os ) const {
9220 if (!m_exeName.name().empty()) {

Callers

nothing calls this directly

Calls 4

getHelpColumnsMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected