|
static std::vector< CVariant > | GetList (const std::shared_ptr< const CSettingList > &settingList) |
| Gets the values of the given list setting. More...
|
|
static bool | SetList (const std::shared_ptr< CSettingList > &settingList, const std::vector< CVariant > &value) |
| Sets the values of the given list setting. More...
|
|
static std::vector< CVariant > | ListToValues (const std::shared_ptr< const CSettingList > &setting, const std::vector< std::shared_ptr< CSetting >> &values) |
|
static bool | ValuesToList (const std::shared_ptr< const CSettingList > &setting, const std::vector< CVariant > &values, std::vector< std::shared_ptr< CSetting >> &newValues) |
|
static bool | FindIntInList (const std::shared_ptr< const CSettingList > &settingList, int value) |
| Search in a list of Ints for a given value. More...
|
|
◆ FindIntInList()
bool CSettingUtils::FindIntInList |
( |
const std::shared_ptr< const CSettingList > & |
settingList, |
|
|
int |
value |
|
) |
| |
|
static |
Search in a list of Ints for a given value.
- Parameters
-
- Returns
- True if value was found in list, false otherwise
◆ GetList()
std::vector< CVariant > CSettingUtils::GetList |
( |
const std::shared_ptr< const CSettingList > & |
settingList | ) |
|
|
static |
Gets the values of the given list setting.
- Parameters
-
- Returns
- List of values of the given list setting
◆ SetList()
bool CSettingUtils::SetList |
( |
const std::shared_ptr< CSettingList > & |
settingList, |
|
|
const std::vector< CVariant > & |
value |
|
) |
| |
|
static |
Sets the values of the given list setting.
- Parameters
-
settingList | List setting |
value | Values to set |
- Returns
- True if setting the values was successful, false otherwise
The documentation for this class was generated from the following files: