Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
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 (const ValidateErrorCode code)=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, bool matched)=0
 
virtual void Disallowed ()=0
 

Member Typedef Documentation

◆ Ch

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

◆ SValue

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

Constructor & Destructor Documentation

◆ ~IValidationErrorHandler()

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

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
+ Here is the caller graph for this function:

◆ 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
+ Here is the caller graph for this function:

◆ AddMissingProperty()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::AddMissingProperty ( const SValue name)
pure virtual
+ Here is the caller graph for this function:

◆ 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
+ Here is the caller graph for this function:

◆ DisallowedItem()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::DisallowedItem ( SizeType  index)
pure virtual
+ Here is the caller graph for this function:

◆ DisallowedProperty()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::DisallowedProperty ( const Ch name,
SizeType  length 
)
pure virtual
+ Here is the caller graph for this function:

◆ DisallowedValue()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::DisallowedValue ( const ValidateErrorCode  code)
pure virtual
+ Here is the caller graph for this function:

◆ DoesNotMatch()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::DoesNotMatch ( const Ch str,
SizeType  length 
)
pure virtual
+ Here is the caller graph for this function:

◆ 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
+ Here is the caller graph for this function:

◆ 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
+ Here is the caller graph for this function:

◆ EndMissingProperties()

template<typename SchemaType >
virtual bool internal::IValidationErrorHandler< SchemaType >::EndMissingProperties ( )
pure virtual
+ Here is the caller graph for this function:

◆ NoneOf()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::NoneOf ( ISchemaValidator **  subvalidators,
SizeType  count 
)
pure virtual
+ Here is the caller graph for this function:

◆ NotAllOf()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::NotAllOf ( ISchemaValidator **  subvalidators,
SizeType  count 
)
pure virtual
+ Here is the caller graph for this function:

◆ 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,
bool  matched 
)
pure virtual
+ Here is the caller graph for this function:

◆ PropertyViolations()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::PropertyViolations ( ISchemaValidator **  subvalidators,
SizeType  count 
)
pure virtual
+ Here is the caller graph for this function:

◆ StartDependencyErrors()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::StartDependencyErrors ( )
pure virtual
+ Here is the caller graph for this function:

◆ StartDisallowedType()

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

◆ StartMissingDependentProperties()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::StartMissingDependentProperties ( )
pure virtual
+ Here is the caller graph for this function:

◆ StartMissingProperties()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::StartMissingProperties ( )
pure virtual
+ Here is the caller graph for this function:

◆ TooFewItems()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooFewItems ( SizeType  actualCount,
SizeType  expectedCount 
)
pure virtual
+ Here is the caller graph for this function:

◆ TooFewProperties()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooFewProperties ( SizeType  actualCount,
SizeType  expectedCount 
)
pure virtual
+ Here is the caller graph for this function:

◆ TooLong()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooLong ( const Ch str,
SizeType  length,
SizeType  expected 
)
pure virtual
+ Here is the caller graph for this function:

◆ TooManyItems()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooManyItems ( SizeType  actualCount,
SizeType  expectedCount 
)
pure virtual
+ Here is the caller graph for this function:

◆ TooManyProperties()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooManyProperties ( SizeType  actualCount,
SizeType  expectedCount 
)
pure virtual
+ Here is the caller graph for this function:

◆ TooShort()

template<typename SchemaType >
virtual void internal::IValidationErrorHandler< SchemaType >::TooShort ( const Ch str,
SizeType  length,
SizeType  expected 
)
pure virtual
+ Here is the caller graph for this function:

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