<!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/Fetcher.cc File 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('Fetcher_8cc.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#define-members">Macros</a> | <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">Fetcher.cc File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <iostream></code><br /> <code>#include <fstream></code><br /> <code>#include <list></code><br /> <code>#include <map></code><br /> <code>#include "<a class="el" href="Easy_8h_source.html">zypp/base/Easy.h</a>"</code><br /> <code>#include "<a class="el" href="LogControl_8h_source.html">zypp/base/LogControl.h</a>"</code><br /> <code>#include "<a class="el" href="LogTools_8h_source.html">zypp/base/LogTools.h</a>"</code><br /> <code>#include "<a class="el" href="PtrTypes_8h_source.html">zypp/base/PtrTypes.h</a>"</code><br /> <code>#include "<a class="el" href="DefaultIntegral_8h_source.html">zypp/base/DefaultIntegral.h</a>"</code><br /> <code>#include "<a class="el" href="String_8h_source.html">zypp/base/String.h</a>"</code><br /> <code>#include "<a class="el" href="Fetcher_8h_source.html">zypp/Fetcher.h</a>"</code><br /> <code>#include "<a class="el" href="ZYppFactory_8h_source.html">zypp/ZYppFactory.h</a>"</code><br /> <code>#include "<a class="el" href="CheckSum_8h_source.html">zypp/CheckSum.h</a>"</code><br /> <code>#include "<a class="el" href="UserRequestException_8h_source.html">zypp/base/UserRequestException.h</a>"</code><br /> <code>#include "<a class="el" href="ContentFileReader_8h_source.html">zypp/parser/susetags/ContentFileReader.h</a>"</code><br /> <code>#include "<a class="el" href="RepoIndex_8h_source.html">zypp/parser/susetags/RepoIndex.h</a>"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for Fetcher.cc:</div> <div class="dyncontent"> <div class="center"><img src="Fetcher_8cc__incl.png" border="0" usemap="#zypp_2Fetcher_8cc" alt=""/></div> <map name="zypp_2Fetcher_8cc" id="zypp_2Fetcher_8cc"> <area shape="rect" title=" " alt="" coords="2204,5,2321,32"/> <area shape="rect" title=" " alt="" coords="93,319,168,345"/> <area shape="rect" title=" " alt="" coords="4149,80,4219,107"/> <area shape="rect" title=" " alt="" coords="292,490,332,517"/> <area shape="rect" title=" " alt="" coords="630,319,679,345"/> <area shape="rect" href="Easy_8h.html" title=" " alt="" coords="2013,401,2139,427"/> <area shape="rect" href="LogControl_8h.html" title=" " alt="" coords="2123,319,2293,345"/> <area shape="rect" href="PtrTypes_8h.html" title=" " alt="" coords="3657,401,3810,427"/> <area shape="rect" href="LogTools_8h.html" title=" " alt="" coords="461,237,619,263"/> <area shape="rect" href="DefaultIntegral_8h.html" title=" " alt="" coords="3915,401,4109,427"/> <area shape="rect" href="String_8h.html" title=" " alt="" coords="907,319,1045,345"/> <area shape="rect" href="Fetcher_8h.html" title=" " alt="" coords="2031,80,2145,107"/> <area shape="rect" href="CheckSum_8h.html" title=" " alt="" coords="1611,319,1741,345"/> <area shape="rect" href="ZYppFactory_8h.html" title=" " alt="" coords="3093,155,3238,181"/> <area shape="rect" href="UserRequestException_8h.html" title=" " alt="" coords="1171,319,1405,345"/> <area shape="rect" href="ContentFileReader_8h.html" title=" " alt="" coords="3595,229,3749,271"/> <area shape="rect" href="RepoIndex_8h.html" title=" " alt="" coords="2610,229,2761,271"/> <area shape="rect" title=" " alt="" coords="2047,490,2105,517"/> <area shape="rect" title=" " alt="" coords="2515,490,2578,517"/> <area shape="rect" href="Logger_8h.html" title=" " alt="" coords="1386,401,1529,427"/> <area shape="rect" href="Pathname_8h.html" title=" " alt="" coords="2163,401,2293,427"/> <area shape="rect" title=" " alt="" coords="1047,490,1110,517"/> <area shape="rect" title=" " alt="" coords="1509,490,1566,517"/> <area shape="rect" title=" " alt="" coords="3254,490,3413,517"/> <area shape="rect" title=" " alt="" coords="3437,490,3595,517"/> <area shape="rect" title=" " alt="" coords="3619,490,3765,517"/> <area shape="rect" title=" " alt="" coords="3790,490,3957,517"/> <area shape="rect" title=" " alt="" coords="609,401,668,427"/> <area shape="rect" title=" " alt="" coords="413,319,453,345"/> <area shape="rect" href="Hash_8h.html" title=" " alt="" coords="1807,401,1937,427"/> <area shape="rect" href="Iterator_8h.html" title=" " alt="" coords="243,319,389,345"/> <area shape="rect" href="APIConfig_8h.html" title="Provides API related macros." alt="" coords="1766,319,1895,345"/> <area shape="rect" title=" " alt="" coords="4147,490,4314,517"/> <area shape="rect" title=" " alt="" coords="3981,483,4123,524"/> <area shape="rect" title=" " alt="" coords="1109,401,1179,427"/> <area shape="rect" title=" " alt="" coords="953,401,1085,427"/> <area shape="rect" title=" " alt="" coords="794,393,929,435"/> <area shape="rect" href="Function_8h.html" title=" " alt="" coords="2470,401,2623,427"/> <area shape="rect" href="Flags_8h.html" title=" " alt="" coords="903,237,1036,263"/> <area shape="rect" href="Url_8h.html" title=" " alt="" coords="2255,155,2340,181"/> <area shape="rect" href="OnMediaLocation_8h.html" title=" " alt="" coords="1941,237,2115,263"/> <area shape="rect" href="Digest_8h.html" title=" " alt="" coords="1429,319,1536,345"/> <area shape="rect" href="MediaSetAccess_8h.html" title=" " alt="" coords="2066,155,2230,181"/> <area shape="rect" href="FileChecker_8h.html" title=" " alt="" coords="1727,237,1865,263"/> <area shape="rect" href="ProgressData_8h.html" title=" " alt="" coords="2773,319,2923,345"/> <area shape="rect" href="Exception_8h.html" title=" " alt="" coords="1203,401,1362,427"/> <area shape="rect" href="ReferenceCounted_8h.html" title=" " alt="" coords="2947,319,3160,345"/> <area shape="rect" href="NonCopyable_8h.html" title=" " alt="" coords="3235,319,3418,345"/> <area shape="rect" href="ZYpp_8h.html" title=" " alt="" coords="3277,237,3377,263"/> <area shape="rect" href="InputStream_8h.html" title=" " alt="" coords="3645,319,3821,345"/> </map> </div> </div> <p><a href="Fetcher_8cc_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1FetcherIndex.html">zypp::FetcherIndex</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">class that represents indexes which add metadata to fetcher jobs and therefore need to be retrieved in advance. <a href="structzypp_1_1FetcherIndex.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1SameFetcherIndex.html">zypp::SameFetcherIndex</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">std::set ordering (less semantic) <a href="structzypp_1_1SameFetcherIndex.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1FetcherJob.html">zypp::FetcherJob</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Class to encapsulate the <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> object and the <a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a> together. <a href="structzypp_1_1FetcherJob.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Fetcher_1_1Impl.html">zypp::Fetcher::Impl</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><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> implementation. <a href="classzypp_1_1Fetcher_1_1Impl.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1ContentReaderHelper.html">zypp::ContentReaderHelper</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespacezypp"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html">zypp</a></td></tr> <tr class="memdesc:namespacezypp"><td class="mdescLeft"> </td><td class="mdescRight">Easy-to use interface to the ZYPP dependency resolver. <br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:ad11ca1dc9757eafa29e9de2259388ff4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Fetcher_8cc.html#ad11ca1dc9757eafa29e9de2259388ff4">ZYPP_BASE_LOGGER_LOGGROUP</a>   "zypp:fetcher"</td></tr> <tr class="separator:ad11ca1dc9757eafa29e9de2259388ff4"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:a12379cb8bcb226822695d940775eea00"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshared__ptr.html">shared_ptr</a>< FetcherIndex > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html#a12379cb8bcb226822695d940775eea00">zypp::FetcherIndex_Ptr</a></td></tr> <tr class="separator:a12379cb8bcb226822695d940775eea00"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a54e3966597630225689dfd665bf47d5d"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshared__ptr.html">shared_ptr</a>< FetcherJob > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html#a54e3966597630225689dfd665bf47d5d">zypp::FetcherJob_Ptr</a></td></tr> <tr class="separator:a54e3966597630225689dfd665bf47d5d"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a387e89325d0b9794df938bc3d6069342"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html#a387e89325d0b9794df938bc3d6069342">zypp::ZYPP_DECLARE_OPERATORS_FOR_FLAGS</a> (FetcherJob::Flags)</td></tr> <tr class="separator:a387e89325d0b9794df938bc3d6069342"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9163760e530dc1bc19bac539b68808bb"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html#a9163760e530dc1bc19bac539b68808bb">zypp::operator<<</a> (std::ostream &str, const FetcherJob_Ptr &obj)</td></tr> <tr class="separator:a9163760e530dc1bc19bac539b68808bb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab9fd3e8c0b6caf1132e9882e75eea2de"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp.html#ab9fd3e8c0b6caf1132e9882e75eea2de">zypp::operator<<</a> (std::ostream &str, const Fetcher &obj)</td></tr> <tr class="separator:ab9fd3e8c0b6caf1132e9882e75eea2de"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a id="ad11ca1dc9757eafa29e9de2259388ff4"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad11ca1dc9757eafa29e9de2259388ff4">◆ </a></span>ZYPP_BASE_LOGGER_LOGGROUP</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define ZYPP_BASE_LOGGER_LOGGROUP   "zypp:fetcher"</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="Fetcher_8cc_source.html#l00031">31</a> of file <a class="el" href="Fetcher_8cc_source.html">Fetcher.cc</a>.</p> </div> </div> </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="Fetcher_8cc.html">Fetcher.cc</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>