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

#include <SettingControl.h>

Inheritance diagram for CSettingControlFormattedRange:
ISettingControl CSettingControlList CSettingControlSpinner

Public Member Functions

 ~CSettingControlFormattedRange () override=default
 
bool Deserialize (const TiXmlNode *node, bool update=false) override
 
int GetFormatLabel () const
 
void SetFormatLabel (int formatLabel)
 
const std::string & GetFormatString () const
 
void SetFormatString (const std::string &formatString)
 
int GetMinimumLabel () const
 
void SetMinimumLabel (int minimumLabel)
 
- Public Member Functions inherited from ISettingControl
 ISettingControl ()
 
virtual ~ISettingControl ()=default
 
virtual std::string GetType () const =0
 
const std::string & GetFormat () const
 
bool GetDelayed () const
 
void SetDelayed (bool delayed)
 
virtual bool SetFormat (const std::string &format)
 

Protected Member Functions

 CSettingControlFormattedRange ()=default
 

Protected Attributes

int m_formatLabel = -1
 
std::string m_formatString = "{}"
 
int m_minimumLabel = -1
 
- Protected Attributes inherited from ISettingControl
bool m_delayed = false
 
std::string m_format
 

Additional Inherited Members

- Static Protected Attributes inherited from ISettingControl
static Logger s_logger
 

Constructor & Destructor Documentation

◆ ~CSettingControlFormattedRange()

CSettingControlFormattedRange::~CSettingControlFormattedRange ( )
overridedefault

◆ CSettingControlFormattedRange()

CSettingControlFormattedRange::CSettingControlFormattedRange ( )
protecteddefault

Member Function Documentation

◆ Deserialize()

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

Reimplemented from ISettingControl.

Reimplemented in CSettingControlList.

◆ GetFormatLabel()

int CSettingControlFormattedRange::GetFormatLabel ( ) const
inline

◆ GetFormatString()

const std::string & CSettingControlFormattedRange::GetFormatString ( ) const
inline

◆ GetMinimumLabel()

int CSettingControlFormattedRange::GetMinimumLabel ( ) const
inline

◆ SetFormatLabel()

void CSettingControlFormattedRange::SetFormatLabel ( int formatLabel)
inline

◆ SetFormatString()

void CSettingControlFormattedRange::SetFormatString ( const std::string & formatString)
inline

◆ SetMinimumLabel()

void CSettingControlFormattedRange::SetMinimumLabel ( int minimumLabel)
inline

Member Data Documentation

◆ m_formatLabel

int CSettingControlFormattedRange::m_formatLabel = -1
protected

◆ m_formatString

std::string CSettingControlFormattedRange::m_formatString = "{}"
protected

◆ m_minimumLabel

int CSettingControlFormattedRange::m_minimumLabel = -1
protected

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