A Vistor that will call the version method of the given CmdLineOutput for the specified CmdLine object and then exit. More...
#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. | |
A Vistor 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.
| 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 57 of file VersionVisitor.h.
| 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 64 of file VersionVisitor.h.
References _cmd.
CmdLineInterface* TCLAP::VersionVisitor::_cmd [protected] |
CmdLineOutput** TCLAP::VersionVisitor::_out [protected] |
The output object.
Definition at line 48 of file VersionVisitor.h.
| Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010 |