zypp::media::ProxyInfo Class Reference

#include <ProxyInfo.h>

List of all members.

Classes

struct  Impl

Public Types

typedef intrusive_ptr< ProxyInfoPtr
typedef intrusive_ptr< ProxyInfoconstPtr
typedef std::list< std::string > NoProxyList
typedef std::list< std::string >
::const_iterator 
NoProxyIterator
typedef shared_ptr< ImplImplPtr

Public Member Functions

 ProxyInfo ()
 Ctor.
 ProxyInfo (ProxyInfo::ImplPtr pimpl_r)
 Ctor.
bool enabled () const
std::string proxy (const std::string &protocol_r) const
NoProxyList noProxy () const
NoProxyIterator noProxyBegin () const
NoProxyIterator noProxyEnd () const
bool useProxyFor (const Url &url_r) const
 Return true if enabled and url_r does not match noProxy.

Private Attributes

RW_pointer< Impl_pimpl
 Pointer to implementation.


Detailed Description

Definition at line 29 of file ProxyInfo.h.


Member Typedef Documentation

typedef intrusive_ptr<ProxyInfo> zypp::media::ProxyInfo::Ptr

Definition at line 32 of file ProxyInfo.h.

Definition at line 33 of file ProxyInfo.h.

typedef std::list<std::string> zypp::media::ProxyInfo::NoProxyList

Definition at line 34 of file ProxyInfo.h.

typedef std::list<std::string>::const_iterator zypp::media::ProxyInfo::NoProxyIterator

Definition at line 35 of file ProxyInfo.h.

Definition at line 38 of file ProxyInfo.h.


Constructor & Destructor Documentation

zypp::media::ProxyInfo::ProxyInfo (  ) 

Ctor.

Definition at line 28 of file ProxyInfo.cc.

zypp::media::ProxyInfo::ProxyInfo ( ProxyInfo::ImplPtr  pimpl_r  ) 

Ctor.

Definition at line 31 of file ProxyInfo.cc.


Member Function Documentation

bool zypp::media::ProxyInfo::enabled (  )  const

Definition at line 35 of file ProxyInfo.cc.

References _pimpl.

std::string zypp::media::ProxyInfo::proxy ( const std::string &  protocol_r  )  const

Definition at line 38 of file ProxyInfo.cc.

References _pimpl.

Referenced by zypp::media::fillSettingsSystemProxy().

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

Definition at line 41 of file ProxyInfo.cc.

References _pimpl.

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

Definition at line 44 of file ProxyInfo.cc.

References _pimpl.

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

Definition at line 47 of file ProxyInfo.cc.

References _pimpl.

bool zypp::media::ProxyInfo::useProxyFor ( const Url url_r  )  const

Return true if enabled and url_r does not match noProxy.

Definition at line 50 of file ProxyInfo.cc.

References _pimpl.

Referenced by zypp::media::fillSettingsSystemProxy().


Member Data Documentation

Pointer to implementation.

Definition at line 55 of file ProxyInfo.h.

Referenced by enabled(), noProxy(), noProxyBegin(), noProxyEnd(), proxy(), and useProxyFor().


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

doxygen