Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 68c0c2ff89d8bf9051ff1b9773ed48e4 > files > 2452

libzypp-doc-17.9.0-1.1.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libzypp: zypp/repo/RepoVariables.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libzypp
   &#160;<span id="projectnumber">17.9.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('RepoVariables_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">RepoVariables.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="RepoVariables_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*---------------------------------------------------------------------\</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">|                          ____ _   __ __ ___                          |</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">|                         |__  / \ / / . \ . \                         |</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">|                           / / \ V /|  _/  _/                         |</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">|                          / /__ | | | | | |                           |</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">|                         /_____||_| |_| |_|                           |</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">|                                                                      |</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">\---------------------------------------------------------------------*/</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#ifndef ZYPP_REPO_VARIABLES_H_</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#define ZYPP_REPO_VARIABLES_H_</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Function_8h.html">zypp/base/Function.h</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ValueTransform_8h.html">zypp/base/ValueTransform.h</a>&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Url_8h.html">zypp/Url.h</a>&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;{</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;  <span class="keyword">namespace </span>repo</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;  {</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structzypp_1_1repo_1_1RepoVarExpand.html">   57</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structzypp_1_1repo_1_1RepoVarExpand.html">RepoVarExpand</a></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    {</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structzypp_1_1repo_1_1RepoVarExpand.html#aa10e0074e741ae74948a1f7ec5ac6ed4">   60</a></span>&#160;      <span class="keyword">typedef</span> <span class="keyword">function</span>&lt;<span class="keyword">const</span> std::string * ( <span class="keyword">const</span> std::string &amp; )&gt; <a class="code" href="structzypp_1_1repo_1_1RepoVarExpand.html#aa10e0074e741ae74948a1f7ec5ac6ed4">VarRetriever</a>;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;      std::string <a class="code" href="structzypp_1_1repo_1_1RepoVarExpand.html#ad425b8e55fb23bc94082f9bb7563f4d1">operator()</a>( <span class="keyword">const</span> std::string &amp; value_r, <a class="code" href="structzypp_1_1repo_1_1RepoVarExpand.html#aa10e0074e741ae74948a1f7ec5ac6ed4">VarRetriever</a> varRetriever_r ) <span class="keyword">const</span>;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">#ifndef SWIG // Swig treats it as syntax error</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;      std::string <a class="code" href="structzypp_1_1repo_1_1RepoVarExpand.html#ad425b8e55fb23bc94082f9bb7563f4d1">operator()</a>( std::string &amp;&amp; value_r, <a class="code" href="structzypp_1_1repo_1_1RepoVarExpand.html#aa10e0074e741ae74948a1f7ec5ac6ed4">VarRetriever</a> varRetriever_r ) <span class="keyword">const</span>;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    };</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structzypp_1_1repo_1_1RepoVariablesStringReplacer.html">  106</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structzypp_1_1repo_1_1RepoVariablesStringReplacer.html">RepoVariablesStringReplacer</a> : <span class="keyword">public</span> std::unary_function&lt;const std::string &amp;, std::string&gt;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    {</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;      std::string <a class="code" href="structzypp_1_1repo_1_1RepoVariablesStringReplacer.html#a6f8fb688b8b306f9fae2993675ca2821">operator()</a>( <span class="keyword">const</span> std::string &amp; value_r ) <span class="keyword">const</span>;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="preprocessor">#ifndef SWIG // Swig treats it as syntax error</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;      std::string <a class="code" href="structzypp_1_1repo_1_1RepoVariablesStringReplacer.html#a6f8fb688b8b306f9fae2993675ca2821">operator()</a>( std::string &amp;&amp; value_r ) <span class="keyword">const</span>;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    };</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="structzypp_1_1repo_1_1RepoVariablesUrlReplacer.html">  121</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structzypp_1_1repo_1_1RepoVariablesUrlReplacer.html">RepoVariablesUrlReplacer</a> : <span class="keyword">public</span> std::unary_function&lt;const Url &amp;, Url&gt;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    {</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;      <a class="code" href="classzypp_1_1Url.html">Url</a> <a class="code" href="structzypp_1_1repo_1_1RepoVariablesUrlReplacer.html#a4fbe3e3c7f9d3237f1ce93012d7b677f">operator()</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1Url.html">Url</a> &amp; url_r ) <span class="keyword">const</span>;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    };</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  } <span class="comment">// namespace repo</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="RepoVariables_8h.html#a3d8ec2127ec9e8c2893a612a1f751472">  129</a></span>&#160;  <span class="keyword">typedef</span> base::ValueTransform&lt;std::string, repo::RepoVariablesStringReplacer&gt; <a class="code" href="RepoVariables_8h.html#a3d8ec2127ec9e8c2893a612a1f751472">RepoVariablesReplacedString</a>;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="RepoVariables_8h.html#a1edc27555b0f48f101680abcbb47548d">  132</a></span>&#160;  <span class="keyword">typedef</span> base::ContainerTransform&lt;std::list&lt;std::string&gt;, repo::RepoVariablesStringReplacer&gt; <a class="code" href="RepoVariables_8h.html#a1edc27555b0f48f101680abcbb47548d">RepoVariablesReplacedStringList</a>;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="RepoVariables_8h.html#a0c5c5e22c13fa1fa2bebe90c24fbaacf">  135</a></span>&#160;  <span class="keyword">typedef</span> base::ValueTransform&lt;Url, repo::RepoVariablesUrlReplacer&gt; <a class="code" href="RepoVariables_8h.html#a0c5c5e22c13fa1fa2bebe90c24fbaacf">RepoVariablesReplacedUrl</a>;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="RepoVariables_8h.html#a020e622fe9340353900f318979e7b972">  138</a></span>&#160;  <span class="keyword">typedef</span> base::ContainerTransform&lt;std::list&lt;Url&gt;, repo::RepoVariablesUrlReplacer&gt; <a class="code" href="RepoVariables_8h.html#a020e622fe9340353900f318979e7b972">RepoVariablesReplacedUrlList</a>;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;} <span class="comment">// namespace zypp</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="ValueTransform_8h_html"><div class="ttname"><a href="ValueTransform_8h.html">ValueTransform.h</a></div></div>
