Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CBooleanLogicValue Class Reference

#include <BooleanLogic.h>

Inheritance diagram for CBooleanLogicValue:
IXmlDeserializable CSettingConditionItem CSettingCategoryAccessCondition CSettingDependencyCondition CSettingRequirementCondition

Public Member Functions

 CBooleanLogicValue (const std::string &value="", bool negated=false)
 
virtual ~CBooleanLogicValue ()=default
 
bool Deserialize (const TiXmlNode *node) override
 
virtual const std::string & GetValue () const
 
virtual bool IsNegated () const
 
virtual const char * GetTag () const
 
virtual void SetValue (const std::string &value)
 
virtual void SetNegated (bool negated)
 
- Public Member Functions inherited from IXmlDeserializable
virtual ~IXmlDeserializable ()=default
 

Protected Attributes

std::string m_value
 
bool m_negated
 

Constructor & Destructor Documentation

◆ CBooleanLogicValue()

CBooleanLogicValue::CBooleanLogicValue ( const std::string &  value = "",
bool  negated = false 
)
inline

◆ ~CBooleanLogicValue()

virtual CBooleanLogicValue::~CBooleanLogicValue ( )
virtualdefault

Member Function Documentation

◆ Deserialize()

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

Implements IXmlDeserializable.

◆ GetTag()

virtual const char * CBooleanLogicValue::GetTag ( ) const
inlinevirtual

Reimplemented in CSettingConditionItem.

◆ GetValue()

virtual const std::string & CBooleanLogicValue::GetValue ( ) const
inlinevirtual

◆ IsNegated()

virtual bool CBooleanLogicValue::IsNegated ( ) const
inlinevirtual

◆ SetNegated()

virtual void CBooleanLogicValue::SetNegated ( bool  negated)
inlinevirtual

◆ SetValue()

virtual void CBooleanLogicValue::SetValue ( const std::string &  value)
inlinevirtual

Member Data Documentation

◆ m_negated

bool CBooleanLogicValue::m_negated
protected

◆ m_value

std::string CBooleanLogicValue::m_value
protected

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