1 #ifndef XML_bpmn_tBoundaryEvent_H
2 #define XML_bpmn_tBoundaryEvent_H
7 #include "../XMLObject.h"
46 static bool registerClass() {
47 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tBoundaryEvent"] = &createInstance<tBoundaryEvent>;
50 inline static bool registered = registerClass();
57 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"cancelActivity", .value =
Value(std::string(
"true"))},
58 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"parallelMultiple", .
value =
Value(std::string(
"false"))}
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
tBoundaryEvent(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Attribute & attachedToRef
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > cancelActivity
Attribute value can be expected to be of type 'bool'.
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 an attribute of an XML-node.
A struct representing the value of an XML-node attribute.