Open Lighting Architecture  0.9.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::web::MinimumConstraint Class Reference

Detailed Description

Enforces a minimum.

Inheritance diagram for ola::web::MinimumConstraint:
ola::web::NumberConstraint

Public Member Functions

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

Constructor & Destructor Documentation

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.
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: