|
| | Help (bool throwExceptionOnPrint=true) |
| Help & | setExecutable (const String &exe) |
| | Set executable name.
|
| Help & | setAppDescription (const String &desc) |
| | Set description for the application.
|
| Help & | setLineLength (String::size_type length) |
| | Set line length for the help.
|
| Help & | setPrinter (std::unique_ptr< HelpPrinterIface > p) |
| | Set printer.
|
| template<typename T> |
| | Arg (Char flag, T &&name, bool isWithValue=false, bool isRequired=false) |
| | Construct argument with flag and name.
|
| | Arg (Char flag, bool isWithValue=false, bool isRequired=false) |
| | Construct argument only with flag, without name.
|
| template<typename T> |
| | Arg (T &&name, bool isWithValue=false, bool isRequired=false) |
| | Construct argument only with name, without flag.
|
| virtual | ~Arg () |
| ArgType | type () const override |
| String | name () const override |
| bool | isWithValue () const override |
| Arg & | setWithValue (bool on=true) |
| | Set is this argument with value.
|
| bool | isRequired () const override |
| Arg & | setRequired (bool on=true) |
| | Set required.
|
| bool | isDefined () const override |
| Arg & | setDefined (bool on=true) |
| | Set defined.
|
| virtual const String & | value () const |
| virtual Arg & | setValue (const String &v) |
| | Set value.
|
| const String & | flag () const override |
| Arg & | setFlag (Char f) |
| | Set flag.
|
| const String & | argumentName () const override |
| Arg & | setArgumentName (const String &name) |
| | Set argument name.
|
| const String & | valueSpecifier () const override |
| Arg & | setValueSpecifier (const String &vs) |
| | Set value specifier.
|
| const String & | description () const override |
| Arg & | setDescription (const String &desc) |
| | Set description.
|
| const String & | longDescription () const override |
| Arg & | setLongDescription (const String &desc) |
| | Set long description.
|
| const String & | defaultValue () const override |
| virtual Arg & | setDefaultValue (const String &v) |
| | Set default value.
|
| bool | isMisspelledName (const String &name, StringList &possibleNames) const override |
| void | clear () override |
| | Clear state of the argument.
|
| | ArgIface () |
| virtual | ~ArgIface () |
| CmdLine * | cmdLine () const |
Help argument.
Definition at line 49 of file help.hpp.