1 #ifndef XML_bpmn_tDefinitions_H
2 #define XML_bpmn_tDefinitions_H
7 #include "../XMLObject.h"
12 #include "BPMNDiagram.h"
53 static bool registerClass() {
54 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tDefinitions"] = &createInstance<tDefinitions>;
57 inline static bool registered = registerClass();
64 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"expressionLanguage", .value =
Value(std::string(
"http://www.w3.org/1999/XPath"))},
65 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"typeLanguage", .
value =
Value(std::string(
"http://www.w3.org/2001/XMLSchema"))}
68 std::vector< std::reference_wrapper<tImport> >
import;
69 std::vector< std::reference_wrapper<tExtension> >
extension;
70 std::vector< std::reference_wrapper<tRootElement> >
rootElement;
71 std::vector< std::reference_wrapper<tProcess> >
process;
74 std::optional< std::reference_wrapper<Attribute> >
id;
75 std::optional< std::reference_wrapper<Attribute> >
name;
79 std::optional< std::reference_wrapper<Attribute> >
exporter;
A class representing a node in an XML-tree.
const ClassName className
std::optional< std::reference_wrapper< Attribute > > exporter
Attribute value can be expected to be of type 'std::string'.
std::vector< std::reference_wrapper< tExtension > > extension
std::optional< std::reference_wrapper< Attribute > > name
Attribute value can be expected to be of type 'std::string'.
std::vector< std::reference_wrapper< tRootElement > > rootElement
std::vector< std::reference_wrapper< tProcess > > process
std::vector< std::reference_wrapper< tRelationship > > relationship
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::optional< std::reference_wrapper< Attribute > > id
Attribute value can be expected to be of type 'std::string'.
Attribute & targetNamespace
Attribute value can be expected to be of type 'std::string'.
tDefinitions(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
std::vector< std::reference_wrapper< BPMNDiagram > > bpmndi_BPMNDiagram
std::optional< std::reference_wrapper< Attribute > > exporterVersion
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > expressionLanguage
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > typeLanguage
Attribute value can be expected to be of type 'std::string'.
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 an attribute of an XML-node.
A struct representing the value of an XML-node attribute.