BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
BPMNOS::Model::Operator Class Reference

Class representing an operator allowing to manipulate attribute values. More...

Detailed Description

Definition at line 21 of file Operator.h.

#include <Operator.h>

Public Member Functions

 Operator (XML::bpmnos::tOperator *operator_, const AttributeRegistry &attributeRegistry)
 
template<typename DataType >
void apply (BPMNOS::Values &status, DataType &data, BPMNOS::Values &globals) const
 
template<typename T >
T * is ()
 Returns a pointer of type T of the node.
 
template<typename T >
const T * is () const
 Returns a pointer of type T of the node.
 

Public Attributes

XML::bpmnos::tOperatorelement
 
std::string & id
 
const Expression expression
 
const AttributeRegistryattributeRegistry
 
Attributeattribute
 The status or data attribute to be modified by the operator.
 

Constructor & Destructor Documentation

◆ Operator()

Operator::Operator ( XML::bpmnos::tOperator * operator_,
const AttributeRegistry & attributeRegistry )

Definition at line 5 of file Operator.cpp.

Member Function Documentation

◆ apply()

template<typename DataType >
void Operator::apply ( BPMNOS::Values & status,
DataType & data,
BPMNOS::Values & globals ) const

Definition at line 16 of file Operator.cpp.

◆ is() [1/2]

template<typename T >
T * BPMNOS::Model::Operator::is ( )
inline

Definition at line 35 of file Operator.h.

◆ is() [2/2]

template<typename T >
const T * BPMNOS::Model::Operator::is ( ) const
inline

Definition at line 40 of file Operator.h.

Member Data Documentation

◆ attribute

Attribute* BPMNOS::Model::Operator::attribute

Definition at line 29 of file Operator.h.

◆ attributeRegistry

const AttributeRegistry& BPMNOS::Model::Operator::attributeRegistry

Definition at line 28 of file Operator.h.

◆ element

XML::bpmnos::tOperator* BPMNOS::Model::Operator::element

Definition at line 24 of file Operator.h.

◆ expression

const Expression BPMNOS::Model::Operator::expression

Definition at line 27 of file Operator.h.

◆ id

std::string& BPMNOS::Model::Operator::id

Definition at line 26 of file Operator.h.


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