|
BPMN-OS
BPMN for optimization and simulation
|
Definition at line 17 of file Restriction.h.
#include <Restriction.h>
Public Types | |
| enum class | Scope { ENTRY , EXIT , FULL } |
Public Member Functions | |
| Restriction (XML::bpmnos::tRestriction *restriction, const AttributeRegistry &attributeRegistry) | |
| template<typename DataType > | |
| bool | isSatisfied (const BPMNOS::Values &status, const DataType &data, const BPMNOS::Values &globals) const |
| Check if the restriction is satisfied using an expression applied on status and data attribute values. | |
Public Attributes | |
| XML::bpmnos::tRestriction * | element |
| std::string & | id |
| const Expression | expression |
| Scope | scope |
|
strong |
| Enumerator | |
|---|---|
| ENTRY | |
| EXIT | |
| FULL | |
Definition at line 25 of file Restriction.h.
| Restriction::Restriction | ( | XML::bpmnos::tRestriction * | restriction, |
| const AttributeRegistry & | attributeRegistry ) |
Definition at line 5 of file Restriction.cpp.
| bool Restriction::isSatisfied | ( | const BPMNOS::Values & | status, |
| const DataType & | data, | ||
| const BPMNOS::Values & | globals ) const |
This function checks whether the given restriction is satisfied based on the provided status and data attribute values.
true if the restriction is satisfied, false otherwise. Definition at line 22 of file Restriction.cpp.
| XML::bpmnos::tRestriction* BPMNOS::Model::Restriction::element |
Definition at line 20 of file Restriction.h.
| const Expression BPMNOS::Model::Restriction::expression |
Definition at line 23 of file Restriction.h.
| std::string& BPMNOS::Model::Restriction::id |
Definition at line 22 of file Restriction.h.
| Scope BPMNOS::Model::Restriction::scope |
Definition at line 26 of file Restriction.h.