Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
internal::SchemaValidationContext< SchemaDocumentType > Struct Template Reference
Collaboration diagram for internal::SchemaValidationContext< SchemaDocumentType >:

Public Types

enum  PatternValidatorType { kPatternValidatorOnly , kPatternValidatorWithProperty , kPatternValidatorWithAdditionalProperty }
typedef Schema< SchemaDocumentType > SchemaType
typedef ISchemaStateFactory< SchemaType > SchemaValidatorFactoryType
typedef IValidationErrorHandler< SchemaType > ErrorHandlerType
typedef SchemaType::ValueType ValueType
typedef ValueType::Ch Ch

Public Member Functions

 SchemaValidationContext (SchemaValidatorFactoryType &f, ErrorHandlerType &eh, const SchemaType *s, unsigned fl=0)

Public Attributes

SchemaValidatorFactoryType & factory
ErrorHandlerType & error_handler
const SchemaType * schema
unsigned flags
const SchemaType * valueSchema
const Ch * invalidKeyword
ValidateErrorCode invalidCode
void * hasher
void * arrayElementHashCodes
ISchemaValidator ** validators
SizeType validatorCount
ISchemaValidator ** patternPropertiesValidators
SizeType patternPropertiesValidatorCount
const SchemaType ** patternPropertiesSchemas
SizeType patternPropertiesSchemaCount
PatternValidatorType valuePatternValidatorType
PatternValidatorType objectPatternValidatorType
SizeType arrayElementIndex
bool * propertyExist
bool inArray
bool valueUniqueness
bool arrayUniqueness

Detailed Description

template<typename SchemaDocumentType>
struct internal::SchemaValidationContext< SchemaDocumentType >

Definition at line 429 of file schema.h.

Member Typedef Documentation

◆ Ch

template<typename SchemaDocumentType>
typedef ValueType::Ch internal::SchemaValidationContext< SchemaDocumentType >::Ch

Definition at line 434 of file schema.h.

◆ ErrorHandlerType

template<typename SchemaDocumentType>
typedef IValidationErrorHandler<SchemaType> internal::SchemaValidationContext< SchemaDocumentType >::ErrorHandlerType

Definition at line 432 of file schema.h.

◆ SchemaType

template<typename SchemaDocumentType>
typedef Schema<SchemaDocumentType> internal::SchemaValidationContext< SchemaDocumentType >::SchemaType

Definition at line 430 of file schema.h.

◆ SchemaValidatorFactoryType

template<typename SchemaDocumentType>
typedef ISchemaStateFactory<SchemaType> internal::SchemaValidationContext< SchemaDocumentType >::SchemaValidatorFactoryType

Definition at line 431 of file schema.h.

◆ ValueType

template<typename SchemaDocumentType>
typedef SchemaType::ValueType internal::SchemaValidationContext< SchemaDocumentType >::ValueType

Definition at line 433 of file schema.h.

Member Enumeration Documentation

◆ PatternValidatorType

template<typename SchemaDocumentType>
enum internal::SchemaValidationContext::PatternValidatorType

Definition at line 436 of file schema.h.

Constructor & Destructor Documentation

◆ SchemaValidationContext()

template<typename SchemaDocumentType>
internal::SchemaValidationContext< SchemaDocumentType >::SchemaValidationContext ( SchemaValidatorFactoryType & f,
ErrorHandlerType & eh,
const SchemaType * s,
unsigned fl = 0 )
inline

Definition at line 442 of file schema.h.

◆ ~SchemaValidationContext()

template<typename SchemaDocumentType>
internal::SchemaValidationContext< SchemaDocumentType >::~SchemaValidationContext ( )
inline

Definition at line 466 of file schema.h.

Member Data Documentation

◆ arrayElementHashCodes

template<typename SchemaDocumentType>
void* internal::SchemaValidationContext< SchemaDocumentType >::arrayElementHashCodes

Definition at line 499 of file schema.h.

◆ arrayElementIndex

template<typename SchemaDocumentType>
SizeType internal::SchemaValidationContext< SchemaDocumentType >::arrayElementIndex

