|
OXY API 1.0
OXY API Library Documentation
|
Function object to retrieve the application settings. More...
#include <settings.hpp>
Public Member Functions | |
| settings_t | operator() () const |
| settings_t | operator() (std::filesystem::path const &file) const |
Function object to retrieve the application settings.
This function object provides two overloads: one that retrieves the settings from the default configuration file path, and another that retrieves the settings from a specified filesystem path. It uses the load function to read the settings and returns a settings_t instance with the configuration values.
|
inline |
References oxy::api::settings::load.
|
inline |
| file | - The filesystem path to the INI configuration file. |
References oxy::api::settings::load.