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

Accepts values strictly greater than an owned lower bound. More...

#include <ComparisonConstraint.h>

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

Public Member Functions

 GreaterThanConstraint (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::greater< T > >
 ComparisonConstraintBase (const T &bound, const std::string &relation, const std::string &symbol)
 

Detailed Description

template<class T>
class TCLAP::GreaterThanConstraint< T >

Accepts values strictly greater than an owned lower bound.

Definition at line 104 of file ComparisonConstraint.h.

Constructor & Destructor Documentation

◆ GreaterThanConstraint()

template<class T >
TCLAP::GreaterThanConstraint< T >::GreaterThanConstraint ( const T &  bound)
inlineexplicit

Definition at line 107 of file ComparisonConstraint.h.


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