|
OXY-SYNC-DIRECTORY 1.0
OXY-SYNC-DIRECTORY Library Documentation
|
A function object that loads configuration settings from an INI file. More...
#include <settings.hpp>
Public Member Functions | |
| settings_t | operator() (std::filesystem::path const &file) const |
| Loads configuration settings from the specified INI file. | |
A function object that loads configuration settings from an INI file.
This functor takes a filesystem path to an INI configuration file, reads the settings from the file, and populates a settings_t object with the values. It uses the boost::property_tree library to parse the INI file and applies the remove_quote function to clean up string values.
|
inline |
Loads configuration settings from the specified INI file.
| file | The path to the INI file to load. |