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

Detailed Description

Definition at line 15 of file AttributeRegistry.h.

#include <AttributeRegistry.h>

Public Member Functions

 AttributeRegistry (const LIMEX::Handle< double > &limexHandle)
 
Attributeoperator[] (const std::string &name) const
 
bool contains (const std::string &name) const
 
bool contains (const Attribute *attribute) 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

const LIMEX::Handle< double > & limexHandle
 
std::vector< Attribute * > statusAttributes
 
std::vector< Attribute * > dataAttributes
 
std::vector< Attribute * > globalAttributes
 
std::unordered_map< std::string, Attribute * > statusMap
 
std::unordered_map< std::string, Attribute * > dataMap
 
std::unordered_map< std::string, Attribute * > globalMap
 

Friends

class Attribute
 

Constructor & Destructor Documentation

◆ AttributeRegistry()

AttributeRegistry::AttributeRegistry ( const LIMEX::Handle< double > & limexHandle)

Definition at line 5 of file AttributeRegistry.cpp.

Member Function Documentation

◆ contains() [1/2]

bool AttributeRegistry::contains ( const Attribute * attribute) const

Definition at line 58 of file AttributeRegistry.cpp.

◆ contains() [2/2]

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

Definition at line 54 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 89 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 74 of file AttributeRegistry.cpp.

◆ operator[]()

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

Definition at line 31 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 119 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 104 of file AttributeRegistry.cpp.

Friends And Related Symbol Documentation

◆ Attribute

friend class Attribute
friend

Definition at line 35 of file AttributeRegistry.h.

Member Data Documentation

◆ dataAttributes

std::vector<Attribute*> BPMNOS::Model::AttributeRegistry::dataAttributes

Definition at line 21 of file AttributeRegistry.h.

◆ dataMap

std::unordered_map< std::string, Attribute*> BPMNOS::Model::AttributeRegistry::dataMap

Definition at line 24 of file AttributeRegistry.h.

◆ globalAttributes

std::vector<Attribute*> BPMNOS::Model::AttributeRegistry::globalAttributes

Definition at line 22 of file AttributeRegistry.h.

◆ globalMap

std::unordered_map< std::string, Attribute*> BPMNOS::Model::AttributeRegistry::globalMap

Definition at line 25 of file AttributeRegistry.h.

◆ limexHandle

const LIMEX::Handle<double>& BPMNOS::Model::AttributeRegistry::limexHandle

Definition at line 18 of file AttributeRegistry.h.

◆ statusAttributes

std::vector<Attribute*> BPMNOS::Model::AttributeRegistry::statusAttributes

Definition at line 20 of file AttributeRegistry.h.

◆ statusMap

std::unordered_map< std::string, Attribute*> BPMNOS::Model::AttributeRegistry::statusMap

Definition at line 23 of file AttributeRegistry.h.


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