|
tclap 1.6.0
|
Accepts values less than or equal to an owned upper bound. More...
#include <ComparisonConstraint.h>


Public Member Functions | |
| template<class Bound > requires std::constructible_from<T, Bound &&> | |
| LessThanOrEqualConstraint (Bound &&bound) | |
Public Member Functions inherited from TCLAP::PredicateConstraint< T, Function, Text > | |
| template<class F > requires std::constructible_from<Function, F &&> && std::constructible_from<Text, std::string, std::string> | |
| PredicateConstraint (std::string description, std::string shortId, F &&function) | |
| Owns the callable and separate presentation strings. | |
| template<class F > requires std::constructible_from<Function, F &&> | |
| PredicateConstraint (F &&function, Text text) | |
| Advanced form used by the rule factory to share validation/text state. | |
| PredicateConstraint (const PredicateConstraint &)=default | |
| PredicateConstraint (PredicateConstraint &&)=default | |
| PredicateConstraint & | operator= (const PredicateConstraint &)=default |
| PredicateConstraint & | operator= (PredicateConstraint &&)=default |
| ~PredicateConstraint () override=default | |
| bool | check (const T &value) const override |
| The method used to verify that the value parsed from the command line meets the constraint. | |
| std::string | description () const override |
| Returns a description of the Constraint. | |
| std::string | shortID () const override |
| Returns the short ID for the Constraint. | |
Public Member Functions inherited from TCLAP::Constraint< T > | |
| virtual | ~Constraint ()=default |
| Destructor. | |
Additional Inherited Members | |
Public Types inherited from TCLAP::PredicateConstraint< T, Function, Text > | |
| using | Predicate = Function |
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_equal< T > > | |
| ComparisonConstraintBase (Bound &&bound, const std::string &relation, const std::string &symbol) | |
Accepts values less than or equal to an owned upper bound.
Definition at line 114 of file ComparisonConstraint.h.
|
inlineexplicit |
Definition at line 119 of file ComparisonConstraint.h.