<!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/RelCompare.h 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('RelCompare_8h.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="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">RelCompare.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <functional></code><br /> <code>#include "<a class="el" href="Rel_8h_source.html">zypp/Rel.h</a>"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for RelCompare.h:</div> <div class="dyncontent"> <div class="center"><img src="RelCompare_8h__incl.png" border="0" usemap="#zypp_2RelCompare_8h" alt=""/></div> <map name="zypp_2RelCompare_8h" id="zypp_2RelCompare_8h"> <area shape="rect" title=" " alt="" coords="30,5,173,32"/> <area shape="rect" title=" " alt="" coords="5,80,88,107"/> <area shape="rect" href="Rel_8h.html" title=" " alt="" coords="113,80,199,107"/> <area shape="rect" title=" " alt="" coords="82,155,145,181"/> <area shape="rect" title=" " alt="" coords="169,155,226,181"/> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="RelCompare_8h__dep__incl.png" border="0" usemap="#zypp_2RelCompare_8hdep" alt=""/></div> <map name="zypp_2RelCompare_8hdep" id="zypp_2RelCompare_8hdep"> <area shape="rect" title=" " alt="" coords="2708,5,2850,32"/> <area shape="rect" href="Arch_8h.html" title=" " alt="" coords="1780,229,1874,256"/> <area shape="rect" href="PoolQuery_8cc.html" title=" " alt="" coords="4106,401,4241,427"/> <area shape="rect" href="Edition_8h.html" title=" " alt="" coords="2678,155,2789,181"/> <area shape="rect" href="Range_8h.html" title=" " alt="" coords="2771,80,2878,107"/> <area shape="rect" href="Arch_8cc.html" title=" " alt="" coords="826,311,924,338"/> <area shape="rect" href="Capability_8cc.html" title=" " alt="" coords="3395,311,3526,338"/> <area shape="rect" href="HistoryLogData_8h.html" title=" " alt="" coords="2435,311,2598,338"/> <area shape="rect" href="ProductFileReader_8h.html" title=" " alt="" coords="2078,311,2301,338"/> <area shape="rect" href="RepoIndex_8h.html" title=" " alt="" coords="1648,304,1798,345"/> <area shape="rect" href="PackageDelta_8h.html" title=" " alt="" coords="632,483,814,509"/> <area shape="rect" href="RepoVariables_8cc.html" title=" " alt="" coords="1120,401,1312,427"/> <area shape="rect" href="Solvable_8h.html" title=" " alt="" coords="3228,311,3370,338"/> <area shape="rect" href="ZConfig_8h.html" title=" " alt="" coords="948,311,1066,338"/> <area shape="rect" href="HistoryLog_8cc.html" title=" " alt="" coords="2354,401,2492,427"/> <area shape="rect" href="HistoryLogData_8cc.html" title=" " alt="" coords="2760,401,2926,427"/> <area shape="rect" href="HistoryLogReader_8h.html" title=" " alt="" coords="2516,401,2735,427"/> <area shape="rect" href="ProductFileReader_8cc.html" title=" " alt="" coords="2103,401,2330,427"/> <area shape="rect" href="TargetImpl_8cc.html" title=" " alt="" coords="2412,565,2594,591"/> <area shape="rect" href="Fetcher_8cc.html" title=" " alt="" coords="1502,401,1619,427"/> <area shape="rect" href="ContentFileReader_8cc.html" title=" " alt="" coords="1644,393,1802,435"/> <area shape="rect" href="RepoIndex_8cc.html" title=" " alt="" coords="1826,393,1977,435"/> <area shape="rect" href="susetags_2Downloader_8cc.html" title=" " alt="" coords="1337,393,1477,435"/> <area shape="rect" href="DeltaCandidates_8h.html" title=" " alt="" coords="1733,565,1934,591"/> <area shape="rect" href="PackageDelta_8cc.html" title=" " alt="" coords="630,565,816,591"/> <area shape="rect" href="PackageProvider_8cc.html" title=" " alt="" coords="148,565,352,591"/> <area shape="rect" href="Locks_8cc.html" title=" " alt="" coords="838,483,944,509"/> <area shape="rect" href="Repository_8h.html" title=" " alt="" coords="3053,401,3185,427"/> <area shape="rect" href="Solvable_8cc.html" title=" " alt="" coords="2707,483,2854,509"/> <area shape="rect" href="SolvableType_8h.html" title=" " alt="" coords="2979,483,3150,509"/> <area shape="rect" href="FileConflicts_8h.html" title=" " alt="" coords="3708,401,3874,427"/> <area shape="rect" href="Queue_8cc.html" title=" " alt="" coords="3898,401,4031,427"/> <area shape="rect" href="SolvableSet_8h.html" title=" " alt="" coords="3923,483,4086,509"/> <area shape="rect" href="SolvIterMixin_8cc.html" title=" " alt="" coords="3411,483,3584,509"/> <area shape="rect" href="SolvIterMixin_8h.html" title=" " alt="" coords="3413,401,3582,427"/> <area shape="rect" href="Transaction_8h.html" title=" " alt="" coords="3225,483,3386,509"/> <area shape="rect" href="Transaction_8cc.html" title=" " alt="" coords="3507,565,3672,591"/> <area shape="rect" href="solver_2detail_2Resolver_8cc.html" title=" " alt="" coords="3122,557,3252,599"/> <area shape="rect" href="WhatProvides_8h.html" title=" " alt="" coords="3609,483,3784,509"/> <area shape="rect" href="Locale_8cc.html" title=" " alt="" coords="833,401,944,427"/> <area shape="rect" href="Locks_8h.html" title=" " alt="" coords="707,401,808,427"/> <area shape="rect" href="CredentialManager_8cc.html" title=" " alt="" coords="34,401,265,427"/> <area shape="rect" href="MediaAccess_8cc.html" title=" " alt="" coords="289,401,480,427"/> <area shape="rect" href="MediaCIFS_8cc.html" title=" " alt="" coords="504,401,683,427"/> <area shape="rect" href="Capability_8h.html" title=" " alt="" coords="3252,229,3378,256"/> <area shape="rect" href="Edition_8cc.html" title=" " alt="" coords="2604,229,2719,256"/> <area shape="rect" href="PublicKey_8h.html" title=" " alt="" coords="2744,229,2868,256"/> <area shape="rect" href="SysContent_8h.html" title=" " alt="" coords="2892,229,3029,256"/> <area shape="rect" href="WebpinResult_8h.html" title=" " alt="" coords="3053,229,3228,256"/> <area shape="rect" href="Range_8cc.html" title=" " alt="" coords="2813,155,2924,181"/> </map> </div> </div> <p><a href="RelCompare_8h_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_1Compare.html">zypp::Compare< Tp ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">General compare functor returning <code>-1, 0, 1</code>. <a href="structzypp_1_1Compare.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_1CompareBy.html">zypp::CompareBy< Tp, TCompare ></a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Functor to compare two elements by <a class="el" href="structzypp_1_1Rel.html">Rel</a> based on a general <em>TCompare</em> functor. <a href="structzypp_1_1CompareBy.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_1CompareByEQ.html">zypp::CompareByEQ< Tp, TCompare ></a></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_1CompareByNE.html">zypp::CompareByNE< Tp, TCompare ></a></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_1CompareByLT.html">zypp::CompareByLT< Tp, TCompare ></a></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_1CompareByLE.html">zypp::CompareByLE< Tp, TCompare ></a></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_1CompareByGT.html">zypp::CompareByGT< Tp, TCompare ></a></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_1CompareByGE.html">zypp::CompareByGE< Tp, TCompare ></a></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_1CompareByANY.html">zypp::CompareByANY< Tp, TCompare ></a></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_1CompareByNONE.html">zypp::CompareByNONE< Tp, TCompare ></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="func-members"></a> Functions</h2></td></tr> <tr class="memitem:ga4245cf6b48eb6c19ed7e18589d4d1b9a"><td class="memTemplParams" colspan="2">template<class Tp , class TCompare > </td></tr> <tr class="memitem:ga4245cf6b48eb6c19ed7e18589d4d1b9a"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__RelCompare.html#ga4245cf6b48eb6c19ed7e18589d4d1b9a">zypp::compareByRel</a> (Rel op, const Tp &lhs, const Tp &rhs, TCompare <a class="el" href="classzypp_1_1base_1_1SetRelationMixin.html#a6486c719ea650fad39714639c5bec501">compare</a>)</td></tr> <tr class="memdesc:ga4245cf6b48eb6c19ed7e18589d4d1b9a"><td class="mdescLeft"> </td><td class="mdescRight">Comparison of two elements using relational operator <em>op</em>. <a href="group__RelCompare.html#ga4245cf6b48eb6c19ed7e18589d4d1b9a">More...</a><br /></td></tr> <tr class="separator:ga4245cf6b48eb6c19ed7e18589d4d1b9a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ga116631ef189082c4dd7e2479e422af8a"><td class="memTemplParams" colspan="2">template<class Tp > </td></tr> <tr class="memitem:ga116631ef189082c4dd7e2479e422af8a"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__RelCompare.html#ga116631ef189082c4dd7e2479e422af8a">zypp::compareByRel</a> (Rel op, const Tp &lhs, const Tp &rhs)</td></tr> <tr class="memdesc:ga116631ef189082c4dd7e2479e422af8a"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="group__RelCompare.html#ga4245cf6b48eb6c19ed7e18589d4d1b9a">compareByRel</a> convenience using Compare<Tp> as general compare functor. <a href="group__RelCompare.html#ga116631ef189082c4dd7e2479e422af8a">More...</a><br /></td></tr> <tr class="separator:ga116631ef189082c4dd7e2479e422af8a"><td class="memSeparator" colspan="2"> </td></tr> </table> </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="RelCompare_8h.html">RelCompare.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>