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

Detailed Description

Definition at line 14 of file AttributeRegistry.h.

#include <AttributeRegistry.h>

Public Member Functions

Attributeoperator[] (const std::string &name) const
 
bool contains (const std::string &name) const
 
std::optional< BPMNOS::numbergetValue (const Attribute *attribute, const Values &status, const Values &data, const Values &globals) const
 
std::optional< BPMNOS::numbergetValue (const Attribute *attribute, const Values &status, const SharedValues &data, const Values &globals) const
 
void setValue (const Attribute *attribute, Values &status, Values &data, Values &globals, std::optional< BPMNOS::number > value) const
 
void setValue (const Attribute *attribute, Values &status, SharedValues &data, Values &globals, std::optional< BPMNOS::number > value) const
 

Public Attributes

std::map< std::string, Attribute * > statusAttributes
 
std::map< std::string, Attribute * > dataAttributes
 
std::map< std::string, Attribute * > globalAttributes
 

Friends

class Attribute
 

Member Function Documentation

◆ contains()

bool AttributeRegistry::contains ( const std::string & name) const

Definition at line 46 of file AttributeRegistry.cpp.

◆ getValue() [1/2]

std::optional< BPMNOS::number > AttributeRegistry::getValue ( const Attribute * attribute,
const Values & status,
const SharedValues & data,
const Values & globals ) const

Definition at line 66 of file AttributeRegistry.cpp.

◆ getValue() [2/2]

std::optional< BPMNOS::number > AttributeRegistry::getValue ( const Attribute * attribute,
const Values & status,
const Values & data,
const Values & globals ) const

Definition at line 51 of file AttributeRegistry.cpp.

◆ operator[]()

Attribute * AttributeRegistry::operator[] ( const std::string & name) const

Definition at line 23 of file AttributeRegistry.cpp.

◆ setValue() [1/2]

void AttributeRegistry::setValue ( const Attribute * attribute,
Values & status,
SharedValues & data,
Values & globals,
std::optional< BPMNOS::number > value ) const

Definition at line 96 of file AttributeRegistry.cpp.

◆ setValue() [2/2]

void AttributeRegistry::setValue ( const Attribute * attribute,
Values & status,
Values & data,
Values & globals,
std::optional< BPMNOS::number > value ) const

Definition at line 81 of file AttributeRegistry.cpp.

Friends And Related Symbol Documentation

◆ Attribute

friend class Attribute
friend

Definition at line 27 of file AttributeRegistry.h.

Member Data Documentation

◆ dataAttributes

std::map< std::string, Attribute*> BPMNOS::Model::AttributeRegistry::dataAttributes

Definition at line 17 of file AttributeRegistry.h.

◆ globalAttributes

std::map< std::string, Attribute*> BPMNOS::Model::AttributeRegistry::globalAttributes

Definition at line 18 of file AttributeRegistry.h.

◆ statusAttributes

std::map< std::string, Attribute*> BPMNOS::Model::AttributeRegistry::statusAttributes

Definition at line 16 of file AttributeRegistry.h.


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