bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
tActivity.cpp
Go to the documentation of this file.
1#include "tActivity.h"
2
3using namespace XML;
4using namespace XML::bpmn;
5
6tActivity::tActivity(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes) :
7 tFlowNode(xmlns, className, element, defaultAttributes)
8 , ioSpecification(getOptionalChild<tInputOutputSpecification>())
9 , property(getChildren<tProperty>())
12 , resourceRole(getChildren<tResourceRole>())
14 , isForCompensation(getOptionalAttributeByName("isForCompensation"))
15 , startQuantity(getOptionalAttributeByName("startQuantity"))
16 , completionQuantity(getOptionalAttributeByName("completionQuantity"))
17 , default_(getOptionalAttributeByName("default"))
18{
19}
tActivity(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Definition tActivity.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:9
std::string Namespace
Definition XMLObject.h:24
std::vector< Attribute > Attributes
Definition XMLObject.h:80
std::string ClassName
Definition XMLObject.h:21