◆ MaximumConstraint() [1/2]
ola::web::MaximumConstraint::MaximumConstraint |
( |
const JsonNumber * | limit, |
|
|
bool | is_exclusive ) |
|
inline |
Create a new MaximumConstraint.
- Parameters
-
limit | the maximum, ownership is transferred. |
is_exclusive | true is the limit is exclusive, false if not. |
◆ MaximumConstraint() [2/2]
ola::web::MaximumConstraint::MaximumConstraint |
( |
const JsonNumber * | limit | ) |
|
|
inlineexplicit |
Create a new MaximumConstraint.
- Parameters
-
limit | the maximum, ownership is transferred. |
◆ ExtendSchema()
void ola::web::MaximumConstraint::ExtendSchema |
( |
JsonObject * | schema | ) |
const |
|
inlinevirtual |
◆ IsValid()
bool ola::web::MaximumConstraint::IsValid |
( |
const JsonNumber & | value | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: