Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
internal::IValidationErrorHandler< SchemaType > Class Template Referenceabstract

#include <schema.h>

Public Types

typedef SchemaType::Ch Ch
 
typedef SchemaType::SValue SValue
 

Public Member Functions

virtual ~IValidationErrorHandler ()
 
virtual void NotMultipleOf (int64_t actual, const SValue &expected)=0
 
virtual void NotMultipleOf (uint64_t actual, const SValue &expected)=0
 
virtual void NotMultipleOf (double actual, const SValue &expected)=0
 
virtual void AboveMaximum (int64_t actual, const SValue &expected, bool exclusive)=0
 
virtual void AboveMaximum (uint64_t actual, const SValue &expected, bool exclusive)=0
 
virtual void AboveMaximum (double actual, const SValue &expected, bool exclusive)=0
 
virtual void BelowMinimum (int64_t actual, const SValue &expected, bool exclusive)=0
 
virtual void BelowMinimum (uint64_t actual, const SValue &expected, bool exclusive)=0
 
virtual void BelowMinimum (double actual, const SValue &expected, bool exclusive)=0
 
virtual void TooLong (const Ch *str, SizeType length, SizeType expected)=0
 
virtual void TooShort (const Ch *str, SizeType length, SizeType expected)=0
 
virtual void DoesNotMatch (const Ch *str, SizeType length)=0
 
virtual void DisallowedItem (SizeType index)=0
 
virtual void TooFewItems (SizeType actualCount, SizeType expectedCount)=0
 
virtual void TooManyItems (SizeType actualCount, SizeType expectedCount)=0
 
virtual void DuplicateItems (SizeType index1, SizeType index2)=0
 
virtual void TooManyProperties (SizeType actualCount, SizeType expectedCount)=0
 
virtual void TooFewProperties (SizeType actualCount, SizeType expectedCount)=0
 
virtual void StartMissingProperties ()=0
 
virtual void AddMissingProperty (const SValue &name)=0
 
virtual bool EndMissingProperties ()=0
 
virtual void PropertyViolations (ISchemaValidator **subvalidators, SizeType count)=0
 
virtual void DisallowedProperty (const Ch *name, SizeType length)=0
 
virtual void StartDependencyErrors ()=0
 
virtual void StartMissingDependentProperties ()=0
 
virtual void AddMissingDependentProperty (const SValue &targetName)=0
 
virtual void EndMissingDependentProperties (const SValue &sourceName)=0
 
virtual void AddDependencySchemaError (const SValue &souceName, ISchemaValidator *subvalidator)=0
 
virtual bool EndDependencyErrors ()=0
 
virtual void DisallowedValue ()=0
 
virtual void StartDisallowedType ()=0
 
virtual void AddExpectedType (const typename SchemaType::ValueType &expectedType)=0
 
virtual void EndDisallowedType (const typename SchemaType::ValueType &actualType)=0
 
virtual void NotAllOf (ISchemaValidator **subvalidators, SizeType count)=0
 
virtual void NoneOf (ISchemaValidator **subvalidators, SizeType count)=0
 
virtual void NotOneOf (ISchemaValidator **subvalidators, SizeType count)=0
 
virtual void Disallowed ()=0
 

Detailed Description

template<typename SchemaType>
class internal::IValidationErrorHandler< SchemaType >

Definition at line 163 of file schema.h.

Member Typedef Documentation

◆ Ch

template<typename SchemaType >
SchemaType::Ch internal::IValidationErrorHandler< SchemaType >::Ch

Definition at line 165 of file schema.h.

◆ SValue

template<typename SchemaType >
SchemaType::SValue internal::IValidationErrorHandler< SchemaType >::SValue

Definition at line 166 of file schema.h.

Constructor & Destructor Documentation

◆ ~IValidationErrorHandler()

template<typename SchemaType >
virtual internal::IValidationErrorHandler< SchemaType >::~IValidationErrorHandler ( )
inlinevirtual

Definition at line 168 of file schema.h.

168{}

Member Function Documentation

◆ AboveMaximum() [1/3]

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::AboveMaximum ( double actual,
const SValue & expected,
bool exclusive )
pure virtual

◆ AboveMaximum() [2/3]

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::AboveMaximum ( int64_t actual,
const SValue & expected,
bool exclusive )
pure virtual

◆ AboveMaximum() [3/3]

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::AboveMaximum ( uint64_t actual,
const SValue & expected,
bool exclusive )
pure virtual

◆ AddDependencySchemaError()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::AddDependencySchemaError ( const SValue & souceName,
ISchemaValidator * subvalidator )
pure virtual

◆ AddExpectedType()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::AddExpectedType ( const typename SchemaType::ValueType & expectedType)
pure virtual

◆ AddMissingDependentProperty()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::AddMissingDependentProperty ( const SValue & targetName)
pure virtual

◆ AddMissingProperty()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::AddMissingProperty ( const SValue & name)
pure virtual

◆ BelowMinimum() [1/3]

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::BelowMinimum ( double actual,
const SValue & expected,
bool exclusive )
pure virtual

◆ BelowMinimum() [2/3]

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::BelowMinimum ( int64_t actual,
const SValue & expected,
bool exclusive )
pure virtual

◆ BelowMinimum() [3/3]

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::BelowMinimum ( uint64_t actual,
const SValue & expected,
bool exclusive )
pure virtual

◆ Disallowed()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::Disallowed ( )
pure virtual

◆ DisallowedItem()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::DisallowedItem ( SizeType index)
pure virtual

◆ DisallowedProperty()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::DisallowedProperty ( const Ch * name,
SizeType length )
pure virtual

◆ DisallowedValue()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::DisallowedValue ( )
pure virtual

◆ DoesNotMatch()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::DoesNotMatch ( const Ch * str,
SizeType length )
pure virtual

◆ DuplicateItems()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::DuplicateItems ( SizeType index1,
SizeType index2 )
pure virtual

◆ EndDependencyErrors()

template<typename SchemaType >
virtual bool internal::IValidationErrorHandler< SchemaType >::EndDependencyErrors ( )
pure virtual

◆ EndDisallowedType()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::EndDisallowedType ( const typename SchemaType::ValueType & actualType)
pure virtual

◆ EndMissingDependentProperties()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::EndMissingDependentProperties ( const SValue & sourceName)
pure virtual

◆ EndMissingProperties()

template<typename SchemaType >
virtual bool internal::IValidationErrorHandler< SchemaType >::EndMissingProperties ( )
pure virtual

◆ NoneOf()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::NoneOf ( ISchemaValidator ** subvalidators,
SizeType count )
pure virtual

◆ NotAllOf()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::NotAllOf ( ISchemaValidator ** subvalidators,
SizeType count )
pure virtual

◆ NotMultipleOf() [1/3]

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::NotMultipleOf ( double actual,
const SValue & expected )
pure virtual

◆ NotMultipleOf() [2/3]

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::NotMultipleOf ( int64_t actual,
const SValue & expected )
pure virtual

◆ NotMultipleOf() [3/3]

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::NotMultipleOf ( uint64_t actual,
const SValue & expected )
pure virtual

◆ NotOneOf()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::NotOneOf ( ISchemaValidator ** subvalidators,
SizeType count )
pure virtual

◆ PropertyViolations()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::PropertyViolations ( ISchemaValidator ** subvalidators,
SizeType count )
pure virtual

◆ StartDependencyErrors()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::StartDependencyErrors ( )
pure virtual

◆ StartDisallowedType()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::StartDisallowedType ( )
pure virtual

◆ StartMissingDependentProperties()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::StartMissingDependentProperties ( )
pure virtual

◆ StartMissingProperties()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::StartMissingProperties ( )
pure virtual

◆ TooFewItems()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooFewItems ( SizeType actualCount,
SizeType expectedCount )
pure virtual

◆ TooFewProperties()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooFewProperties ( SizeType actualCount,
SizeType expectedCount )
pure virtual

◆ TooLong()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooLong ( const Ch * str,
SizeType length,
SizeType expected )
pure virtual

◆ TooManyItems()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooManyItems ( SizeType actualCount,
SizeType expectedCount )
pure virtual

◆ TooManyProperties()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooManyProperties ( SizeType actualCount,
SizeType expectedCount )
pure virtual

◆ TooShort()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooShort ( const Ch * str,
SizeType length,
SizeType expected )
pure virtual

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