#include "document.h"
#include "pointer.h"
#include <cmath>
#include "internal/regex.h"
Go to the source code of this file.
|
class | GenericSchemaDocument< ValueT, Allocator > |
| JSON schema document. More...
|
|
class | internal::Schema< SchemaDocumentType > |
|
class | internal::ISchemaValidator |
|
class | internal::ISchemaStateFactory< SchemaType > |
|
class | internal::Hasher< Encoding, Allocator > |
|
union | internal::Hasher< Encoding, Allocator >::Number::U |
|
struct | internal::SchemaValidationContext< SchemaDocumentType > |
|
class | internal::Schema< SchemaDocumentType > |
|
struct | internal::TokenHelper< Stack, Ch > |
|
struct | internal::TokenHelper< Stack, char > |
|
class | IGenericRemoteSchemaDocumentProvider< SchemaDocumentType > |
|
class | GenericSchemaDocument< ValueT, Allocator > |
| JSON schema document. More...
|
|
class | GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator > |
| JSON Schema Validator. More...
|
|
class | SchemaValidatingReader< parseFlags, InputStream, SourceEncoding, SchemaDocumentType, StackAllocator > |
| A helper class for parsing with validation. More...
|
|
◆ RAPIDJSON_INVALID_KEYWORD_RETURN
#define RAPIDJSON_INVALID_KEYWORD_RETURN |
( |
|
keyword | ) |
|
Value:RAPIDJSON_MULTILINEMACRO_BEGIN\
context.invalidKeyword = keyword.GetString();\
RAPIDJSON_INVALID_KEYWORD_VERBOSE(keyword.GetString());\
return false;\
RAPIDJSON_MULTILINEMACRO_END
Definition at line 117 of file schema.h.
◆ RAPIDJSON_INVALID_KEYWORD_VERBOSE
#define RAPIDJSON_INVALID_KEYWORD_VERBOSE |
( |
|
keyword | ) |
|
◆ RAPIDJSON_SCHEMA_HANDLE_BEGIN_
#define RAPIDJSON_SCHEMA_HANDLE_BEGIN_ |
( |
|
method, |
|
|
|
arg1 |
|
) |
| |
Value: if (!valid_) return false; \
if (!BeginValue() || !CurrentSchema().method arg1) {\
RAPIDJSON_SCHEMA_HANDLE_BEGIN_VERBOSE_();\
return valid_ = false;\
}
Definition at line 1662 of file schema.h.
◆ RAPIDJSON_SCHEMA_HANDLE_BEGIN_VERBOSE_
#define RAPIDJSON_SCHEMA_HANDLE_BEGIN_VERBOSE_ |
( |
| ) |
|
◆ RAPIDJSON_SCHEMA_HANDLE_END_
#define RAPIDJSON_SCHEMA_HANDLE_END_ |
( |
|
method, |
|
|
|
arg2 |
|
) |
| return valid_ = EndValue() && outputHandler_.method arg2 |
◆ RAPIDJSON_SCHEMA_HANDLE_PARALLEL_
#define RAPIDJSON_SCHEMA_HANDLE_PARALLEL_ |
( |
|
method, |
|
|
|
arg2 |
|
) |
| |
Value: for (Context* context = schemaStack_.template Bottom<Context>(); context != schemaStack_.template End<Context>(); context++) {\
if (context->hasher)\
static_cast<HasherType*>(context->hasher)->method arg2;\
if (context->validators)\
for (
SizeType i_ = 0; i_ < context->validatorCount; i_++)\
if (context->patternPropertiesValidators)\
for (
SizeType i_ = 0; i_ < context->patternPropertiesValidatorCount; i_++)\
}
Definition at line 1669 of file schema.h.
◆ RAPIDJSON_SCHEMA_HANDLE_VALUE_
#define RAPIDJSON_SCHEMA_HANDLE_VALUE_ |
( |
|
method, |
|
|
|
arg1, |
|
|
|
arg2 |
|
) |
| |
Value:
RAPIDJSON_SCHEMA_HANDLE_PARALLEL_(method, arg2);\
RAPIDJSON_SCHEMA_HANDLE_END_ (method, arg2)
Definition at line 1684 of file schema.h.
◆ RAPIDJSON_SCHEMA_HAS_REGEX
#define RAPIDJSON_SCHEMA_HAS_REGEX 1 |
◆ RAPIDJSON_SCHEMA_USE_INTERNALREGEX
#define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 1 |
◆ RAPIDJSON_SCHEMA_USE_STDREGEX
#define RAPIDJSON_SCHEMA_USE_STDREGEX 0 |
◆ RAPIDJSON_SCHEMA_VERBOSE
#define RAPIDJSON_SCHEMA_VERBOSE 0 |
◆ RAPIDJSON_STRING_
#define RAPIDJSON_STRING_ |
( |
|
name, |
|
|
|
... |
|
) |
| |
Value: static const ValueType& Get##name##String() {\
static const Ch s[] = { __VA_ARGS__, '\0' };\
static const ValueType v(s, sizeof(s) / sizeof(Ch) - 1);\
return v;\
}
Definition at line 881 of file schema.h.
◆ IRemoteSchemaDocumentProvider
◆ SchemaDocument
◆ SchemaValidator