Get combined setting value similar to GetSetting(), except if setting was specified multiple times, return a list of all the values specified.

Synopsis

Declared in <common/settings.h>

std::vector<SettingsValue>
GetSettingsList(
    Settings const& settings,
    std::string const& section,
    std::string const& name,
    bool ignore_default_section_config);

Return Value

The list of values specified for the setting.

Parameters

Name

Description

settings

The combined settings sources to read from.

section

The config section to look up (e.g. the network name).

name

The setting name to look up.

ignore_default_section_config

Ignore values in the default (unsectioned) config.

Created with MrDocs