Open Lighting Architecture: ola::web::ObjectParseContext Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
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:

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

## Protected Member Functions
std::string | TakeKeyword ()
const std::string & | Keyword () const

## Member Function Documentation

## ◆ ObjectKey()

void ola::web::ObjectParseContext::ObjectKey | ( | SchemaErrorLogger * | ,
|  | const std::string & | keyword )
| inlinevirtual

Called when we encounter a property.

Implements ola::web::SchemaParseContextInterface.

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

- common/web/SchemaParseContext.h