Open Lighting Architecture  0.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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:
ola::web::SchemaParseContextInterface ola::web::StrictTypedParseContext ola::web::ArrayOfSchemaContext ola::web::ArrayOfStringsContext ola::web::DefinitionsParseContext ola::web::DependencyParseContext ola::web::PropertiesParseContext

Public Member Functions

void ObjectKey (SchemaErrorLogger *, const std::string &keyword)
 Called when we encouter 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

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