libzypp  11.13.5
zypp::repo::RepoVariablesStringReplacer Struct Reference

Functor replacing repository variables. More...

#include <RepoVariables.h>

Inheritance diagram for zypp::repo::RepoVariablesStringReplacer:

List of all members.

Public Member Functions

std::string operator() (const std::string &value_r) const

Detailed Description

Functor replacing repository variables.

Replaces '$arch', '$basearch' and $releasever in a string with the global ZYpp values.

Example:
ftp://user:secret@site.net/$arch/ -> ftp://user:secret@site.net/i686/
http://site.net/?basearch=$basearch -> http://site.net/?basearch=i386

Definition at line 34 of file RepoVariables.h.


Member Function Documentation

std::string zypp::repo::RepoVariablesStringReplacer::operator() ( const std::string &  value_r) const

Definition at line 86 of file RepoVariables.cc.


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