#include <parameters.h>
Public Member Functions | |
Parameters () | |
Default constructor. | |
Public Attributes | |
String | usage |
Short message how to call the program. | |
String | helptext |
Longer message explaining the options. | |
bool | help |
Only display the help text. | |
bool | version |
Display version information. | |
String | basename |
If this is specified (with the -b --basename option), it is used as the base name for the report file and for other output files. | |
ArrayOfString | controlfiles |
The filenames of the controlfiles. | |
Index | reporting |
This should be a two digit integer. | |
String | methods |
If this is given the argument `all', it simply prints a list of all methods. | |
String | input |
This is complementary to the methods switch. | |
String | workspacevariables |
If this is given the argument `all', it simply prints a list of all workspace variables. | |
String | describe |
Print the description String of the given workspace variable or method. | |
bool | groups |
Print a list of all workspace variable groups. |
This holds all the command line parameters, plut the usage message and the helptext message. The messages are in the same structure, because they need to be changed whenever the parameters are changed, so it is better to have them in the same place.
Definition at line 42 of file parameters.h.
Parameters::Parameters | ( | ) | [inline] |
Default constructor.
Care has to be taken to properly initialize all variables, e.g., bool options to false.
Definition at line 45 of file parameters.h.
bool Parameters::help |
bool Parameters::version |
If this is specified (with the -b --basename option), it is used as the base name for the report file and for other output files.
Definition at line 68 of file parameters.h.
The filenames of the controlfiles.
Can be only one or as many as you want.
Definition at line 71 of file parameters.h.
This should be a two digit integer.
The first digit specifies the output level for stdout (stderr for error messages), the second digit the output level for the report file. The levels can reach from 0 (show only error messages) to 3 (show everything). Example:
03 = only errors to the screen, everything to the file.
Definition at line 79 of file parameters.h.
If this is given the argument `all', it simply prints a list of all methods.
If it is given the name of a variable (or group), it prints all methods that produce this variable (or group) as output.
Definition at line 83 of file parameters.h.
This is complementary to the methods switch.
It must be given the name of a variable (or group). Then it lists all methods that take this variable (or group) as input.
Definition at line 87 of file parameters.h.
If this is given the argument `all', it simply prints a list of all workspace variables.
If it is given the name of a method, it prints all variables needed by that method.
Definition at line 91 of file parameters.h.
Print the description String of the given workspace variable or method.
Definition at line 94 of file parameters.h.
bool Parameters::groups |