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

Method getHelpColumns

unittests/catch.hpp:6305–6312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6303 auto operator+( T const &other ) const -> Parser { return operator|( other ); }
6304
6305 auto getHelpColumns() const -> std::vector<HelpColumns> {
6306 std::vector<HelpColumns> cols;
6307 for (auto const &o : m_options) {
6308 auto childCols = o.getHelpColumns();
6309 cols.insert( cols.end(), childCols.begin(), childCols.end() );
6310 }
6311 return cols;
6312 }
6313
6314 void writeToStream( std::ostream &os ) const {
6315 if (!m_exeName.name().empty()) {

Callers

nothing calls this directly

Calls 3

getHelpColumnsMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected