<!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/Repository.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('Repository_8cc.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#namespaces">Namespaces</a> | <a href="#define-members">Macros</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">Repository.cc File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <climits></code><br /> <code>#include <iostream></code><br /> <code>#include "<a class="el" href="Logger_8h_source.html">zypp/base/Logger.h</a>"</code><br /> <code>#include "<a class="el" href="Gettext_8h_source.html">zypp/base/Gettext.h</a>"</code><br /> <code>#include "<a class="el" href="Exception_8h_source.html">zypp/base/Exception.h</a>"</code><br /> <code>#include "<a class="el" href="Xml_8h_source.html">zypp/base/Xml.h</a>"</code><br /> <code>#include "<a class="el" href="AutoDispose_8h_source.html">zypp/AutoDispose.h</a>"</code><br /> <code>#include "<a class="el" href="Pathname_8h_source.html">zypp/Pathname.h</a>"</code><br /> <code>#include "<a class="el" href="sat_2detail_2PoolImpl_8h_source.html">zypp/sat/detail/PoolImpl.h</a>"</code><br /> <code>#include "<a class="el" href="Repository_8h_source.html">zypp/Repository.h</a>"</code><br /> <code>#include "<a class="el" href="ResPool_8h_source.html">zypp/ResPool.h</a>"</code><br /> <code>#include "<a class="el" href="Product_8h_source.html">zypp/Product.h</a>"</code><br /> <code>#include "<a class="el" href="Pool_8h_source.html">zypp/sat/Pool.h</a>"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for Repository.cc:</div> <div class="dyncontent"> <div class="center"><img src="Repository_8cc__incl.png" border="0" usemap="#zypp_2Repository_8cc" alt=""/></div> <map name="zypp_2Repository_8cc" id="zypp_2Repository_8cc"> <area shape="rect" title=" " alt="" coords="996,5,1132,32"/> <area shape="rect" title=" " alt="" coords="5,80,67,107"/> <area shape="rect" title=" " alt="" coords="91,80,165,107"/> <area shape="rect" href="Logger_8h.html" title=" " alt="" coords="286,528,429,555"/> <area shape="rect" href="Gettext_8h.html" title="Interface to gettext." alt="" coords="3297,80,3442,107"/> <area shape="rect" href="Exception_8h.html" title=" " alt="" coords="706,379,865,405"/> <area shape="rect" href="Xml_8h.html" title=" " alt="" coords="393,453,517,480"/> <area shape="rect" href="AutoDispose_8h.html" title=" " alt="" coords="3107,528,3251,555"/> <area shape="rect" href="Pathname_8h.html" title=" " alt="" coords="999,229,1129,256"/> <area shape="rect" href="sat_2detail_2PoolImpl_8h.html" title=" " alt="" coords="2579,229,2765,256"/> <area shape="rect" href="Repository_8h.html" title=" " alt="" coords="1265,155,1397,181"/> <area shape="rect" href="ResPool_8h.html" title=" " alt="" coords="3104,453,3221,480"/> <area shape="rect" href="Product_8h.html" title=" " alt="" coords="101,453,216,480"/> <area shape="rect" href="Pool_8h.html" title=" " alt="" coords="1335,80,1454,107"/> <area shape="rect" title=" " alt="" coords="539,603,602,629"/> <area shape="rect" title=" " alt="" coords="1838,677,1901,704"/> <area shape="rect" title=" " alt="" coords="422,677,479,704"/> <area shape="rect" title=" " alt="" coords="736,528,776,555"/> <area shape="rect" title=" " alt="" coords="541,453,621,480"/> <area shape="rect" title=" " alt="" coords="645,453,717,480"/> <area shape="rect" title=" " alt="" coords="742,453,829,480"/> <area shape="rect" href="Errno_8h.html" title=" " alt="" coords="905,453,1039,480"/> <area shape="rect" href="String_8h.html" title=" " alt="" coords="801,528,938,555"/> <area shape="rect" title=" " alt="" coords="677,603,736,629"/> <area shape="rect" href="Easy_8h.html" title=" " alt="" coords="811,603,938,629"/> <area shape="rect" href="PtrTypes_8h.html" title=" " alt="" coords="1958,603,2111,629"/> <area shape="rect" href="Function_8h.html" title=" " alt="" coords="2585,603,2738,629"/> <area shape="rect" title=" " alt="" coords="1267,528,1307,555"/> <area shape="rect" title=" " alt="" coords="110,528,159,555"/> <area shape="rect" href="XmlEscape_8h.html" title=" " alt="" coords="160,603,363,629"/> <area shape="rect" title=" " alt="" coords="3219,603,3370,629"/> <area shape="rect" href="NonCopyable_8h.html" title=" " alt="" coords="2961,603,3143,629"/> <area shape="rect" title=" " alt="" coords="1952,304,2043,331"/> <area shape="rect" title=" " alt="" coords="2067,304,2157,331"/> <area shape="rect" title=" " alt="" coords="2182,304,2295,331"/> <area shape="rect" title=" " alt="" coords="2320,304,2437,331"/> <area shape="rect" title=" " alt="" coords="2461,304,2584,331"/> <area shape="rect" href="Hash_8h.html" title=" " alt="" coords="2032,528,2163,555"/> <area shape="rect" href="SerialNumber_8h.html" title=" " alt="" coords="2390,528,2573,555"/> <area shape="rect" href="SetTracker_8h.html" title=" " alt="" coords="2909,379,3075,405"/> <area shape="rect" href="PoolMember_8h.html" title=" " alt="" coords="1520,453,1728,480"/> <area shape="rect" href="Queue_8h.html" title=" " alt="" coords="2225,379,2354,405"/> <area shape="rect" href="RepoInfo_8h.html" title=" " alt="" coords="1974,379,2098,405"/> <area shape="rect" href="Locale_8h.html" title=" " alt="" coords="2056,453,2163,480"/> <area shape="rect" href="Capability_8h.html" title=" " alt="" coords="1598,304,1725,331"/> <area shape="rect" href="IdString_8h.html" title=" " alt="" coords="1731,379,1847,405"/> <area shape="rect" href="Iterator_8h.html" title=" " alt="" coords="1533,528,1680,555"/> <area shape="rect" href="LookupAttr_8h.html" title=" " alt="" coords="1294,379,1453,405"/> <area shape="rect" href="Solvable_8h.html" title=" " alt="" coords="1497,229,1639,256"/> <area shape="rect" href="Date_8h.html" title=" " alt="" coords="1072,304,1168,331"/> </map> </div> </div> <p><a href="Repository_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="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> <tr class="memitem:namespacezypp_1_1detail"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacezypp_1_1detail.html">zypp::detail</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="define-members"></a> Macros</h2></td></tr> <tr class="memitem:a28c3c78be32495a18811a9a299224228"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Repository_8cc.html#a28c3c78be32495a18811a9a299224228">NO_REPOSITORY_RETURN</a>(VAL)</td></tr> <tr class="separator:a28c3c78be32495a18811a9a299224228"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0b0379503ae4c02cd234e1b1fadbf390"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Repository_8cc.html#a0b0379503ae4c02cd234e1b1fadbf390">NO_REPOSITORY_THROW</a>(VAL)</td></tr> <tr class="separator:a0b0379503ae4c02cd234e1b1fadbf390"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a id="a28c3c78be32495a18811a9a299224228"></a> <h2 class="memtitle"><span class="permalink"><a href="#a28c3c78be32495a18811a9a299224228">◆ </a></span>NO_REPOSITORY_RETURN</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define NO_REPOSITORY_RETURN</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">VAL</td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <b>Value:</b><div class="fragment"><div class="line"><a class="code" href="namespacezypp_1_1sat_1_1detail.html#a2b673269d28a74cd161ede7e4e29ad0a">sat::detail::CRepo</a> * _repo( <span class="keyword">get</span>() ); \</div><div class="line"> if ( ! _repo ) <span class="keywordflow">return</span> VAL</div><div class="ttc" id="namespacezypp_1_1sat_1_1detail_html_a2b673269d28a74cd161ede7e4e29ad0a"><div class="ttname"><a href="namespacezypp_1_1sat_1_1detail.html#a2b673269d28a74cd161ede7e4e29ad0a">zypp::sat::detail::CRepo</a></div><div class="ttdeci">::_Repo CRepo</div><div class="ttdoc">Wrapped libsolv C data type exposed as backdoor.</div><div class="ttdef"><b>Definition:</b> <a href="PoolMember_8h_source.html#l00088">PoolMember.h:88</a></div></div> </div><!-- fragment --> <p class="definition">Definition at line <a class="el" href="Repository_8cc_source.html#l00045">45</a> of file <a class="el" href="Repository_8cc_source.html">Repository.cc</a>.</p> </div> </div> <a id="a0b0379503ae4c02cd234e1b1fadbf390"></a> <h2 class="memtitle"><span class="permalink"><a href="#a0b0379503ae4c02cd234e1b1fadbf390">◆ </a></span>NO_REPOSITORY_THROW</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define NO_REPOSITORY_THROW</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">VAL</td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <b>Value:</b><div class="fragment"><div class="line"><a class="code" href="namespacezypp_1_1sat_1_1detail.html#a2b673269d28a74cd161ede7e4e29ad0a">sat::detail::CRepo</a> * _repo( <span class="keyword">get</span>() ); \</div><div class="line"> if ( ! _repo ) <a class="code" href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a>( VAL )</div><div class="ttc" id="group__ZYPP__THROW_html_gaf8c3a87d63dd4f26f059eddd62c22864"><div class="ttname"><a href="group__ZYPP__THROW.html#gaf8c3a87d63dd4f26f059eddd62c22864">ZYPP_THROW</a></div><div class="ttdeci">#define ZYPP_THROW(EXCPT)</div><div class="ttdoc">Drops a logline and throws the Exception.</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8h_source.html#l00392">Exception.h:392</a></div></div> <div class="ttc" id="namespacezypp_1_1sat_1_1detail_html_a2b673269d28a74cd161ede7e4e29ad0a"><div class="ttname"><a href="namespacezypp_1_1sat_1_1detail.html#a2b673269d28a74cd161ede7e4e29ad0a">zypp::sat::detail::CRepo</a></div><div class="ttdeci">::_Repo CRepo</div><div class="ttdoc">Wrapped libsolv C data type exposed as backdoor.</div><div class="ttdef"><b>Definition:</b> <a href="PoolMember_8h_source.html#l00088">PoolMember.h:88</a></div></div> </div><!-- fragment --> <p class="definition">Definition at line <a class="el" href="Repository_8cc_source.html#l00049">49</a> of file <a class="el" href="Repository_8cc_source.html">Repository.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="Repository_8cc.html">Repository.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>