tclap
1.4.0
|
A Visitor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit. More...
#include <VersionVisitor.h>
Public Member Functions | |
VersionVisitor (CmdLineInterface *cmd, CmdLineOutput **out) | |
Constructor. More... | |
void | visit () |
Calls the version method of the output object using the specified CmdLine. More... | |
Public Member Functions inherited from TCLAP::Visitor | |
Visitor () | |
Constructor. More... | |
virtual | ~Visitor () |
Destructor. More... | |
Protected Attributes | |
CmdLineInterface * | _cmd |
The CmdLine of interest. More... | |
CmdLineOutput ** | _out |
The output object. More... | |
A Visitor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit.
Definition at line 36 of file VersionVisitor.h.
|
inline |
Constructor.
cmd | - The CmdLine the output is generated for. |
out | - The type of output. |
Definition at line 61 of file VersionVisitor.h.
|
inlinevirtual |
Calls the version method of the output object using the specified CmdLine.
Implements TCLAP::Visitor.
Definition at line 68 of file VersionVisitor.h.
|
protected |
The CmdLine of interest.
Definition at line 48 of file VersionVisitor.h.
|
protected |
The output object.
Definition at line 53 of file VersionVisitor.h.