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

#include <SettingDependency.h>

Inheritance diagram for CSettingDependencyCondition:
CSettingConditionItem CBooleanLogicValue ISettingCondition IXmlDeserializable

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
CSettingsManagerm_settingsManager
 

Constructor & Destructor Documentation

◆ CSettingDependencyCondition() [1/3]

CSettingDependencyCondition::CSettingDependencyCondition ( CSettingsManager * settingsManager = nullptr)
explicit

◆ CSettingDependencyCondition() [2/3]

CSettingDependencyCondition::CSettingDependencyCondition ( const std::string & setting,
const std::string & value,
SettingDependencyOperator op,
bool negated = false,
CSettingsManager * settingsManager = nullptr )

◆ CSettingDependencyCondition() [3/3]

CSettingDependencyCondition::CSettingDependencyCondition ( const std::string & strProperty,
const std::string & value,
const std::string & setting = "",
bool negated = false,
CSettingsManager * settingsManager = nullptr )

◆ ~CSettingDependencyCondition()

CSettingDependencyCondition::~CSettingDependencyCondition ( )
overridedefault

Member Function Documentation

◆ Check()

bool CSettingDependencyCondition::Check ( ) const
overridevirtual

Reimplemented from CSettingConditionItem.

◆ Deserialize()

bool CSettingDependencyCondition::Deserialize ( const TiXmlNode * node)
overridevirtual

Reimplemented from CSettingConditionItem.

◆ GetName()

const std::string & CSettingDependencyCondition::GetName ( ) const
inline

◆ GetOperator()

SettingDependencyOperator CSettingDependencyCondition::GetOperator ( ) const
inline

◆ GetSetting()

const std::string & CSettingDependencyCondition::GetSetting ( ) const
inline

◆ GetTarget()

SettingDependencyTarget CSettingDependencyCondition::GetTarget ( ) const
inline

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