1 #ifndef XML_bpmn_tDataStore_H
2 #define XML_bpmn_tDataStore_H
7 #include "../XMLObject.h"
39 static bool registerClass() {
40 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tDataStore"] = &createInstance<tDataStore>;
43 inline static bool registered = registerClass();
50 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"isUnlimited", .value =
Value(std::string(
"true"))}
53 std::optional< std::reference_wrapper<tDataState> >
dataState;
54 std::optional< std::reference_wrapper<Attribute> >
name;
55 std::optional< std::reference_wrapper<Attribute> >
capacity;
56 std::optional< std::reference_wrapper<Attribute> >
isUnlimited;
A class representing a node in an XML-tree.
const ClassName className
std::optional< std::reference_wrapper< Attribute > > isUnlimited
Attribute value can be expected to be of type 'bool'.
std::optional< std::reference_wrapper< Attribute > > capacity
Attribute value can be expected to be of type 'int'.
std::optional< std::reference_wrapper< tDataState > > dataState
static const Attributes defaults
default attributes to be used if they are not explicitly provided
tDataStore(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
std::optional< std::reference_wrapper< Attribute > > name
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > itemSubjectRef
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 the value of an XML-node attribute.