tclap 1.6.0
Public Member Functions | List of all members
TCLAP::GreaterThanOrEqualConstraint< T > Class Template Reference

Accepts values greater than or equal to an owned lower bound. More...

#include <ComparisonConstraint.h>

Inheritance diagram for TCLAP::GreaterThanOrEqualConstraint< T >:
Inheritance graph
[legend]
Collaboration diagram for TCLAP::GreaterThanOrEqualConstraint< T >:
Collaboration graph
[legend]

Public Member Functions

template<class Bound >
requires std::constructible_from<T, Bound &&>
 GreaterThanOrEqualConstraint (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::greater_equal< T > >
 ComparisonConstraintBase (Bound &&bound, const std::string &relation, const std::string &symbol)
 

Detailed Description

template<class T>
requires internal::OrderedConstraintValue<T>
class TCLAP::GreaterThanOrEqualConstraint< T >

Accepts values greater than or equal to an owned lower bound.

Definition at line 140 of file ComparisonConstraint.h.

Constructor & Destructor Documentation

◆ GreaterThanOrEqualConstraint()

template<class T >
template<class Bound >
requires std::constructible_from<T, Bound &&>
TCLAP::GreaterThanOrEqualConstraint< T >::GreaterThanOrEqualConstraint ( Bound &&  bound)
inlineexplicit

Definition at line 145 of file ComparisonConstraint.h.


The documentation for this class was generated from the following file: