Defines the interaction between an argument and a constraint. More...
#include <constraint.hpp>

| Public Member Functions | |
| virtual bool | check (const T &value) const =0 | 
| virtual std::string | description () const =0 | 
| virtual std::string | shortID () const =0 | 
| virtual | ~Constraint () | 
Defines the interaction between an argument and a constraint.
The interface that defines the interaction between the Arg and Constraint.
Definition at line 36 of file constraint.hpp.
| 
 | inlinevirtual | 
Destructor. Silences warnings about Constraint being a base class with virtual functions but without a virtual destructor.
Definition at line 64 of file constraint.hpp.
| 
 | pure virtual | 
The method used to verify that the value parsed from the command line meets the constraint.
| value | - The value that will be checked. | 
Implemented in ecl::ValuesConstraint< T >.
| 
 | pure virtual | 
Returns a description of the Constraint.
Implemented in ecl::ValuesConstraint< T >.
| 
 | pure virtual | 
Returns the short ID for the Constraint.
Implemented in ecl::ValuesConstraint< T >.