Classes | |
struct | PatternProperty |
struct | Property |
struct | SchemaArray |
Types publics | |
typedef SchemaDocumentType::ValueType | ValueType |
typedef SchemaDocumentType::AllocatorType | AllocatorType |
typedef SchemaDocumentType::PointerType | PointerType |
typedef ValueType::EncodingType | EncodingType |
typedef EncodingType::Ch | Ch |
typedef SchemaValidationContext< SchemaDocumentType > | Context |
typedef Schema< SchemaDocumentType > | SchemaType |
typedef GenericValue< EncodingType, AllocatorType > | SValue |
typedef IValidationErrorHandler< Schema > | ErrorHandler |
Fonctions membres publiques | |
Schema (SchemaDocumentType *schemaDocument, const PointerType &p, const ValueType &value, const ValueType &document, AllocatorType *allocator) | |
const SValue & | GetURI () const |
const PointerType & | GetPointer () const |
bool | BeginValue (Context &context) const |
RAPIDJSON_FORCEINLINE bool | EndValue (Context &context) const |
bool | Null (Context &context) const |
bool | Bool (Context &context, bool) const |
bool | Int (Context &context, int i) const |
bool | Uint (Context &context, unsigned u) const |
bool | Int64 (Context &context, int64_t i) const |
bool | Uint64 (Context &context, uint64_t u) const |
bool | Double (Context &context, double d) const |
bool | String (Context &context, const Ch *str, SizeType length, bool) const |
bool | StartObject (Context &context) const |
bool | Key (Context &context, const Ch *str, SizeType len, bool) const |
bool | EndObject (Context &context, SizeType memberCount) const |
bool | StartArray (Context &context) const |
bool | EndArray (Context &context, SizeType elementCount) const |
Types privés | |
enum | SchemaValueType { kNullSchemaType , kBooleanSchemaType , kObjectSchemaType , kArraySchemaType , kStringSchemaType , kNumberSchemaType , kIntegerSchemaType , kTotalSchemaType } |
typedef char | RegexType |
Fonctions membres privées | |
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) |
template<typename ValueType > | |
RegexType * | CreatePattern (const ValueType &) |
void | AddType (const ValueType &type) |
bool | CreateParallelValidator (Context &context) const |
void | CreateSchemaValidators (Context &context, const SchemaArray &schemas) const |
bool | FindPropertyIndex (const ValueType &name, SizeType *outIndex) const |
bool | CheckInt (Context &context, int64_t i) const |
bool | CheckUint (Context &context, uint64_t i) const |
bool | CheckDoubleMinimum (Context &context, double d) const |
bool | CheckDoubleMaximum (Context &context, double d) const |
bool | CheckDoubleMultipleOf (Context &context, double d) const |
void | DisallowedType (Context &context, const ValueType &actualType) const |
Fonctions membres privées statiques | |
static const ValueType * | GetMember (const ValueType &value, const ValueType &name) |
static void | AssignIfExist (bool &out, const ValueType &value, const ValueType &name) |
static void | AssignIfExist (SizeType &out, const ValueType &value, const ValueType &name) |
static bool | IsPatternMatch (const RegexType *, const Ch *, SizeType) |
Attributs privés | |
AllocatorType * | allocator_ |
SValue | uri_ |
PointerType | pointer_ |
const SchemaType * | typeless_ |
uint64_t * | enum_ |
SizeType | enumCount_ |
SchemaArray | allOf_ |
SchemaArray | anyOf_ |
SchemaArray | oneOf_ |
const SchemaType * | not_ |
unsigned | type_ |
SizeType | validatorCount_ |
SizeType | notValidatorIndex_ |
Property * | properties_ |
const SchemaType * | additionalPropertiesSchema_ |
PatternProperty * | patternProperties_ |
SizeType | patternPropertyCount_ |
SizeType | propertyCount_ |
SizeType | minProperties_ |
SizeType | maxProperties_ |
bool | additionalProperties_ |
bool | hasDependencies_ |
bool | hasRequired_ |
bool | hasSchemaDependencies_ |
const SchemaType * | additionalItemsSchema_ |
const SchemaType * | itemsList_ |
const SchemaType ** | itemsTuple_ |
SizeType | itemsTupleCount_ |
SizeType | minItems_ |
SizeType | maxItems_ |
bool | additionalItems_ |
bool | uniqueItems_ |
RegexType * | pattern_ |
SizeType | minLength_ |
SizeType | maxLength_ |
SValue | minimum_ |
SValue | maximum_ |
SValue | multipleOf_ |
bool | exclusiveMinimum_ |
bool | exclusiveMaximum_ |
SizeType | defaultValueLength_ |
Amis | |
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 |
|
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 |
|
inlineprivate |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlinestaticprivate |
|
inline |
|
inline |
|
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 |
|
private |
|
private |
|
private |