bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
BaseElement.cpp
Go to the documentation of this file.
1#include "BaseElement.h"
2#include "ExtensionElements.h"
3
4using namespace BPMN;
5
7 : element(element)
8 , extensionElements(std::make_unique<ExtensionElements>(element))
9{
10 id = element->id.has_value() ? (std::string)element->id->get().value : "";
11}
BaseElement(XML::bpmn::tBaseElement *element)
Constructs a BaseElement object representing a BPMN element.
XML::bpmn::tBaseElement * element
Definition BaseElement.h:20
Base class for extension elements that may be provided for a BPMN element.
std::optional< std::reference_wrapper< Attribute > > id
Attribute value can be expected to be of type 'std::string'.
The BPMN namespace contains linked classes representing a BPMN model.