1#ifndef BPMNOS_Model_Operator_H
2#define BPMNOS_Model_Operator_H
31 template <
typename DataType>
35 template<
typename T> T*
is() {
36 return dynamic_cast<T*
>(
this);
40 template<
typename T>
const T*
is()
const {
41 return dynamic_cast<const T*
>(
this);
Class representing a mathematical expression.
Class representing an operator allowing to manipulate attribute values.
T * is()
Returns a pointer of type T of the node.
const Expression expression
Attribute * attribute
The status or data attribute to be modified by the operator.
XML::bpmnos::tOperator * element
Operator(XML::bpmnos::tOperator *operator_, const AttributeRegistry &attributeRegistry)
const T * is() const
Returns a pointer of type T of the node.
void apply(BPMNOS::Values &status, DataType &data, BPMNOS::Values &globals) const
const AttributeRegistry & attributeRegistry