Public Types | Public Member Functions | List of all members
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

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

Definition at line 165 of file schema.h.

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

Definition at line 166 of file schema.h.

Constructor & Destructor Documentation

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

Definition at line 168 of file schema.h.

168 {}

Member Function Documentation

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