1#ifndef XML_bpmn_tScriptTask_H
2#define XML_bpmn_tScriptTask_H
52 static bool registerClass() {
56 inline static bool registered = registerClass();
63 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"isForCompensation", .value =
Value(std::string(
"false"))},
64 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"startQuantity", .value =
Value(std::string(
"1"))},
65 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"completionQuantity", .value =
Value(std::string(
"1"))}
68 std::optional< std::reference_wrapper<tScript> >
script;
A class representing a node in an XML-tree.
const ClassName className
std::optional< std::reference_wrapper< tScript > > script
friend XMLObject * XML::createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
static const Attributes defaults
default attributes to be used if they are not explicitly provided
tScriptTask(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
std::optional< std::reference_wrapper< Attribute > > scriptFormat
Attribute value can be expected to be of type 'std::string'.
tTask(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
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.