![]() |
Bitcoin ABC
0.22.12
P2P Digital Currency
|
Go to the source code of this file.
Namespaces | |
util | |
Enumerations | |
enum | util::@637::Source { util::@637::Source::FORCED, util::@637::Source::COMMAND_LINE, util::@637::Source::RW_SETTINGS, util::@637::Source::CONFIG_FILE_NETWORK_SECTION, util::@637::Source::CONFIG_FILE_DEFAULT_SECTION } |
Functions | |
bool | util::ReadSettings (const fs::path &path, std::map< std::string, SettingsValue > &values, std::vector< std::string > &errors) |
Read settings file. More... | |
bool | util::WriteSettings (const fs::path &path, const std::map< std::string, SettingsValue > &values, std::vector< std::string > &errors) |
Write settings file. More... | |
SettingsValue | util::GetSetting (const Settings &settings, const std::string §ion, const std::string &name, bool ignore_default_section_config, bool get_chain_name) |
Get settings value from combined sources: forced settings, command line arguments, runtime read-write settings, and the read-only config file. More... | |
std::vector< SettingsValue > | util::GetSettingsList (const Settings &settings, const std::string §ion, const std::string &name, bool ignore_default_section_config) |
Get combined setting value similar to GetSetting(), except if setting was specified multiple times, return a list of all the values specified. More... | |
bool | util::OnlyHasDefaultSectionSetting (const Settings &settings, const std::string §ion, const std::string &name) |
Return true if a setting is set in the default config file section, and not overridden by a higher priority command-line or network section value. More... | |
|
strong |
Definition at line 13 of file settings.cpp.