<div class="ttc" id="RepoVariables_8h_html_a0c5c5e22c13fa1fa2bebe90c24fbaacf"><div class="ttname"><a href="RepoVariables_8h.html#a0c5c5e22c13fa1fa2bebe90c24fbaacf">RepoVariablesReplacedUrl</a></div><div class="ttdeci">base::ValueTransform&lt; Url, repo::RepoVariablesUrlReplacer &gt; RepoVariablesReplacedUrl</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8h_source.html#l00135">RepoVariables.h:135</a></div></div>
<div class="ttc" id="RepoVariables_8h_html_a1edc27555b0f48f101680abcbb47548d"><div class="ttname"><a href="RepoVariables_8h.html#a1edc27555b0f48f101680abcbb47548d">RepoVariablesReplacedStringList</a></div><div class="ttdeci">base::ContainerTransform&lt; std::list&lt; std::string &gt;, repo::RepoVariablesStringReplacer &gt; RepoVariablesReplacedStringList</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8h_source.html#l00132">RepoVariables.h:132</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1RepoVariablesStringReplacer_html_a6f8fb688b8b306f9fae2993675ca2821"><div class="ttname"><a href="structzypp_1_1repo_1_1RepoVariablesStringReplacer.html#a6f8fb688b8b306f9fae2993675ca2821">zypp::repo::RepoVariablesStringReplacer::operator()</a></div><div class="ttdeci">std::string operator()(const std::string &amp;value_r) const</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8cc_source.html#l00540">RepoVariables.cc:540</a></div></div>
<div class="ttc" id="Url_8h_html"><div class="ttname"><a href="Url_8h.html">Url.h</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1RepoVarExpand_html"><div class="ttname"><a href="structzypp_1_1repo_1_1RepoVarExpand.html">zypp::repo::RepoVarExpand</a></div><div class="ttdoc">Functor expanding repo variables in a string.</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8h_source.html#l00057">RepoVariables.h:57</a></div></div>
<div class="ttc" id="RepoVariables_8h_html_a020e622fe9340353900f318979e7b972"><div class="ttname"><a href="RepoVariables_8h.html#a020e622fe9340353900f318979e7b972">RepoVariablesReplacedUrlList</a></div><div class="ttdeci">base::ContainerTransform&lt; std::list&lt; Url &gt;, repo::RepoVariablesUrlReplacer &gt; RepoVariablesReplacedUrlList</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8h_source.html#l00138">RepoVariables.h:138</a></div></div>
<div class="ttc" id="Function_8h_html"><div class="ttname"><a href="Function_8h.html">Function.h</a></div></div>
<div class="ttc" id="RepoVariables_8h_html_a3d8ec2127ec9e8c2893a612a1f751472"><div class="ttname"><a href="RepoVariables_8h.html#a3d8ec2127ec9e8c2893a612a1f751472">RepoVariablesReplacedString</a></div><div class="ttdeci">base::ValueTransform&lt; std::string, repo::RepoVariablesStringReplacer &gt; RepoVariablesReplacedString</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8h_source.html#l00129">RepoVariables.h:129</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1RepoVariablesStringReplacer_html"><div class="ttname"><a href="structzypp_1_1repo_1_1RepoVariablesStringReplacer.html">zypp::repo::RepoVariablesStringReplacer</a></div><div class="ttdoc">Functor replacing repository variables.</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8h_source.html#l00106">RepoVariables.h:106</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1RepoVariablesUrlReplacer_html_a4fbe3e3c7f9d3237f1ce93012d7b677f"><div class="ttname"><a href="structzypp_1_1repo_1_1RepoVariablesUrlReplacer.html#a4fbe3e3c7f9d3237f1ce93012d7b677f">zypp::repo::RepoVariablesUrlReplacer::operator()</a></div><div class="ttdeci">Url operator()(const Url &amp;url_r) const</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8cc_source.html#l00549">RepoVariables.cc:549</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1RepoVarExpand_html_aa10e0074e741ae74948a1f7ec5ac6ed4"><div class="ttname"><a href="structzypp_1_1repo_1_1RepoVarExpand.html#aa10e0074e741ae74948a1f7ec5ac6ed4">zypp::repo::RepoVarExpand::VarRetriever</a></div><div class="ttdeci">function&lt; const std::string *(const std::string &amp;)&gt; VarRetriever</div><div class="ttdoc">Function taking a variable name and returning a pointer to the variable value or nullptr if unset.</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8h_source.html#l00060">RepoVariables.h:60</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1RepoVarExpand_html_ad425b8e55fb23bc94082f9bb7563f4d1"><div class="ttname"><a href="structzypp_1_1repo_1_1RepoVarExpand.html#ad425b8e55fb23bc94082f9bb7563f4d1">zypp::repo::RepoVarExpand::operator()</a></div><div class="ttdeci">std::string operator()(const std::string &amp;value_r, VarRetriever varRetriever_r) const</div><div class="ttdoc">Return a copy of value_r with embedded variables expanded.</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8cc_source.html#l00380">RepoVariables.cc:380</a></div></div>
<div class="ttc" id="structzypp_1_1repo_1_1RepoVariablesUrlReplacer_html"><div class="ttname"><a href="structzypp_1_1repo_1_1RepoVariablesUrlReplacer.html">zypp::repo::RepoVariablesUrlReplacer</a></div><div class="ttdoc">Functor replacing repository variables.</div><div class="ttdef"><b>Definition:</b> <a href="RepoVariables_8h_source.html#l00121">RepoVariables.h:121</a></div></div>
<div class="ttc" id="namespacezypp_html"><div class="ttname"><a href="namespacezypp.html">zypp</a></div><div class="ttdoc">Easy-to use interface to the ZYPP dependency resolver.</div><div class="ttdef"><b>Definition:</b> <a href="CodePitfalls_8doc_source.html#l00001">CodePitfalls.doc:1</a></div></div>
<div class="ttc" id="classzypp_1_1Url_html"><div class="ttname"><a href="classzypp_1_1Url.html">zypp::Url</a></div><div class="ttdoc">Url manipulation class.</div><div class="ttdef"><b>Definition:</b> <a href="Url_8h_source.html#l00087">Url.h:87</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c187b43c6f283d9fc95eff3f44ce072a.html">zypp</a></li><li class="navelem"><a class="el" href="dir_87611d73de4eb3bd0276658efbbf5b67.html">repo</a></li><li class="navelem"><a class="el" href="RepoVariables_8h.html">RepoVariables.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>