SuPReMo
0.1.1
|
#include <CommandLineParser.h>
Public Attributes | |
unsigned int | numberOfComponents |
Number of elements expected after this flag on the command line. A switch will be 0, a single item 1, etc. More... | |
bool | required |
Indicating if this parameters is essential to run the program. If a given parameter marked by required is not found on the command line a warning will be printed. More... | |
std::string | description |
Detailed description of the parameter. This will be used to generate the help message on the command line. More... | |
std::string | format |
String describing the format of the parameter, e.g. <int>, <filename>, etc. More... | |
Structure holding the basic information about a single command line option.
std::string CommandLineOption::description |
Detailed description of the parameter. This will be used to generate the help message on the command line.
std::string CommandLineOption::format |
String describing the format of the parameter, e.g. <int>, <filename>, etc.
unsigned int CommandLineOption::numberOfComponents |
Number of elements expected after this flag on the command line. A switch will be 0, a single item 1, etc.
bool CommandLineOption::required |
Indicating if this parameters is essential to run the program. If a given parameter marked by required is not found on the command line a warning will be printed.