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

Base class for extension elements that may be provided for a BPMN element. More...

Detailed Description

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

#include <bpmn++.h>

Inheritance diagram for BPMN::ExtensionElements:

Public Member Functions

 ExtensionElements (XML::bpmn::tBaseElement *element)
 
template<class C , class T >
std::vector< std::reference_wrapper< T > > get ()
 Returns a vector of elements of type T embedded within a container of type T.
 
template<class C , class T >
std::vector< std::reference_wrapper< const T > > get () const
 Returns a vector of elements of type T embedded within a container of 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::tExtensionElementselement
 
BaseElementbaseElement
 Reference to the base element the extension elements are bound to.
 

Constructor & Destructor Documentation

◆ ExtensionElements()

BPMN::ExtensionElements::ExtensionElements ( XML::bpmn::tBaseElement * element)

Member Function Documentation

◆ get() [1/2]

template<class C , class T >
std::vector< std::reference_wrapper< T > > BPMN::ExtensionElements::get ( )
inline

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

◆ get() [2/2]

template<class C , class T >
std::vector< std::reference_wrapper< const T > > BPMN::ExtensionElements::get ( ) const
inline

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

Member Data Documentation

◆ baseElement

BaseElement* BPMN::ExtensionElements::baseElement

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

◆ element

XML::bpmn::tExtensionElements* BPMN::ExtensionElements::element

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


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