11#ifndef ZYPP_REPO_VARIABLES_H_
12#define ZYPP_REPO_VARIABLES_H_
60 using VarRetriever = function<
const std::string *(
const std::string &)>;
63 std::string operator()(
const std::string & value_r,
VarRetriever varRetriever_r )
const;
66 std::string operator()( std::string && value_r,
VarRetriever varRetriever_r )
const;
107 std::string operator()(
const std::string & value_r )
const;
110 std::string operator()( std::string && value_r )
const;
121 Url operator()(
const Url & url_r )
const;
base::ValueTransform< Url, repo::RepoVariablesUrlReplacer > RepoVariablesReplacedUrl
Helper managing repo variables replaced urls.
base::ValueTransform< std::string, repo::RepoVariablesStringReplacer > RepoVariablesReplacedString
Helper managing repo variables replaced strings.
base::ContainerTransform< std::list< std::string >, repo::RepoVariablesStringReplacer > RepoVariablesReplacedStringList
Helper managing repo variables replaced string lists.
base::ContainerTransform< std::list< Url >, repo::RepoVariablesUrlReplacer > RepoVariablesReplacedUrlList
Helper managing repo variables replaced url lists.
Easy-to use interface to the ZYPP dependency resolver.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Functor expanding repo variables in a string.
function< const std::string *(const std::string &)> VarRetriever
Function taking a variable name and returning a pointer to the variable value or nullptr if unset.
Functor replacing repository variables.
Functor replacing repository variables.