|
BPMN-OS
BPMN for optimization and simulation
|
Class holding extension elements representing conditions for sequence flows and conditional events. More...
Definition at line 18 of file Conditions.h.
#include <Conditions.h>
Public Member Functions | |
| Conditions (XML::bpmn::tBaseElement *baseElement, BPMN::Scope *parent) | |
| template<typename DataType > | |
| bool | conditionsSatisfied (const BPMNOS::Values &status, const DataType &data, const BPMNOS::Values &globals) const |
Public Member Functions inherited from BPMN::ExtensionElements | |
| ExtensionElements (XML::bpmn::tBaseElement *element) | |
| template<class C , class T > | |
| std::vector< std::reference_wrapper< T > > | get () |
| Returns a vector of elements of type T embedded within a container of type T. | |
| template<class C , class T > | |
| std::vector< std::reference_wrapper< const T > > | get () const |
| Returns a vector of elements of type T embedded within a container of type T. | |
Public Member Functions inherited from BPMN::Element | |
| virtual | ~Element ()=default |
| template<typename T > | |
| T * | represents () |
| Attempts to cast the element to the specified type T. | |
| template<typename T > | |
| const T * | represents () const |
| Attempts to cast the element to the specified type T. | |
| template<typename T > | |
| T * | as () |
| Casts the element to the specified type T. | |
| template<typename T > | |
| const T * | as () const |
| Casts the element to the specified type T. | |
Public Attributes | |
| const BPMN::Scope * | parent |
| std::vector< std::unique_ptr< Restriction > > | conditions |
| std::set< const Attribute * > | dataDependencies |
| Set containing all attributes used in any of the conditions. | |
Public Attributes inherited from BPMN::ExtensionElements | |
| XML::bpmn::tExtensionElements * | element |
| BaseElement * | baseElement |
| Reference to the base element the extension elements are bound to. | |
| Conditions::Conditions | ( | XML::bpmn::tBaseElement * | baseElement, |
| BPMN::Scope * | parent ) |
Definition at line 8 of file Conditions.cpp.
| bool Conditions::conditionsSatisfied | ( | const BPMNOS::Values & | status, |
| const DataType & | data, | ||
| const BPMNOS::Values & | globals ) const |
Definition at line 32 of file Conditions.cpp.
| std::vector< std::unique_ptr<Restriction> > BPMNOS::Model::Conditions::conditions |
Definition at line 22 of file Conditions.h.
| std::set<const Attribute*> BPMNOS::Model::Conditions::dataDependencies |
Definition at line 23 of file Conditions.h.
| const BPMN::Scope* BPMNOS::Model::Conditions::parent |
Definition at line 21 of file Conditions.h.