bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
tMultiInstanceLoopCharacteristics.h
Go to the documentation of this file.
1#ifndef XML_bpmn_tMultiInstanceLoopCharacteristics_H
2#define XML_bpmn_tMultiInstanceLoopCharacteristics_H
3#include <memory>
4#include <optional>
5#include <vector>
6
7#include "../XMLObject.h"
9#include "tExpression.h"
10#include "tDataInput.h"
11#include "tDataOutput.h"
13#include "tExpression.h"
15
16/**
17 * @brief The `XML::bpmn` namespace contains classes from the following XML-schema(s): @ref xsd/DC.xsd, @ref xsd/DI.xsd, @ref xsd/BPMNDI.xsd, @ref xsd/Semantic.xsd, @ref xsd/BPMN20.xsd.
18 */
19namespace XML::bpmn {
20
21class tExpression;
22class tDataInput;
23class tDataOutput;
24class tComplexBehaviorDefinition;
25class tExpression;
27
28/**
29 * Overview:
30 * - Element name: tMultiInstanceLoopCharacteristics
31 * - XML-Schema: xsd/Semantic.xsd
32 * - XML-Namespace: http://www.omg.org/spec/BPMN/20100524/MODEL
33 *
34 * Members:
35 * - loopCardinality : tExpression [0..1]
36 * - loopDataInputRef : QName [0..1]
37 * - loopDataOutputRef : QName [0..1]
38 * - inputDataItem : tDataInput [0..1]
39 * - outputDataItem : tDataOutput [0..1]
40 * - complexBehaviorDefinition : tComplexBehaviorDefinition [0..*]
41 * - completionCondition : tExpression [0..1]
42 * - isSequential : boolean [0..1]
43 * - behavior : tMultiInstanceFlowCondition [0..1]
44 * - oneBehaviorEventRef : QName [0..1]
45 * - noneBehaviorEventRef : QName [0..1]
46 * - documentation : tDocumentation [0..*] (from: tBaseElement)
47 * - extensionElements : tExtensionElements [0..1] (from: tBaseElement)
48 * - id : ID [0..1] (from: tBaseElement)
49 *
50 * Automatically generated by schematic++ v0.6.0 (https://github.com/rajgoel/schematicpp)
51 */
53 template<typename T> friend XMLObject* ::XML::createInstance(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element);
54private:
55 static bool registerClass() {
56 XMLObject::factory["http://www.omg.org/spec/BPMN/20100524/MODEL:tMultiInstanceLoopCharacteristics"] = &createInstance<tMultiInstanceLoopCharacteristics>; // register function in factory
57 return true;
58 };
59 inline static bool registered = registerClass();
60protected:
61 tMultiInstanceLoopCharacteristics(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes);
62
63public:
64 /// default attributes to be used if they are not explicitly provided
65 inline static const Attributes defaults = {
66 { .xmlns = "http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix = "" , .name = "isSequential", .value = Value(std::string("false"))},
67 { .xmlns = "http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix = "" , .name = "behavior", .value = Value(std::string("All"))}
68 };
69
70 std::optional< std::reference_wrapper<tExpression> > loopCardinality;
71 std::optional< std::reference_wrapper<XMLObject> > loopDataInputRef;
72 std::optional< std::reference_wrapper<XMLObject> > loopDataOutputRef;
73 std::optional< std::reference_wrapper<tDataInput> > inputDataItem;
74 std::optional< std::reference_wrapper<tDataOutput> > outputDataItem;
75 std::vector< std::reference_wrapper<tComplexBehaviorDefinition> > complexBehaviorDefinition;
76 std::optional< std::reference_wrapper<tExpression> > completionCondition;
77 std::optional< std::reference_wrapper<Attribute> > isSequential; ///< Attribute value can be expected to be of type 'bool'
78 std::optional< std::reference_wrapper<Attribute> > behavior; ///< Attribute value can be expected to be of type 'std::string'
79 std::optional< std::reference_wrapper<Attribute> > oneBehaviorEventRef; ///< Attribute value can be expected to be of type 'std::string'
80 std::optional< std::reference_wrapper<Attribute> > noneBehaviorEventRef; ///< Attribute value can be expected to be of type 'std::string'
81};
82
83} // namespace XML::bpmn
84
85#endif // XML_bpmn_tMultiInstanceLoopCharacteristics_H
A class representing a node in an XML-tree.
Definition XMLObject.h:115
const ClassName className
Definition XMLObject.h:243
static Factory factory
Definition XMLObject.h:155
Namespace xmlns
Definition XMLObject.h:242
std::optional< std::reference_wrapper< Attribute > > isSequential
Attribute value can be expected to be of type 'bool'.
std::optional< std::reference_wrapper< tDataOutput > > outputDataItem
std::optional< std::reference_wrapper< XMLObject > > loopDataInputRef
std::optional< std::reference_wrapper< Attribute > > noneBehaviorEventRef
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< tDataInput > > inputDataItem
std::optional< std::reference_wrapper< XMLObject > > loopDataOutputRef
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::optional< std::reference_wrapper< Attribute > > oneBehaviorEventRef
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< tExpression > > loopCardinality
std::optional< std::reference_wrapper< Attribute > > behavior
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< tExpression > > completionCondition
std::vector< std::reference_wrapper< tComplexBehaviorDefinition > > complexBehaviorDefinition
The XML::bpmn namespace contains classes from the following XML-schema(s): xsd/DC....
std::string Namespace
Definition XMLObject.h:24
std::vector< Attribute > Attributes
Definition XMLObject.h:80
std::string ClassName
Definition XMLObject.h:21
XMLObject * createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
Template function used to store in factory.
Definition XMLObject.h:84
A struct representing the value of an XML-node attribute.
Definition XMLObject.h:48
std::string value
Definition XMLObject.h:49
std::string tMultiInstanceFlowCondition