help_visitor.hpp
Go to the documentation of this file.
1 
11 /*****************************************************************************
12 ** Ifdefs
13 *****************************************************************************/
14 
15 #ifndef TCLAP_HELP_VISITOR_H
16 #define TCLAP_HELP_VISITOR_H
17 
18 #include "cmd_line_interface.hpp"
19 #include "cmd_line_output.hpp"
20 #include "visitor.hpp"
21 
22 namespace ecl {
23 
30 class HelpVisitor: public Visitor
31 {
32  protected:
33 
38 
43 
44  public:
45 
52  : Visitor(), _cmd( cmd ), _out( out ) { }
53 
58  void visit() { (*_out)->usage(*_cmd); exit(0); }
59 
60 };
61 
62 }; // namespace ecl
63 
64 
65 #endif
CmdLineOutput ** _out
TClap class indirectly used to define the interface for visitors.
Definition: visitor.hpp:25
Tclap class indirectly used by children for standardising outputs.
Managing interface for The base class that manages the command line definition and passes along the p...
TCLAP command line argument parser classes.
TClap class indirectly used to define the interface for visitors.
TCLAP command line argument parser classes.
TCLAP command line argument parser classes.
CmdLineInterface * _cmd
HelpVisitor(CmdLineInterface *cmd, CmdLineOutput **out)


ecl_command_line
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:08