bpmn++
A BPMN parser library, written in C++
tBaseElementWithMixedContent.cpp
Go to the documentation of this file.
2 
3 using namespace XML;
4 using namespace XML::bpmn;
5 
6 tBaseElementWithMixedContent::tBaseElementWithMixedContent(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes) :
7  XMLObject(xmlns, className, element, defaultAttributes)
8  , documentation(getChildren<tDocumentation>())
9  , extensionElements(getOptionalChild<tExtensionElements>())
10  , id(getOptionalAttributeByName("id"))
11 {
12 }
A class representing a node in an XML-tree.
Definition: XMLObject.h:115
tBaseElementWithMixedContent(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
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