A Vistor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit.
Definition at line 44 of file VersionVisitor.h.
#include <mrpt/otherlibs/tclap/VersionVisitor.h>
Public Member Functions | |
VersionVisitor (CmdLineInterface *cmd, CmdLineOutput **out) | |
Constructor. | |
void | visit () |
Calls the version method of the output object using the specified CmdLine. | |
Protected Attributes | |
CmdLineInterface * | _cmd |
The CmdLine of interest. | |
CmdLineOutput ** | _out |
The output object. | |
|
inline |
Constructor.
cmd | - The CmdLine the output is generated for. |
out | - The type of output. |
Definition at line 65 of file VersionVisitor.h.
|
inlinevirtual |
Calls the version method of the output object using the specified CmdLine.
Reimplemented from TCLAP::Visitor.
Definition at line 72 of file VersionVisitor.h.
References _cmd.
|
protected |
|
protected |
The output object.
Definition at line 56 of file VersionVisitor.h.
Page generated by Doxygen 1.9.6 for MRPT 1.4.0 SVN: at Wed Mar 22 08:20:48 UTC 2023 |