1 #ifndef XML_bpmn_tResourceParameter_H
2 #define XML_bpmn_tResourceParameter_H
7 #include "../XMLObject.h"
34 static bool registerClass() {
35 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tResourceParameter"] = &createInstance<tResourceParameter>;
38 inline static bool registered = registerClass();
49 std::optional< std::reference_wrapper<Attribute> >
name;
50 std::optional< std::reference_wrapper<Attribute> >
type;
51 std::optional< std::reference_wrapper<Attribute> >
isRequired;
A class representing a node in an XML-tree.
const ClassName className
tResourceParameter(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 > > isRequired
Attribute value can be expected to be of type 'bool'.
std::optional< std::reference_wrapper< Attribute > > type
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
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.