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

#include <UrlOptions.h>

Inheritance diagram for CUrlOptions:
CDbUrl CMusicDbUrl CVideoDbUrl

Public Types

typedef std::map< std::string, CVariantUrlOptions
 

Public Member Functions

 CUrlOptions ()
 
 CUrlOptions (const std::string &options, const char *strLead="")
 
virtual ~CUrlOptions ()
 
void Clear ()
 
const UrlOptionsGetOptions () const
 
std::string GetOptionsString (bool withLeadingSeparator=false) const
 
virtual void AddOption (const std::string &key, const char *value)
 
virtual void AddOption (const std::string &key, const std::string &value)
 
virtual void AddOption (const std::string &key, int value)
 
virtual void AddOption (const std::string &key, float value)
 
virtual void AddOption (const std::string &key, double value)
 
virtual void AddOption (const std::string &key, bool value)
 
virtual void AddOptions (const std::string &options)
 
virtual void AddOptions (const CUrlOptions &options)
 
virtual void RemoveOption (const std::string &key)
 
bool HasOption (const std::string &key) const
 
bool GetOption (const std::string &key, CVariant &value) const
 

Protected Attributes

UrlOptions m_options
 
std::string m_strLead
 

Member Typedef Documentation

◆ UrlOptions

typedef std::map<std::string, CVariant> CUrlOptions::UrlOptions

Constructor & Destructor Documentation

◆ CUrlOptions() [1/2]

CUrlOptions::CUrlOptions ( )
default

◆ CUrlOptions() [2/2]

CUrlOptions::CUrlOptions ( const std::string & options,
const char * strLead = "" )

◆ ~CUrlOptions()

CUrlOptions::~CUrlOptions ( )
virtualdefault

Member Function Documentation

◆ AddOption() [1/6]

void CUrlOptions::AddOption ( const std::string & key,
bool value )
virtual

Reimplemented in CDbUrl.

◆ AddOption() [2/6]

void CUrlOptions::AddOption ( const std::string & key,
const char * value )
virtual

Reimplemented in CDbUrl.

◆ AddOption() [3/6]

void CUrlOptions::AddOption ( const std::string & key,
const std::string & value )
virtual

Reimplemented in CDbUrl.

◆ AddOption() [4/6]

void CUrlOptions::AddOption ( const std::string & key,
double value )
virtual

Reimplemented in CDbUrl.

◆ AddOption() [5/6]

void CUrlOptions::AddOption ( const std::string & key,
float value )
virtual

Reimplemented in CDbUrl.

◆ AddOption() [6/6]

void CUrlOptions::AddOption ( const std::string & key,
int value )
virtual

Reimplemented in CDbUrl.

◆ AddOptions() [1/2]

void CUrlOptions::AddOptions ( const CUrlOptions & options)
virtual

◆ AddOptions() [2/2]

void CUrlOptions::AddOptions ( const std::string & options)
virtual

Reimplemented in CDbUrl.

◆ Clear()

void CUrlOptions::Clear ( )
inline

◆ GetOption()

bool CUrlOptions::GetOption ( const std::string & key,
CVariant & value ) const

◆ GetOptions()

const UrlOptions & CUrlOptions::GetOptions ( ) const
inline

◆ GetOptionsString()

std::string CUrlOptions::GetOptionsString ( bool withLeadingSeparator = false) const

◆ HasOption()

bool CUrlOptions::HasOption ( const std::string & key) const

◆ RemoveOption()

void CUrlOptions::RemoveOption ( const std::string & key)
virtual

Reimplemented in CDbUrl.

Member Data Documentation

◆ m_options

UrlOptions CUrlOptions::m_options
protected

◆ m_strLead

std::string CUrlOptions::m_strLead
protected

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