unittest::CmdLineParser class

Command-line parser for UnitTest.

This class is used to interface with PEGTL, for the purpose of parsing command-line arguments for the unit test suite, UnitTest.

Base classes

class tk::StringParser
StringParser.

Constructors, destructors, conversion operators

CmdLineParser(int argc, char** argv, const tk::Print& print, ctr::CmdLine& cmdline, bool& helped) explicit
Constructor.

Function documentation

unittest::CmdLineParser::CmdLineParser(int argc, char** argv, const tk::Print& print, ctr::CmdLine& cmdline, bool& helped) explicit

Constructor.

Parameters
argc in Number of C-style character arrays in argv
argv in C-style character array of character arrays
print in Pretty printer
cmdline in/out Command-line stack where data is stored from parsing
helped in/out Boolean indicating if command-line help was requested