OGS
|
TCLAP standard output modified as follows
Definition at line 30 of file TCLAPCustomOutput.h.
#include <TCLAPCustomOutput.h>
Public Member Functions | |
virtual void | usage (TCLAP::CmdLineInterface &cmd_) |
virtual void | failure (TCLAP::CmdLineInterface &cmd_, TCLAP::ArgException &e) |
Protected Member Functions | |
void | shortUsage_ (TCLAP::CmdLineInterface &cmd_, std::ostream &os) const |
void | longUsage_ (TCLAP::CmdLineInterface &cmd_, std::ostream &os) const |
|
inlinevirtual |
Prints (to stderr) an error message, short usage Can be overridden to produce alternative behavior.
cmd_ | - The CmdLine object the output is generated for. |
e | - The ArgException that caused the failure. |
Definition at line 78 of file TCLAPCustomOutput.h.
References shortUsage_(), and usage().
|
inlineprotected |
Writes a longer usage message with long and short args, provides descriptions and prints message.
cmd_ | - The CmdLine object the output is generated for. |
os | - The stream to write the message to. |
Definition at line 149 of file TCLAPCustomOutput.h.
Referenced by usage().
|
inlineprotected |
Writes a brief usage message with short args.
cmd_ | - The CmdLine object the output is generated for. |
os | - The stream to write the message to. |
Definition at line 106 of file TCLAPCustomOutput.h.
|
inlinevirtual |
Prints the usage to stdout. Can be overridden to produce alternative behavior.
cmd_ | - The CmdLine object the output is generated for. |
Definition at line 65 of file TCLAPCustomOutput.h.
References longUsage_(), and shortUsage_().
Referenced by failure().