<!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::susetags::Downloader 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_1susetags_1_1Downloader.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> | <a href="classzypp_1_1repo_1_1susetags_1_1Downloader-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::repo::susetags::Downloader Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="classzypp_1_1repo_1_1susetags_1_1Downloader.html" title="Downloader for SUSETags (YaST2) repositories Encapsulates all the knowledge of which files have to be...">Downloader</a> for SUSETags (YaST2) repositories Encapsulates all the knowledge of which files have to be downloaded to the local disk. <a href="classzypp_1_1repo_1_1susetags_1_1Downloader.html#details">More...</a></p> <p><code>#include <<a class="el" href="susetags_2Downloader_8h_source.html">Downloader.h</a>></code></p> <div class="dynheader"> Inheritance diagram for zypp::repo::susetags::Downloader:</div> <div class="dyncontent"> <div class="center"><img src="classzypp_1_1repo_1_1susetags_1_1Downloader__inherit__graph.png" border="0" usemap="#zypp_1_1repo_1_1susetags_1_1Downloader_inherit__map" alt="Inheritance graph"/></div> <map name="zypp_1_1repo_1_1susetags_1_1Downloader_inherit__map" id="zypp_1_1repo_1_1susetags_1_1Downloader_inherit__map"> <area shape="rect" title="Downloader for SUSETags (YaST2) repositories Encapsulates all the knowledge of which files have to be..." alt="" coords="17,155,163,196"/> <area shape="rect" href="classzypp_1_1repo_1_1Downloader.html" title="Downloader base class." alt="" coords="5,80,175,107"/> <area shape="rect" href="classzypp_1_1Fetcher.html" title="This class allows to retrieve a group of files in a confortable way, providing some smartness that do..." alt="" coords="38,5,142,32"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <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:ada35ccf184b06e2d752608ab95b6b34f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1susetags_1_1Downloader.html#ada35ccf184b06e2d752608ab95b6b34f">Downloader</a> (const <a class="el" href="classzypp_1_1RepoInfo.html">RepoInfo</a> &info, const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &delta_dir=<a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a>())</td></tr> <tr class="memdesc:ada35ccf184b06e2d752608ab95b6b34f"><td class="mdescLeft"> </td><td class="mdescRight">Constructor from the repository information. <a href="#ada35ccf184b06e2d752608ab95b6b34f">More...</a><br /></td></tr> <tr class="separator:ada35ccf184b06e2d752608ab95b6b34f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3661f15a2446f07f2152153b37d77f0b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1susetags_1_1Downloader.html#a3661f15a2446f07f2152153b37d77f0b">download</a> (<a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> &media, const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &dest_dir, const <a class="el" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a> &progress=<a class="el" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a>())</td></tr> <tr class="memdesc:a3661f15a2446f07f2152153b37d77f0b"><td class="mdescLeft"> </td><td class="mdescRight">Download metadata to a local directory. <a href="#a3661f15a2446f07f2152153b37d77f0b">More...</a><br /></td></tr> <tr class="separator:a3661f15a2446f07f2152153b37d77f0b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa6383fe1059ae7e7510f5c14885996d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1RepoStatus.html">RepoStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1susetags_1_1Downloader.html#aa6383fe1059ae7e7510f5c14885996d2">status</a> (<a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> &media)</td></tr> <tr class="memdesc:aa6383fe1059ae7e7510f5c14885996d2"><td class="mdescLeft"> </td><td class="mdescRight">Status of the remote repository. <a href="#aa6383fe1059ae7e7510f5c14885996d2">More...</a><br /></td></tr> <tr class="separator:aa6383fe1059ae7e7510f5c14885996d2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a706d834201d36f715095d996bdfc2376"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1susetags_1_1Downloader.html#a706d834201d36f715095d996bdfc2376">consumeIndex</a> (const parser::susetags::RepoIndex_Ptr &data_r)</td></tr> <tr class="memdesc:a706d834201d36f715095d996bdfc2376"><td class="mdescLeft"> </td><td class="mdescRight">Content file parser consumer. <a href="#a706d834201d36f715095d996bdfc2376">More...</a><br /></td></tr> <tr class="separator:a706d834201d36f715095d996bdfc2376"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classzypp_1_1repo_1_1Downloader"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classzypp_1_1repo_1_1Downloader')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classzypp_1_1repo_1_1Downloader.html">zypp::repo::Downloader</a></td></tr> <tr class="memitem:aae61733590d58214a5507dcda5333b9e inherit pub_methods_classzypp_1_1repo_1_1Downloader"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1Downloader.html#aae61733590d58214a5507dcda5333b9e">Downloader</a> ()</td></tr> <tr class="memdesc:aae61733590d58214a5507dcda5333b9e inherit pub_methods_classzypp_1_1repo_1_1Downloader"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="classzypp_1_1repo_1_1Downloader.html#aae61733590d58214a5507dcda5333b9e">More...</a><br /></td></tr> <tr class="separator:aae61733590d58214a5507dcda5333b9e inherit pub_methods_classzypp_1_1repo_1_1Downloader"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac0449b678bc560a6f985932bd4ca13b8 inherit pub_methods_classzypp_1_1repo_1_1Downloader"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1Downloader.html#ac0449b678bc560a6f985932bd4ca13b8">Downloader</a> (const <a class="el" href="classzypp_1_1RepoInfo.html">RepoInfo</a> &info)</td></tr> <tr class="memdesc:ac0449b678bc560a6f985932bd4ca13b8 inherit pub_methods_classzypp_1_1repo_1_1Downloader"><td class="mdescLeft"> </td><td class="mdescRight">C-tor associating the downloader with a <a class="el" href="classzypp_1_1RepoInfo.html" title="What is known about a repository.">RepoInfo</a>. <a href="classzypp_1_1repo_1_1Downloader.html#ac0449b678bc560a6f985932bd4ca13b8">More...</a><br /></td></tr> <tr class="separator:ac0449b678bc560a6f985932bd4ca13b8 inherit pub_methods_classzypp_1_1repo_1_1Downloader"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7c87178107352752fafc838d54f386f9 inherit pub_methods_classzypp_1_1repo_1_1Downloader"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1Downloader.html#a7c87178107352752fafc838d54f386f9">~Downloader</a> ()</td></tr> <tr class="separator:a7c87178107352752fafc838d54f386f9 inherit pub_methods_classzypp_1_1repo_1_1Downloader"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abce6a2457b2517011c37f5d723ea9ba8 inherit pub_methods_classzypp_1_1repo_1_1Downloader"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classzypp_1_1RepoInfo.html">RepoInfo</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1Downloader.html#abce6a2457b2517011c37f5d723ea9ba8">repoInfo</a> () const</td></tr> <tr class="separator:abce6a2457b2517011c37f5d723ea9ba8 inherit pub_methods_classzypp_1_1repo_1_1Downloader"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classzypp_1_1Fetcher"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classzypp_1_1Fetcher')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classzypp_1_1Fetcher.html">zypp::Fetcher</a></td></tr> <tr class="memitem:a6535edf764f78b0ed312e0bcec0a97d1 inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#a6535edf764f78b0ed312e0bcec0a97d1">ZYPP_DECLARE_FLAGS</a> (Options, <a class="el" href="classzypp_1_1Fetcher.html#ababfa34eb6abcb97b6f8e5c4d176b259">Option</a>)</td></tr> <tr class="separator:a6535edf764f78b0ed312e0bcec0a97d1 inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac41b5bac268a02eeb70b93d3aa204216 inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#ac41b5bac268a02eeb70b93d3aa204216">Fetcher</a> ()</td></tr> <tr class="memdesc:ac41b5bac268a02eeb70b93d3aa204216 inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">Default ctor. <a href="classzypp_1_1Fetcher.html#ac41b5bac268a02eeb70b93d3aa204216">More...</a><br /></td></tr> <tr class="separator:ac41b5bac268a02eeb70b93d3aa204216 inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af970b0a01991b0d4a4ebbf111f455b5a inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#af970b0a01991b0d4a4ebbf111f455b5a">~Fetcher</a> ()</td></tr> <tr class="memdesc:af970b0a01991b0d4a4ebbf111f455b5a inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">Dtor. <a href="classzypp_1_1Fetcher.html#af970b0a01991b0d4a4ebbf111f455b5a">More...</a><br /></td></tr> <tr class="separator:af970b0a01991b0d4a4ebbf111f455b5a inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa0352fce9b40b35323678c655ed7f581 inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#aa0352fce9b40b35323678c655ed7f581">setOptions</a> (Options <a class="el" href="classzypp_1_1Fetcher.html#a2a47459ad8aeb3228a88d8c2e1959e10">options</a>)</td></tr> <tr class="memdesc:aa0352fce9b40b35323678c655ed7f581 inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">Set the <a class="el" href="classzypp_1_1Fetcher.html" title="This class allows to retrieve a group of files in a confortable way, providing some smartness that do...">Fetcher</a> options. <a href="classzypp_1_1Fetcher.html#aa0352fce9b40b35323678c655ed7f581">More...</a><br /></td></tr> <tr class="separator:aa0352fce9b40b35323678c655ed7f581 inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2a47459ad8aeb3228a88d8c2e1959e10 inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">Options </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#a2a47459ad8aeb3228a88d8c2e1959e10">options</a> () const</td></tr> <tr class="memdesc:a2a47459ad8aeb3228a88d8c2e1959e10 inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">Get current options. <a href="classzypp_1_1Fetcher.html#a2a47459ad8aeb3228a88d8c2e1959e10">More...</a><br /></td></tr> <tr class="separator:a2a47459ad8aeb3228a88d8c2e1959e10 inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28b775d82981d5bd19bb91b18f502bae inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#a28b775d82981d5bd19bb91b18f502bae">addIndex</a> (const <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> &resource)</td></tr> <tr class="memdesc:a28b775d82981d5bd19bb91b18f502bae inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">Adds an index containing metadata (for example checksums ) that will be retrieved and read before the job processing starts. <a href="classzypp_1_1Fetcher.html#a28b775d82981d5bd19bb91b18f502bae">More...</a><br /></td></tr> <tr class="separator:a28b775d82981d5bd19bb91b18f502bae inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a70bf86b79179cbbe00a67bb776596e4a inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#a70bf86b79179cbbe00a67bb776596e4a">enqueue</a> (const <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> &resource, const <a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a> &checker=<a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a>())</td></tr> <tr class="memdesc:a70bf86b79179cbbe00a67bb776596e4a inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">Enqueue a object for transferal, they will not be transferred until <a class="el" href="classzypp_1_1Fetcher.html#a63506014903b608d38ca4d96dc1573e5">start()</a> is called. <a href="classzypp_1_1Fetcher.html#a70bf86b79179cbbe00a67bb776596e4a">More...</a><br /></td></tr> <tr class="separator:a70bf86b79179cbbe00a67bb776596e4a inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aefee7d3271ca369c858ca540deacc4ed inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#aefee7d3271ca369c858ca540deacc4ed">enqueueDigested</a> (const <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> &resource, const <a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a> &checker=<a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a>(), const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &deltafile=<a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a>())</td></tr> <tr class="memdesc:aefee7d3271ca369c858ca540deacc4ed inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">Enqueue a object for transferal, they will not be transferred until <a class="el" href="classzypp_1_1Fetcher.html#a63506014903b608d38ca4d96dc1573e5">start()</a> is called. <a href="classzypp_1_1Fetcher.html#aefee7d3271ca369c858ca540deacc4ed">More...</a><br /></td></tr> <tr class="separator:aefee7d3271ca369c858ca540deacc4ed inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8b157e31f6f41fe586a51d45ea03bc0a inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#a8b157e31f6f41fe586a51d45ea03bc0a">enqueueDir</a> (const <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> &resource, <a class="el" href="classbool.html">bool</a> recursive=false, const <a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a> &checker=<a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a>())</td></tr> <tr class="memdesc:a8b157e31f6f41fe586a51d45ea03bc0a inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">Enqueue a directory. <a href="classzypp_1_1Fetcher.html#a8b157e31f6f41fe586a51d45ea03bc0a">More...</a><br /></td></tr> <tr class="separator:a8b157e31f6f41fe586a51d45ea03bc0a inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac4e29bf4fd1251019ddeccf04c261ca7 inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#ac4e29bf4fd1251019ddeccf04c261ca7">enqueueDigestedDir</a> (const <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> &resource, <a class="el" href="classbool.html">bool</a> recursive=false, const <a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a> &checker=<a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a>())</td></tr> <tr class="memdesc:ac4e29bf4fd1251019ddeccf04c261ca7 inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">Enqueue a directory and always check for checksums. <a href="classzypp_1_1Fetcher.html#ac4e29bf4fd1251019ddeccf04c261ca7">More...</a><br /></td></tr> <tr class="separator:ac4e29bf4fd1251019ddeccf04c261ca7 inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad3ea75cc05915e2a89f895dcde3ff117 inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#ad3ea75cc05915e2a89f895dcde3ff117">addCachePath</a> (const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &cache_dir)</td></tr> <tr class="memdesc:ad3ea75cc05915e2a89f895dcde3ff117 inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">adds a directory to the list of directories where to look for cached files <a href="classzypp_1_1Fetcher.html#ad3ea75cc05915e2a89f895dcde3ff117">More...</a><br /></td></tr> <tr class="separator:ad3ea75cc05915e2a89f895dcde3ff117 inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a307eb63c935c97342b1439576df49e9f inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#a307eb63c935c97342b1439576df49e9f">reset</a> ()</td></tr> <tr class="memdesc:a307eb63c935c97342b1439576df49e9f inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">Reset the transfer (jobs) list. <a href="classzypp_1_1Fetcher.html#a307eb63c935c97342b1439576df49e9f">More...</a><br /></td></tr> <tr class="separator:a307eb63c935c97342b1439576df49e9f inherit pub_methods_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a63506014903b608d38ca4d96dc1573e5 inherit pub_methods_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#a63506014903b608d38ca4d96dc1573e5">start</a> (const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &dest_dir, <a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> &media, const <a class="el" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a> &progress=<a class="el" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a>())</td></tr> <tr class="memdesc:a63506014903b608d38ca4d96dc1573e5 inherit pub_methods_classzypp_1_1Fetcher"><td class="mdescLeft"> </td><td class="mdescRight">start the transfer to a destination directory <em>dest_dir</em> You have to provde a media set access <em>media</em> to get the files from The file tree will be replicated inside this directory <a href="classzypp_1_1Fetcher.html#a63506014903b608d38ca4d96dc1573e5">More...</a><br /></td></tr> <tr class="separator:a63506014903b608d38ca4d96dc1573e5 inherit pub_methods_classzypp_1_1Fetcher"><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:a7b1048e085ec82fda7906ed93a6bc4f9"><td class="memItemLeft" align="right" valign="top">parser::susetags::RepoIndex_Ptr </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1susetags_1_1Downloader.html#a7b1048e085ec82fda7906ed93a6bc4f9">_repoindex</a></td></tr> <tr class="separator:a7b1048e085ec82fda7906ed93a6bc4f9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a37418412227e77e96bed029133edef13"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1susetags_1_1Downloader.html#a37418412227e77e96bed029133edef13">_delta_dir</a></td></tr> <tr class="separator:a37418412227e77e96bed029133edef13"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_types_classzypp_1_1Fetcher"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classzypp_1_1Fetcher')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classzypp_1_1Fetcher.html">zypp::Fetcher</a></td></tr> <tr class="memitem:ababfa34eb6abcb97b6f8e5c4d176b259 inherit pub_types_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#ababfa34eb6abcb97b6f8e5c4d176b259">Option</a> { <a class="el" href="classzypp_1_1Fetcher.html#ababfa34eb6abcb97b6f8e5c4d176b259ad2b00027f0ad22a8ec659723778229eb">AutoAddContentFileIndexes</a> = 0x0001, <a class="el" href="classzypp_1_1Fetcher.html#ababfa34eb6abcb97b6f8e5c4d176b259a7d1a27bc7363727403c14621a99bedda">AutoAddChecksumsIndexes</a> = 0x0002, <a class="el" href="classzypp_1_1Fetcher.html#ababfa34eb6abcb97b6f8e5c4d176b259a4708c1ae76ec23e9573d4c1a0710bdaf">AutoAddIndexes</a> = AutoAddContentFileIndexes | AutoAddChecksumsIndexes }</td></tr> <tr class="memdesc:ababfa34eb6abcb97b6f8e5c4d176b259"><td class="mdescLeft"> </td><td class="mdescRight">Various option flags to change behavior. <a href="classzypp_1_1Fetcher.html#ababfa34eb6abcb97b6f8e5c4d176b259">More...</a><br /></td></tr> <tr class="separator:ababfa34eb6abcb97b6f8e5c4d176b259 inherit pub_types_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classzypp_1_1repo_1_1Downloader"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classzypp_1_1repo_1_1Downloader')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classzypp_1_1repo_1_1Downloader.html">zypp::repo::Downloader</a></td></tr> <tr class="memitem:a72b46eff2fd8408a13597004422e8a8c inherit pro_methods_classzypp_1_1repo_1_1Downloader"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1repo_1_1Downloader.html#a72b46eff2fd8408a13597004422e8a8c">defaultDownloadMasterIndex</a> (<a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> &media_r, const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &destdir_r, const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &masterIndex_r)</td></tr> <tr class="memdesc:a72b46eff2fd8408a13597004422e8a8c inherit pro_methods_classzypp_1_1repo_1_1Downloader"><td class="mdescLeft"> </td><td class="mdescRight">Common workflow downloading a (signed) master index file. <a href="classzypp_1_1repo_1_1Downloader.html#a72b46eff2fd8408a13597004422e8a8c">More...</a><br /></td></tr> <tr class="separator:a72b46eff2fd8408a13597004422e8a8c inherit pro_methods_classzypp_1_1repo_1_1Downloader"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header related_classzypp_1_1Fetcher"><td colspan="2" onclick="javascript:toggleInherit('related_classzypp_1_1Fetcher')"><img src="closed.png" alt="-"/> Related Functions inherited from <a class="el" href="classzypp_1_1Fetcher.html">zypp::Fetcher</a></td></tr> <tr class="memitem:a2b6e2ecbf365b3808310e612e470b335 inherit related_classzypp_1_1Fetcher"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher.html#a2b6e2ecbf365b3808310e612e470b335">operator<<</a> (std::ostream &str, const <a class="el" href="classzypp_1_1Fetcher.html">Fetcher</a> &obj)</td></tr> <tr class="separator:a2b6e2ecbf365b3808310e612e470b335 inherit related_classzypp_1_1Fetcher"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="classzypp_1_1repo_1_1susetags_1_1Downloader.html" title="Downloader for SUSETags (YaST2) repositories Encapsulates all the knowledge of which files have to be...">Downloader</a> for SUSETags (YaST2) repositories Encapsulates all the knowledge of which files have to be downloaded to the local disk. </p> <p class="definition">Definition at line <a class="el" href="susetags_2Downloader_8h_source.html#l00034">34</a> of file <a class="el" href="susetags_2Downloader_8h_source.html">Downloader.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="ada35ccf184b06e2d752608ab95b6b34f"></a> <h2 class="memtitle"><span class="permalink"><a href="#ada35ccf184b06e2d752608ab95b6b34f">◆ </a></span>Downloader()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">zypp::repo::susetags::Downloader::Downloader </td> <td>(</td> <td class="paramtype">const <a class="el" href="classzypp_1_1RepoInfo.html">RepoInfo</a> & </td> <td class="paramname"><em>info</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> & </td> <td class="paramname"><em>delta_dir</em> = <code><a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a>()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor from the repository information. </p> <p>The repository information allows more context to be given to the user when something fails.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">info</td><td><a class="el" href="classzypp_1_1Repository.html">Repository</a> information </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="susetags_2Downloader_8cc_source.html#l00031">31</a> of file <a class="el" href="susetags_2Downloader_8cc_source.html">Downloader.cc</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a3661f15a2446f07f2152153b37d77f0b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3661f15a2446f07f2152153b37d77f0b">◆ </a></span>download()</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::susetags::Downloader::download </td> <td>(</td> <td class="paramtype"><a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> & </td> <td class="paramname"><em>media</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> & </td> <td class="paramname"><em>dest_dir</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a> & </td> <td class="paramname"><em>progress</em> = <code><a class="el" href="classzypp_1_1ProgressData.html#a89143a717926c1fa891ba91f07ad7aa8">ProgressData::ReceiverFnc</a>()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Download metadata to a local directory. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">media</td><td>Media access to the repository url </td></tr> <tr><td class="paramname">dest_dir</td><td>Local destination directory </td></tr> <tr><td class="paramname">progress</td><td>progress receiver</td></tr> </table> </dd> </dl> <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000060">Todo:</a></b></dt><dd>: Downloading/sigcheck of master index shoudl be common in base class </dd></dl> <p>Reimplemented from <a class="el" href="classzypp_1_1repo_1_1Downloader.html#a32d1f8b29070810bc6c7a31b403822cc">zypp::repo::Downloader</a>.</p> <p class="definition">Definition at line <a class="el" href="susetags_2Downloader_8cc_source.html#l00056">56</a> of file <a class="el" href="susetags_2Downloader_8cc_source.html">Downloader.cc</a>.</p> </div> </div> <a id="aa6383fe1059ae7e7510f5c14885996d2"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa6383fe1059ae7e7510f5c14885996d2">◆ </a></span>status()</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="classzypp_1_1RepoStatus.html">RepoStatus</a> zypp::repo::susetags::Downloader::status </td> <td>(</td> <td class="paramtype"><a class="el" href="classzypp_1_1MediaSetAccess.html">MediaSetAccess</a> & </td> <td class="paramname"><em>media</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Status of the remote repository. </p> <p>Reimplemented from <a class="el" href="classzypp_1_1repo_1_1Downloader.html#a79adc470a7ddc166087823cbe86f78ec">zypp::repo::Downloader</a>.</p> <p class="definition">Definition at line <a class="el" href="susetags_2Downloader_8cc_source.html#l00036">36</a> of file <a class="el" href="susetags_2Downloader_8cc_source.html">Downloader.cc</a>.</p> </div> </div> <a id="a706d834201d36f715095d996bdfc2376"></a> <h2 class="memtitle"><span class="permalink"><a href="#a706d834201d36f715095d996bdfc2376">◆ </a></span>consumeIndex()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void zypp::repo::susetags::Downloader::consumeIndex </td> <td>(</td> <td class="paramtype">const parser::susetags::RepoIndex_Ptr & </td> <td class="paramname"><em>data_r</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Content file parser consumer. </p> <p class="definition">Definition at line <a class="el" href="susetags_2Downloader_8cc_source.html#l00211">211</a> of file <a class="el" href="susetags_2Downloader_8cc_source.html">Downloader.cc</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="a7b1048e085ec82fda7906ed93a6bc4f9"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7b1048e085ec82fda7906ed93a6bc4f9">◆ </a></span>_repoindex</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">parser::susetags::RepoIndex_Ptr zypp::repo::susetags::Downloader::_repoindex</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="susetags_2Downloader_8h_source.html#l00068">68</a> of file <a class="el" href="susetags_2Downloader_8h_source.html">Downloader.h</a>.</p> </div> </div> <a id="a37418412227e77e96bed029133edef13"></a> <h2 class="memtitle"><span class="permalink"><a href="#a37418412227e77e96bed029133edef13">◆ </a></span>_delta_dir</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="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> zypp::repo::susetags::Downloader::_delta_dir</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="susetags_2Downloader_8h_source.html#l00069">69</a> of file <a class="el" href="susetags_2Downloader_8h_source.html">Downloader.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>zypp/repo/susetags/<a class="el" href="susetags_2Downloader_8h_source.html">Downloader.h</a></li> <li>zypp/repo/susetags/<a class="el" href="susetags_2Downloader_8cc_source.html">Downloader.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="namespacezypp_1_1repo_1_1susetags.html">susetags</a></li><li class="navelem"><a class="el" href="classzypp_1_1repo_1_1susetags_1_1Downloader.html">Downloader</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>