libzypp
13.10.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ProxyInfoSysconfig.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_MEDIA_PROXYINFO_PROXYINFOSYSCONFIG_H
13
#define ZYPP_MEDIA_PROXYINFO_PROXYINFOSYSCONFIG_H
14
15
#include <string>
16
#include <map>
17
18
#include "
zypp/base/Sysconfig.h
"
19
#include "
zypp/base/DefaultIntegral.h
"
20
#include "
zypp/media/ProxyInfo.h
"
21
#include "
zypp/media/proxyinfo/ProxyInfoImpl.h
"
22
23
namespace
zypp {
24
namespace
media {
25
26
27
class
ProxyInfoSysconfig
:
public
ProxyInfo::Impl
28
{
29
public
:
30
ProxyInfoSysconfig
(
const
Pathname & path);
32
bool
enabled
()
const
33
{
return
_enabled
; }
35
std::string
proxy
(
const
Url
& url_r)
const
;
37
ProxyInfo::NoProxyList
noProxy
()
const
38
{
return
_no_proxy
; }
40
virtual
ProxyInfo::NoProxyIterator
noProxyBegin
()
const
;
42
virtual
ProxyInfo::NoProxyIterator
noProxyEnd
()
const
;
43
private
:
44
DefaultIntegral<bool,false>
_enabled
;
45
ProxyInfo::NoProxyList
_no_proxy
;
46
std::map<std::string,std::string>
_proxies
;
47
};
48
50
51
}
// namespace media
52
}
// namespace zypp
53
54
#endif // ZYPP_MEDIA_PROXYINFO_PROXYINFOSYSCONFIG_H
Sysconfig.h
DefaultIntegral.h
zypp::media::ProxyInfoSysconfig::noProxyEnd
virtual ProxyInfo::NoProxyIterator noProxyEnd() const
Definition:
ProxyInfoSysconfig.cc:63
zypp::media::ProxyInfoSysconfig::_no_proxy
ProxyInfo::NoProxyList _no_proxy
Definition:
ProxyInfoSysconfig.h:45
zypp::media::ProxyInfoSysconfig::noProxy
ProxyInfo::NoProxyList noProxy() const
Definition:
ProxyInfoSysconfig.h:37
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::ProxyInfoSysconfig::enabled
bool enabled() const
Definition:
ProxyInfoSysconfig.h:32
zypp::media::ProxyInfoSysconfig::ProxyInfoSysconfig
ProxyInfoSysconfig(const Pathname &path)
Definition:
ProxyInfoSysconfig.cc:28
ProxyInfoImpl.h
zypp::DefaultIntegral< bool, false >
zypp::media::ProxyInfoSysconfig
Definition:
ProxyInfoSysconfig.h:27
zypp::media::ProxyInfoSysconfig::proxy
std::string proxy(const Url &url_r) const
Definition:
ProxyInfoSysconfig.cc:52
zypp::media::ProxyInfo::NoProxyIterator
std::list< std::string >::const_iterator NoProxyIterator
Definition:
ProxyInfo.h:35
zypp::media::ProxyInfoSysconfig::noProxyBegin
virtual ProxyInfo::NoProxyIterator noProxyBegin() const
Definition:
ProxyInfoSysconfig.cc:60
zypp::media::ProxyInfoSysconfig::_enabled
DefaultIntegral< bool, false > _enabled
Definition:
ProxyInfoSysconfig.h:44
zypp::media::ProxyInfoSysconfig::_proxies
std::map< std::string, std::string > _proxies
Definition:
ProxyInfoSysconfig.h:46
zypp::Url
Url manipulation class.
Definition:
Url.h:87
zypp
media
proxyinfo
ProxyInfoSysconfig.h
Generated by
1.8.5