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

#include <SettingControl.h>

Inheritance diagram for CSettingControlRange:
ISettingControl

Public Member Functions

 CSettingControlRange ()=default
 
 ~CSettingControlRange () override=default
 
std::string GetType () const override
 
bool Deserialize (const TiXmlNode *node, bool update=false) override
 
bool SetFormat (const std::string &format) override
 
int GetFormatLabel () const
 
void SetFormatLabel (int formatLabel)
 
int GetValueFormatLabel () const
 
void SetValueFormatLabel (int valueFormatLabel)
 
const std::string & GetValueFormat () const
 
void SetValueFormat (const std::string &valueFormat)
 
- Public Member Functions inherited from ISettingControl
 ISettingControl ()=default
 
virtual ~ISettingControl ()=default
 
const std::string & GetFormat () const
 
bool GetDelayed () const
 
void SetDelayed (bool delayed)
 

Protected Attributes

int m_formatLabel = 21469
 
int m_valueFormatLabel = -1
 
std::string m_valueFormat = "%s"
 
- Protected Attributes inherited from ISettingControl
bool m_delayed = false
 
std::string m_format
 

Constructor & Destructor Documentation

§ CSettingControlRange()

CSettingControlRange::CSettingControlRange ( )
default

§ ~CSettingControlRange()

CSettingControlRange::~CSettingControlRange ( )
overridedefault

Member Function Documentation

§ Deserialize()

bool CSettingControlRange::Deserialize ( const TiXmlNode *  node,
bool  update = false 
)
overridevirtual

Reimplemented from ISettingControl.

§ GetFormatLabel()

int CSettingControlRange::GetFormatLabel ( ) const
inline

§ GetType()

std::string CSettingControlRange::GetType ( ) const
inlineoverridevirtual

Implements ISettingControl.

§ GetValueFormat()

const std::string& CSettingControlRange::GetValueFormat ( ) const
inline

§ GetValueFormatLabel()

int CSettingControlRange::GetValueFormatLabel ( ) const
inline

§ SetFormat()

bool CSettingControlRange::SetFormat ( const std::string &  format)
overridevirtual

Reimplemented from ISettingControl.

§ SetFormatLabel()

void CSettingControlRange::SetFormatLabel ( int  formatLabel)
inline

§ SetValueFormat()

void CSettingControlRange::SetValueFormat ( const std::string &  valueFormat)
inline

§ SetValueFormatLabel()

void CSettingControlRange::SetValueFormatLabel ( int  valueFormatLabel)
inline

Member Data Documentation

§ m_formatLabel

int CSettingControlRange::m_formatLabel = 21469
protected

§ m_valueFormat

std::string CSettingControlRange::m_valueFormat = "%s"
protected

§ m_valueFormatLabel

int CSettingControlRange::m_valueFormatLabel = -1
protected

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