#include <SettingUtils.h>
◆ 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
◆ ListToValues()
std::vector< CVariant > CSettingUtils::ListToValues |
( |
const std::shared_ptr< const CSettingList > & | setting, |
|
|
const std::vector< std::shared_ptr< CSetting > > & | values ) |
|
static |
◆ 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
◆ ValuesToList()
bool CSettingUtils::ValuesToList |
( |
const std::shared_ptr< const CSettingList > & | setting, |
|
|
const std::vector< CVariant > & | values, |
|
|
std::vector< std::shared_ptr< CSetting > > & | newValues ) |
|
static |
The documentation for this class was generated from the following files: