libzypp
13.10.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ProxyInfoLibproxy.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_MEDIA_PROXYINFO_PROXYINFOLIBPROXY_H
13
#define ZYPP_MEDIA_PROXYINFO_PROXYINFOLIBPROXY_H
14
15
#include <string>
16
#include <map>
17
18
#include <proxy.h>
19
20
#include "
zypp/base/DefaultIntegral.h
"
21
#include "
zypp/media/ProxyInfo.h
"
22
#include "
zypp/media/proxyinfo/ProxyInfoImpl.h
"
23
24
namespace
zypp {
25
namespace
media {
26
27
28
class
ProxyInfoLibproxy
:
public
ProxyInfo::Impl
29
{
30
public
:
31
ProxyInfoLibproxy
();
33
~ProxyInfoLibproxy
();
35
bool
enabled
()
const
36
{
return
_enabled
; }
38
std::string
proxy
(
const
Url
& url_r)
const
;
40
ProxyInfo::NoProxyList
noProxy
()
const
41
{
return
_no_proxy
; }
43
virtual
ProxyInfo::NoProxyIterator
noProxyBegin
()
const
;
45
virtual
ProxyInfo::NoProxyIterator
noProxyEnd
()
const
;
46
private
:
47
DefaultIntegral<bool,false>
_enabled
;
48
ProxyInfo::NoProxyList
_no_proxy
;
49
pxProxyFactory *
_factory
;
50
};
51
53
54
}
// namespace media
55
}
// namespace zypp
56
57
#endif // ZYPP_MEDIA_PROXYINFO_PROXYINFOLIBPROXY_H
DefaultIntegral.h
zypp::media::ProxyInfoLibproxy::noProxy
ProxyInfo::NoProxyList noProxy() const
Definition:
ProxyInfoLibproxy.h:40
zypp::media::ProxyInfo::Impl
Definition:
ProxyInfoImpl.h:25
ProxyInfo.h
zypp::media::ProxyInfo::NoProxyList
std::list< std::string > NoProxyList
Definition:
ProxyInfo.h:34
zypp::media::ProxyInfoLibproxy::~ProxyInfoLibproxy
~ProxyInfoLibproxy()
Definition:
ProxyInfoLibproxy.cc:89
zypp::media::ProxyInfoLibproxy::_enabled
DefaultIntegral< bool, false > _enabled
Definition:
ProxyInfoLibproxy.h:47
ProxyInfoImpl.h
zypp::media::ProxyInfoLibproxy::noProxyBegin
virtual ProxyInfo::NoProxyIterator noProxyBegin() const
Definition:
ProxyInfoLibproxy.cc:129
zypp::DefaultIntegral< bool, false >
zypp::media::ProxyInfoLibproxy
Definition:
ProxyInfoLibproxy.h:28
zypp::media::ProxyInfoLibproxy::_no_proxy
ProxyInfo::NoProxyList _no_proxy
Definition:
ProxyInfoLibproxy.h:48
zypp::media::ProxyInfoLibproxy::enabled
bool enabled() const
Definition:
ProxyInfoLibproxy.h:35
zypp::media::ProxyInfo::NoProxyIterator
std::list< std::string >::const_iterator NoProxyIterator
Definition:
ProxyInfo.h:35
zypp::media::ProxyInfoLibproxy::noProxyEnd
virtual ProxyInfo::NoProxyIterator noProxyEnd() const
Definition:
ProxyInfoLibproxy.cc:132
zypp::media::ProxyInfoLibproxy::_factory
pxProxyFactory * _factory
Definition:
ProxyInfoLibproxy.h:49
zypp::media::ProxyInfoLibproxy::proxy
std::string proxy(const Url &url_r) const
Definition:
ProxyInfoLibproxy.cc:92
zypp::Url
Url manipulation class.
Definition:
Url.h:87
zypp::media::ProxyInfoLibproxy::ProxyInfoLibproxy
ProxyInfoLibproxy()
Definition:
ProxyInfoLibproxy.cc:82
zypp
media
proxyinfo
ProxyInfoLibproxy.h
Generated by
1.8.5