Sophie

Sophie

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

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/base/Hash.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&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('Hash_8h.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Hash.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;iosfwd&gt;</code><br />
<code>#include &lt;unordered_set&gt;</code><br />
<code>#include &lt;unordered_map&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for Hash.h:</div>
<div class="dyncontent">
<div class="center"><img src="Hash_8h__incl.png" border="0" usemap="#zypp_2base_2Hash_8h" alt=""/></div>
<map name="zypp_2base_2Hash_8h" id="zypp_2base_2Hash_8h">
<area shape="rect"  title=" " alt="" coords="82,5,213,32"/>
<area shape="rect"  title=" " alt="" coords="5,80,68,107"/>
<area shape="rect"  title=" " alt="" coords="92,80,203,107"/>
<area shape="rect"  title=" " alt="" coords="227,80,347,107"/>
</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="Hash_8h__dep__incl.png" border="0" usemap="#zypp_2base_2Hash_8hdep" alt=""/></div>
<map name="zypp_2base_2Hash_8hdep" id="zypp_2base_2Hash_8hdep">
<area shape="rect"  title=" " alt="" coords="2799,5,2929,32"/>
<area shape="rect"  href="Arch_8cc.html" title=" " alt="" coords="481,87,580,114"/>
<area shape="rect"  href="LogTools_8h.html" title=" " alt="" coords="2735,169,2892,196"/>
<area shape="rect"  href="Transaction_8cc.html" title=" " alt="" coords="5,251,171,278"/>
<area shape="rect"  href="WhatObsoletes_8cc.html" title=" " alt="" coords="599,251,788,278"/>
<area shape="rect"  href="CountryCode_8cc.html" title=" " alt="" coords="3249,87,3399,114"/>
<area shape="rect"  href="LanguageCode_8cc.html" title=" " alt="" coords="3424,87,3587,114"/>
<area shape="rect"  href="Locale_8h.html" title=" " alt="" coords="1347,87,1453,114"/>
<area shape="rect"  href="sat_2detail_2PoolImpl_8h.html" title=" " alt="" coords="706,169,891,196"/>
<area shape="rect"  href="ParseDefConsume_8h.html" title=" " alt="" coords="3611,80,3791,121"/>
<area shape="rect"  href="PoolTraits_8h.html" title=" " alt="" coords="2916,169,3079,196"/>
<area shape="rect"  href="PoolItemBest_8h.html" title=" " alt="" coords="4873,169,5023,196"/>
<area shape="rect"  href="PoolQueryResult_8h.html" title=" " alt="" coords="3103,169,3273,196"/>
<area shape="rect"  href="PoolMember_8h.html" title=" " alt="" coords="695,87,903,114"/>
<area shape="rect"  href="SolvableSet_8h.html" title=" " alt="" coords="3297,169,3460,196"/>
<area shape="rect"  href="SolvIterMixin_8h.html" title=" " alt="" coords="2953,87,3122,114"/>
<area shape="rect"  href="Backtrace_8cc.html" title=" " alt="" coords="2732,251,2895,278"/>
<area shape="rect"  href="Exception_8cc.html" title=" " alt="" coords="2919,251,3081,278"/>
<area shape="rect"  href="GzStream_8cc.html" title=" " alt="" coords="3106,251,3270,278"/>
<area shape="rect"  href="InputStream_8cc.html" title=" " alt="" coords="3294,251,3474,278"/>
<area shape="rect"  href="String_8cc.html" title=" " alt="" coords="3499,251,3640,278"/>
<area shape="rect"  href="StrMatcher_8cc.html" title=" " alt="" coords="195,251,367,278"/>
<area shape="rect"  href="Capabilities_8cc.html" title=" " alt="" coords="3664,251,3805,278"/>
<area shape="rect"  href="CpeId_8cc.html" title=" " alt="" coords="3829,251,3936,278"/>
<area shape="rect"  href="DiskUsageCounter_8cc.html" title=" " alt="" coords="391,251,574,278"/>
<area shape="rect"  href="Fetcher_8cc.html" title=" " alt="" coords="3960,251,4077,278"/>
<area shape="rect"  href="Glob_8cc.html" title=" " alt="" coords="4101,251,4203,278"/>
<area shape="rect"  href="KeyRing_8cc.html" title=" " alt="" coords="4227,251,4347,278"/>
<area shape="rect"  href="Locks_8cc.html" title=" " alt="" coords="4371,251,4477,278"/>
<area shape="rect"  href="MediaHandler_8cc.html" title=" " alt="" coords="4501,251,4699,278"/>
<area shape="rect"  href="MediaPlugin_8cc.html" title=" " alt="" coords="4723,251,4911,278"/>
<area shape="rect"  href="MediaPriority_8cc.html" title=" " alt="" coords="4935,251,5129,278"/>
<area shape="rect"  href="MediaSetAccess_8cc.html" title=" " alt="" coords="5153,251,5321,278"/>
<area shape="rect"  href="CheckAccessDeleted_8cc.html" title=" " alt="" coords="5346,251,5574,278"/>
<area shape="rect"  href="DefaultLoadSystem_8cc.html" title=" " alt="" coords="5598,251,5821,278"/>
<area shape="rect"  href="RepoFileReader_8cc.html" title=" " alt="" coords="5844,251,6055,278"/>
<area shape="rect"  href="ContentFileReader_8cc.html" title=" " alt="" coords="813,244,971,285"/>
<area shape="rect"  href="RepoIndex_8cc.html" title=" " alt="" coords="995,244,1146,285"/>
<area shape="rect"  href="Node_8cc.html" title=" " alt="" coords="1170,251,1345,278"/>
<area shape="rect"  href="Reader_8cc.html" title=" " alt="" coords="1369,251,1553,278"/>
<area shape="rect"  href="Patch_8cc.html" title=" " alt="" coords="1578,251,1683,278"/>
<area shape="rect"  href="PathInfo_8cc.html" title=" " alt="" coords="1707,251,1831,278"/>
<area shape="rect"  href="Pattern_8cc.html" title=" " alt="" coords="1855,251,1971,278"/>
<area shape="rect"  href="PluginExecutor_8cc.html" title=" " alt="" coords="1995,251,2157,278"/>
<area shape="rect"  href="PluginFrame_8cc.html" title=" " alt="" coords="2181,251,2329,278"/>
<area shape="rect"  href="PluginScript_8cc.html" title=" " alt="" coords="2353,251,2497,278"/>
<area shape="rect"  href="pool_2PoolImpl_8cc.html" title=" " alt="" coords="4265,333,4425,360"/>
<area shape="rect"  href="pool_2PoolImpl_8h.html" title=" " alt="" coords="6079,251,6235,278"/>
<area shape="rect"  href="PoolItemBest_8cc.html" title=" " alt="" coords="6260,251,6415,278"/>
<area shape="rect"  href="PoolQuery_8cc.html" title=" " alt="" coords="2573,251,2707,278"/>
</map>
</div>
</div>
<p><a href="Hash_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="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacestd"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacestd.html">std</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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:a293dd07d304c324090df51e6660f6fcf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Hash_8h.html#a293dd07d304c324090df51e6660f6fcf">ZYPP_DEFINE_ID_HASHABLE</a>(C)</td></tr>
<tr class="memdesc:a293dd07d304c324090df51e6660f6fcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Define hash function for id based classes.  <a href="#a293dd07d304c324090df51e6660f6fcf">More...</a><br /></td></tr>
<tr class="separator:a293dd07d304c324090df51e6660f6fcf"><td class="memSeparator" colspan="2">&#160;</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:a31c91ea05b0bc4665c8e04079544f32f"><td class="memTemplParams" colspan="2">template&lt;class D &gt; </td></tr>
<tr class="memitem:a31c91ea05b0bc4665c8e04079544f32f"><td class="memTemplItemLeft" align="right" valign="top">unordered_set&lt; D &gt; *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacestd.html#a31c91ea05b0bc4665c8e04079544f32f">std::rwcowClone</a> (const std::unordered_set&lt; D &gt; *rhs)</td></tr>
<tr class="memdesc:a31c91ea05b0bc4665c8e04079544f32f"><td class="mdescLeft">&#160;</td><td class="mdescRight">clone function for RW_pointer  <a href="namespacestd.html#a31c91ea05b0bc4665c8e04079544f32f">More...</a><br /></td></tr>
<tr class="separator:a31c91ea05b0bc4665c8e04079544f32f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8bf2f848f0db1493c5267ca04ca446a"><td class="memTemplParams" colspan="2">template&lt;class K , class V &gt; </td></tr>
<tr class="memitem:aa8bf2f848f0db1493c5267ca04ca446a"><td class="memTemplItemLeft" align="right" valign="top">std::unordered_map&lt; K, V &gt; *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacestd.html#aa8bf2f848f0db1493c5267ca04ca446a">std::rwcowClone</a> (const std::unordered_map&lt; K, V &gt; *rhs)</td></tr>
<tr class="memdesc:aa8bf2f848f0db1493c5267ca04ca446a"><td class="mdescLeft">&#160;</td><td class="mdescRight">clone function for RW_pointer  <a href="namespacestd.html#aa8bf2f848f0db1493c5267ca04ca446a">More...</a><br /></td></tr>
<tr class="separator:aa8bf2f848f0db1493c5267ca04ca446a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a293dd07d304c324090df51e6660f6fcf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a293dd07d304c324090df51e6660f6fcf">&#9670;&nbsp;</a></span>ZYPP_DEFINE_ID_HASHABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ZYPP_DEFINE_ID_HASHABLE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">C</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">namespace </span><a class="code" href="namespacestd.html">std</a> {                                 \</div><div class="line">  template&lt;class Tp&gt; <span class="keyword">struct </span>hash;               \</div><div class="line">  template&lt;&gt; <span class="keyword">struct </span>hash&lt;C&gt;                     \</div><div class="line">  {                                             \</div><div class="line">    size_t operator()( <span class="keyword">const</span> C &amp; __s ) <span class="keyword">const</span>    \</div><div class="line">    { <span class="keywordflow">return</span> __s.id(); }                        \</div><div class="line">  };                                            \</div><div class="line">}</div><div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdef"><b>Definition:</b> <a href="Arch_8h_source.html#l00344">Arch.h:344</a></div></div>
</div><!-- fragment -->
<p>Define hash function for id based classes. </p>
<p>Class has to provide a method <code>id()</code> retuning a unique number. </p><div class="fragment"><div class="line"><span class="comment">// in global namespace define:</span></div><div class="line"><a class="code" href="Hash_8h.html#a293dd07d304c324090df51e6660f6fcf">ZYPP_DEFINE_ID_HASHABLE</a>( ::<a class="code" href="classzypp_1_1sat_1_1Solvable.html">zypp::sat::Solvable</a> )</div></div><!-- fragment --> 
<p class="definition">Definition at line <a class="el" href="Hash_8h_source.html#l00026">26</a> of file <a class="el" href="Hash_8h_source.html">Hash.h</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="dir_76651d3a0256a4372f696a008d71ee69.html">base</a></li><li class="navelem"><a class="el" href="Hash_8h.html">Hash.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>