bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
tLane.cpp
Go to the documentation of this file.
1#include "tLane.h"
2
3using namespace XML;
4using namespace XML::bpmn;
5
6tLane::tLane(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes) :
7 tBaseElement(xmlns, className, element, defaultAttributes)
9 , flowNodeRef(getChildrenByName("flowNodeRef"))
12 , partitionElementRef(getOptionalAttributeByName("partitionElementRef"))
13{
14}
auto getOptionalChild(this Self &&self)
Get an optional child of type T.
Definition XMLObject.h:266
const ClassName className
Definition XMLObject.h:220
auto getOptionalAttributeByName(this Self &&self, const AttributeName &name)
Get an optional attribute with the specified attribute name.
Definition XMLObject.h:373
auto getChildrenByName(this Self &&self, const ElementName &name)
Get all children with the specified element name.
Definition XMLObject.h:337
Namespace xmlns
Definition XMLObject.h:219
tBaseElement(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
std::vector< std::reference_wrapper< XMLObject > > flowNodeRef
Definition tLane.h:57
std::optional< std::reference_wrapper< Attribute > > partitionElementRef
Attribute value can be expected to be of type 'std::string'.
Definition tLane.h:60
std::optional< std::reference_wrapper< tLaneSet > > childLaneSet
Definition tLane.h:58
tLane(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Definition tLane.cpp:6
std::optional< std::reference_wrapper< tBaseElement > > partitionElement
Definition tLane.h:56
std::optional< std::reference_wrapper< Attribute > > name
Attribute value can be expected to be of type 'std::string'.
Definition tLane.h:59
friend class tLaneSet
Definition tLane.h:49
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