Open Lighting Architecture: ola::web::MultipleOfConstraint Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | List of all members
ola::web::MultipleOfConstraint Class Reference
JSON

## Detailed Description

Confirms the valid is a multiple of the specified value.

Inheritance diagram for ola::web::MultipleOfConstraint:

## Public Member Functions
| MultipleOfConstraint (const JsonNumber *value)
bool | IsValid (const JsonNumber &value)
void | ExtendSchema (JsonObject *schema) const

## Member Function Documentation

## ◆ ExtendSchema()

void ola::web::MultipleOfConstraint::ExtendSchema | ( | JsonObject * | schema | ) | const
| inlinevirtual

Implements ola::web::NumberConstraint.

## ◆ IsValid()

bool ola::web::MultipleOfConstraint::IsValid | ( | const JsonNumber & | value | ) |
| inlinevirtual

Implements ola::web::NumberConstraint.

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

- include/ola/web/JsonSchema.h