#include <VersionVisitor.h>
Public Member Functions | |
VersionVisitor (CmdLineInterface *cmd, CmdLineOutput **out) | |
void | visit () |
Protected Attributes | |
CmdLineInterface * | _cmd |
CmdLineOutput ** | _out |
Private Member Functions | |
VersionVisitor & | operator= (const VersionVisitor &rhs) |
VersionVisitor (const VersionVisitor &rhs) |
A Vistor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit.
Definition at line 37 of file VersionVisitor.h.
TCLAP::VersionVisitor::VersionVisitor | ( | const VersionVisitor & | rhs | ) | [private] |
Prevent accidental copying
TCLAP::VersionVisitor::VersionVisitor | ( | CmdLineInterface * | cmd, |
CmdLineOutput ** | out | ||
) | [inline] |
Constructor.
cmd | - The CmdLine the output is generated for. |
out | - The type of output. |
Definition at line 65 of file VersionVisitor.h.
VersionVisitor& TCLAP::VersionVisitor::operator= | ( | const VersionVisitor & | rhs | ) | [private] |
void TCLAP::VersionVisitor::visit | ( | ) | [inline, virtual] |
Calls the version method of the output object using the specified CmdLine.
Reimplemented from TCLAP::Visitor.
Definition at line 72 of file VersionVisitor.h.
CmdLineInterface* TCLAP::VersionVisitor::_cmd [protected] |
The CmdLine of interest.
Definition at line 51 of file VersionVisitor.h.
CmdLineOutput** TCLAP::VersionVisitor::_out [protected] |
The output object.
Definition at line 56 of file VersionVisitor.h.