libzypp  17.14.0
zypp::media::ProxyInfoSysconfig Class Reference

#include <ProxyInfoSysconfig.h>

Inheritance diagram for zypp::media::ProxyInfoSysconfig:

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

◆ ProxyInfoSysconfig()

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

Definition at line 28 of file ProxyInfoSysconfig.cc.

Member Function Documentation

◆ enabled()

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

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

Definition at line 32 of file ProxyInfoSysconfig.h.

◆ proxy()

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.

◆ noProxy()

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

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

Definition at line 37 of file ProxyInfoSysconfig.h.

◆ noProxyBegin()

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

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

Definition at line 60 of file ProxyInfoSysconfig.cc.

◆ noProxyEnd()

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

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

Definition at line 63 of file ProxyInfoSysconfig.cc.

Member Data Documentation

◆ _enabled

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

Definition at line 44 of file ProxyInfoSysconfig.h.

◆ _no_proxy

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

Definition at line 45 of file ProxyInfoSysconfig.h.

◆ _proxies

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: