#include <ProgramArguments.h>
Public Member Functions | |
| void | addArgument (const ProgramArgument< T > &argument) |
| void | addStandardHelp () |
| void | addStandardVersion () |
| QList< ProgramArgument< T > > | arguments () const |
| int | count (const T argument) const |
| bool | isSet (const T argument) const |
| void | parseCommandline () |
| ProgramArguments (int argc, char *argv[]) | |
Definition at line 32 of file ProgramArguments.h.
| int KXQTS::ProgramArguments< T >::count | ( | const T | argument | ) | const [inline] |
If it is of interest to determine whether an argument is set or not, use isSet(), which is slightly faster than this function.
Definition at line 72 of file ProgramArguments.h.
| bool KXQTS::ProgramArguments< T >::isSet | ( | const T | argument | ) | const [inline] |
Determines whether the argument identified by argument is set by the user.
This returns true for all kind of arguments, ProgramArgument::Switch as well as ProgramArgument::Parameter.
Definition at line 63 of file ProgramArguments.h.
1.5.1