C++ Utilities  5.0.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
ArgumentParser Class Reference

The ArgumentParser class provides a means for handling command line arguments. More...

Detailed Description

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).


The documentation for this class was generated from the following file: