Loading [MathJax]/extensions/tex2jax.js
libzypp
17.37.17
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
c
g
h
i
l
m
n
o
p
r
t
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
Enumerator
a
b
c
d
e
f
h
i
l
n
o
p
q
r
s
t
u
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
e
f
i
k
m
o
p
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
y
Related Symbols
a
b
d
e
h
m
n
o
r
s
t
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
x
z
Functions
Variables
Typedefs
Macros
_
a
c
d
e
f
i
l
m
n
o
p
r
s
t
u
w
x
z
libzypp
Welcome to libzypp
[Dropped in Code 15] Code 12 Application Metadata
Code Pitfalls - Frequently made mistakes
Environment Variables
Testing for provided features.
Hardware (modalias) dependencies
Code 12 Pattern Packages
Extending ZYpp: Plugins and Hooks
Repository Variables
Services
Solver - Vendor protection
Writing and tunning testcases
Libzypp and threads
User data as transaction id
Todo List
Deprecated List
Topics
Namespaces
Classes
Files
File List
doc
zypp
media
detail
MediaCD.cc
MediaCD.h
MediaCIFS.cc
MediaCIFS.h
MediaCurl.cc
MediaCurl.h
MediaCurl2.cc
MediaCurl2.h
MediaDIR.cc
MediaDIR.h
MediaDISK.cc
MediaDISK.h
MediaHandler.cc
MediaHandler.h
MediaHandlerFactory.cc
MediaHandlerFactory.h
MediaISO.cc
MediaISO.h
MediaManager.cc
MediaManager.h
MediaNetworkCommonHandler.cc
MediaNetworkCommonHandler.h
MediaNFS.cc
MediaNFS.h
MediaPlugin.cc
MediaPlugin.h
MediaPriority.cc
MediaPriority.h
MediaSource.cc
MediaSource.h
UrlResolverPlugin.cc
UrlResolverPlugin.h
ng
zypp-core
zypp-curl
zypp-media
zypp-tui
File Members
MediaHandlerFactory.h
Go to the documentation of this file.
1
#ifndef MEDIAHANDLERFACTORY_H
2
#define MEDIAHANDLERFACTORY_H
3
4
#include <
zypp-core/Pathname.h
>
5
#include <
zypp-core/Url.h
>
6
#include <
zypp-core/MirroredOrigin.h
>
7
#include <memory>
8
#include <optional>
9
10
11
namespace
zypp::media
{
12
13
class
MediaHandler
;
14
15
class
MediaHandlerFactory
16
{
17
public
:
18
19
enum
MediaHandlerType
{
20
MediaCDType
,
21
MediaNFSType
,
22
MediaISOType
,
23
MediaFileType
,
24
MediaDISKType
,
25
MediaCIFSType
,
26
MediaCURLType
,
27
MediaPluginType
28
};
19
enum
MediaHandlerType
{
…
};
29
30
MediaHandlerFactory
();
31
static
std::unique_ptr<MediaHandler>
createHandler
(
const
MirroredOrigin
&origin,
const
Pathname
& preferred_attach_point);
32
static
std::optional<MediaHandlerType>
handlerType
(
const
Url
&
url
);
33
};
15
class
MediaHandlerFactory
{
…
};
34
35
}
36
37
38
#endif
// MEDIAHANDLERFACTORY_H
MirroredOrigin.h
Pathname.h
Url.h
zypp::MirroredOrigin
Manages a data source characterized by an authoritative URL and a list of mirror URLs.
Definition
MirroredOrigin.h:170
zypp::Url
Url manipulation class.
Definition
Url.h:93
zypp::filesystem::Pathname
Pathname.
Definition
Pathname.h:47
zypp::media::MediaHandlerFactory::MediaHandlerFactory
MediaHandlerFactory()
Definition
MediaHandlerFactory.cc:27
zypp::media::MediaHandlerFactory::MediaHandlerType
MediaHandlerType
Definition
MediaHandlerFactory.h:19
zypp::media::MediaHandlerFactory::MediaDISKType
@ MediaDISKType
Definition
MediaHandlerFactory.h:24
zypp::media::MediaHandlerFactory::MediaPluginType
@ MediaPluginType
Definition
MediaHandlerFactory.h:27
zypp::media::MediaHandlerFactory::MediaCIFSType
@ MediaCIFSType
Definition
MediaHandlerFactory.h:25
zypp::media::MediaHandlerFactory::MediaNFSType
@ MediaNFSType
Definition
MediaHandlerFactory.h:21
zypp::media::MediaHandlerFactory::MediaFileType
@ MediaFileType
Definition
MediaHandlerFactory.h:23
zypp::media::MediaHandlerFactory::MediaISOType
@ MediaISOType
Definition
MediaHandlerFactory.h:22
zypp::media::MediaHandlerFactory::MediaCURLType
@ MediaCURLType
Definition
MediaHandlerFactory.h:26
zypp::media::MediaHandlerFactory::MediaCDType
@ MediaCDType
Definition
MediaHandlerFactory.h:20
zypp::media::MediaHandlerFactory::handlerType
static std::optional< MediaHandlerType > handlerType(const Url &url)
Definition
MediaHandlerFactory.cc:32
zypp::media::MediaHandlerFactory::createHandler
static std::unique_ptr< MediaHandler > createHandler(const MirroredOrigin &origin, const Pathname &preferred_attach_point)
Definition
MediaHandlerFactory.cc:54
zypp::media::MediaHandler
Abstract base class for 'physical' MediaHandler like MediaCD, etc.
Definition
MediaHandler.h:50
zypp::media
Definition
MediaNetworkRequestExecutor.h:22
zypp::url
Url details namespace.
Definition
UrlBase.cc:58
zypp
media
MediaHandlerFactory.h
Generated by
1.14.0