1 #ifndef XML_bpmn_tParticipantMultiplicity_H
2 #define XML_bpmn_tParticipantMultiplicity_H
7 #include "../XMLObject.h"
33 static bool registerClass() {
34 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tParticipantMultiplicity"] = &createInstance<tParticipantMultiplicity>;
37 inline static bool registered = registerClass();
46 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"minimum", .value =
Value(std::string(
"0"))},
47 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"maximum", .
value =
Value(std::string(
"1"))}
50 std::optional< std::reference_wrapper<Attribute> >
minimum;
51 std::optional< std::reference_wrapper<Attribute> >
maximum;
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
std::optional< std::reference_wrapper< Attribute > > minimum
Attribute value can be expected to be of type 'int'.
tParticipantMultiplicity(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
std::optional< std::reference_wrapper< Attribute > > maximum
Attribute value can be expected to be of type 'int'.
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.