Class CmdLineOutput

Inheritance Relationships

Derived Types

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.