bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
FlowNode.cpp
Go to the documentation of this file.
1#include "FlowNode.h"
4
5using namespace BPMN;
6
8 : Node(flowNode)
9 , ChildNode(flowNode,parent)
10 , element(flowNode)
11{
12 if ( flowNode->name.has_value() ) {
13 name = flowNode->name.value().get().value;
14 }
15}
Base class for BPMN elements within a Scope.
Definition ChildNode.h:16
std::optional< std::string > name
Definition FlowNode.h:26
FlowNode(XML::bpmn::tFlowNode *flowNode, Scope *parent)
Definition FlowNode.cpp:7
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
std::optional< std::reference_wrapper< Attribute > > name
Attribute value can be expected to be of type 'std::string'.
The BPMN namespace contains linked classes representing a BPMN model.