1#ifndef BPMNOS_Model_Choice_H
2#define BPMNOS_Model_Choice_H
33 template <
typename DataType>
36 template <
typename DataType>
Class representing a choice to be made within a BPMNOS::Model::DecisionTask.
std::optional< Expression > upperBound
std::set< const Attribute * > dependencies
Choice(XML::bpmnos::tDecision *decision, const AttributeRegistry &attributeRegistry)
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.
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.
XML::bpmnos::tDecision * element
const AttributeRegistry & attributeRegistry
std::optional< Expression > lowerBound
std::vector< Expression > enumeration
std::pair< bool, bool > strictness