bpmn++
A BPMN parser library, written in C++
tInputOutputSpecification.h
Go to the documentation of this file.
1 #ifndef XML_bpmn_tInputOutputSpecification_H
2 #define XML_bpmn_tInputOutputSpecification_H
3 #include <memory>
4 #include <optional>
5 #include <vector>
6 
7 #include "../XMLObject.h"
8 #include "tBaseElement.h"
9 #include "tDataInput.h"
10 #include "tDataOutput.h"
11 #include "tInputSet.h"
12 #include "tOutputSet.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  */
17 namespace XML::bpmn {
18 
19 class tDataInput;
20 class tDataOutput;
21 class tInputSet;
22 class tOutputSet;
23 
24 /**
25  * Overview:
26  * - Element name: tInputOutputSpecification
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  * - dataOutput : tDataOutput [0..*]
33  * - inputSet : tInputSet [1..*]
34  * - outputSet : tOutputSet [1..*]
35  * - documentation : tDocumentation [0..*] (from: tBaseElement)
36  * - extensionElements : tExtensionElements [0..1] (from: tBaseElement)
37  * - id : ID [0..1] (from: tBaseElement)
38  *
39  * Automatically generated by schematic++ v0.4.0 (https://github.com/rajgoel/schematicpp)
40  */
42  template<typename T> friend XMLObject* ::XML::createInstance(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element);
43 private:
44  static bool registerClass() {
45  XMLObject::factory["http://www.omg.org/spec/BPMN/20100524/MODEL:tInputOutputSpecification"] = &createInstance<tInputOutputSpecification>; // register function in factory
46  return true;
47  };
48  inline static bool registered = registerClass();
49 protected:
50  tInputOutputSpecification(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes);
51 
52  friend class tActivity;
53  friend class tCallableElement;
54 
55 public:
56  /// default attributes to be used if they are not explicitly provided
57  inline static const Attributes defaults = {
58  };
59 
60  std::vector< std::reference_wrapper<tDataInput> > dataInput;
61  std::vector< std::reference_wrapper<tDataOutput> > dataOutput;
62  std::vector< std::reference_wrapper<tInputSet> > inputSet;
63  std::vector< std::reference_wrapper<tOutputSet> > outputSet;
64 };
65 
66 } // namespace XML::bpmn
67 
68 #endif // XML_bpmn_tInputOutputSpecification_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< tDataInput > > dataInput
std::vector< std::reference_wrapper< tDataOutput > > dataOutput
tInputOutputSpecification(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::vector< std::reference_wrapper< tOutputSet > > outputSet
std::vector< std::reference_wrapper< tInputSet > > inputSet
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:19
XMLObject * createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
Template function used to store in factory.
Definition: XMLObject.h:84