Open Lighting Architecture  Latest Git
Public Member Functions | List of all members
ola::web::DependencyParseContext Class Reference

Detailed Description

The context for a dependency object.

A dependency object contains key : value pairs. The key is the name of a property that may exist in the instance. The value is either an array of strings or an object.

Inheritance diagram for ola::web::DependencyParseContext:
Inheritance graph
[legend]
Collaboration diagram for ola::web::DependencyParseContext:
Collaboration graph
[legend]

Public Member Functions

 DependencyParseContext (SchemaDefinitions *definitions)
 
void AddDependenciesToValidator (ObjectValidator *validator)
 
SchemaParseContextInterfaceOpenArray (SchemaErrorLogger *logger)
 
void CloseArray (SchemaErrorLogger *logger)
 
SchemaParseContextInterfaceOpenObject (SchemaErrorLogger *logger)
 
void CloseObject (SchemaErrorLogger *logger)
 
- Public Member Functions inherited from ola::web::StrictTypedParseContext
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)
 
- Public Member Functions inherited from ola::web::ObjectParseContext
void ObjectKey (SchemaErrorLogger *, const std::string &keyword)
 Called when we encounter a property.
 

Additional Inherited Members

- Protected Member Functions inherited from ola::web::ObjectParseContext
std::string TakeKeyword ()
 
const std::string & Keyword () const
 

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