ignore_rest_visitor.hpp
Go to the documentation of this file.
1 
11 /*****************************************************************************
12 ** Ifdefs
13 *****************************************************************************/
14 
15 #ifndef TCLAP_IGNORE_REST_VISITOR_H
16 #define TCLAP_IGNORE_REST_VISITOR_H
17 
18 #include "visitor.hpp"
19 #include "arg.hpp"
20 
21 namespace ecl {
22 
23 
30 class IgnoreRestVisitor: public Visitor
31 {
32  public:
33 
37  IgnoreRestVisitor() : Visitor() {}
38 
42  void visit() { Arg::beginIgnoring(); }
43 };
44 
45 }; // namespace ecl
46 
47 
48 #endif
arg.hpp
TCLAP command line argument parser classes.
ecl::IgnoreRestVisitor::visit
void visit()
Definition: ignore_rest_visitor.hpp:46
visitor.hpp
TCLAP command line argument parser classes.
ecl::Arg::beginIgnoring
static void beginIgnoring()
Definition: arg.hpp:168
ecl::Visitor
TClap class indirectly used to define the interface for visitors.
Definition: visitor.hpp:27
ecl::IgnoreRestVisitor::IgnoreRestVisitor
IgnoreRestVisitor()
Definition: ignore_rest_visitor.hpp:41
ecl


ecl_command_line
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:13