#include <VersionVisitor.h>
Inherits TCLAP::Visitor.

Public Member Functions | |
| VersionVisitor (CmdLineInterface *cmd, CmdLineOutput **out) | |
| void | visit () |
Protected Attributes | |
| CmdLineInterface * | _cmd |
| CmdLineOutput ** | _out |
A Vistor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit.
| TCLAP::VersionVisitor::VersionVisitor | ( | CmdLineInterface * | cmd, | |
| CmdLineOutput ** | out | |||
| ) | [inline] |
Constructor.
| cmd | - The CmdLine the output is generated for. | |
| out | - The type of output. |
| void TCLAP::VersionVisitor::visit | ( | ) | [inline, virtual] |
Calls the version method of the output object using the specified CmdLine.
Reimplemented from TCLAP::Visitor.
CmdLineInterface* TCLAP::VersionVisitor::_cmd [protected] |
The CmdLine of interest.
CmdLineOutput** TCLAP::VersionVisitor::_out [protected] |
The output object.
1.6.3