|
OXY API 1.0
OXY API Library Documentation
|
Function object to expand environment variables in settings paths. More...
#include <settings.hpp>
Public Member Functions | |
| settings_t & | operator() (settings_t &setts) const |
Function object to expand environment variables in settings paths.
|
inline |
This function takes a settings_t structure and expands any environment variables present in the paths. It uses the expandEnvVar function to perform the expansion and updates the settings structure with the expanded paths. If an environment variable cannot be resolved, the original path is retained.
| setts | The settings_t structure containing paths to be expanded. |
References oxy::expandEnvVar.