1 #ifndef XML_bpmn_tAdHocSubProcess_H
2 #define XML_bpmn_tAdHocSubProcess_H
7 #include "../XMLObject.h"
59 static bool registerClass() {
60 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tAdHocSubProcess"] = &createInstance<tAdHocSubProcess>;
63 inline static bool registered = registerClass();
70 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"cancelRemainingInstances", .value =
Value(std::string(
"true"))},
71 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"triggeredByEvent", .
value =
Value(std::string(
"false"))},
72 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"isForCompensation", .
value =
Value(std::string(
"false"))},
73 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"startQuantity", .
value =
Value(std::string(
"1"))},
74 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"completionQuantity", .
value =
Value(std::string(
"1"))}
79 std::optional< std::reference_wrapper<Attribute> >
ordering;
A class representing a node in an XML-tree.
const ClassName className
static const Attributes defaults
default attributes to be used if they are not explicitly provided
tAdHocSubProcess(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
std::optional< std::reference_wrapper< Attribute > > cancelRemainingInstances
Attribute value can be expected to be of type 'bool'.
std::optional< std::reference_wrapper< Attribute > > ordering
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< tExpression > > completionCondition
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.
std::string tAdHocOrdering