Derive a numeric priority from Url scheme according to zypp.conf(download.media_preference).
More...
#include <media/MediaPriority.h>
Derive a numeric priority from Url scheme according to zypp.conf(download.media_preference).
The class is simple. Constructable and assignable from Url or scheme string. Implicit convertible into a numic value_type.
- Todo:
- Maybe introduce a static tribool, to allow overwriting zypp.conf(download.media_preference) default.
Definition at line 43 of file MediaPriority.h.
◆ value_type
◆ MediaPriority() [1/4]
zypp::media::MediaPriority::MediaPriority |
( |
| ) |
|
|
inline |
◆ MediaPriority() [2/4]
zypp::media::MediaPriority::MediaPriority |
( |
value_type |
val_r | ) |
|
|
inline |
◆ MediaPriority() [3/4]
zypp::media::MediaPriority::MediaPriority |
( |
const std::string & |
scheme_r | ) |
|
◆ MediaPriority() [4/4]
zypp::media::MediaPriority::MediaPriority |
( |
const Url & |
url_r | ) |
|
◆ operator=() [1/3]
◆ operator=() [2/3]
MediaPriority & zypp::media::MediaPriority::operator= |
( |
const std::string & |
scheme_r | ) |
|
|
inline |
◆ operator=() [3/3]
◆ get() [1/2]
◆ get() [2/2]
const value_type & zypp::media::MediaPriority::get |
( |
| ) |
const |
|
inline |
◆ operator value_type &()
zypp::media::MediaPriority::operator value_type & |
( |
| ) |
|
|
inline |
◆ operator const value_type &()
zypp::media::MediaPriority::operator const value_type & |
( |
| ) |
const |
|
inline |
◆ _val
The documentation for this class was generated from the following files: