16 for (
auto& sibling :
parent->flowNodes ) {
17 if ( sibling->id == reference ) {
23 throw std::runtime_error(
"BoundaryEvent: cannot resolve reference '" + reference +
"' for boundary event '" +
id +
"'");
std::vector< BoundaryEvent * > boundaryEvents
T * get()
Casts the element to the specified type T.
Activity * resolveReference()
BoundaryEvent(XML::bpmn::tBoundaryEvent *boundaryEvent, Scope *parent)
CatchEvent(XML::bpmn::tCatchEvent *catchEvent, Scope *parent)
XML::bpmn::tCatchEvent * element
Scope * parent
Reference to the parent node.
T * as()
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.
The BPMN namespace contains linked classes representing a BPMN model.
The XML namespace contains classes representing XML-nodes defined in given XML-schema(s).