Open Lighting Architecture
Latest Git
|
A SchemaParseContext that keeps track of the last keyword / property seen.
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 |