23 #ifndef TCLAP_VERSION_VISITOR_H 24 #define TCLAP_VERSION_VISITOR_H 62 :
Visitor(), _cmd(cmd), _out(out) {}
69 (*_out)->version(*_cmd);
75 #endif // TCLAP_VERSION_VISITOR_H 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.