bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
BPMN::AdHocSubProcess Class Reference

Detailed Description

Definition at line 12 of file AdHocSubProcess.h.

#include <AdHocSubProcess.h>

Inheritance diagram for BPMN::AdHocSubProcess:

Public Member Functions

 AdHocSubProcess (XML::bpmn::tAdHocSubProcess *adHocSubProcess, Scope *parent)
Public Member Functions inherited from BPMN::Activity
 Activity (XML::bpmn::tActivity *activity, Scope *parent)
Public Member Functions inherited from BPMN::FlowNode
 FlowNode (XML::bpmn::tFlowNode *flowNode, Scope *parent)
Public Member Functions inherited from BPMN::ChildNode
 ChildNode (XML::bpmn::tBaseElement *element, Scope *parent)
template<typename T>
Nodeancestor ()
 Returns the first ancestor node representing type T.
template<typename T>
const Nodeancestor () const
 Returns the first ancestor node representing type T.
Public Member Functions inherited from BPMN::Node
 Node (XML::bpmn::tBaseElement *element)
 Constructs a Node object representing a BPMN process or flow node.
Nodefind (std::function< bool(Node *)> condition)
 Returns the first node found matching a given condition.
const Nodefind (std::function< bool(const Node *)> condition) const
 Returns the first node found matching a given condition.
std::vector< Node * > find_all (std::function< bool(Node *)> condition)
 Returns all nodes matching a given condition.
std::vector< const Node * > find_all (std::function< bool(const Node *)> condition) const
 Returns all nodes matching a given condition.
Public Member Functions inherited from BPMN::BaseElement
 BaseElement (XML::bpmn::tBaseElement *element)
 Constructs a BaseElement object representing a BPMN element.
 ~BaseElement ()
 Destructor.
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 Member Functions inherited from BPMN::Scope
 Scope (XML::bpmn::tBaseElement *element)

Public Attributes

bool isSequential
XML::bpmn::tAdHocSubProcesselement
Public Attributes inherited from BPMN::Activity
std::vector< BoundaryEvent * > boundaryEvents
NodecompensatedBy
 Pointer to compensation activity or compensation event sub-process.
bool isForCompensation
std::optional< LoopCharacteristicsloopCharacteristics
XML::bpmn::tActivityelement
Public Attributes inherited from BPMN::FlowNode
XML::bpmn::tFlowNodeelement
std::optional< std::string > name
std::vector< SequenceFlow * > incoming
 Vector containing all incoming sequence flows of the node.
std::vector< SequenceFlow * > outgoing
 Vector containing all outgoing sequence flows of the node.
Public Attributes inherited from BPMN::ChildNode
Scopeparent
 Reference to the parent node.
Public Attributes inherited from BPMN::Node
std::vector< MessageFlow * > receiving
 Vector containing all message flows going in to the node.
std::vector< MessageFlow * > sending
 Vector containing all message flows going out of the node.
Public Attributes inherited from BPMN::BaseElement
XML::bpmn::tBaseElementelement
std::string id
 Id of element.
std::unique_ptr< ExtensionElementsextensionElements
Public Attributes inherited from BPMN::Scope
std::vector< std::unique_ptr< Node > > childNodes
 Vector containing all child nodes within the scope of the nodes.
std::vector< FlowNode * > flowNodes
 Vector containing pointers to all flow nodes within the scope of the nodes.
std::vector< EventSubProcess * > eventSubProcesses
 Vector containing pointers to all event subprocesses within the scope of the nodes.
std::vector< FlowNode * > startNodes
 Vector containing all flow nodes that may start execution of the scope.
std::vector< std::unique_ptr< SequenceFlow > > sequenceFlows
 Vector containing all sequence flows within the scope.
std::vector< Activity * > compensationActivities
 Vector containing pointers to all compensation activities within the scope.
EventSubProcesscompensationEventSubProcess
 Pointer to compensation event subprocess of the scope.
std::vector< std::unique_ptr< DataObject > > dataObjects
 Vector containing all data objects within the scope.

Friends

class Model

Additional Inherited Members

Public Types inherited from BPMN::Activity
enum class  LoopCharacteristics { Standard , MultiInstanceSequential , MultiInstanceParallel }
Protected Member Functions inherited from BPMN::Scope
void add (std::unique_ptr< Node > node)
void add (std::unique_ptr< SequenceFlow > sequenceFlow)
void add (std::unique_ptr< DataObject > dataObject)

Constructor & Destructor Documentation

◆ AdHocSubProcess()

AdHocSubProcess::AdHocSubProcess ( XML::bpmn::tAdHocSubProcess * adHocSubProcess,
Scope * parent )

Definition at line 9 of file AdHocSubProcess.cpp.

◆ Model

friend class Model
friend

Definition at line 13 of file AdHocSubProcess.h.

Member Data Documentation

◆ element

XML::bpmn::tAdHocSubProcess* BPMN::AdHocSubProcess::element

Definition at line 17 of file AdHocSubProcess.h.

◆ isSequential

bool BPMN::AdHocSubProcess::isSequential

Definition at line 16 of file AdHocSubProcess.h.


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