1#ifndef XML_bpmnos_tAttribute_H
2#define XML_bpmnos_tAttribute_H
37 static bool registerClass() {
41 inline static bool registered = registerClass();
55 std::optional< std::reference_wrapper<Attribute> >
objective;
56 std::optional< std::reference_wrapper<Attribute> >
weight;
A class representing a node in an XML-tree.
const ClassName className
Attribute & name
Attribute value can be expected to be of type 'std::string'.
friend XMLObject * XML::createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
Attribute & type
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > weight
Attribute value can be expected to be of type 'double'.
tAttribute(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
Attribute & id
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > objective
Attribute value can be expected to be of type 'std::string'.
The XML::bpmnos namespace contains classes from the following XML-schema(s): xsd/BPMNOS....
XMLObject * createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
Template function used to store in factory.
std::vector< Attribute > Attributes
A struct representing an attribute of an XML-node.
std::string tAttributeType
std::string tObjectiveType