Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ola::web::SchemaParseContext Class Reference
Inheritance diagram for ola::web::SchemaParseContext:
Inheritance graph
Collaboration diagram for ola::web::SchemaParseContext:
Collaboration graph

Public Member Functions

 SchemaParseContext (SchemaDefinitions *definitions)
 Create a new SchemaParseContext. More...
ValidatorInterfaceGetValidator (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)
SchemaParseContextInterfaceOpenArray (SchemaErrorLogger *logger)
void CloseArray (SchemaErrorLogger *logger)
SchemaParseContextInterfaceOpenObject (SchemaErrorLogger *logger)
void CloseObject (SchemaErrorLogger *logger)

Constructor & Destructor Documentation

ola::web::SchemaParseContext::SchemaParseContext ( SchemaDefinitions definitions)

Create a new SchemaParseContext.

definitionsthe SchemaDefinitions cache, ownership is not transferred.

Member Function Documentation

ValidatorInterface * ola::web::SchemaParseContext::GetValidator ( SchemaErrorLogger logger)

Return the ValidatorInterface for this context.

Ownership of the ValidatorInterface is transferred to the caller.

A new ValidatorInterface or NULL if it was not possible to construct a validator.

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