BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
BPMN::SequenceFlow Class Reference

The SequenceFlow class encapsulates the information and relationships associated with a sequence flow in a BPMN process. More...

Detailed Description

The class provides access to the underlying XML::bpmn::tSequenceFlow element and the source and target node.

Definition at line 16633 of file bpmn++.h.

#include <bpmn++.h>

Inheritance diagram for BPMN::SequenceFlow:

Public Member Functions

 SequenceFlow (XML::bpmn::tSequenceFlow *sequenceFlow, Scope *scope)
 
- Public Member Functions inherited from BPMN::BaseElement
 BaseElement (XML::bpmn::tBaseElement *element)
 Constructs a BaseElement object representing a BPMN element.
 
template<typename T >
T * is ()
 Attempts to return the element in the specified type T.
 
template<typename T >
const T * is () const
 Attempts to return the element in the specified type T.
 
template<typename T = XML::bpmn::tBaseElement>
T * get ()
 Casts the element to the specified type T.
 
template<typename T = XML::bpmn::tBaseElement>
const T * get () const
 Casts the element to the specified type T.
 
- Public Member Functions inherited from BPMN::Element
virtual ~Element ()=default
 
template<typename T >
T * represents ()
 Attempts to cast the element to the specified type T.
 
template<typename T >
const T * represents () const
 Attempts to cast the element to the specified type T.
 
template<typename T >
T * as ()
 Casts the element to the specified type T.
 
template<typename T >
const T * as () const
 Casts the element to the specified type T.
 

Public Attributes

XML::bpmn::tSequenceFlowelement
 
FlowNodesource
 Reference to the source node of the sequence flow.
 
FlowNodetarget
 Reference to the target node of the sequence flow.
 
- Public Attributes inherited from BPMN::BaseElement
XML::bpmn::tBaseElementelement
 
std::string id
 Id of element.
 
std::unique_ptr< ExtensionElementsextensionElements
 

Protected Member Functions

FlowNodefindNode (std::string &id, Scope *scope)
 

Constructor & Destructor Documentation

◆ SequenceFlow()

BPMN::SequenceFlow::SequenceFlow ( XML::bpmn::tSequenceFlow * sequenceFlow,
Scope * scope )

Member Function Documentation

◆ findNode()

FlowNode * BPMN::SequenceFlow::findNode ( std::string & id,
Scope * scope )
protected

Member Data Documentation

◆ element

XML::bpmn::tSequenceFlow* BPMN::SequenceFlow::element

Definition at line 16638 of file bpmn++.h.

◆ source

FlowNode* BPMN::SequenceFlow::source

Definition at line 16641 of file bpmn++.h.

◆ target

FlowNode* BPMN::SequenceFlow::target

Definition at line 16643 of file bpmn++.h.


The documentation for this class was generated from the following file: