bes
Updated for version 3.20.6
|
JSON schema document. More...
#include <schema.h>
Public Types | |
typedef Allocator | AllocatorType |
typedef Allocator | AllocatorType |
typedef EncodingType::Ch | Ch |
typedef EncodingType::Ch | Ch |
typedef ValueType::EncodingType | EncodingType |
typedef ValueType::EncodingType | EncodingType |
typedef IGenericRemoteSchemaDocumentProvider< GenericSchemaDocument > | IRemoteSchemaDocumentProviderType |
typedef IGenericRemoteSchemaDocumentProvider< GenericSchemaDocument > | IRemoteSchemaDocumentProviderType |
typedef GenericPointer< ValueType, Allocator > | PointerType |
typedef GenericPointer< ValueType, Allocator > | PointerType |
typedef internal::Schema< GenericSchemaDocument > | SchemaType |
typedef internal::Schema< GenericSchemaDocument > | SchemaType |
typedef ValueT | ValueType |
typedef ValueT | ValueType |
Public Member Functions | |
GenericSchemaDocument (const ValueType &document, IRemoteSchemaDocumentProviderType *remoteProvider=0, Allocator *allocator=0) | |
Constructor. More... | |
GenericSchemaDocument (const ValueType &document, IRemoteSchemaDocumentProviderType *remoteProvider=0, Allocator *allocator=0) | |
Constructor. More... | |
const SchemaType & | GetRoot () const |
Get the root schema. More... | |
const SchemaType & | GetRoot () const |
Get the root schema. More... | |
~GenericSchemaDocument () | |
Destructor. More... | |
~GenericSchemaDocument () | |
Destructor. More... | |
Friends | |
template<typename , typename , typename > | |
class | GenericSchemaValidator |
template<typename , typename , typename > | |
class | GenericSchemaValidator |
class | internal::Schema< GenericSchemaDocument > |
JSON schema document.
A JSON schema document is a compiled version of a JSON schema. It is basically a tree of internal::Schema.
ValueT | Type of JSON value (e.g. Value ), which also determine the encoding. |
Allocator | Allocator type for allocating memory of this document. |
Definition at line 136 of file cmr_module/rapidjson/fwd.h.
|
inlineexplicit |
Constructor.
Compile a JSON document into schema document.
document | A JSON document as source. |
remoteProvider | An optional remote schema document provider for resolving remote reference. Can be null. |
allocator | An optional allocator instance for allocating memory. Can be null. |
Definition at line 1341 of file cmr_module/rapidjson/schema.h.
|
inline |
Destructor.
Definition at line 1393 of file cmr_module/rapidjson/schema.h.
|
inlineexplicit |
Constructor.
Compile a JSON document into schema document.
document | A JSON document as source. |
remoteProvider | An optional remote schema document provider for resolving remote reference. Can be null. |
allocator | An optional allocator instance for allocating memory. Can be null. |
Definition at line 1341 of file dmrpp_module/xml2json/include/rapidjson/schema.h.
|
inline |
Destructor.
Definition at line 1393 of file dmrpp_module/xml2json/include/rapidjson/schema.h.
|
inline |
Get the root schema.
Definition at line 1401 of file cmr_module/rapidjson/schema.h.
|
inline |
Get the root schema.
Definition at line 1401 of file dmrpp_module/xml2json/include/rapidjson/schema.h.