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

Detailed Description

A SchemaParseContext that keeps track of the last keyword / property seen.

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

Public Member Functions

void ObjectKey (SchemaErrorLogger *, const std::string &keyword)
 Called when we encounter a property.
 
- Public Member Functions inherited from ola::web::SchemaParseContextInterface
virtual void String (SchemaErrorLogger *logger, const std::string &value)=0
 
virtual void Number (SchemaErrorLogger *logger, uint32_t value)=0
 
virtual void Number (SchemaErrorLogger *logger, int32_t value)=0
 
virtual void Number (SchemaErrorLogger *logger, uint64_t value)=0
 
virtual void Number (SchemaErrorLogger *logger, int64_t value)=0
 
virtual void Number (SchemaErrorLogger *logger, double value)=0
 
virtual void Bool (SchemaErrorLogger *logger, bool value)=0
 
virtual void Null (SchemaErrorLogger *logger)=0
 
virtual SchemaParseContextInterfaceOpenArray (SchemaErrorLogger *logger)=0
 
virtual void CloseArray (SchemaErrorLogger *logger)=0
 
virtual SchemaParseContextInterfaceOpenObject (SchemaErrorLogger *logger)=0
 
virtual void CloseObject (SchemaErrorLogger *logger)=0
 

Protected Member Functions

std::string TakeKeyword ()
 
const std::string & Keyword () const
 

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