bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
LinkTargetEvent.cpp
Go to the documentation of this file.
1#include "LinkTargetEvent.h"
3
4using namespace BPMN;
5
7 : Node(catchEvent)
8 , FlowNode(catchEvent,parent)
9 , CatchEvent(catchEvent,parent)
10 , linkName (element->getRequiredChild<XML::bpmn::tLinkEventDefinition>().name.value)
11{
12 // use node name as fallback
13 if ( linkName.empty() && name.has_value() ) {
14 linkName = name.value();
15 }
16}
17
Base class for BPMN elements that may contain incoming and outgoing sequence flows.
Definition FlowNode.h:20
std::optional< std::string > name
Definition FlowNode.h:26
LinkTargetEvent(XML::bpmn::tCatchEvent *catchEvent, Scope *parent)
Base class for all nodes in a BPMN model.
Definition Node.h:24
Base class for BPMN elements that may contain a ChildNode elements.
Definition Scope.h:24
The BPMN namespace contains linked classes representing a BPMN model.
The XML namespace contains classes representing XML-nodes defined in given XML-schema(s).
Definition XMLObject.cpp:9