- Inherits from:
- Object
- Declared in:
- DArguments.h
Object
|
+---DArguments
Class Description
The DArguments class implements methods for parsing the arguments of a
program. After adding the definition of the arguments, the arguments
are parsed. The results are stored in boolean objects, parsable objects and a list of
texts.
Some notes:
- Default options: -?/--help (show the help text) --version (show the version) --
(stop parsing)
- The target object for switches (options without parameter) must be the class DBool
(or inherite from DBool). The target objects for parameter options must comply to
the protocol DParsable.
- The help format looks like the help text from the gnu tools (with column width=80)
- The parameter for an option is required; optional parameters are not supported.