A Vistor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit.
Definition at line 62 of file VersionVisitor.h.
#include <mrpt/otherlibs/tclap/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... | |
Protected Attributes | |
| CmdLineInterface * | _cmd |
| The CmdLine of interest. More... | |
| CmdLineOutput ** | _out |
| The output object. More... | |
|
inline |
Constructor.
| cmd | - The CmdLine the output is generated for. |
| out | - The type of output. |
Definition at line 101 of file VersionVisitor.h.
|
inlinevirtual |
Calls the version method of the output object using the specified CmdLine.
Reimplemented from TCLAP::Visitor.
Definition at line 108 of file VersionVisitor.h.
|
protected |
The CmdLine of interest.
Definition at line 87 of file VersionVisitor.h.
|
protected |
The output object.
Definition at line 92 of file VersionVisitor.h.
| Page generated by Doxygen 1.8.17 for MRPT 1.4.0 SVN: at Tue Mar 3 09:15:16 UTC 2020 |