The interface that any output object must implement. More...
#include <CmdLineOutput.h>
Public Member Functions |
|
virtual | ~CmdLineOutput () |
Virtual destructor. |
|
virtual void | usage (CmdLineInterface &c)=0 |
Generates some sort of output for the USAGE. |
|
virtual void | version (CmdLineInterface &c)=0 |
Generates some sort of output for the version. |
|
virtual void | failure (CmdLineInterface &c, ArgException &e)=0 |
Generates some sort of output for a failure. |
The interface that any output object must implement.
Definition at line 41 of file CmdLineOutput.h.
virtual TCLAP::CmdLineOutput::~CmdLineOutput | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 49 of file CmdLineOutput.h.
virtual void TCLAP::CmdLineOutput::failure | ( | CmdLineInterface & | c, | |
ArgException & | e | |||
) | [pure virtual] |
Generates some sort of output for a failure.
c | - The CmdLine object the output is generated for. | |
e | - The ArgException that caused the failure. |
Implemented in TCLAP::DocBookOutput, TCLAP::StdOutput, and TCLAP::ZshCompletionOutput.
Referenced by TCLAP::CmdLine::parse().
virtual void TCLAP::CmdLineOutput::usage | ( | CmdLineInterface & | c | ) | [pure virtual] |
Generates some sort of output for the USAGE.
c | - The CmdLine object the output is generated for. |
Implemented in TCLAP::DocBookOutput, TCLAP::StdOutput, and TCLAP::ZshCompletionOutput.
virtual void TCLAP::CmdLineOutput::version | ( | CmdLineInterface & | c | ) | [pure virtual] |
Generates some sort of output for the version.
c | - The CmdLine object the output is generated for. |
Implemented in TCLAP::DocBookOutput, TCLAP::StdOutput, and TCLAP::ZshCompletionOutput.