#include <zypp/media/MediaUrl.h>
|
using | SettingsMap = std::unordered_map<std::string, std::any> |
|
A zypp::Url but extended with settings for the media backend
Definition at line 22 of file MediaUrl.h.
◆ SettingsMap
◆ MediaUrl() [1/3]
zypp::media::MediaUrl::MediaUrl |
( |
zypp::Url | url, |
|
|
std::unordered_map< std::string, std::any > | settings = {} ) |
◆ ~MediaUrl()
zypp::media::MediaUrl::~MediaUrl |
( |
| ) |
|
|
default |
◆ MediaUrl() [2/3]
zypp::media::MediaUrl::MediaUrl |
( |
const MediaUrl & | | ) |
|
|
default |
◆ MediaUrl() [3/3]
zypp::media::MediaUrl::MediaUrl |
( |
MediaUrl && | | ) |
|
|
default |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ hasConfig()
bool zypp::media::MediaUrl::hasConfig |
( |
const std::string & | key | ) |
const |
◆ setConfig() [1/2]
void zypp::media::MediaUrl::setConfig |
( |
const std::string & | key, |
|
|
std::any | value ) |
◆ getConfig() [1/2]
const std::any & zypp::media::MediaUrl::getConfig |
( |
const std::string & | key | ) |
const |
◆ config()
◆ url()
const zypp::Url & zypp::media::MediaUrl::url |
( |
| ) |
const |
◆ setUrl()
void zypp::media::MediaUrl::setUrl |
( |
const zypp::Url & | newUrl | ) |
|
◆ setConfig() [2/2]
template<typename T>
std::enable_if_t<!std::is_same_v< T, std::any > > zypp::media::MediaUrl::setConfig |
( |
const std::string & | key, |
|
|
T && | value ) |
|
inline |
◆ getConfig() [2/2]
template<typename T>
std::enable_if_t<!std::is_same_v< T, std::any >, const T & > zypp::media::MediaUrl::getConfig |
( |
const std::string & | key | ) |
const |
|
inline |
◆ _url
◆ _settings
The documentation for this class was generated from the following files: