bpmn++
A BPMN parser library, written in C++
tDefinitions.cpp
Go to the documentation of this file.
1 #include "tDefinitions.h"
2 
3 using namespace XML;
4 using namespace XML::bpmn;
5 
6 tDefinitions::tDefinitions(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes) :
7  XMLObject(xmlns, className, element, defaultAttributes)
8  , import(getChildren<tImport>())
9  , extension(getChildren<tExtension>())
10  , rootElement(getChildren<tRootElement>())
11  , process(getChildren<tProcess>())
12  , bpmndi_BPMNDiagram(getChildren<BPMNDiagram>())
13  , relationship(getChildren<tRelationship>())
14  , id(getOptionalAttributeByName("id"))
15  , name(getOptionalAttributeByName("name"))
16  , targetNamespace(getRequiredAttributeByName("targetNamespace"))
17  , expressionLanguage(getOptionalAttributeByName("expressionLanguage"))
18  , typeLanguage(getOptionalAttributeByName("typeLanguage"))
19  , exporter(getOptionalAttributeByName("exporter"))
20  , exporterVersion(getOptionalAttributeByName("exporterVersion"))
21 {
22 }
A class representing a node in an XML-tree.
Definition: XMLObject.h:115
tDefinitions(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Definition: tDefinitions.cpp:6
The XML::bpmn namespace contains classes from the following XML-schema(s): xsd/DC....
The XML namespace contains classes representing XML-nodes defined in given XML-schema(s).
Definition: XMLObject.cpp:8
std::string Namespace
Definition: XMLObject.h:24
std::vector< Attribute > Attributes
Definition: XMLObject.h:80
std::string ClassName
Definition: XMLObject.h:19