|
BPMN-OS
BPMN for optimization and simulation
|
Class representing a choice to be made within a BPMNOS::Model::DecisionTask. More...
The choice to be made may be restricted through restrictions.
#include <Choice.h>
Public Member Functions | |
| Choice (XML::bpmnos::tDecision *decision, const AttributeRegistry &attributeRegistry) | |
| template<typename DataType > | |
| std::pair< BPMNOS::number, BPMNOS::number > | getBounds (const BPMNOS::Values &status, const DataType &data, const BPMNOS::Values &globals) const |
| Returns the minimal and maximal value the attribute may take. | |
| template<typename DataType > | |
| std::vector< BPMNOS::number > | getEnumeration (const BPMNOS::Values &status, const DataType &data, const BPMNOS::Values &globals) const |
| Returns the allowed values the attribute may take. | |
Public Attributes | |
| XML::bpmnos::tDecision * | element |
| const AttributeRegistry & | attributeRegistry |
| Attribute * | attribute |
| std::pair< bool, bool > | strictness |
| std::optional< Expression > | lowerBound |
| std::optional< Expression > | upperBound |
| std::vector< Expression > | enumeration |
| std::set< const Attribute * > | dependencies |
| Choice::Choice | ( | XML::bpmnos::tDecision * | decision, |
| const AttributeRegistry & | attributeRegistry ) |
Definition at line 10 of file Choice.cpp.
| std::pair< BPMNOS::number, BPMNOS::number > Choice::getBounds | ( | const BPMNOS::Values & | status, |
| const DataType & | data, | ||
| const BPMNOS::Values & | globals ) const |
Definition at line 100 of file Choice.cpp.
| std::vector< BPMNOS::number > Choice::getEnumeration | ( | const BPMNOS::Values & | status, |
| const DataType & | data, | ||
| const BPMNOS::Values & | globals ) const |
Definition at line 125 of file Choice.cpp.
| const AttributeRegistry& BPMNOS::Model::Choice::attributeRegistry |
| std::set<const Attribute*> BPMNOS::Model::Choice::dependencies |
| XML::bpmnos::tDecision* BPMNOS::Model::Choice::element |
| std::vector< Expression > BPMNOS::Model::Choice::enumeration |
| std::optional< Expression > BPMNOS::Model::Choice::lowerBound |
| std::optional< Expression > BPMNOS::Model::Choice::upperBound |