libzypp  13.10.6
zypp::media::ProxyInfoSysconfig Class Reference

#include <ProxyInfoSysconfig.h>

Inheritance diagram for zypp::media::ProxyInfoSysconfig:
zypp::media::ProxyInfo::Impl

Public Member Functions

 ProxyInfoSysconfig (const Pathname &path)
 
bool enabled () const
 
std::string proxy (const Url &url_r) const
 
ProxyInfo::NoProxyList noProxy () const
 
virtual ProxyInfo::NoProxyIterator noProxyBegin () const
 
virtual ProxyInfo::NoProxyIterator noProxyEnd () const
 
- Public Member Functions inherited from zypp::media::ProxyInfo::Impl
 Impl ()
 Ctor. More...
 
virtual ~Impl ()
 Dtor. More...
 
bool useProxyFor (const Url &url_r) const
 Return true if enabled and url_r does not match noProxy. More...
 

Private Attributes

DefaultIntegral< bool, false > _enabled
 
ProxyInfo::NoProxyList _no_proxy
 
std::map< std::string,
std::string > 
_proxies
 

Additional Inherited Members

- Static Public Attributes inherited from zypp::media::ProxyInfo::Impl
static shared_ptr< Impl_nullimpl
 Default Impl: empty sets. More...
 

Detailed Description

Definition at line 27 of file ProxyInfoSysconfig.h.

Constructor & Destructor Documentation

zypp::media::ProxyInfoSysconfig::ProxyInfoSysconfig ( const Pathname &  path)

Definition at line 28 of file ProxyInfoSysconfig.cc.

Member Function Documentation

bool zypp::media::ProxyInfoSysconfig::enabled ( ) const
inlinevirtual

Implements zypp::media::ProxyInfo::Impl.

Definition at line 32 of file ProxyInfoSysconfig.h.

std::string zypp::media::ProxyInfoSysconfig::proxy ( const Url url_r) const
virtual

Implements zypp::media::ProxyInfo::Impl.

Definition at line 52 of file ProxyInfoSysconfig.cc.

ProxyInfo::NoProxyList zypp::media::ProxyInfoSysconfig::noProxy ( ) const
inlinevirtual

Implements zypp::media::ProxyInfo::Impl.

Definition at line 37 of file ProxyInfoSysconfig.h.

ProxyInfo::NoProxyIterator zypp::media::ProxyInfoSysconfig::noProxyBegin ( ) const
virtual

Implements zypp::media::ProxyInfo::Impl.

Definition at line 60 of file ProxyInfoSysconfig.cc.

ProxyInfo::NoProxyIterator zypp::media::ProxyInfoSysconfig::noProxyEnd ( ) const
virtual

Implements zypp::media::ProxyInfo::Impl.

Definition at line 63 of file ProxyInfoSysconfig.cc.

Member Data Documentation

DefaultIntegral<bool,false> zypp::media::ProxyInfoSysconfig::_enabled
private

Definition at line 44 of file ProxyInfoSysconfig.h.

ProxyInfo::NoProxyList zypp::media::ProxyInfoSysconfig::_no_proxy
private

Definition at line 45 of file ProxyInfoSysconfig.h.

std::map<std::string,std::string> zypp::media::ProxyInfoSysconfig::_proxies
private

Definition at line 46 of file ProxyInfoSysconfig.h.


The documentation for this class was generated from the following files: