BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
message.h
Go to the documentation of this file.
1#ifndef XML_bpmnos_message_H
2#define XML_bpmnos_message_H
3#include <memory>
4#include <optional>
5#include <vector>
6
7#include "../XMLObject.h"
8#include "tMessage.h"
9
10/**
11 * @brief The `XML::bpmnos` namespace contains classes from the following XML-schema(s): @ref xsd/BPMNOS.xsd.
12 */
13namespace XML::bpmnos {
14
15/**
16 * Overview:
17 * - Element name: message
18 * - XML-Schema: xsd/BPMNOS.xsd
19 * - XML-Namespace: https://bpmnos.telematique.eu
20 *
21 * Members:
22 * - name : string [1..1] (from: tMessage)
23 * - parameter : tParameter [0..*] (from: tMessage)
24 * - content : tContent [0..*] (from: tMessage)
25 *
26 * Automatically generated by schematic++ v0.4.0 (https://github.com/rajgoel/schematicpp)
27 */
28class message : public tMessage {
29 template<typename T> friend XMLObject* ::XML::createInstance(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element);
30private:
31 static bool registerClass() {
32 XMLObject::factory["https://bpmnos.telematique.eu:message"] = &createInstance<message>; // register function in factory
33 return true;
34 };
35 inline static bool registered = registerClass();
36protected:
37 message(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes);
38
39public:
40 /// default attributes to be used if they are not explicitly provided
41 inline static const Attributes defaults = {
42 };
43
44};
45
46} // namespace XML::bpmnos
47
48#endif // XML_bpmnos_message_H
A class representing a node in an XML-tree.
Definition XMLObject.h:115
const ClassName className
Definition bpmn++.h:244
static Factory factory
Definition bpmn++.h:156
Namespace xmlns
Definition bpmn++.h:243
friend XMLObject * XML::createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
message(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Definition message.cpp:6
static const Attributes defaults
default attributes to be used if they are not explicitly provided
Definition message.h:41
The XML::bpmnos namespace contains classes from the following XML-schema(s): xsd/BPMNOS....
Definition attribute.h:13
std::string Namespace
Definition bpmn++.h:25
std::string ClassName
Definition bpmn++.h:22
XMLObject * createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
Template function used to store in factory.
Definition bpmn++.h:85
std::vector< Attribute > Attributes
Definition bpmn++.h:81