constraint.hpp
Go to the documentation of this file.
1 
11 /*****************************************************************************
12 ** Ifdefs
13 *****************************************************************************/
14 
15 #ifndef TCLAP_CONSTRAINT_H
16 #define TCLAP_CONSTRAINT_H
17 
18 #include <string>
19 #include <vector>
20 #include <list>
21 #include <iostream>
22 #include <iomanip>
23 #include <algorithm>
24 
25 namespace ecl {
26 
27 
33 template<class T>
35 {
36 
37  public:
41  virtual std::string description() const =0;
42 
46  virtual std::string shortID() const =0;
47 
53  virtual bool check(const T& value) const =0;
54 
60  virtual ~Constraint() { ; }
61 };
62 
63 }; // namespace ecl
64 
65 #endif
virtual std::string shortID() const =0
Defines the interaction between an argument and a constraint.
Definition: constraint.hpp:34
virtual std::string description() const =0
virtual ~Constraint()
Definition: constraint.hpp:60
virtual bool check(const T &value) const =0


ecl_command_line
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:23