1 #ifndef XML_bpmn_tStandardLoopCharacteristics_H
2 #define XML_bpmn_tStandardLoopCharacteristics_H
7 #include "../XMLObject.h"
37 static bool registerClass() {
38 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tStandardLoopCharacteristics"] = &createInstance<tStandardLoopCharacteristics>;
41 inline static bool registered = registerClass();
48 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"testBefore", .value =
Value(std::string(
"false"))}
52 std::optional< std::reference_wrapper<Attribute> >
testBefore;
53 std::optional< std::reference_wrapper<Attribute> >
loopMaximum;
A class representing a node in an XML-tree.
const ClassName className
std::vector< std::reference_wrapper< tExpression > > loopCondition
tStandardLoopCharacteristics(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::optional< std::reference_wrapper< Attribute > > loopMaximum
Attribute value can be expected to be of type 'int'.
std::optional< std::reference_wrapper< Attribute > > testBefore
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 the value of an XML-node attribute.