27 static std::vector<CVariant>
GetList(
const std::shared_ptr<const CSettingList>& settingList);
35 static bool SetList(
const std::shared_ptr<CSettingList>& settingList,
36 const std::vector<CVariant>& value);
38 static std::vector<CVariant> ListToValues(
const std::shared_ptr<const CSettingList>& setting,
39 const std::vector<std::shared_ptr<CSetting>>& values);
40 static bool ValuesToList(
const std::shared_ptr<const CSettingList>& setting,
41 const std::vector<CVariant>& values,
42 std::vector<std::shared_ptr<CSetting>>& newValues);
51 static bool FindIntInList(
const std::shared_ptr<const CSettingList>& settingList,
int value);
static std::vector< CVariant > GetList(const std::shared_ptr< const CSettingList > &settingList)
Gets the values of the given list setting.
Definition: SettingUtils.cpp:17
List setting implementation.
Definition: Setting.h:168
static bool FindIntInList(const std::shared_ptr< const CSettingList > &settingList, int value)
Search in a list of Ints for a given value.
Definition: SettingUtils.cpp:129
Setting base class containing all the properties which are common to all settings independent of the ...
Definition: Setting.h:46
Definition: SettingUtils.h:18
static bool SetList(const std::shared_ptr< CSettingList > &settingList, const std::vector< CVariant > &value)
Sets the values of the given list setting.
Definition: SettingUtils.cpp:22