libzypp  13.10.6
zypp::media::UrlResolverPlugin Class Reference

#include <UrlResolverPlugin.h>

Classes

struct  Impl
 UrlResolverPlugin implementation. More...
 

Public Types

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

Public Member Functions

 ~UrlResolverPlugin ()
 Dtor. More...
 

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. More...
 

Private Member Functions

 UrlResolverPlugin ()
 Default ctor. More...
 

Private Attributes

RW_pointer< Impl_pimpl
 Pointer to implementation. More...
 

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)
 

Detailed Description

Definition at line 33 of file UrlResolverPlugin.h.

Member Typedef Documentation

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

Definition at line 39 of file UrlResolverPlugin.h.

Constructor & Destructor Documentation

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

Dtor.

Definition at line 89 of file UrlResolverPlugin.cc.

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

Default ctor.

Member Function Documentation

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

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

Definition at line 92 of file UrlResolverPlugin.cc.

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

Stream output

Definition at line 92 of file UrlResolverPlugin.cc.

Member Data Documentation

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: