1 #ifndef XML_bpmn_tSubProcess_H
2 #define XML_bpmn_tSubProcess_H
7 #include "../XMLObject.h"
58 static bool registerClass() {
59 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tSubProcess"] = &createInstance<tSubProcess>;
62 inline static bool registered = registerClass();
69 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"triggeredByEvent", .value =
Value(std::string(
"false"))},
70 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"isForCompensation", .
value =
Value(std::string(
"false"))},
71 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"startQuantity", .
value =
Value(std::string(
"1"))},
72 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"completionQuantity", .
value =
Value(std::string(
"1"))}
75 std::vector< std::reference_wrapper<tLaneSet> >
laneSet;
76 std::vector< std::reference_wrapper<tFlowElement> >
flowElement;
77 std::vector< std::reference_wrapper<tArtifact> >
artifact;
A class representing a node in an XML-tree.
const ClassName className
std::vector< std::reference_wrapper< tArtifact > > artifact
std::vector< std::reference_wrapper< tLaneSet > > laneSet
std::vector< std::reference_wrapper< tFlowElement > > flowElement
std::optional< std::reference_wrapper< Attribute > > triggeredByEvent
Attribute value can be expected to be of type 'bool'.
static const Attributes defaults
default attributes to be used if they are not explicitly provided
The XML::bpmn namespace contains classes from the following XML-schema(s): xsd/DC....
std::vector< Attribute > Attributes
XMLObject * createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
Template function used to store in factory.
A struct representing the value of an XML-node attribute.