bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
SequenceFlow.h
Go to the documentation of this file.
1#ifndef BPMN_SequenceFlow_H
2#define BPMN_SequenceFlow_H
3
5#include "BaseElement.h"
6
7namespace BPMN {
8
9class Scope;
10class FlowNode;
11
12/**
13 * @brief The SequenceFlow class encapsulates the information and relationships associated with a sequence flow
14 * in a BPMN process.
15 *
16 * The class provides access to the underlying @ref XML::bpmn::tSequenceFlow element
17 * and the source and target node.
18 */
19class SequenceFlow : public BaseElement {
20public:
21 //// @brief Constructs a SequenceFlow object based on a @ref XML::bpmn::tSequenceFlow element and the parent scope.
22 SequenceFlow(XML::bpmn::tSequenceFlow* sequenceFlow, Scope* scope);
23
25
26 /// @brief Reference to the source node of the sequence flow.
28 /// @brief Reference to the target node of the sequence flow.
30
31protected:
32 FlowNode* findNode(std::string& id, Scope* scope);
33};
34
35} // namespace BPMN
36
37#endif // BPMN_SequenceFlow_H
38
Base class for all core BPMN elements.
Definition BaseElement.h:15
Base class for BPMN elements that may contain incoming and outgoing sequence flows.
Definition FlowNode.h:20
Base class for BPMN elements that may contain a ChildNode elements.
Definition Scope.h:24
The SequenceFlow class encapsulates the information and relationships associated with a sequence flow...
FlowNode * target
Reference to the target node of the sequence flow.
FlowNode * findNode(std::string &id, Scope *scope)
XML::bpmn::tSequenceFlow * element
FlowNode * source
Reference to the source node of the sequence flow.
The BPMN namespace contains linked classes representing a BPMN model.