bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
AdHocSubProcess.cpp
Go to the documentation of this file.
1#include "AdHocSubProcess.h"
2#include "Scope.h"
3#include "FlowNode.h"
4#include "EventSubProcess.h"
5#include "SequenceFlow.h"
6
7using namespace BPMN;
8
10 : Node(adHocSubProcess)
11 , FlowNode(adHocSubProcess,parent)
12 , Activity(adHocSubProcess,parent)
13 , Scope(adHocSubProcess)
14 , isSequential(false)
15 , element(adHocSubProcess)
16{
17 if ( adHocSubProcess->ordering.has_value() ) {
18 isSequential = ( adHocSubProcess->ordering.value().get().value.value == "Sequential" );
19 }
20}
21
AdHocSubProcess(XML::bpmn::tAdHocSubProcess *adHocSubProcess, Scope *parent)
Base class for BPMN elements that may contain incoming and outgoing sequence flows.
Definition FlowNode.h:20
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 > > ordering
Attribute value can be expected to be of type 'std::string'.
The BPMN namespace contains linked classes representing a BPMN model.