31 #ifndef TCLAP_VERSION_VISITOR_H
32 #define TCLAP_VERSION_VISITOR_H
66 :
Visitor(), _cmd( cmd ), _out( out ) { }
The interface that any output object must implement.
(Added by JLBC for MRPT): An exception that indicates to CmdLine::parse that help,version,...
A Vistor that will call the version method of the given CmdLineOutput for the specified CmdLine objec...
A base class that defines the interface for visitors.
CmdLineInterface * _cmd
The CmdLine of interest.
VersionVisitor(CmdLineInterface *cmd, CmdLineOutput **out)
Constructor.
CmdLineOutput ** _out
The output object.
void visit()
Calls the version method of the output object using the specified CmdLine.
The base class that manages the command line definition and passes along the parsing to the appropria...