23 #ifndef TCLAP_HELP_VISITOR_H 24 #define TCLAP_HELP_VISITOR_H 62 :
Visitor(), _cmd(cmd), _out(out) {}
69 (*_out)->usage(*_cmd);
75 #endif // TCLAP_HELP_VISITOR_H CmdLineOutput ** _out
The output object.
Thrown when TCLAP thinks the program should exit.
void visit()
Calls the usage method of the CmdLineOutput for the specified CmdLine.
CmdLineInterface * _cmd
The CmdLine the output will be generated for.
A base class that defines the interface for visitors.
The base class that manages the command line definition and passes along the parsing to the appropria...
A Visitor object that calls the usage method of the given CmdLineOutput object for the specified CmdL...
HelpVisitor(CmdLineInterface *cmd, CmdLineOutput **out)
Constructor.
The interface that any output object must implement.