score::ValidityChecker Class Referenceabstract

Implement validation checks on the document. More...

Inheritance diagram for score::ValidityChecker:
score::InterfaceBase Scenario::ScenarioValidityChecker

Detailed Description

Implement validation checks on the document.

This is useful for debugging, to check that an action did not break some core invariant of the software. Such checks are called in CommandStack::updateStack.

Todo:
Do these checks when loading something.

Public Member Functions

virtual bool validate (const score::DocumentContext &)=0
 
- Public Member Functions inherited from score::InterfaceBase
virtual InterfaceKey interfaceKey () const noexcept=0
 Identifies an interface uniquely.
 

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