C++ Utilities
5.0.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
The ArgumentParser class provides a means for handling command line arguments. More...
The ArgumentParser class provides a means for handling command line arguments.
To setup the parser create instances of ApplicationUtilities::Argument to define a set of known arguments and assign these to the parser using setMainArguments().
To invoke parsing call parseArgs(). The parser will verify the previously assigned definitions (and might throw std::invalid_argument) and then parse the given command line arguments according the definitions (and might throw ApplicationUtilities::Failure).