OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
settings.hpp File Reference

Application settings management for the oxy API. More...

Classes

struct  oxy::api::settings::config_path_t
 Represents the default configuration file path for the application. More...
struct  oxy::api::settings::expand_fn
 Function object to expand environment variables in settings paths. More...
struct  oxy::api::settings::get_fn
 Function object to retrieve the application settings. More...
struct  oxy::api::settings::load_fn
 Function object to load settings from an INI configuration file. More...
struct  oxy::api::settings::remove_quote_fn
 Function object to remove quotes from a string. More...
struct  oxy::api::settings::settings_t
 Represents the configuration settings for the application. More...

Namespaces

namespace  oxy
 This root namespace contains the common types and operations for the OXY-API library.
namespace  oxy::api
 This namespace contains the high-level definitions and operations for the OXY-API library.
namespace  oxy::api::settings
 This namespace contains function objects and operations related to application settings.

Variables

constexpr expand_fn oxy::api::settings::expand
 A constexpr instance of the expand_fn function object for use in functional programming.
constexpr get_fn oxy::api::settings::get
 A constexpr instance of the get_fn function object for use in functional programming.
constexpr load_fn oxy::api::settings::load
 A constexpr instance of the load_fn function object for use in functional programming.
constexpr remove_quote_fn oxy::api::settings::remove_quote
 A constexpr instance of the remove_quote_fn function object for use in functional programming.

Detailed Description

Application settings management for the oxy API.

This header defines the settings_t structure, which represents the configuration settings for the application. It includes default values for various folder paths, file filters, and file extensions. The header also provides function objects for loading settings from an INI configuration file, expanding environment variables in paths, and removing quotes from strings. The operations are designed to be used in a constexpr context for compile-time evaluation of settings management operations.

@license MPL-2.0