Open Lighting Architecture
Latest Git
|
Public Member Functions | |
SchemaParseContext (SchemaDefinitions *definitions) | |
Create a new SchemaParseContext. More... | |
ValidatorInterface * | GetValidator (SchemaErrorLogger *logger) |
Return the ValidatorInterface for this context. More... | |
void | ObjectKey (SchemaErrorLogger *logger, const std::string &keyword) |
void | String (SchemaErrorLogger *logger, const std::string &value) |
void | Number (SchemaErrorLogger *logger, uint32_t value) |
void | Number (SchemaErrorLogger *logger, int32_t value) |
void | Number (SchemaErrorLogger *logger, uint64_t value) |
void | Number (SchemaErrorLogger *logger, int64_t value) |
void | Number (SchemaErrorLogger *logger, double value) |
void | Bool (SchemaErrorLogger *logger, bool value) |
void | Null (SchemaErrorLogger *logger) |
SchemaParseContextInterface * | OpenArray (SchemaErrorLogger *logger) |
void | CloseArray (SchemaErrorLogger *logger) |
SchemaParseContextInterface * | OpenObject (SchemaErrorLogger *logger) |
void | CloseObject (SchemaErrorLogger *logger) |
|
inlineexplicit |
Create a new SchemaParseContext.
definitions | the SchemaDefinitions cache, ownership is not transferred. |
ValidatorInterface * ola::web::SchemaParseContext::GetValidator | ( | SchemaErrorLogger * | logger | ) |
Return the ValidatorInterface for this context.
Ownership of the ValidatorInterface is transferred to the caller.