Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 68c0c2ff89d8bf9051ff1b9773ed48e4 > files > 8273

libzypp-doc-17.9.0-1.1.mga7.noarch.rpm

<!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::CompareBy&lt; Tp, TCompare &gt; Struct Template 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&amp;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
   &#160;<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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structzypp_1_1CompareBy.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structzypp_1_1CompareBy-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">zypp::CompareBy&lt; Tp, TCompare &gt; Struct Template Reference<div class="ingroups"><a class="el" href="group__RelCompare.html">Comparison using relational operator zypp::Rel.</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>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></p>

<p><code>#include &lt;<a class="el" href="RelCompare_8h_source.html">RelCompare.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for zypp::CompareBy&lt; Tp, TCompare &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="structzypp_1_1CompareBy__inherit__graph.png" border="0" usemap="#zypp_1_1CompareBy_3_01Tp_00_01TCompare_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="zypp_1_1CompareBy_3_01Tp_00_01TCompare_01_4_inherit__map" id="zypp_1_1CompareBy_3_01Tp_00_01TCompare_01_4_inherit__map">
<area shape="rect"  title="Functor to compare two elements by Rel based on a general TCompare functor." alt="" coords="5,95,165,136"/>
<area shape="rect"  title=" " alt="" coords="13,5,157,47"/>
</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:a1a40ac5237d4232c28c9035dc29f5215"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1CompareBy.html#a1a40ac5237d4232c28c9035dc29f5215">CompareBy</a> (<a class="el" href="structzypp_1_1Rel.html">Rel</a> op_r)</td></tr>
<tr class="separator:a1a40ac5237d4232c28c9035dc29f5215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac594f594d71d1a04bf582db8a947fe11"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1CompareBy.html#ac594f594d71d1a04bf582db8a947fe11">operator()</a> (const Tp &amp;lhs, const Tp &amp;rhs) const</td></tr>
<tr class="separator:ac594f594d71d1a04bf582db8a947fe11"><td class="memSeparator" colspan="2">&#160;</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:a0a95c04da9bc0031041e97d703b65041"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structzypp_1_1Rel.html">Rel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1CompareBy.html#a0a95c04da9bc0031041e97d703b65041">_op</a></td></tr>
<tr class="separator:a0a95c04da9bc0031041e97d703b65041"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class Tp, class TCompare = Compare&lt;Tp&gt;&gt;<br />
struct zypp::CompareBy&lt; Tp, TCompare &gt;</h3>

<p>Functor to compare two elements by <a class="el" href="structzypp_1_1Rel.html">Rel</a> based on a general <em>TCompare</em> functor. </p>
<p>Expects <em>TCompare</em> to be suitable for use in <a class="el" href="group__RelCompare.html#ga4245cf6b48eb6c19ed7e18589d4d1b9a">compareByRel</a>. Defaults to <a class="el" href="structzypp_1_1Compare.html" title="General compare functor returning -1, 0, 1.">Compare</a>&lt;Tp&gt;. </p>

<p class="definition">Definition at line <a class="el" href="RelCompare_8h_source.html#l00158">158</a> of file <a class="el" href="RelCompare_8h_source.html">RelCompare.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1a40ac5237d4232c28c9035dc29f5215"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a40ac5237d4232c28c9035dc29f5215">&#9670;&nbsp;</a></span>CompareBy()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Tp , class TCompare  = Compare&lt;Tp&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structzypp_1_1CompareBy.html">zypp::CompareBy</a>&lt; Tp, TCompare &gt;::<a class="el" href="structzypp_1_1CompareBy.html">CompareBy</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structzypp_1_1Rel.html">Rel</a>&#160;</td>
          <td class="paramname"><em>op_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="RelCompare_8h_source.html#l00160">160</a> of file <a class="el" href="RelCompare_8h_source.html">RelCompare.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac594f594d71d1a04bf582db8a947fe11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac594f594d71d1a04bf582db8a947fe11">&#9670;&nbsp;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Tp , class TCompare  = Compare&lt;Tp&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> <a class="el" href="structzypp_1_1CompareBy.html">zypp::CompareBy</a>&lt; Tp, TCompare &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const Tp &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Tp &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</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="RelCompare_8h_source.html#l00164">164</a> of file <a class="el" href="RelCompare_8h_source.html">RelCompare.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a0a95c04da9bc0031041e97d703b65041"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a95c04da9bc0031041e97d703b65041">&#9670;&nbsp;</a></span>_op</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Tp , class TCompare  = Compare&lt;Tp&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structzypp_1_1Rel.html">Rel</a> <a class="el" href="structzypp_1_1CompareBy.html">zypp::CompareBy</a>&lt; Tp, TCompare &gt;::_op</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="RelCompare_8h_source.html#l00167">167</a> of file <a class="el" href="RelCompare_8h_source.html">RelCompare.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>zypp/<a class="el" href="RelCompare_8h_source.html">RelCompare.h</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="structzypp_1_1CompareBy.html">CompareBy</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>