Class CmdLineOutput
Defined in File cmd_line_output.hpp
Inheritance Relationships
Derived Types
public ecl::DocBookOutput
(Class DocBookOutput)public ecl::StdOutput
(Class StdOutput)
Class Documentation
-
class CmdLineOutput
Tclap class indirectly used by children for standardising outputs.
The interface that any output object must implement.
Subclassed by ecl::DocBookOutput, ecl::StdOutput
Public Functions
-
inline virtual ~CmdLineOutput()
Virtual destructor.
-
virtual void usage(CmdLineInterface &c) = 0
Generates some sort of output for the USAGE.
- Parameters
c – - The CmdLine object the output is generated for.
-
virtual void version(CmdLineInterface &c) = 0
Generates some sort of output for the version.
- Parameters
c – - The CmdLine object the output is generated for.
-
virtual void failure(CmdLineInterface &c, ArgException &e) = 0
Generates some sort of output for a failure.
- Parameters
c – - The CmdLine object the output is generated for.
e – - The ArgException that caused the failure.
-
inline virtual ~CmdLineOutput()