#include <schema.h>
Classes | |
| struct | PatternProperty |
| struct | Property |
| struct | SchemaArray |
Public Types | |
| typedef SchemaDocumentType::AllocatorType | AllocatorType |
| typedef EncodingType::Ch | Ch |
| typedef SchemaValidationContext< SchemaDocumentType > | Context |
| typedef ValueType::EncodingType | EncodingType |
| typedef IValidationErrorHandler< Schema > | ErrorHandler |
| typedef SchemaDocumentType::PointerType | PointerType |
| typedef Schema< SchemaDocumentType > | SchemaType |
| typedef GenericValue< EncodingType, AllocatorType > | SValue |
| typedef SchemaDocumentType::ValueType | ValueType |
Public Member Functions | |
| void | AddType (const ValueType &type) |
| template<typename V1 , typename V2 > | |
| void | AddUniqueElement (V1 &a, const V2 &v) |
| void | AssignIfExist (SchemaArray &out, SchemaDocumentType &schemaDocument, const PointerType &p, const ValueType &value, const ValueType &name, const ValueType &document) |
| bool | BeginValue (Context &context) const |
| bool | Bool (Context &context, bool) const |
| bool | CheckDoubleMaximum (Context &context, double d) const |
| bool | CheckDoubleMinimum (Context &context, double d) const |
| bool | CheckDoubleMultipleOf (Context &context, double d) const |
| bool | CheckInt (Context &context, int64_t i) const |
| bool | CheckUint (Context &context, uint64_t i) const |
| bool | CreateParallelValidator (Context &context) const |
| template<typename ValueType > | |
| RegexType * | CreatePattern (const ValueType &value) |
| void | CreateSchemaValidators (Context &context, const SchemaArray &schemas) const |
| void | DisallowedType (Context &context, const ValueType &actualType) const |
| bool | Double (Context &context, double d) const |
| bool | EndArray (Context &context, SizeType elementCount) const |
| bool | EndObject (Context &context, SizeType memberCount) const |
| RAPIDJSON_FORCEINLINE bool | EndValue (Context &context) const |
| bool | FindPropertyIndex (const ValueType &name, SizeType *outIndex) const |
| const PointerType & | GetPointer () const |
| const SValue & | GetURI () const |
| bool | Int (Context &context, int i) const |
| bool | Int64 (Context &context, int64_t i) const |
| bool | Key (Context &context, const Ch *str, SizeType len, bool) const |
| bool | Null (Context &context) const |
| RAPIDJSON_STRING_ (Properties, 'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's') RAPIDJSON_STRING_(Dependencies | |
| s | RAPIDJSON_STRING_ (PatternProperties, 'p', 'a', 't', 't', 'e', 'r', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's') RAPIDJSON_STRING_(AdditionalProperties |
| s s | RAPIDJSON_STRING_ (MinProperties, 'm', 'i', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's') RAPIDJSON_STRING_(MaxProperties |
| s s s | RAPIDJSON_STRING_ (AdditionalItems, 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'I', 't', 'e', 'm', 's') RAPIDJSON_STRING_(UniqueItems |
| s s s s | RAPIDJSON_STRING_ (ExclusiveMinimum, 'e', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 'M', 'i', 'n', 'i', 'm', 'u', 'm') RAPIDJSON_STRING_(ExclusiveMaximum |
| Schema (SchemaDocumentType *schemaDocument, const PointerType &p, const ValueType &value, const ValueType &document, AllocatorType *allocator) | |
| bool | StartArray (Context &context) const |
| bool | StartObject (Context &context) const |
| bool | String (Context &context, const Ch *str, SizeType length, bool) const |
| bool | Uint (Context &context, unsigned u) const |
| bool | Uint64 (Context &context, uint64_t u) const |
| ~Schema () | |
Static Public Member Functions | |
| static void | AssignIfExist (bool &out, const ValueType &value, const ValueType &name) |
| static void | AssignIfExist (SizeType &out, const ValueType &value, const ValueType &name) |
| static const ValueType * | GetMember (const ValueType &value, const ValueType &name) |
| static bool | IsPatternMatch (const RegexType *pattern, const Ch *str, SizeType) |
Friends | |
| class | GenericSchemaDocument< ValueType, AllocatorType > |
| typedef SchemaDocumentType::AllocatorType internal::Schema< SchemaDocumentType >::AllocatorType |
| typedef EncodingType::Ch internal::Schema< SchemaDocumentType >::Ch |
| typedef SchemaValidationContext<SchemaDocumentType> internal::Schema< SchemaDocumentType >::Context |
| typedef ValueType::EncodingType internal::Schema< SchemaDocumentType >::EncodingType |
| typedef IValidationErrorHandler<Schema> internal::Schema< SchemaDocumentType >::ErrorHandler |
| typedef SchemaDocumentType::PointerType internal::Schema< SchemaDocumentType >::PointerType |
| typedef Schema<SchemaDocumentType> internal::Schema< SchemaDocumentType >::SchemaType |
| typedef GenericValue<EncodingType, AllocatorType> internal::Schema< SchemaDocumentType >::SValue |
| typedef SchemaDocumentType::ValueType internal::Schema< SchemaDocumentType >::ValueType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
| internal::Schema< SchemaDocumentType >::RAPIDJSON_STRING_ | ( | Properties | , |
| 'p' | , | ||
| 'r' | , | ||
| 'o' | , | ||
| 'p' | , | ||
| 'e' | , | ||
| 'r' | , | ||
| 't' | , | ||
| 'i' | , | ||
| 'e' | , | ||
| 's' | |||
| ) |
| s internal::Schema< SchemaDocumentType >::RAPIDJSON_STRING_ | ( | PatternProperties | , |
| 'p' | , | ||
| 'a' | , | ||
| 't' | , | ||
| 't' | , | ||
| 'e' | , | ||
| 'r' | , | ||
| 'n' | , | ||
| 'P' | , | ||
| 'r' | , | ||
| 'o' | , | ||
| 'p' | , | ||
| 'e' | , | ||
| 'r' | , | ||
| 't' | , | ||
| 'i' | , | ||
| 'e' | , | ||
| 's' | |||
| ) |
| s s internal::Schema< SchemaDocumentType >::RAPIDJSON_STRING_ | ( | MinProperties | , |
| 'm' | , | ||
| 'i' | , | ||
| 'n' | , | ||
| 'P' | , | ||
| 'r' | , | ||
| 'o' | , | ||
| 'p' | , | ||
| 'e' | , | ||
| 'r' | , | ||
| 't' | , | ||
| 'i' | , | ||
| 'e' | , | ||
| 's' | |||
| ) |
| s s s internal::Schema< SchemaDocumentType >::RAPIDJSON_STRING_ | ( | AdditionalItems | , |
| 'a' | , | ||
| 'd' | , | ||
| 'd' | , | ||
| 'i' | , | ||
| 't' | , | ||
| 'i' | , | ||
| 'o' | , | ||
| 'n' | , | ||
| 'a' | , | ||
| 'l' | , | ||
| 'I' | , | ||
| 't' | , | ||
| 'e' | , | ||
| 'm' | , | ||
| 's' | |||
| ) |
| s s s s internal::Schema< SchemaDocumentType >::RAPIDJSON_STRING_ | ( | ExclusiveMinimum | , |
| 'e' | , | ||
| 'x' | , | ||
| 'c' | , | ||
| 'l' | , | ||
| 'u' | , | ||
| 's' | , | ||
| 'i' | , | ||
| 'v' | , | ||
| 'e' | , | ||
| 'M' | , | ||
| 'i' | , | ||
| 'n' | , | ||
| 'i' | , | ||
| 'm' | , | ||
| 'u' | , | ||
| 'm' | |||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
| s internal::Schema< SchemaDocumentType >::a |
| s s internal::Schema< SchemaDocumentType >::a |
| s s s s internal::Schema< SchemaDocumentType >::a |
| bool internal::Schema< SchemaDocumentType >::additionalItems_ |
| const SchemaType* internal::Schema< SchemaDocumentType >::additionalItemsSchema_ |
| bool internal::Schema< SchemaDocumentType >::additionalProperties_ |
| const SchemaType* internal::Schema< SchemaDocumentType >::additionalPropertiesSchema_ |
| AllocatorType* internal::Schema< SchemaDocumentType >::allocator_ |
| SchemaArray internal::Schema< SchemaDocumentType >::allOf_ |
| SchemaArray internal::Schema< SchemaDocumentType >::anyOf_ |
| internal::Schema< SchemaDocumentType >::c |
| s s s s internal::Schema< SchemaDocumentType >::c |
| s internal::Schema< SchemaDocumentType >::d |
| s internal::Schema< SchemaDocumentType >::d |
| SizeType internal::Schema< SchemaDocumentType >::defaultValueLength_ |
| s s s s internal::Schema< SchemaDocumentType >::e |
| s internal::Schema< SchemaDocumentType >::e |
| s s internal::Schema< SchemaDocumentType >::e |
| s s s internal::Schema< SchemaDocumentType >::e |
| s s s s internal::Schema< SchemaDocumentType >::e |
| uint64_t* internal::Schema< SchemaDocumentType >::enum_ |
| SizeType internal::Schema< SchemaDocumentType >::enumCount_ |
| bool internal::Schema< SchemaDocumentType >::exclusiveMaximum_ |
| bool internal::Schema< SchemaDocumentType >::exclusiveMinimum_ |
| bool internal::Schema< SchemaDocumentType >::hasDependencies_ |
| bool internal::Schema< SchemaDocumentType >::hasRequired_ |
| bool internal::Schema< SchemaDocumentType >::hasSchemaDependencies_ |
| s s s s internal::Schema< SchemaDocumentType >::i |
| s internal::Schema< SchemaDocumentType >::i |
| s s internal::Schema< SchemaDocumentType >::i |
| s s s internal::Schema< SchemaDocumentType >::I |
| s s s internal::Schema< SchemaDocumentType >::i |
| s s s s internal::Schema< SchemaDocumentType >::i |
| const SchemaType* internal::Schema< SchemaDocumentType >::itemsList_ |
| const SchemaType** internal::Schema< SchemaDocumentType >::itemsTuple_ |
| SizeType internal::Schema< SchemaDocumentType >::itemsTupleCount_ |
| s internal::Schema< SchemaDocumentType >::l |
| s s s s internal::Schema< SchemaDocumentType >::l |
| s s internal::Schema< SchemaDocumentType >::m |
| s s s internal::Schema< SchemaDocumentType >::m |
| s s s s internal::Schema< SchemaDocumentType >::M |
| s s s s internal::Schema< SchemaDocumentType >::m |
| SValue internal::Schema< SchemaDocumentType >::maximum_ |
| SizeType internal::Schema< SchemaDocumentType >::maxItems_ |
| SizeType internal::Schema< SchemaDocumentType >::maxLength_ |
| SizeType internal::Schema< SchemaDocumentType >::maxProperties_ |
| SValue internal::Schema< SchemaDocumentType >::minimum_ |
| SizeType internal::Schema< SchemaDocumentType >::minItems_ |
| SizeType internal::Schema< SchemaDocumentType >::minLength_ |
| SizeType internal::Schema< SchemaDocumentType >::minProperties_ |
| SValue internal::Schema< SchemaDocumentType >::multipleOf_ |
| internal::Schema< SchemaDocumentType >::n |
| s internal::Schema< SchemaDocumentType >::n |
| s s s internal::Schema< SchemaDocumentType >::n |
| const SchemaType* internal::Schema< SchemaDocumentType >::not_ |
| SizeType internal::Schema< SchemaDocumentType >::notValidatorIndex_ |
| s internal::Schema< SchemaDocumentType >::o |
| s s internal::Schema< SchemaDocumentType >::o |
| SchemaArray internal::Schema< SchemaDocumentType >::oneOf_ |
| internal::Schema< SchemaDocumentType >::p |
| s internal::Schema< SchemaDocumentType >::P |
| s internal::Schema< SchemaDocumentType >::p |
| s s internal::Schema< SchemaDocumentType >::P |
| s s internal::Schema< SchemaDocumentType >::p |
| RegexType* internal::Schema< SchemaDocumentType >::pattern_ |
| PatternProperty* internal::Schema< SchemaDocumentType >::patternProperties_ |
| SizeType internal::Schema< SchemaDocumentType >::patternPropertyCount_ |
| PointerType internal::Schema< SchemaDocumentType >::pointer_ |
| Property* internal::Schema< SchemaDocumentType >::properties_ |
| SizeType internal::Schema< SchemaDocumentType >::propertyCount_ |
| s s s internal::Schema< SchemaDocumentType >::q |
| s s internal::Schema< SchemaDocumentType >::r |
| s s internal::Schema< SchemaDocumentType >::r |
| s s s s m RAPIDJSON_STRING_ (MultipleOf, 'm', 'u', 'l', 't', 'i', 'p', 'l', 'e', 'O', 'f') private typedef internal::GenericRegex<EncodingType, AllocatorType> internal::Schema< SchemaDocumentType >::RegexType |
| s s s s internal::Schema< SchemaDocumentType >::s |
| s internal::Schema< SchemaDocumentType >::t |
| s s internal::Schema< SchemaDocumentType >::t |
| s s s internal::Schema< SchemaDocumentType >::t |
| unsigned internal::Schema< SchemaDocumentType >::type_ |
| const SchemaType* internal::Schema< SchemaDocumentType >::typeless_ |
| s s s s internal::Schema< SchemaDocumentType >::u |
| s s s s internal::Schema< SchemaDocumentType >::u |
| bool internal::Schema< SchemaDocumentType >::uniqueItems_ |
| SValue internal::Schema< SchemaDocumentType >::uri_ |
| s s s s internal::Schema< SchemaDocumentType >::v |
| SizeType internal::Schema< SchemaDocumentType >::validatorCount_ |
| s s s s internal::Schema< SchemaDocumentType >::x |
| s s s s internal::Schema< SchemaDocumentType >::x |