Open Lighting Architecture  Latest Git
Public Member Functions | List of all members
ola::web::MinimumConstraint Class Reference

Detailed Description

Enforces a minimum.

Inheritance diagram for ola::web::MinimumConstraint:
Inheritance graph
[legend]
Collaboration diagram for ola::web::MinimumConstraint:
Collaboration graph
[legend]

Public Member Functions

 MinimumConstraint (const JsonNumber *limit, bool is_exclusive)
 Create a new MaximumConstraint. More...
 
 MinimumConstraint (const JsonNumber *limit)
 Create a new MaximumConstraint. More...
 
bool IsValid (const JsonNumber &value)
 
void ExtendSchema (JsonObject *schema) const
 

Constructor & Destructor Documentation

◆ MinimumConstraint() [1/2]

ola::web::MinimumConstraint::MinimumConstraint ( const JsonNumber limit,
bool  is_exclusive 
)
inline

Create a new MaximumConstraint.

Parameters
limitthe minimum, ownership is transferred.
is_exclusivetrue is the limit is exclusive, false if not.

◆ MinimumConstraint() [2/2]

ola::web::MinimumConstraint::MinimumConstraint ( const JsonNumber limit)
inlineexplicit

Create a new MaximumConstraint.

Parameters
limitthe minimum, ownership is transferred.

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