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

Detailed Description

Definition at line 21 of file Attribute.h.

#include <Attribute.h>

Public Types

enum class  Category { STATUS , DATA , GLOBAL }
 

Public Member Functions

 Attribute (XML::bpmnos::tAttribute *attribute, Attribute::Category category, AttributeRegistry &attributeRegistry)
 

Public Attributes

XML::bpmnos::tAttributeelement
 
Category category
 
size_t index
 Index of attribute (is automatically set by attribute registry).
 
std::string & id
 
std::unique_ptr< const Expressionexpression
 
const std::string name
 Name of attribute and optial initial assignment.
 
ValueType type
 
double weight
 Weight to be used for objective (assuming maximization).
 
bool isImmutable
 Flag indicating whether attribute value may be changed by operator, choice, or intermediate catch event.
 

Member Enumeration Documentation

◆ Category

Enumerator
STATUS 
DATA 
GLOBAL 

Definition at line 23 of file Attribute.h.

Constructor & Destructor Documentation

◆ Attribute()

Attribute::Attribute ( XML::bpmnos::tAttribute * attribute,
Attribute::Category category,
AttributeRegistry & attributeRegistry )

Definition at line 10 of file Attribute.cpp.

Member Data Documentation

◆ category

Category BPMNOS::Model::Attribute::category

Definition at line 27 of file Attribute.h.

◆ element

XML::bpmnos::tAttribute* BPMNOS::Model::Attribute::element

Definition at line 25 of file Attribute.h.

◆ expression

std::unique_ptr<const Expression> BPMNOS::Model::Attribute::expression

Definition at line 31 of file Attribute.h.

◆ id

std::string& BPMNOS::Model::Attribute::id

Definition at line 30 of file Attribute.h.

◆ index

size_t BPMNOS::Model::Attribute::index

Definition at line 28 of file Attribute.h.

◆ isImmutable

bool BPMNOS::Model::Attribute::isImmutable

Definition at line 38 of file Attribute.h.

◆ name

const std::string BPMNOS::Model::Attribute::name

Definition at line 32 of file Attribute.h.

◆ type

ValueType BPMNOS::Model::Attribute::type

Definition at line 34 of file Attribute.h.

◆ weight

double BPMNOS::Model::Attribute::weight

Definition at line 36 of file Attribute.h.


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