#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 SchemaDocumentType::PointerType | PointerType |
| typedef Schema< SchemaDocumentType > | SchemaType |
| typedef GenericValue< EncodingType, AllocatorType > | SValue |
| typedef SchemaDocumentType::ValueType | ValueType |
Public Member Functions | |
| bool | BeginValue (Context &context) const |
| bool | Bool (Context &context, bool) 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 | 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 |
| 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 () | |
Private Types | |
| typedef internal::GenericRegex< EncodingType > | RegexType |
| enum | SchemaValueType { kNullSchemaType, kBooleanSchemaType, kObjectSchemaType, kArraySchemaType, kStringSchemaType, kNumberSchemaType, kIntegerSchemaType, kTotalSchemaType } |
Private 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 | 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 |
| bool | FindPropertyIndex (const ValueType &name, SizeType *outIndex) const |
Static Private 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) |
Private Attributes | |
| bool | additionalItems_ |
| const SchemaType * | additionalItemsSchema_ |
| bool | additionalProperties_ |
| const SchemaType * | additionalPropertiesSchema_ |
| AllocatorType * | allocator_ |
| SchemaArray | allOf_ |
| SchemaArray | anyOf_ |
| uint64_t * | enum_ |
| SizeType | enumCount_ |
| bool | exclusiveMaximum_ |
| bool | exclusiveMinimum_ |
| bool | hasDependencies_ |
| bool | hasRequired_ |
| bool | hasSchemaDependencies_ |
| const SchemaType * | itemsList_ |
| const SchemaType ** | itemsTuple_ |
| SizeType | itemsTupleCount_ |
| SValue | maximum_ |
| SizeType | maxItems_ |
| SizeType | maxLength_ |
| SizeType | maxProperties_ |
| SValue | minimum_ |
| SizeType | minItems_ |
| SizeType | minLength_ |
| SizeType | minProperties_ |
| SValue | multipleOf_ |
| const SchemaType * | not_ |
| SizeType | notValidatorIndex_ |
| SchemaArray | oneOf_ |
| RegexType * | pattern_ |
| PatternProperty * | patternProperties_ |
| SizeType | patternPropertyCount_ |
| Property * | properties_ |
| SizeType | propertyCount_ |
| unsigned | type_ |
| const SchemaType * | typeless_ |
| bool | uniqueItems_ |
| SizeType | validatorCount_ |
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 SchemaDocumentType::PointerType internal::Schema< SchemaDocumentType >::PointerType |
|
private |
| typedef Schema<SchemaDocumentType> internal::Schema< SchemaDocumentType >::SchemaType |
| typedef GenericValue<EncodingType, AllocatorType> internal::Schema< SchemaDocumentType >::SValue |
| typedef SchemaDocumentType::ValueType internal::Schema< SchemaDocumentType >::ValueType |
|
private |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |