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;
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...
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
Functor expanding repo variables in a string.
Functor replacing repository variables.
Functor replacing repository variables.
Easy-to use interface to the ZYPP dependency resolver.