1#ifndef XML_bpmn_tItemDefinition_H
2#define XML_bpmn_tItemDefinition_H
37 static bool registerClass() {
41 inline static bool registered = registerClass();
48 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"isCollection", .value =
Value(std::string(
"false"))},
49 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"itemKind", .value =
Value(std::string(
"Information"))}
54 std::optional< std::reference_wrapper<Attribute> >
itemKind;
const ClassName className
XMLObject(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
friend XMLObject * XML::createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
std::optional< std::reference_wrapper< Attribute > > isCollection
Attribute value can be expected to be of type 'bool'.
std::optional< std::reference_wrapper< Attribute > > itemKind
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > structureRef
Attribute value can be expected to be of type 'std::string'.
static const Attributes defaults
default attributes to be used if they are not explicitly provided
tItemDefinition(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
tRootElement(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.