Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
Collaboration diagram for ola::web::ObjectParseContext:
Collaboration graph

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
OpenArray (SchemaErrorLogger *logger)=0
virtual void CloseArray (SchemaErrorLogger *logger)=0
OpenObject (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: