ContinuityRuleValidator.h header

#include <ew/app/ContinuityRuleValidator.h>

Namespace ew::app

Functions

std::vector< TimelineConflict > ew::app::validateContinuityRules(const ew::core::Project &project, const std::vector< ew::core::ContinuityRule > &rules)

Evaluates the project's user-authored continuity rules (DESIGN 4.5 "user rules"; see ew::core::ContinuityRule) against the codex, returning a TimelineConflict for each rule that is violated, so they list in the Conflicts dock beside the built-in checks. A rule is violated when its target entity is missing, or when the entity's value for the rule's field – taken at the rule's instant via Entity::valueAt, or its base value when the rule has no instant – does not satisfy the rule's comparison (equals / not-equals) with the expected value. The conflict names the rule and the entity, and carries the entity id (in TimelineConflict::eventIds) so the dock can jump to it.