Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
internal::SchemaValidationContext< SchemaDocumentType > Struct Template Reference

#include <schema.h>

+ Collaboration diagram for internal::SchemaValidationContext< SchemaDocumentType >:

Public Types

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

Public Member Functions

 SchemaValidationContext (SchemaValidatorFactoryType &f, ErrorHandlerType &eh, const SchemaType *s)
 
 ~SchemaValidationContext ()
 

Public Attributes

SchemaValidatorFactoryTypefactory
 
ErrorHandlerTypeerror_handler
 
const SchemaTypeschema
 
const SchemaTypevalueSchema
 
const ChinvalidKeyword
 
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
 

Member Typedef Documentation

◆ Ch

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

◆ ErrorHandlerType

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

◆ SchemaType

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

◆ SchemaValidatorFactoryType

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

◆ ValueType

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

Member Enumeration Documentation

◆ PatternValidatorType

template<typename SchemaDocumentType >
enum internal::SchemaValidationContext::PatternValidatorType
Enumerator
kPatternValidatorOnly 
kPatternValidatorWithProperty 
kPatternValidatorWithAdditionalProperty 

Constructor & Destructor Documentation

◆ SchemaValidationContext()

template<typename SchemaDocumentType >
internal::SchemaValidationContext< SchemaDocumentType >::SchemaValidationContext ( SchemaValidatorFactoryType f,
ErrorHandlerType eh,
const SchemaType s 
)
inline

◆ ~SchemaValidationContext()

template<typename SchemaDocumentType >
internal::SchemaValidationContext< SchemaDocumentType >::~SchemaValidationContext ( )
inline
+ Here is the call graph for this function:

Member Data Documentation

◆ arrayElementHashCodes

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

◆ arrayElementIndex

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

◆ arrayUniqueness

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

◆ error_handler

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

◆ factory

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

◆ hasher

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

◆ inArray

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

◆ invalidCode

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

◆ invalidKeyword

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

◆ objectPatternValidatorType

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

◆ patternPropertiesSchemaCount

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

◆ patternPropertiesSchemas

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

◆ patternPropertiesValidatorCount

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

◆ patternPropertiesValidators

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

◆ propertyExist

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

◆ schema

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

◆ validatorCount

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

◆ validators

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

◆ valuePatternValidatorType

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

◆ valueSchema

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

◆ valueUniqueness

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

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