Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <SettingDependency.h>
Public Member Functions | |
CSettingDependencyCondition (CSettingsManager *settingsManager=nullptr) | |
CSettingDependencyCondition (const std::string &setting, const std::string &value, SettingDependencyOperator op, bool negated=false, CSettingsManager *settingsManager=nullptr) | |
CSettingDependencyCondition (const std::string &strProperty, const std::string &value, const std::string &setting="", bool negated=false, CSettingsManager *settingsManager=nullptr) | |
~CSettingDependencyCondition () override=default | |
bool | Deserialize (const TiXmlNode *node) override |
bool | Check () const override |
const std::string & | GetName () const |
const std::string & | GetSetting () const |
SettingDependencyTarget | GetTarget () const |
SettingDependencyOperator | GetOperator () const |
Public Member Functions inherited from CSettingConditionItem | |
CSettingConditionItem (CSettingsManager *settingsManager=nullptr) | |
~CSettingConditionItem () override=default | |
const char * | GetTag () const override |
Public Member Functions inherited from CBooleanLogicValue | |
CBooleanLogicValue (const std::string &value="", bool negated=false) | |
~CBooleanLogicValue () override=default | |
virtual const std::string & | GetValue () const |
virtual bool | IsNegated () const |
virtual void | SetValue (const std::string &value) |
virtual void | SetNegated (bool negated) |
Public Member Functions inherited from IXmlDeserializable | |
virtual | ~IXmlDeserializable ()=default |
Public Member Functions inherited from ISettingCondition | |
ISettingCondition (CSettingsManager *settingsManager) | |
virtual | ~ISettingCondition ()=default |
Additional Inherited Members | |
Protected Attributes inherited from CSettingConditionItem | |
std::string | m_name |
std::string | m_setting |
Protected Attributes inherited from CBooleanLogicValue | |
std::string | m_value |
bool | m_negated |
Protected Attributes inherited from ISettingCondition | |
CSettingsManager * | m_settingsManager |
|
explicit |
CSettingDependencyCondition::CSettingDependencyCondition | ( | const std::string & | setting, |
const std::string & | value, | ||
SettingDependencyOperator | op, | ||
bool | negated = false, | ||
CSettingsManager * | settingsManager = nullptr ) |
CSettingDependencyCondition::CSettingDependencyCondition | ( | const std::string & | strProperty, |
const std::string & | value, | ||
const std::string & | setting = "", | ||
bool | negated = false, | ||
CSettingsManager * | settingsManager = nullptr ) |
|
overridedefault |
|
overridevirtual |
Reimplemented from CSettingConditionItem.
|
overridevirtual |
Reimplemented from CSettingConditionItem.
|
inline |
|
inline |
|
inline |
|
inline |