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

#include <SettingConditions.h>

Inheritance diagram for CSettingConditionItem:
CBooleanLogicValue ISettingCondition IXmlDeserializable CSettingCategoryAccessCondition CSettingDependencyCondition CSettingRequirementCondition

Public Member Functions

 CSettingConditionItem (CSettingsManager *settingsManager=nullptr)
 
 ~CSettingConditionItem () override=default
 
bool Deserialize (const TiXmlNode *node) override
 
const char * GetTag () const override
 
bool Check () 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
 

Protected Attributes

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

◆ CSettingConditionItem()

CSettingConditionItem::CSettingConditionItem ( CSettingsManager * settingsManager = nullptr)
inlineexplicit

◆ ~CSettingConditionItem()

CSettingConditionItem::~CSettingConditionItem ( )
overridedefault

Member Function Documentation

◆ Check()

bool CSettingConditionItem::Check ( ) const
overridevirtual

◆ Deserialize()

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

Reimplemented from CBooleanLogicValue.

Reimplemented in CSettingDependencyCondition.

◆ GetTag()

const char * CSettingConditionItem::GetTag ( ) const
inlineoverridevirtual

Reimplemented from CBooleanLogicValue.

Member Data Documentation

◆ m_name

std::string CSettingConditionItem::m_name
protected

◆ m_setting

std::string CSettingConditionItem::m_setting
protected

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