[#common-Settings]
= xref:common.adoc[common]::Settings
:relfileprefix: ../
:mrdocs:

Stored settings&period; This struct combines settings from the command line, a read&hyphen;only configuration file, and a read&hyphen;write runtime settings file&period;

== Synopsis

Declared in `&lt;common&sol;settings&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct Settings;
----

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:common/Settings/command_line_options.adoc[`command&lowbar;line&lowbar;options`] 
| Map of setting name to list of command line values&period;
| xref:common/Settings/forced_settings.adoc[`forced&lowbar;settings`] 
| Map of setting name to forced setting value&period;
| xref:common/Settings/ro_config.adoc[`ro&lowbar;config`] 
| Map of config section name and setting name to list of config file values&period;
| xref:common/Settings/rw_settings.adoc[`rw&lowbar;settings`] 
| Map of setting name to read&hyphen;write file setting value&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:common/GetSetting.adoc[`GetSetting`]
| Get settings value from combined sources&colon; forced settings, command line arguments, runtime read&hyphen;write settings, and the read&hyphen;only config file&period;
| xref:common/GetSettingsList.adoc[`GetSettingsList`]
| Get combined setting value similar to GetSetting(), except if setting was specified multiple times, return a list of all the values specified&period;
| xref:common/OnlyHasDefaultSectionSetting.adoc[`OnlyHasDefaultSectionSetting`]
| Return true if a setting is set in the default config file section, and not overridden by a higher priority command&hyphen;line or network section value&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
