7 : model(
std::make_unique<
Model>(modelFile, folders))
11 for (
auto& attribute :
model->attributes ) {
12 attributes[nullptr].emplace(attribute->id,attribute.get());
16 for (
auto& process :
model->processes ) {
18 std::vector< BPMN::Node* > nodes = process->find_all(
19 [](BPMN::Node* node) {
20 if ( node->extensionElements ) {
21 if ( node->extensionElements->represents<BPMNOS::Model::ExtensionElements>() ) {
31 for (
auto& node : nodes ) {
34 for (
auto& attribute : extensionElements->attributes ) {
35 attributes[process.get()].emplace(attribute->id,attribute.get());
38 for (
auto& attribute : extensionElements->data ) {
39 attributes[process.get()].emplace(attribute->id,attribute.get());
43 if ( extensionElements->entryGuidance.has_value() ) {
44 for (
auto& attribute : extensionElements->entryGuidance.value()->attributes ) {
45 attributes[process.get()].emplace(attribute->id,attribute.get());
48 if ( extensionElements->exitGuidance.has_value() ) {
49 for (
auto& attribute : extensionElements->exitGuidance.value()->attributes ) {
50 attributes[process.get()].emplace(attribute->id,attribute.get());
53 if ( extensionElements->choiceGuidance.has_value() ) {
54 for (
auto& attribute : extensionElements->choiceGuidance.value()->attributes ) {
55 attributes[process.get()].emplace(attribute->id,attribute.get());
58 if ( extensionElements->messageDeliveryGuidance.has_value() ) {
59 for (
auto& attribute : extensionElements->messageDeliveryGuidance.value()->attributes ) {
60 attributes[process.get()].emplace(attribute->id,attribute.get());