Class DocBookOutput
Defined in File docbook_output.hpp
Inheritance Relationships
Base Type
public ecl::CmdLineOutput
(Class CmdLineOutput)
Class Documentation
-
class DocBookOutput : public ecl::CmdLineOutput
TClap class used for generating docbook output.
A class that generates DocBook output for usage() method for the given CmdLine and its Args.
Public Functions
-
inline virtual void usage(CmdLineInterface &c)
Prints the usage to stdout. Can be overridden to produce alternative behavior.
- Parameters
c – - The CmdLine object the output is generated for.
-
inline virtual void version(CmdLineInterface &c)
Prints the version to stdout. Can be overridden to produce alternative behavior.
- Parameters
c – - The CmdLine object the output is generated for.
-
inline virtual void failure(CmdLineInterface &c, ArgException &e)
Prints (to stderr) an error message, short usage Can be overridden to produce alternative behavior.
- Parameters
c – - The CmdLine object the output is generated for.
e – - The ArgException that caused the failure.
-
inline virtual void usage(CmdLineInterface &c)