<!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::RepoMediaAccess::Impl Class Reference</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&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  <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&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&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('classzypp_1_1repo_1_1RepoMediaAccess_1_1Impl.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Public Attributes</a> | <a href="#pri-methods">Private Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> | <a href="classzypp_1_1repo_1_1RepoMediaAccess_1_1Impl-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::repo::RepoMediaAccess::Impl Class Reference</div> </div> </div><!--header--> <div class="contents"> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a03168fb0b734374190bbc812f76c9bae"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1RepoMediaAccess_1_1Impl.html#a03168fb0b734374190bbc812f76c9bae">Impl</a> (const <a class="el" href="classzypp_1_1ProvideFilePolicy.html">ProvideFilePolicy</a> &defaultPolicy_r)</td></tr> <tr class="separator:a03168fb0b734374190bbc812f76c9bae"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a39a073b575b2c63055f9b9caf9c87e83"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1RepoMediaAccess_1_1Impl.html#a39a073b575b2c63055f9b9caf9c87e83">~Impl</a> ()</td></tr> <tr class="separator:a39a073b575b2c63055f9b9caf9c87e83"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3fa34b2fc05d7d85dfa1e529a00e50d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshared__ptr.html">shared_ptr</a>< <a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1RepoMediaAccess_1_1Impl.html#a3fa34b2fc05d7d85dfa1e529a00e50d8">mediaAccessForUrl</a> (const <a class="el" href="classzypp_1_1Url.html">Url</a> &<a class="el" href="MediaCurl_8cc.html#a80c807b920948127b73f36d4d8d89037">url</a>, <a class="el" href="classzypp_1_1RepoInfo.html">RepoInfo</a> repo)</td></tr> <tr class="memdesc:a3fa34b2fc05d7d85dfa1e529a00e50d8"><td class="mdescLeft"> </td><td class="mdescRight">Provide a <a class="el" href="classzypp_1_1MediaSetAccess.html" title="Media access layer responsible for handling files distributed on a set of media with media change and...">MediaSetAccess</a> for <code>url</code> with label and verifyer adjusted. <a href="#a3fa34b2fc05d7d85dfa1e529a00e50d8">More...</a><br /></td></tr> <tr class="separator:a3fa34b2fc05d7d85dfa1e529a00e50d8"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr class="memitem:a173b236f51fad5bb04d2570bb00083cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1ProvideFilePolicy.html">ProvideFilePolicy</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1RepoMediaAccess_1_1Impl.html#a173b236f51fad5bb04d2570bb00083cf">_defaultPolicy</a></td></tr> <tr class="separator:a173b236f51fad5bb04d2570bb00083cf"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a> Private Member Functions</h2></td></tr> <tr class="memitem:ad5278b823eae7a6cf16147a995a63318"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1RepoMediaAccess_1_1Impl.html#ad5278b823eae7a6cf16147a995a63318">setVerifierForRepo</a> (<a class="el" href="classzypp_1_1RepoInfo.html">RepoInfo</a> repo, <a class="el" href="classshared__ptr.html">shared_ptr</a>< <a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> > media)</td></tr> <tr class="separator:ad5278b823eae7a6cf16147a995a63318"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a> Private Attributes</h2></td></tr> <tr class="memitem:a1648dcd08c69cfc4dffbafda5d3d4f1d"><td class="memItemLeft" align="right" valign="top">std::map< <a class="el" href="classshared__ptr.html">shared_ptr</a>< <a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> >, <a class="el" href="classzypp_1_1RepoInfo.html">RepoInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1RepoMediaAccess_1_1Impl.html#a1648dcd08c69cfc4dffbafda5d3d4f1d">_verifier</a></td></tr> <tr class="separator:a1648dcd08c69cfc4dffbafda5d3d4f1d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa363f28f5c60d108ca90d39a0ecf19d6"><td class="memItemLeft" align="right" valign="top">std::map< <a class="el" href="classzypp_1_1Url.html">Url</a>, <a class="el" href="classshared__ptr.html">shared_ptr</a>< <a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1RepoMediaAccess_1_1Impl.html#aa363f28f5c60d108ca90d39a0ecf19d6">_medias</a></td></tr> <tr class="separator:aa363f28f5c60d108ca90d39a0ecf19d6"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"> <p class="definition">Definition at line <a class="el" href="RepoProvideFile_8cc_source.html#l00121">121</a> of file <a class="el" href="RepoProvideFile_8cc_source.html">RepoProvideFile.cc</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a03168fb0b734374190bbc812f76c9bae"></a> <h2 class="memtitle"><span class="permalink"><a href="#a03168fb0b734374190bbc812f76c9bae">◆ </a></span>Impl()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">zypp::repo::RepoMediaAccess::Impl::Impl </td> <td>(</td> <td class="paramtype">const <a class="el" href="classzypp_1_1ProvideFilePolicy.html">ProvideFilePolicy</a> & </td> <td class="paramname"><em>defaultPolicy_r</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="RepoProvideFile_8cc_source.html#l00124">124</a> of file <a class="el" href="RepoProvideFile_8cc_source.html">RepoProvideFile.cc</a>.</p> </div> </div> <a id="a39a073b575b2c63055f9b9caf9c87e83"></a> <h2 class="memtitle"><span class="permalink"><a href="#a39a073b575b2c63055f9b9caf9c87e83">◆ </a></span>~Impl()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">zypp::repo::RepoMediaAccess::Impl::~Impl </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="RepoProvideFile_8cc_source.html#l00128">128</a> of file <a class="el" href="RepoProvideFile_8cc_source.html">RepoProvideFile.cc</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a3fa34b2fc05d7d85dfa1e529a00e50d8"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3fa34b2fc05d7d85dfa1e529a00e50d8">◆ </a></span>mediaAccessForUrl()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classshared__ptr.html">shared_ptr</a><<a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a>> zypp::repo::RepoMediaAccess::Impl::mediaAccessForUrl </td> <td>(</td> <td class="paramtype">const <a class="el" href="classzypp_1_1Url.html">Url</a> & </td> <td class="paramname"><em>url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classzypp_1_1RepoInfo.html">RepoInfo</a> </td> <td class="paramname"><em>repo</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provide a <a class="el" href="classzypp_1_1MediaSetAccess.html" title="Media access layer responsible for handling files distributed on a set of media with media change and...">MediaSetAccess</a> for <code>url</code> with label and verifyer adjusted. </p> <p>As the same url (e.g. <code>'dvd:///'</code> ) might be used for multiple repos we must always adjust the repo specific data (label,verifyer).</p> <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000058">Todo:</a></b></dt><dd>This mixture of media and repos specific data is fragile. </dd></dl> <p class="definition">Definition at line <a class="el" href="RepoProvideFile_8cc_source.html#l00146">146</a> of file <a class="el" href="RepoProvideFile_8cc_source.html">RepoProvideFile.cc</a>.</p> </div> </div> <a id="ad5278b823eae7a6cf16147a995a63318"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad5278b823eae7a6cf16147a995a63318">◆ </a></span>setVerifierForRepo()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void zypp::repo::RepoMediaAccess::Impl::setVerifierForRepo </td> <td>(</td> <td class="paramtype"><a class="el" href="classzypp_1_1RepoInfo.html">RepoInfo</a> </td> <td class="paramname"><em>repo</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classshared__ptr.html">shared_ptr</a>< <a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> > </td> <td class="paramname"><em>media</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="RepoProvideFile_8cc_source.html#l00165">165</a> of file <a class="el" href="RepoProvideFile_8cc_source.html">RepoProvideFile.cc</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="a1648dcd08c69cfc4dffbafda5d3d4f1d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1648dcd08c69cfc4dffbafda5d3d4f1d">◆ </a></span>_verifier</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">std::map<<a class="el" href="classshared__ptr.html">shared_ptr</a><<a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a>>, <a class="el" href="classzypp_1_1RepoInfo.html">RepoInfo</a>> zypp::repo::RepoMediaAccess::Impl::_verifier</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="RepoProvideFile_8cc_source.html#l00226">226</a> of file <a class="el" href="RepoProvideFile_8cc_source.html">RepoProvideFile.cc</a>.</p> </div> </div> <a id="aa363f28f5c60d108ca90d39a0ecf19d6"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa363f28f5c60d108ca90d39a0ecf19d6">◆ </a></span>_medias</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">std::map<<a class="el" href="classzypp_1_1Url.html">Url</a>, <a class="el" href="classshared__ptr.html">shared_ptr</a><<a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a>> > zypp::repo::RepoMediaAccess::Impl::_medias</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="RepoProvideFile_8cc_source.html#l00227">227</a> of file <a class="el" href="RepoProvideFile_8cc_source.html">RepoProvideFile.cc</a>.</p> </div> </div> <a id="a173b236f51fad5bb04d2570bb00083cf"></a> <h2 class="memtitle"><span class="permalink"><a href="#a173b236f51fad5bb04d2570bb00083cf">◆ </a></span>_defaultPolicy</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classzypp_1_1ProvideFilePolicy.html">ProvideFilePolicy</a> zypp::repo::RepoMediaAccess::Impl::_defaultPolicy</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="RepoProvideFile_8cc_source.html#l00230">230</a> of file <a class="el" href="RepoProvideFile_8cc_source.html">RepoProvideFile.cc</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>zypp/repo/<a class="el" href="RepoProvideFile_8cc_source.html">RepoProvideFile.cc</a></li> </ul> </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="namespacezypp.html">zypp</a></li><li class="navelem"><a class="el" href="namespacezypp_1_1repo.html">repo</a></li><li class="navelem"><a class="el" href="classzypp_1_1repo_1_1RepoMediaAccess.html">RepoMediaAccess</a></li><li class="navelem"><a class="el" href="classzypp_1_1repo_1_1RepoMediaAccess_1_1Impl.html">Impl</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>