|
OXY-SYNC-DIRECTORY 1.0
OXY-SYNC-DIRECTORY Library Documentation
|
A function object that sets configuration properties in an INI file. More...
#include <settings.hpp>
Public Member Functions | |
| void | operator() (properties const &items) const |
| Sets configuration properties in the default INI file. | |
| void | operator() (std::filesystem::path const &file, properties const &items) const |
| Sets configuration properties in a specified INI file. | |
A function object that sets configuration properties in an INI file.
This functor provides two overloads to set configuration properties in an INI file. The first overload allows specifying a custom file path, while the second overload uses the default configuration file path.
|
inline |
Sets configuration properties in the default INI file.
| items | A map of properties to set in the INI file. |
References operator()().
|
inline |
Sets configuration properties in a specified INI file.
| file | The path to the INI file to modify. |
| items | A map of properties to set in the INI file. |
Referenced by operator()().