bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
JSON schema document. More...
#include <schema.h>
Public Types | |
typedef Allocator | AllocatorType |
typedef EncodingType::Ch | Ch |
typedef ValueType::EncodingType | EncodingType |
typedef IGenericRemoteSchemaDocumentProvider< GenericSchemaDocument > | IRemoteSchemaDocumentProviderType |
typedef GenericPointer< ValueType, Allocator > | PointerType |
typedef internal::Schema< GenericSchemaDocument > | SchemaType |
typedef GenericValue< EncodingType, Allocator > | URIType |
typedef ValueT | ValueType |
Public Member Functions | |
GenericSchemaDocument (const ValueType &document, const Ch *uri=0, SizeType uriLength=0, IRemoteSchemaDocumentProviderType *remoteProvider=0, Allocator *allocator=0) | |
Constructor. | |
const SchemaType & | GetRoot () const |
Get the root schema. | |
const URIType & | GetURI () const |
~GenericSchemaDocument () | |
Destructor. | |
Friends | |
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.
typedef Allocator GenericSchemaDocument< ValueT, Allocator >::AllocatorType |
typedef EncodingType::Ch GenericSchemaDocument< ValueT, Allocator >::Ch |
typedef ValueType::EncodingType GenericSchemaDocument< ValueT, Allocator >::EncodingType |
typedef IGenericRemoteSchemaDocumentProvider<GenericSchemaDocument> GenericSchemaDocument< ValueT, Allocator >::IRemoteSchemaDocumentProviderType |
typedef GenericPointer<ValueType, Allocator> GenericSchemaDocument< ValueT, Allocator >::PointerType |
typedef internal::Schema<GenericSchemaDocument> GenericSchemaDocument< ValueT, Allocator >::SchemaType |
typedef GenericValue<EncodingType, Allocator> GenericSchemaDocument< ValueT, Allocator >::URIType |
typedef ValueT GenericSchemaDocument< ValueT, Allocator >::ValueType |
|
inlineexplicit |
Constructor.
Compile a JSON document into schema document.
document | A JSON document as source. |
uri | The base URI of this schema document for purposes of violation reporting. |
uriLength | Length of name , in code points. |
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. |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |