bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
tSubProcess.cpp
Go to the documentation of this file.
1#include "tSubProcess.h"
2
3using namespace XML;
4using namespace XML::bpmn;
5
6tSubProcess::tSubProcess(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes) :
7 tActivity(xmlns, className, element, defaultAttributes)
11 , triggeredByEvent(getOptionalAttributeByName("triggeredByEvent"))
12{
13}
const ClassName className
Definition XMLObject.h:220
auto getChildren(this Self &&self)
Get all children of type T.
Definition XMLObject.h:283
auto getOptionalAttributeByName(this Self &&self, const AttributeName &name)
Get an optional attribute with the specified attribute name.
Definition XMLObject.h:373
Namespace xmlns
Definition XMLObject.h:219
tActivity(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Definition tActivity.cpp:6
tSubProcess(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
std::vector< std::reference_wrapper< tArtifact > > artifact
Definition tSubProcess.h:77
std::vector< std::reference_wrapper< tLaneSet > > laneSet
Definition tSubProcess.h:75
std::vector< std::reference_wrapper< tFlowElement > > flowElement
Definition tSubProcess.h:76
std::optional< std::reference_wrapper< Attribute > > triggeredByEvent
Attribute value can be expected to be of type 'bool'.
Definition tSubProcess.h:78
The XML::bpmn namespace contains classes from the following XML-schema(s): xsd/DC....
The XML namespace contains classes representing XML-nodes defined in given XML-schema(s).
Definition XMLObject.cpp:9
std::string Namespace
Definition XMLObject.h:26
std::vector< Attribute > Attributes
Definition XMLObject.h:82
std::string ClassName
Definition XMLObject.h:23