libzypp 17.31.23
zypp::media::UrlResolverPlugin Class Reference

#include <media/UrlResolverPlugin.h>

Classes

struct  Impl
 UrlResolverPlugin implementation. More...
 

Public Types

typedef std::multimap< std::string, std::string > HeaderList
 

Public Member Functions

 ~UrlResolverPlugin ()
 Dtor.
 

Static Public Member Functions

static Url resolveUrl (const Url &url, HeaderList &headers)
 Resolves an url using the installed plugins If no plugin is found the url is resolved as its current value.
 

Private Member Functions

 UrlResolverPlugin ()
 Default ctor.
 

Private Attributes

RW_pointer< Impl_pimpl
 Pointer to implementation.
 

Friends

std::ostream & operator<< (std::ostream &str, const UrlResolverPlugin &obj)
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const UrlResolverPlugin &obj)
 Stream output.
 

Detailed Description

Definition at line 33 of file UrlResolverPlugin.h.

Member Typedef Documentation

◆ HeaderList

typedef std::multimap<std::string, std::string> zypp::media::UrlResolverPlugin::HeaderList

Definition at line 41 of file UrlResolverPlugin.h.

Constructor & Destructor Documentation

◆ ~UrlResolverPlugin()

zypp::media::UrlResolverPlugin::~UrlResolverPlugin ( )

Dtor.

Definition at line 89 of file UrlResolverPlugin.cc.

◆ UrlResolverPlugin()

zypp::media::UrlResolverPlugin::UrlResolverPlugin ( )
private

Default ctor.

Member Function Documentation

◆ resolveUrl()

Url zypp::media::UrlResolverPlugin::resolveUrl ( const Url url,
HeaderList headers 
)
static

Resolves an url using the installed plugins If no plugin is found the url is resolved as its current value.

Custom headers are inserted in the provided header list

Definition at line 36 of file UrlResolverPlugin.cc.

Friends And Related Function Documentation

◆ operator<< [1/2]

std::ostream & operator<< ( std::ostream &  str,
const UrlResolverPlugin obj 
)
friend

Definition at line 92 of file UrlResolverPlugin.cc.

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream &  str,
const UrlResolverPlugin obj 
)
related

Stream output.

Definition at line 92 of file UrlResolverPlugin.cc.

Member Data Documentation

◆ _pimpl

RW_pointer<Impl> zypp::media::UrlResolverPlugin::_pimpl
private

Pointer to implementation.

Definition at line 62 of file UrlResolverPlugin.h.


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