Load configuration and store it from a CAPIO-CL TOML configuration file.
More...
#include <configuration.h>
|
| void | load (const std::filesystem::path &path) |
| void | getParameter (const std::string &key, int *value) const |
| void | getParameter (const std::string &key, std::string *value) const |
Load configuration and store it from a CAPIO-CL TOML configuration file.
◆ getParameter() [1/2]
| void capiocl::configuration::CapioClConfiguration::getParameter |
( |
const std::string & | key, |
|
|
int * | value ) const |
Get a string value
- Parameters
-
| key | key of option to get |
| value | reference in which value will be stored |
◆ getParameter() [2/2]
| void capiocl::configuration::CapioClConfiguration::getParameter |
( |
const std::string & | key, |
|
|
std::string * | value ) const |
Get a integer value
- Parameters
-
| key | key of option to get |
| value | reference in which value will be stored |
◆ load()
| void capiocl::configuration::CapioClConfiguration::load |
( |
const std::filesystem::path & | path | ) |
|
Load a configuiration from a TOML file
- Parameters
-
◆ set() [1/2]
| void capiocl::configuration::CapioClConfiguration::set |
( |
const ConfigurationEntry & | entry | ) |
|
|
protected |
◆ set() [2/2]
| void capiocl::configuration::CapioClConfiguration::set |
( |
const std::string & | key, |
|
|
std::string | value ) |
|
protected |
Set a key value pair explicitly
- Parameters
-
| key | Option key name |
| value | Value |
The documentation for this class was generated from the following files:
- /home/runner/work/CAPIO-CL/CAPIO-CL/capiocl/configuration.h
- /home/runner/work/CAPIO-CL/CAPIO-CL/src/configuration.cpp