Definition at line 508 of file schema.h.

◆ arrayUniqueness

template<typename SchemaDocumentType>
bool internal::SchemaValidationContext< SchemaDocumentType >::arrayUniqueness

Definition at line 512 of file schema.h.

◆ error_handler

template<typename SchemaDocumentType>
ErrorHandlerType& internal::SchemaValidationContext< SchemaDocumentType >::error_handler

Definition at line 492 of file schema.h.

◆ factory

template<typename SchemaDocumentType>
SchemaValidatorFactoryType& internal::SchemaValidationContext< SchemaDocumentType >::factory

Definition at line 491 of file schema.h.

◆ flags

template<typename SchemaDocumentType>
unsigned internal::SchemaValidationContext< SchemaDocumentType >::flags

Definition at line 494 of file schema.h.

◆ hasher

template<typename SchemaDocumentType>
void* internal::SchemaValidationContext< SchemaDocumentType >::hasher

Definition at line 498 of file schema.h.

◆ inArray

template<typename SchemaDocumentType>
bool internal::SchemaValidationContext< SchemaDocumentType >::inArray

Definition at line 510 of file schema.h.

◆ invalidCode

template<typename SchemaDocumentType>
ValidateErrorCode internal::SchemaValidationContext< SchemaDocumentType >::invalidCode

Definition at line 497 of file schema.h.

◆ invalidKeyword

template<typename SchemaDocumentType>
const Ch* internal::SchemaValidationContext< SchemaDocumentType >::invalidKeyword

Definition at line 496 of file schema.h.

◆ objectPatternValidatorType

template<typename SchemaDocumentType>
PatternValidatorType internal::SchemaValidationContext< SchemaDocumentType >::objectPatternValidatorType

Definition at line 507 of file schema.h.

◆ patternPropertiesSchemaCount

template<typename SchemaDocumentType>
SizeType internal::SchemaValidationContext< SchemaDocumentType >::patternPropertiesSchemaCount

Definition at line 505 of file schema.h.

◆ patternPropertiesSchemas

template<typename SchemaDocumentType>
const SchemaType** internal::SchemaValidationContext< SchemaDocumentType >::patternPropertiesSchemas

Definition at line 504 of file schema.h.

◆ patternPropertiesValidatorCount

template<typename SchemaDocumentType>
SizeType internal::SchemaValidationContext< SchemaDocumentType >::patternPropertiesValidatorCount

Definition at line 503 of file schema.h.

◆ patternPropertiesValidators

template<typename SchemaDocumentType>
ISchemaValidator** internal::SchemaValidationContext< SchemaDocumentType >::patternPropertiesValidators

Definition at line 502 of file schema.h.

◆ propertyExist

template<typename SchemaDocumentType>
bool* internal::SchemaValidationContext< SchemaDocumentType >::propertyExist

Definition at line 509 of file schema.h.

◆ schema

template<typename SchemaDocumentType>
const SchemaType* internal::SchemaValidationContext< SchemaDocumentType >::schema

Definition at line 493 of file schema.h.

◆ validatorCount

template<typename SchemaDocumentType>
SizeType internal::SchemaValidationContext< SchemaDocumentType >::validatorCount

Definition at line 501 of file schema.h.

◆ validators

template<typename SchemaDocumentType>
ISchemaValidator** internal::SchemaValidationContext< SchemaDocumentType >::validators

Definition at line 500 of file schema.h.

◆ valuePatternValidatorType

template<typename SchemaDocumentType>
PatternValidatorType internal::SchemaValidationContext< SchemaDocumentType >::valuePatternValidatorType

Definition at line 506 of file schema.h.

◆ valueSchema

template<typename SchemaDocumentType>
const SchemaType* internal::SchemaValidationContext< SchemaDocumentType >::valueSchema

Definition at line 495 of file schema.h.

◆ valueUniqueness

template<typename SchemaDocumentType>
bool internal::SchemaValidationContext< SchemaDocumentType >::valueUniqueness

Definition at line 511 of file schema.h.


The documentation for this struct was generated from the following file: