bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
BPMNShape.cpp
Go to the documentation of this file.
1#include "BPMNShape.h"
2
3using namespace XML;
4using namespace XML::bpmn;
5
6BPMNShape::BPMNShape(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes) :
7 LabeledShape(xmlns, className, element, defaultAttributes)
8 , bpmndi_BPMNLabel(getChildren<BPMNLabel>())
9 , bpmnElement(getOptionalAttributeByName("bpmnElement"))
10 , isHorizontal(getOptionalAttributeByName("isHorizontal"))
11 , isExpanded(getOptionalAttributeByName("isExpanded"))
12 , isMarkerVisible(getOptionalAttributeByName("isMarkerVisible"))
13 , isMessageVisible(getOptionalAttributeByName("isMessageVisible"))
14 , participantBandKind(getOptionalAttributeByName("participantBandKind"))
15 , choreographyActivityShape(getOptionalAttributeByName("choreographyActivityShape"))
16{
17}
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:9
std::string Namespace
Definition XMLObject.h:26
std::vector< Attribute > Attributes
Definition XMLObject.h:82
std::string ClassName
Definition XMLObject.h:23