|
Maki
Formally verfied low-code orchestration
|
Manages a table of configuration settings. More...
#include <config_table.h>
Public Member Functions | |
| ConfigurationTable () | |
| Constructs an empty ConfigurationTable. | |
| VoidResult | add (const QString &key, std::shared_ptr< NodeConfig > value) |
| Adds a configuration entry to the table. | |
| std::shared_ptr< NodeConfig > | get (const QString &key) const |
| Retrieves a configuration entry from the table. | |
Private Attributes | |
| std::map< QString, std::shared_ptr< NodeConfig > > | mMap |
| Internal map storing configuration entries. | |
Manages a table of configuration settings.
| VoidResult ConfigurationTable::add | ( | const QString & | key, |
| std::shared_ptr< NodeConfig > | value ) |
Adds a configuration entry to the table.
| key | The unique identifier for the configuration entry. |
| value | A shared pointer to the NodeConfig object representing the configuration. |
| std::shared_ptr< NodeConfig > ConfigurationTable::get | ( | const QString & | key | ) | const |
Retrieves a configuration entry from the table.
| key | The unique identifier for the configuration entry. |