args-parser 6.3.3
|
Interface for HelpPrinter. More...
#include <help_printer_iface.hpp>
Public Member Functions | |
HelpPrinterIface () | |
virtual | ~HelpPrinterIface () |
virtual void | print (OutStreamType &to)=0 |
Print help for all arguments. | |
virtual void | print (const String &name, OutStreamType &to, Command *parent=nullptr)=0 |
Print help for the given argument. | |
virtual void | setExecutable (const String &exe)=0 |
Set executable name. | |
virtual void | setAppDescription (const String &desc)=0 |
Set description for the application. | |
virtual void | setCmdLine (CmdLine *cmd)=0 |
Set command line. | |
virtual void | setLineLength (String::size_type length)=0 |
Set line length for the help. | |
virtual ArgIface * | findArgument (const String &name)=0 |
Interface for HelpPrinter.
Definition at line 52 of file help_printer_iface.hpp.
|
inline |
Definition at line 54 of file help_printer_iface.hpp.
|
inlinevirtual |
Definition at line 58 of file help_printer_iface.hpp.
Implemented in Args::HelpPrinter.
|
pure virtual |
Print help for the given argument.
name | Name of the argument. I.e. "-t" or "--timeout". |
to | Output stream for the printing help. |
parent | Parent command if present. |
Implemented in Args::HelpPrinter.
|
pure virtual |
Print help for all arguments.
to | Output stream for the printing help. |
Implemented in Args::HelpPrinter.
|
pure virtual |
Set description for the application.
Implemented in Args::HelpPrinter.
|
pure virtual |
Set command line.
Implemented in Args::HelpPrinter.
|
pure virtual |
Set executable name.
Implemented in Args::HelpPrinter.
|
pure virtual |
Set line length for the help.
Implemented in Args::HelpPrinter.