1 #ifndef XML_bpmn_tActivity_H
2 #define XML_bpmn_tActivity_H
7 #include "../XMLObject.h"
21 class tInputOutputSpecification;
23 class tDataInputAssociation;
24 class tDataOutputAssociation;
26 class tLoopCharacteristics;
60 static bool registerClass() {
61 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tActivity"] = &createInstance<tActivity>;
64 inline static bool registered = registerClass();
71 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"isForCompensation", .value =
Value(std::string(
"false"))},
72 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"startQuantity", .
value =
Value(std::string(
"1"))},
73 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"completionQuantity", .
value =
Value(std::string(
"1"))}
76 std::optional< std::reference_wrapper<tInputOutputSpecification> >
ioSpecification;
77 std::vector< std::reference_wrapper<tProperty> >
property;
85 std::optional< std::reference_wrapper<Attribute> >
default_;
A class representing a node in an XML-tree.
const ClassName className
std::optional< std::reference_wrapper< Attribute > > default_
Attribute value can be expected to be of type 'std::string'.
std::vector< std::reference_wrapper< tProperty > > property
std::vector< std::reference_wrapper< tResourceRole > > resourceRole
std::vector< std::reference_wrapper< tLoopCharacteristics > > loopCharacteristics
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::optional< std::reference_wrapper< Attribute > > isForCompensation
Attribute value can be expected to be of type 'bool'.
tActivity(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
std::optional< std::reference_wrapper< Attribute > > completionQuantity
Attribute value can be expected to be of type 'int'.
std::vector< std::reference_wrapper< tDataInputAssociation > > dataInputAssociation
std::optional< std::reference_wrapper< tInputOutputSpecification > > ioSpecification
std::optional< std::reference_wrapper< Attribute > > startQuantity
Attribute value can be expected to be of type 'int'.
std::vector< std::reference_wrapper< tDataOutputAssociation > > dataOutputAssociation
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.