cphot 0.1
A C++ tool for computing photometry from spectra.
internal::SchemaValidationContext< SchemaDocumentType > Struct Template Reference

#include <schema.h>

Public Types

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

Public Member Functions

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

Public Attributes

SchemaValidatorFactoryTypefactory
 
const SchemaTypeschema
 
const SchemaTypevalueSchema
 
const ChinvalidKeyword
 
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 261 of file schema.h.

Member Typedef Documentation

◆ Ch

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

Definition at line 265 of file schema.h.

◆ SchemaType

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

Definition at line 262 of file schema.h.

◆ SchemaValidatorFactoryType

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

Definition at line 263 of file schema.h.

◆ ValueType

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

Definition at line 264 of file schema.h.

Member Enumeration Documentation

◆ PatternValidatorType

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

Definition at line 267 of file schema.h.

Constructor & Destructor Documentation

◆ SchemaValidationContext()

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

Definition at line 273 of file schema.h.

◆ ~SchemaValidationContext()

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

Definition at line 294 of file schema.h.

Member Data Documentation

◆ arrayElementHashCodes

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

Definition at line 318 of file schema.h.

◆ arrayElementIndex

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

Definition at line 327 of file schema.h.

◆ arrayUniqueness

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

Definition at line 331 of file schema.h.

◆ factory

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

Definition at line 313 of file schema.h.

◆ hasher

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

Definition at line 317 of file schema.h.

◆ inArray

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

Definition at line 329 of file schema.h.

◆ invalidKeyword

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

Definition at line 316 of file schema.h.

◆ objectPatternValidatorType

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

Definition at line 326 of file schema.h.

◆ patternPropertiesSchemaCount

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

Definition at line 324 of file schema.h.

◆ patternPropertiesSchemas

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

Definition at line 323 of file schema.h.

◆ patternPropertiesValidatorCount

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

Definition at line 322 of file schema.h.

◆ patternPropertiesValidators

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

Definition at line 321 of file schema.h.

◆ propertyExist

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

Definition at line 328 of file schema.h.

◆ schema

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

Definition at line 314 of file schema.h.

◆ validatorCount

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

Definition at line 320 of file schema.h.

◆ validators

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

Definition at line 319 of file schema.h.

◆ valuePatternValidatorType

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

Definition at line 325 of file schema.h.

◆ valueSchema

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

Definition at line 315 of file schema.h.

◆ valueUniqueness

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

Definition at line 330 of file schema.h.


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