IN2OSM  1.0.1
IValidationErrorHandler< SchemaType >abstract

#include <schema.h>

Collaboration diagram for IValidationErrorHandler< SchemaType >:
Collaboration graph

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

typedef SchemaType::Ch Ch

Definition at line 165 of file schema.h.

◆ SValue

typedef SchemaType::SValue SValue

Definition at line 166 of file schema.h.

Constructor & Destructor Documentation

◆ ~IValidationErrorHandler()

virtual ~IValidationErrorHandler ( )
inlinevirtual

Definition at line 168 of file schema.h.

168 {}

Member Function Documentation

◆ AboveMaximum() [1/3]

virtual void AboveMaximum ( int64_t  actual,
const SValue expected,
bool  exclusive 
)
pure virtual
Here is the caller graph for this function:

◆ AboveMaximum() [2/3]

virtual void AboveMaximum ( uint64_t  actual,
const SValue expected,
bool  exclusive 
)
pure virtual

◆ AboveMaximum() [3/3]

virtual void AboveMaximum ( double  actual,
const SValue expected,
bool  exclusive 
)
pure virtual

◆ AddDependencySchemaError()

virtual void AddDependencySchemaError ( const SValue souceName,
ISchemaValidator subvalidator 
)
pure virtual
Here is the caller graph for this function:

◆ AddExpectedType()

virtual void AddExpectedType ( const typename SchemaType::ValueType &  expectedType)
pure virtual
Here is the caller graph for this function:

◆ AddMissingDependentProperty()

virtual void AddMissingDependentProperty ( const SValue targetName)
pure virtual
Here is the caller graph for this function:

◆ AddMissingProperty()

virtual void AddMissingProperty ( const SValue name)
pure virtual
Here is the caller graph for this function:

◆ BelowMinimum() [1/3]

virtual void BelowMinimum ( int64_t  actual,
const SValue expected,
bool  exclusive 
)
pure virtual
Here is the caller graph for this function:

◆ BelowMinimum() [2/3]

virtual void BelowMinimum ( uint64_t  actual,
const SValue expected,
bool  exclusive 
)
pure virtual

◆ BelowMinimum() [3/3]

virtual void BelowMinimum ( double  actual,
const SValue expected,
bool  exclusive 
)
pure virtual

◆ Disallowed()

virtual void Disallowed ( )
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ DisallowedItem()

virtual void DisallowedItem ( SizeType  index)
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ DisallowedProperty()

virtual void DisallowedProperty ( const Ch name,
SizeType  length 
)
pure virtual
Here is the caller graph for this function:

◆ DisallowedValue()

virtual void DisallowedValue ( )
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ DoesNotMatch()

virtual void DoesNotMatch ( const Ch str,
SizeType  length 
)
pure virtual
Here is the caller graph for this function:

◆ DuplicateItems()

virtual void DuplicateItems ( SizeType  index1,
SizeType  index2 
)
pure virtual

◆ EndDependencyErrors()

virtual bool EndDependencyErrors ( )
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ EndDisallowedType()

virtual void EndDisallowedType ( const typename SchemaType::ValueType &  actualType)
pure virtual
Here is the caller graph for this function:

◆ EndMissingDependentProperties()

virtual void EndMissingDependentProperties ( const SValue sourceName)
pure virtual
Here is the caller graph for this function:

◆ EndMissingProperties()

virtual bool EndMissingProperties ( )
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ NoneOf()

virtual void NoneOf ( ISchemaValidator **  subvalidators,
SizeType  count 
)
pure virtual
Here is the caller graph for this function:

◆ NotAllOf()

virtual void NotAllOf ( ISchemaValidator **  subvalidators,
SizeType  count 
)
pure virtual
Here is the caller graph for this function:

◆ NotMultipleOf() [1/3]

virtual void NotMultipleOf ( int64_t  actual,
const SValue expected 
)
pure virtual
Here is the caller graph for this function:

◆ NotMultipleOf() [2/3]

virtual void NotMultipleOf ( uint64_t  actual,
const SValue expected 
)
pure virtual

◆ NotMultipleOf() [3/3]

virtual void NotMultipleOf ( double  actual,
const SValue expected 
)
pure virtual

◆ NotOneOf()

virtual void NotOneOf ( ISchemaValidator **  subvalidators,
SizeType  count 
)
pure virtual
Here is the caller graph for this function:

◆ PropertyViolations()

virtual void PropertyViolations ( ISchemaValidator **  subvalidators,
SizeType  count 
)
pure virtual
Here is the caller graph for this function:

◆ StartDependencyErrors()

virtual void StartDependencyErrors ( )
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ StartDisallowedType()

virtual void StartDisallowedType ( )
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ StartMissingDependentProperties()

virtual void StartMissingDependentProperties ( )
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ StartMissingProperties()

virtual void StartMissingProperties ( )
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ TooFewItems()

virtual void TooFewItems ( SizeType  actualCount,
SizeType  expectedCount 
)
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ TooFewProperties()

virtual void TooFewProperties ( SizeType  actualCount,
SizeType  expectedCount 
)
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ TooLong()

virtual void TooLong ( const Ch str,
SizeType  length,
SizeType  expected 
)
pure virtual
Here is the caller graph for this function:

◆ TooManyItems()

virtual void TooManyItems ( SizeType  actualCount,
SizeType  expectedCount 
)
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ TooManyProperties()

virtual void TooManyProperties ( SizeType  actualCount,
SizeType  expectedCount 
)
pure virtual

Implemented in GenericSchemaValidator< SchemaDocumentType, OutputHandler, StateAllocator >.

Here is the caller graph for this function:

◆ TooShort()

virtual void 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: