24 #ifndef TCLAP_VERSION_VISITOR_H 25 #define TCLAP_VERSION_VISITOR_H 66 :
Visitor(), _cmd( cmd ), _out( out ) { }
73 (*_out)->version(*_cmd);
CmdLineInterface * _cmd
The CmdLine of interest.
CmdLineOutput ** _out
The output object.
Thrown when TCLAP thinks the program should exit.
A Visitor that will call the version method of the given CmdLineOutput for the specified CmdLine obje...
A base class that defines the interface for visitors.
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...
VersionVisitor(CmdLineInterface *cmd, CmdLineOutput **out)
Constructor.
The interface that any output object must implement.