StandardRemovalPolicy.hpp
1 #pragma once
2 #include <score/model/Identifier.hpp>
3 
4 namespace Scenario
5 {
6 class IntervalModel;
7 class EventModel;
8 class StateModel;
9 class ProcessModel;
10 class CommentBlockModel;
11 namespace StandardRemovalPolicy
12 {
13 void removeInterval(
14  Scenario::ProcessModel& scenario, const Id<IntervalModel>& intervalId);
15 
16 void removeState(Scenario::ProcessModel& scenario, StateModel& state);
17 
18 void removeComment(Scenario::ProcessModel& scenario, CommentBlockModel& cmt);
19 
20 void removeEventStatesAndIntervals(
21  Scenario::ProcessModel& scenario, const Id<EventModel>& eventId);
22 }
23 }
The core hierarchical and temporal process of score.
Definition: ScenarioModel.hpp:37
The id_base_t class.
Definition: Identifier.hpp:57
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14