ScenarioValidity.hpp
1 #pragma once
2 #include <score/command/Validity/ValidityChecker.hpp>
3 #include <score/document/DocumentContext.hpp>
4 
5 #include <score_plugin_scenario_export.h>
6 namespace Scenario
7 {
8 class ProcessModel;
9 class SCORE_PLUGIN_SCENARIO_EXPORT ScenarioValidityChecker final
10  : public score::ValidityChecker
11 {
12  SCORE_CONCRETE("f2dd8bec-a81b-4b3b-a57c-535001fde131")
13 public:
14  virtual ~ScenarioValidityChecker();
15 
16  static void checkValidity(const Scenario::ProcessModel& scenar);
17 
18 private:
19  bool validate(const score::DocumentContext& ctx) override;
20 };
21 }
The core hierarchical and temporal process of score.
Definition: ScenarioModel.hpp:37
Definition: ScenarioValidity.hpp:11
Implement validation checks on the document.
Definition: ValidityChecker.hpp:21
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: DocumentContext.hpp:18