69 std::list<Option *> mOptions;
Parser of the command line that main() receives.
Definition optionprocessor.h:14
static char ** ParseCommandLine(const char *commandLine, int *argc)
Split a command line into arguments at spaces outside double quotes.
void AddStringOption(const char *name, String *value)
Add an option that stores the argument after it.
void Process(int argc, char **argv)
Apply the options to the arguments that start with a dash, stopping at the first that does not.
~OptionProcessor()
Delete every option.
void AddBoolOption(const char *name, bool *value, bool setValue)
Add an option that stores a fixed value in a flag.
Growable text buffer that is also a PrnStream.
Definition string.h:19