bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
tThrowEvent.h
Go to the documentation of this file.
1#ifndef XML_bpmn_tThrowEvent_H
2#define XML_bpmn_tThrowEvent_H
3#include <memory>
4#include <optional>
5#include <vector>
6
7#include "../XMLObject.h"
8#include "tEvent.h"
9#include "tDataInput.h"
11#include "tInputSet.h"
12#include "tEventDefinition.h"
13
14/**
15 * @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.
16 */
17namespace XML::bpmn {
18
19class tDataInput;
20class tDataInputAssociation;
21class tInputSet;
22class tEventDefinition;
23
24/**
25 * Overview:
26 * - Element name: tThrowEvent
27 * - XML-Schema: xsd/Semantic.xsd
28 * - XML-Namespace: http://www.omg.org/spec/BPMN/20100524/MODEL
29 *
30 * Members:
31 * - dataInput : tDataInput [0..*]
32 * - dataInputAssociation : tDataInputAssociation [0..*]
33 * - inputSet : tInputSet [0..1]
34 * - eventDefinition : tEventDefinition [0..*]
35 * - eventDefinitionRef : QName [0..*]
36 * - property : tProperty [0..*] (from: tEvent)
37 * - incoming : QName [0..*] (from: tFlowNode)
38 * - outgoing : QName [0..*] (from: tFlowNode)
39 * - auditing : tAuditing [0..1] (from: tFlowElement)
40 * - monitoring : tMonitoring [0..1] (from: tFlowElement)
41 * - categoryValueRef : QName [0..*] (from: tFlowElement)
42 * - name : string [0..1] (from: tFlowElement)
43 * - documentation : tDocumentation [0..*] (from: tBaseElement)
44 * - extensionElements : tExtensionElements [0..1] (from: tBaseElement)
45 * - id : ID [0..1] (from: tBaseElement)
46 *
47 * Automatically generated by schematic++ v0.6.0 (https://github.com/rajgoel/schematicpp)
48 */
49class tThrowEvent : public tEvent {
50 template<typename T> friend XMLObject* ::XML::createInstance(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element);
51private:
52 static bool registerClass() {
53 XMLObject::factory["http://www.omg.org/spec/BPMN/20100524/MODEL:tThrowEvent"] = &createInstance<tThrowEvent>; // register function in factory
54 return true;
55 };
56 inline static bool registered = registerClass();
57protected:
58 tThrowEvent(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes);
59
60public:
61 /// default attributes to be used if they are not explicitly provided
62 inline static const Attributes defaults = {
63 };
64
65 std::vector< std::reference_wrapper<tDataInput> > dataInput;
66 std::vector< std::reference_wrapper<tDataInputAssociation> > dataInputAssociation;
67 std::optional< std::reference_wrapper<tInputSet> > inputSet;
68 std::vector< std::reference_wrapper<tEventDefinition> > eventDefinition;
69 std::vector< std::reference_wrapper<XMLObject> > eventDefinitionRef;
70};
71
72} // namespace XML::bpmn
73
74#endif // XML_bpmn_tThrowEvent_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::vector< std::reference_wrapper< tDataInputAssociation > > dataInputAssociation
Definition tThrowEvent.h:66
static const Attributes defaults
default attributes to be used if they are not explicitly provided
Definition tThrowEvent.h:62
std::optional< std::reference_wrapper< tInputSet > > inputSet
Definition tThrowEvent.h:67
std::vector< std::reference_wrapper< XMLObject > > eventDefinitionRef
Definition tThrowEvent.h:69
std::vector< std::reference_wrapper< tDataInput > > dataInput
Definition tThrowEvent.h:65
std::vector< std::reference_wrapper< tEventDefinition > > eventDefinition
Definition tThrowEvent.h:68
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