|
tclap 1.4.0
|
Accepts values strictly less than an owned upper bound. More...
#include <ComparisonConstraint.h>


Public Member Functions | |
| LessThanConstraint (const T &bound) | |
Public Member Functions inherited from TCLAP::PredicateConstraint< T, Function, Text > | |
| PredicateConstraint (const std::string &description, const std::string &shortId, const Function &function) | |
| Copies the callable and the two independently supplied strings. | |
| PredicateConstraint (const Function &function, const Text &text) | |
| Advanced form used by the rule factory to share validation/text state. | |
| virtual | ~PredicateConstraint () |
| bool | check (const T &value) const |
| The method used to verify that the value parsed from the command line meets the constraint. | |
| std::string | description () const |
| Returns a description of the Constraint. | |
| std::string | shortID () const |
| Returns the short ID for the Constraint. | |
Public Member Functions inherited from TCLAP::Constraint< T > | |
| virtual | ~Constraint () |
| Destructor. | |
Additional Inherited Members | |
Public Types inherited from TCLAP::PredicateConstraint< T, Function, Text > | |
| typedef Function | Predicate |
Static Public Member Functions inherited from TCLAP::Constraint< T > | |
| static std::string | shortID (const Constraint< T > *constraint) |
Protected Member Functions inherited from TCLAP::internal::ComparisonConstraintBase< T, std::less< T > > | |
| ComparisonConstraintBase (const T &bound, const std::string &relation, const std::string &symbol) | |
Accepts values strictly less than an owned upper bound.
T must support comparison and ostream insertion for generated help text. Short IDs are cached at construction; descriptions are formatted on request. Floating-point unordered comparisons fail, including NaN bounds/values. Args borrow these constraints just as they borrow any Constraint<T>.
Definition at line 84 of file ComparisonConstraint.h.
|
inlineexplicit |
Definition at line 87 of file ComparisonConstraint.h.