Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

#include <AddonBase.h>

Public Member Functions

 CSettingValue (const std::string &settingValue)
 
bool empty () const
 
std::string GetString () const
 To get settings value as string.
 
int GetInt () const
 To get settings value as integer.
 
unsigned int GetUInt () const
 To get settings value as unsigned integer.
 
bool GetBoolean () const
 To get settings value as boolean.
 
float GetFloat () const
 To get settings value as floating point.
 
template<typename enumType >
enumType GetEnum () const
 To get settings value as enum.
 

Constructor & Destructor Documentation

◆ CSettingValue()

kodi::addon::CSettingValue::CSettingValue ( const std::string & settingValue)
inlineexplicit

Member Function Documentation

◆ empty()

bool kodi::addon::CSettingValue::empty ( ) const
inline

The documentation for this class was generated from the following file: