11 , compensatedBy(nullptr)
12 , isForCompensation(activity->isForCompensation.has_value() && activity->isForCompensation.value().get().value)
16 if ( !marker.empty() ) {
21 if ( multiInstanceMarker->isSequential.has_value() &&
22 (bool)multiInstanceMarker->isSequential.value().get().value
31 throw std::logic_error(
"Activity: Failed determining loop characteristics for activity '" + activity->
id.value().get().value.value +
"'");
Activity(XML::bpmn::tActivity *activity, Scope *parent)
std::optional< LoopCharacteristics > loopCharacteristics
@ MultiInstanceSequential
T * get()
Casts the element to the specified type T.
Base class for BPMN elements that may contain incoming and outgoing sequence flows.
Base class for all nodes in a BPMN model.
Base class for BPMN elements that may contain a ChildNode elements.
std::vector< std::reference_wrapper< T > > getChildren()
Get all children of type T.
std::optional< std::reference_wrapper< Attribute > > id
Attribute value can be expected to be of type 'std::string'.
The BPMN namespace contains linked classes representing a BPMN model.