The root Schema object is a base class. Nobody constructs this class directly. More...
#include <Schema.hh>
Public Member Functions | |
| Type | type () const |
| const NodePtr & | root () const |
| NodePtr & | root () |
Protected Member Functions | |
| Schema (const NodePtr &node) | |
| Schema (Node *node) | |
Protected Attributes | |
| NodePtr | node_ |
Friends | |
| void | compileJsonSchema (std::istream &is, ValidSchema &schema) |
| Given a stream comtaining a JSON schema, compiles the schema to a ValidSchema object. | |
The root Schema object is a base class. Nobody constructs this class directly.
| void compileJsonSchema | ( | std::istream & | is, | |
| ValidSchema & | schema | |||
| ) | [friend] |
Given a stream comtaining a JSON schema, compiles the schema to a ValidSchema object.
Throws if the schema cannot be compiled to a valid schema
1.6.1