Key-value pair of two ints
To hold a pair of two ints.
More...
Key-value pair of two ints
To hold a pair of two ints.
The following table contains values that can be set with class PVRSettingKeyValuePair :
| Type | PVR_SETTING_TYPE | SetType | GetType | required to set | Int Value | int
| SetIntValue | GetIntValue | String Value | std::string
| SetStringValue | GetStringValue
◆ GetIntValue()
int kodi::addon::PVRSettingKeyValuePair::GetIntValue |
( |
| ) |
const |
|
inline |
◆ GetKey()
unsigned kodi::addon::PVRSettingKeyValuePair::GetKey |
( |
| ) |
const |
|
inline |
◆ GetStringValue()
std::string kodi::addon::PVRSettingKeyValuePair::GetStringValue |
( |
| ) |
const |
|
inline |
◆ GetType()
To get with SetType changed values.
◆ PVRSettingKeyValuePair() [1/4]
kodi::addon::PVRSettingKeyValuePair::PVRSettingKeyValuePair |
( |
| ) |
|
|
default |
Default class constructor.
◆ PVRSettingKeyValuePair() [2/4]
kodi::addon::PVRSettingKeyValuePair::PVRSettingKeyValuePair |
( |
unsigned int | key, |
|
|
const std::string & | value ) |
|
inline |
Class constructor with integrated value set.
- Parameters
-
[in] | key | The key |
[in] | value | The value |
◆ PVRSettingKeyValuePair() [3/4]
kodi::addon::PVRSettingKeyValuePair::PVRSettingKeyValuePair |
( |
unsigned int | key, |
|
|
int | value ) |
|
inline |
Class constructor with integrated value set.
- Parameters
-
[in] | key | The key |
[in] | value | The value |
◆ PVRSettingKeyValuePair() [4/4]
kodi::addon::PVRSettingKeyValuePair::PVRSettingKeyValuePair |
( |
unsigned int | key, |
|
|
PVR_SETTING_TYPE | eType, |
|
|
int | intValue, |
|
|
const std::string & | stringValue ) |
|
inline |
Class constructor with integrated value set.
- Parameters
-
[in] | key | The key |
[in] | eType | The type |
[in] | intValue | The int value |
[in] | stringValue | The string value |
◆ SetIntValue()
void kodi::addon::PVRSettingKeyValuePair::SetIntValue |
( |
int | value | ) |
|
|
inline |
◆ SetKey()
void kodi::addon::PVRSettingKeyValuePair::SetKey |
( |
unsigned int | key | ) |
|
|
inline |
◆ SetStringValue()
void kodi::addon::PVRSettingKeyValuePair::SetStringValue |
( |
const std::string & | value | ) |
|
|
inline |
◆ SetType()
required
This key value pair's type.