libzypp
13.10.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
UrlResolverPlugin.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_MEDIA_URLRESOLVERPLUGIN_H
13
#define ZYPP_MEDIA_URLRESOLVERPLUGIN_H
14
15
#include <iosfwd>
16
#include <map>
17
#include <string>
18
19
#include "
zypp/base/PtrTypes.h
"
20
#include "
zypp/Url.h
"
21
#include "
zypp/PathInfo.h
"
22
24
namespace
zypp
25
{
26
namespace
media
28
{
29
33
class
UrlResolverPlugin
34
{
35
friend
std::ostream &
operator<<
( std::ostream & str,
const
UrlResolverPlugin
& obj );
36
37
public
:
38
39
class
Impl
;
40
41
typedef
std::multimap<std::string, std::string>
HeaderList
;
42
50
static
Url
resolveUrl
(
const
Url
&
url
,
HeaderList
&headers);
51
52
public
:
54
~UrlResolverPlugin
();
55
56
private
:
57
59
UrlResolverPlugin
();
60
62
RW_pointer<Impl>
_pimpl
;
63
};
65
67
std::ostream &
operator<<
( std::ostream & str,
const
UrlResolverPlugin
& obj );
68
70
}
// namespace media
73
}
// namespace zypp
75
#endif // ZYPP_MEDIA_URLRESOLVERPLUGIN_H
zypp::media::UrlResolverPlugin::~UrlResolverPlugin
~UrlResolverPlugin()
Dtor.
Definition:
UrlResolverPlugin.cc:89
zypp::media::UrlResolverPlugin::resolveUrl
static Url resolveUrl(const Url &url, HeaderList &headers)
Resolves an url using the installed plugins If no plugin is found the url is resolved as its current ...
Definition:
UrlResolverPlugin.cc:36
zypp::media::operator<<
std::ostream & operator<<(std::ostream &str, const MediaAccess &obj)
Definition:
MediaAccess.cc:482
Url.h
zypp::media::UrlResolverPlugin
Definition:
UrlResolverPlugin.h:33
PtrTypes.h
zypp::media::UrlResolverPlugin::operator<<
friend std::ostream & operator<<(std::ostream &str, const UrlResolverPlugin &obj)
Definition:
UrlResolverPlugin.cc:92
url
zypp::Url url
Definition:
MediaCurl.cc:193
PathInfo.h
zypp::media::UrlResolverPlugin::Impl
UrlResolverPlugin implementation.
Definition:
UrlResolverPlugin.cc:29
zypp::media::UrlResolverPlugin::UrlResolverPlugin
UrlResolverPlugin()
Default ctor.
zypp::media::UrlResolverPlugin::_pimpl
RW_pointer< Impl > _pimpl
Pointer to implementation.
Definition:
UrlResolverPlugin.h:62
zypp::RW_pointer
Wrapper for const correct access via Smart pointer types.
Definition:
PtrTypes.h:265
zypp::media::UrlResolverPlugin::HeaderList
std::multimap< std::string, std::string > HeaderList
Definition:
UrlResolverPlugin.h:39
zypp::Url
Url manipulation class.
Definition:
Url.h:87
zypp
media
UrlResolverPlugin.h
Generated by
1.8.5