Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 68c0c2ff89d8bf9051ff1b9773ed48e4 > files > 135

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/pool/ByIdent.h Source File</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('ByIdent_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">ByIdent.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ByIdent_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*---------------------------------------------------------------------\</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">|                          ____ _   __ __ ___                          |</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">|                         |__  / \ / / . \ . \                         |</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">|                           / / \ V /|  _/  _/                         |</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">|                          / /__ | | | | | |                           |</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">|                         /_____||_| |_| |_|                           |</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">|                                                                      |</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">\---------------------------------------------------------------------*/</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#ifndef ZYPP_POOL_BYIDENT_H</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#define ZYPP_POOL_BYIDENT_H</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PoolItem_8h.html">zypp/PoolItem.h</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;{ </div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;  <span class="keyword">namespace </span>pool</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;  { </div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html">   26</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classzypp_1_1pool_1_1ByIdent.html">ByIdent</a></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    {</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;      <span class="keyword">public</span>:</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a556092ba5c33da083f6b22d0d022e203">   29</a></span>&#160;        <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a556092ba5c33da083f6b22d0d022e203">ByIdent</a>()</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        : <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a>( 0 )</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        {}</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a82af126e405a688d30d9f16c00256afc">   33</a></span>&#160;        <span class="keyword">explicit</span> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a82af126e405a688d30d9f16c00256afc">ByIdent</a>( <a class="code" href="classzypp_1_1sat_1_1Solvable.html">sat::Solvable</a> slv_r )</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        : <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a>( <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#afc88d308b36e3a048a59d84c93515348">makeIdent</a>( slv_r ) )</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        {}</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#abda0b8c7186662ea79dd459074cf829b">   37</a></span>&#160;        <span class="keyword">explicit</span> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#abda0b8c7186662ea79dd459074cf829b">ByIdent</a>( <a class="code" href="classzypp_1_1IdString.html">IdString</a> ident_r )</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        : <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a>( ident_r.id() )</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        {}</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a97fc46bac892eff6832790fbdf79d78f">   41</a></span>&#160;        <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a97fc46bac892eff6832790fbdf79d78f">ByIdent</a>( <a class="code" href="classzypp_1_1ResKind.html">ResKind</a> kind_r, <a class="code" href="classzypp_1_1IdString.html">IdString</a> name_r )</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        : <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a>( <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#afc88d308b36e3a048a59d84c93515348">makeIdent</a>( kind_r, name_r ) )</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        {}</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a5ca7267a23a58995c95be95a5cd5088d">   45</a></span>&#160;        <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5ca7267a23a58995c95be95a5cd5088d">ByIdent</a>( <a class="code" href="classzypp_1_1ResKind.html">ResKind</a> kind_r, <span class="keyword">const</span> <a class="code" href="classzypp_1_1C__Str.html">C_Str</a> &amp; name_r )</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        : <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a>( <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#afc88d308b36e3a048a59d84c93515348">makeIdent</a>( kind_r, name_r ) )</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        {}</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;      <span class="keyword">public</span>:</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a1dfdd8c2ca868040e5d08d1d14be7da7">   50</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a1dfdd8c2ca868040e5d08d1d14be7da7">operator()</a>( <a class="code" href="classzypp_1_1sat_1_1Solvable.html">sat::Solvable</a> slv_r )<span class="keyword"> const</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;          <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a> &gt;= 0 ? ( slv_r.<a class="code" href="classzypp_1_1sat_1_1Solvable.html#adf9d2a50e9c546dc93ef5d81ee621d47">ident</a>().<a class="code" href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">id</a>() == <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a> &amp;&amp; ! slv_r.<a class="code" href="classzypp_1_1sat_1_1Solvable.html#ac22636377a46b836db3afda0da3fdcac">isKind</a>( <a class="code" href="classzypp_1_1ResKind.html#a0bed16fac0f44240b981377d495cbe85">ResKind::srcpackage</a> ) )</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;            : ( slv_r.<a class="code" href="classzypp_1_1sat_1_1Solvable.html#adf9d2a50e9c546dc93ef5d81ee621d47">ident</a>().<a class="code" href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">id</a>() == -<a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a> &amp;&amp; slv_r.<a class="code" href="classzypp_1_1sat_1_1Solvable.html#ac22636377a46b836db3afda0da3fdcac">isKind</a>( <a class="code" href="classzypp_1_1ResKind.html#a0bed16fac0f44240b981377d495cbe85">ResKind::srcpackage</a> ) );</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        }</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a4cea4b13d403300b75e0d0b89c44e59d">   56</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a4cea4b13d403300b75e0d0b89c44e59d">operator()</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1PoolItem.html">PoolItem</a> &amp; pi_r )<span class="keyword"> const</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a1dfdd8c2ca868040e5d08d1d14be7da7">operator()</a>( pi_r.<a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a78de3f4b41f0965829beaa28245a25dd">satSolvable</a>() ); }</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a28f5458e68504dc6b3bf87c4baaa494b">   59</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a28f5458e68504dc6b3bf87c4baaa494b">operator()</a>( <a class="code" href="classzypp_1_1ResObject.html#a8f7aeed4169bb5add73fffa2413b633f">ResObject::constPtr</a> p_r )<span class="keyword"> const</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">        </span>{ <span class="keywordflow">return</span> p_r ? <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a1dfdd8c2ca868040e5d08d1d14be7da7">operator()</a>( p_r-&gt;satSolvable() ) : !<a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a>; }</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;      <span class="keyword">private</span>:</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#afc88d308b36e3a048a59d84c93515348">   63</a></span>&#160;        <a class="code" href="namespacezypp_1_1sat_1_1detail.html#acc9c4c1cc63097094476fa90b3ca12d5">sat::detail::IdType</a> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#afc88d308b36e3a048a59d84c93515348">makeIdent</a>( <a class="code" href="classzypp_1_1sat_1_1Solvable.html">sat::Solvable</a> slv_r )</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        {</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;          <span class="keywordflow">return</span> slv_r.<a class="code" href="classzypp_1_1sat_1_1Solvable.html#ac22636377a46b836db3afda0da3fdcac">isKind</a>( <a class="code" href="classzypp_1_1ResKind.html#a0bed16fac0f44240b981377d495cbe85">ResKind::srcpackage</a> ) ? -slv_r.<a class="code" href="classzypp_1_1sat_1_1Solvable.html#adf9d2a50e9c546dc93ef5d81ee621d47">ident</a>().<a class="code" href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">id</a>()</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;            : slv_r.<a class="code" href="classzypp_1_1sat_1_1Solvable.html#adf9d2a50e9c546dc93ef5d81ee621d47">ident</a>().<a class="code" href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">id</a>();</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        }</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a0cde531b721f53a96129546bdfd7fe18">   69</a></span>&#160;        <a class="code" href="namespacezypp_1_1sat_1_1detail.html#acc9c4c1cc63097094476fa90b3ca12d5">sat::detail::IdType</a> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a0cde531b721f53a96129546bdfd7fe18">makeIdent</a>( <a class="code" href="classzypp_1_1ResKind.html">ResKind</a> kind_r, <a class="code" href="classzypp_1_1IdString.html">IdString</a> name_r )</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        {</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;          <span class="keywordflow">if</span> ( kind_r == <a class="code" href="classzypp_1_1ResKind.html#a751a7d76f32f6250e9e2e4dee4491103">ResKind::package</a> )</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;            <span class="keywordflow">return</span> name_r.<a class="code" href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">id</a>();</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;          <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( kind_r == <a class="code" href="classzypp_1_1ResKind.html#a0bed16fac0f44240b981377d495cbe85">ResKind::srcpackage</a> )</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            <span class="keywordflow">return</span> -name_r.<a class="code" href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">id</a>();</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;          <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1IdString.html">IdString</a>( <a class="code" href="group__ZYPP__SMART__PTR.html#ga9ffc8a01367e8a71d551ea8dbdc356f2">str::form</a>( <span class="stringliteral">&quot;%s:%s&quot;</span>, kind_r.<a class="code" href="classzypp_1_1IdStringType.html#a314dc425eaf7736f8f0f1b444af7e72a">c_str</a>(), name_r.<a class="code" href="classzypp_1_1IdString.html#a1672c39ebd768ff4189d20cd59204ec1">c_str</a>() ) ).<a class="code" href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">id</a>();</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        }</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a628802316d8bc72221d4b23618ba3f1e">   78</a></span>&#160;        <a class="code" href="namespacezypp_1_1sat_1_1detail.html#acc9c4c1cc63097094476fa90b3ca12d5">sat::detail::IdType</a> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a628802316d8bc72221d4b23618ba3f1e">makeIdent</a>( <a class="code" href="classzypp_1_1ResKind.html">ResKind</a> kind_r, <span class="keyword">const</span> <a class="code" href="classzypp_1_1C__Str.html">C_Str</a> &amp; name_r )</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        {</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;          <span class="keywordflow">if</span> ( kind_r == <a class="code" href="classzypp_1_1ResKind.html#a751a7d76f32f6250e9e2e4dee4491103">ResKind::package</a> )</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1IdString.html">IdString</a>( name_r ).<a class="code" href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">id</a>();</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;          <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( kind_r == <a class="code" href="classzypp_1_1ResKind.html#a0bed16fac0f44240b981377d495cbe85">ResKind::srcpackage</a> )</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;            <span class="keywordflow">return</span> -(<a class="code" href="classzypp_1_1IdString.html">IdString</a>( name_r ).<a class="code" href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">id</a>());</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;          <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1IdString.html">IdString</a>( <a class="code" href="group__ZYPP__SMART__PTR.html#ga9ffc8a01367e8a71d551ea8dbdc356f2">str::form</a>( <span class="stringliteral">&quot;%s:%s&quot;</span>, kind_r.<a class="code" href="classzypp_1_1IdStringType.html#a314dc425eaf7736f8f0f1b444af7e72a">c_str</a>(), name_r.<a class="code" href="classzypp_1_1C__Str.html#ac9a885992530f72e95a4377c60e5df18">c_str</a>() ) ).<a class="code" href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">id</a>();</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        }</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;      <span class="keyword">public</span>:</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a5f2eaaaf00b8d6b5c7016f44d4867ac8">   88</a></span>&#160;        <a class="code" href="namespacezypp_1_1sat_1_1detail.html#acc9c4c1cc63097094476fa90b3ca12d5">sat::detail::IdType</a> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5f2eaaaf00b8d6b5c7016f44d4867ac8">get</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a>; }</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;      <span class="keyword">private</span>:</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">   94</a></span>&#160;        <a class="code" href="namespacezypp_1_1sat_1_1detail.html#acc9c4c1cc63097094476fa90b3ca12d5">sat::detail::IdType</a> <a class="code" href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">_id</a>;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    };</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  } <span class="comment">// namespace pool</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment"></span>} <span class="comment">// namespace zypp</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="comment"></span><span class="preprocessor">#endif // ZYPP_POOL_BYIDENT_H</span></div><div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a5f2eaaaf00b8d6b5c7016f44d4867ac8"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a5f2eaaaf00b8d6b5c7016f44d4867ac8">zypp::pool::ByIdent::get</a></div><div class="ttdeci">sat::detail::IdType get() const</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00088">ByIdent.h:88</a></div></div>
<div class="ttc" id="namespacezypp_1_1sat_1_1detail_html_acc9c4c1cc63097094476fa90b3ca12d5"><div class="ttname"><a href="namespacezypp_1_1sat_1_1detail.html#acc9c4c1cc63097094476fa90b3ca12d5">zypp::sat::detail::IdType</a></div><div class="ttdeci">int IdType</div><div class="ttdoc">Generic Id type.</div><div class="ttdef"><b>Definition:</b> <a href="PoolMember_8h_source.html#l00130">PoolMember.h:130</a></div></div>
<div class="ttc" id="classzypp_1_1sat_1_1Solvable_html"><div class="ttname"><a href="classzypp_1_1sat_1_1Solvable.html">zypp::sat::Solvable</a></div><div class="ttdoc">A Solvable object within the sat Pool.</div><div class="ttdef"><b>Definition:</b> <a href="Solvable_8h_source.html#l00053">Solvable.h:53</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a5402d98302e6b1085e845fd347ff88ae"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a5402d98302e6b1085e845fd347ff88ae">zypp::pool::ByIdent::_id</a></div><div class="ttdeci">sat::detail::IdType _id</div><div class="ttdoc">negative _id for srcpackage, as they use the same ident as package.</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00094">ByIdent.h:94</a></div></div>
<div class="ttc" id="classzypp_1_1ResKind_html_a751a7d76f32f6250e9e2e4dee4491103"><div class="ttname"><a href="classzypp_1_1ResKind.html#a751a7d76f32f6250e9e2e4dee4491103">zypp::ResKind::package</a></div><div class="ttdeci">static const ResKind package</div><div class="ttdef"><b>Definition:</b> <a href="ResKind_8h_source.html#l00040">ResKind.h:40</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_afc88d308b36e3a048a59d84c93515348"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#afc88d308b36e3a048a59d84c93515348">zypp::pool::ByIdent::makeIdent</a></div><div class="ttdeci">sat::detail::IdType makeIdent(sat::Solvable slv_r)</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00063">ByIdent.h:63</a></div></div>
<div class="ttc" id="classzypp_1_1IdString_html_a8c1e1845808ed81e8d65eb2517346d0c"><div class="ttname"><a href="classzypp_1_1IdString.html#a8c1e1845808ed81e8d65eb2517346d0c">zypp::IdString::id</a></div><div class="ttdeci">IdType id() const</div><div class="ttdoc">Expert backdoor.</div><div class="ttdef"><b>Definition:</b> <a href="IdString_8h_source.html#l00115">IdString.h:115</a></div></div>
<div class="ttc" id="classzypp_1_1sat_1_1Solvable_html_ac22636377a46b836db3afda0da3fdcac"><div class="ttname"><a href="classzypp_1_1sat_1_1Solvable.html#ac22636377a46b836db3afda0da3fdcac">zypp::sat::Solvable::isKind</a></div><div class="ttdeci">bool isKind(const ResKind &amp;kind_r) const</div><div class="ttdoc">Test whether a Solvable is of a certain ResKind.</div><div class="ttdef"><b>Definition:</b> <a href="Solvable_8cc_source.html#l00298">Solvable.cc:298</a></div></div>
<div class="ttc" id="classzypp_1_1ResKind_html_a0bed16fac0f44240b981377d495cbe85"><div class="ttname"><a href="classzypp_1_1ResKind.html#a0bed16fac0f44240b981377d495cbe85">zypp::ResKind::srcpackage</a></div><div class="ttdeci">static const ResKind srcpackage</div><div class="ttdef"><b>Definition:</b> <a href="ResKind_8h_source.html#l00044">ResKind.h:44</a></div></div>
<div class="ttc" id="classzypp_1_1IdString_html"><div class="ttname"><a href="classzypp_1_1IdString.html">zypp::IdString</a></div><div class="ttdoc">Access to the sat-pools string space.</div><div class="ttdef"><b>Definition:</b> <a href="IdString_8h_source.html#l00041">IdString.h:41</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a0cde531b721f53a96129546bdfd7fe18"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a0cde531b721f53a96129546bdfd7fe18">zypp::pool::ByIdent::makeIdent</a></div><div class="ttdeci">sat::detail::IdType makeIdent(ResKind kind_r, IdString name_r)</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00069">ByIdent.h:69</a></div></div>
<div class="ttc" id="classzypp_1_1ResObject_html_a8f7aeed4169bb5add73fffa2413b633f"><div class="ttname"><a href="classzypp_1_1ResObject.html#a8f7aeed4169bb5add73fffa2413b633f">zypp::ResObject::constPtr</a></div><div class="ttdeci">TraitsType::constPtrType constPtr</div><div class="ttdef"><b>Definition:</b> <a href="ResObject_8h_source.html#l00044">ResObject.h:44</a></div></div>
<div class="ttc" id="classzypp_1_1C__Str_html_ac9a885992530f72e95a4377c60e5df18"><div class="ttname"><a href="classzypp_1_1C__Str.html#ac9a885992530f72e95a4377c60e5df18">zypp::C_Str::c_str</a></div><div class="ttdeci">const char * c_str() const</div><div class="ttdef"><b>Definition:</b> <a href="String_8h_source.html#l00113">String.h:113</a></div></div>
<div class="ttc" id="group__ZYPP__SMART__PTR_html_ga9ffc8a01367e8a71d551ea8dbdc356f2"><div class="ttname"><a href="group__ZYPP__SMART__PTR.html#ga9ffc8a01367e8a71d551ea8dbdc356f2">zypp::str::form</a></div><div class="ttdeci">std::string form(const char *format,...) __attribute__((format(printf</div><div class="ttdoc">Printf style construction of std::string.</div><div class="ttdef"><b>Definition:</b> <a href="String_8cc_source.html#l00036">String.cc:36</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a28f5458e68504dc6b3bf87c4baaa494b"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a28f5458e68504dc6b3bf87c4baaa494b">zypp::pool::ByIdent::operator()</a></div><div class="ttdeci">bool operator()(ResObject::constPtr p_r) const</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00059">ByIdent.h:59</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a97fc46bac892eff6832790fbdf79d78f"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a97fc46bac892eff6832790fbdf79d78f">zypp::pool::ByIdent::ByIdent</a></div><div class="ttdeci">ByIdent(ResKind kind_r, IdString name_r)</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00041">ByIdent.h:41</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a4cea4b13d403300b75e0d0b89c44e59d"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a4cea4b13d403300b75e0d0b89c44e59d">zypp::pool::ByIdent::operator()</a></div><div class="ttdeci">bool operator()(const PoolItem &amp;pi_r) const</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00056">ByIdent.h:56</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a628802316d8bc72221d4b23618ba3f1e"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a628802316d8bc72221d4b23618ba3f1e">zypp::pool::ByIdent::makeIdent</a></div><div class="ttdeci">sat::detail::IdType makeIdent(ResKind kind_r, const C_Str &amp;name_r)</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00078">ByIdent.h:78</a></div></div>
<div class="ttc" id="classzypp_1_1C__Str_html"><div class="ttname"><a href="classzypp_1_1C__Str.html">zypp::C_Str</a></div><div class="ttdoc">Convenience char* constructible from std::string and char*, it maps (char*)0 to an empty string.</div><div class="ttdef"><b>Definition:</b> <a href="String_8h_source.html#l00090">String.h:90</a></div></div>
<div class="ttc" id="classzypp_1_1IdString_html_a1672c39ebd768ff4189d20cd59204ec1"><div class="ttname"><a href="classzypp_1_1IdString.html#a1672c39ebd768ff4189d20cd59204ec1">zypp::IdString::c_str</a></div><div class="ttdeci">const char * c_str() const</div><div class="ttdoc">Conversion to const char *</div><div class="ttdef"><b>Definition:</b> <a href="IdString_8cc_source.html#l00050">IdString.cc:50</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a556092ba5c33da083f6b22d0d022e203"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a556092ba5c33da083f6b22d0d022e203">zypp::pool::ByIdent::ByIdent</a></div><div class="ttdeci">ByIdent()</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00029">ByIdent.h:29</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_abda0b8c7186662ea79dd459074cf829b"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#abda0b8c7186662ea79dd459074cf829b">zypp::pool::ByIdent::ByIdent</a></div><div class="ttdeci">ByIdent(IdString ident_r)</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00037">ByIdent.h:37</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a5ca7267a23a58995c95be95a5cd5088d"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a5ca7267a23a58995c95be95a5cd5088d">zypp::pool::ByIdent::ByIdent</a></div><div class="ttdeci">ByIdent(ResKind kind_r, const C_Str &amp;name_r)</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00045">ByIdent.h:45</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a82af126e405a688d30d9f16c00256afc"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a82af126e405a688d30d9f16c00256afc">zypp::pool::ByIdent::ByIdent</a></div><div class="ttdeci">ByIdent(sat::Solvable slv_r)</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00033">ByIdent.h:33</a></div></div>
<div class="ttc" id="classzypp_1_1PoolItem_html"><div class="ttname"><a href="classzypp_1_1PoolItem.html">zypp::PoolItem</a></div><div class="ttdoc">Combining sat::Solvable and ResStatus.</div><div class="ttdef"><b>Definition:</b> <a href="PoolItem_8h_source.html#l00050">PoolItem.h:50</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html_a1dfdd8c2ca868040e5d08d1d14be7da7"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html#a1dfdd8c2ca868040e5d08d1d14be7da7">zypp::pool::ByIdent::operator()</a></div><div class="ttdeci">bool operator()(sat::Solvable slv_r) const</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00050">ByIdent.h:50</a></div></div>
<div class="ttc" id="classzypp_1_1ResKind_html"><div class="ttname"><a href="classzypp_1_1ResKind.html">zypp::ResKind</a></div><div class="ttdoc">Resolvable kinds.</div><div class="ttdef"><b>Definition:</b> <a href="ResKind_8h_source.html#l00032">ResKind.h:32</a></div></div>
<div class="ttc" id="namespacezypp_html"><div class="ttname"><a href="namespacezypp.html">zypp</a></div><div class="ttdoc">Easy-to use interface to the ZYPP dependency resolver.</div><div class="ttdef"><b>Definition:</b> <a href="CodePitfalls_8doc_source.html#l00001">CodePitfalls.doc:1</a></div></div>
<div class="ttc" id="structzypp_1_1sat_1_1SolvableType_html_a78de3f4b41f0965829beaa28245a25dd"><div class="ttname"><a href="structzypp_1_1sat_1_1SolvableType.html#a78de3f4b41f0965829beaa28245a25dd">zypp::sat::SolvableType::satSolvable</a></div><div class="ttdeci">Solvable satSolvable() const</div><div class="ttdoc">Return the corresponding sat::Solvable.</div><div class="ttdef"><b>Definition:</b> <a href="SolvableType_8h_source.html#l00057">SolvableType.h:57</a></div></div>
<div class="ttc" id="PoolItem_8h_html"><div class="ttname"><a href="PoolItem_8h.html">PoolItem.h</a></div></div>
<div class="ttc" id="classzypp_1_1IdStringType_html_a314dc425eaf7736f8f0f1b444af7e72a"><div class="ttname"><a href="classzypp_1_1IdStringType.html#a314dc425eaf7736f8f0f1b444af7e72a">zypp::IdStringType::c_str</a></div><div class="ttdeci">const char * c_str() const</div><div class="ttdef"><b>Definition:</b> <a href="IdStringType_8h_source.html#l00105">IdStringType.h:105</a></div></div>
<div class="ttc" id="classzypp_1_1sat_1_1Solvable_html_adf9d2a50e9c546dc93ef5d81ee621d47"><div class="ttname"><a href="classzypp_1_1sat_1_1Solvable.html#adf9d2a50e9c546dc93ef5d81ee621d47">zypp::sat::Solvable::ident</a></div><div class="ttdeci">IdString ident() const</div><div class="ttdoc">The identifier.</div><div class="ttdef"><b>Definition:</b> <a href="Solvable_8cc_source.html#l00265">Solvable.cc:265</a></div></div>
<div class="ttc" id="classzypp_1_1pool_1_1ByIdent_html"><div class="ttname"><a href="classzypp_1_1pool_1_1ByIdent.html">zypp::pool::ByIdent</a></div><div class="ttdoc">Main filter selecting PoolItems by name and kind.</div><div class="ttdef"><b>Definition:</b> <a href="ByIdent_8h_source.html#l00026">ByIdent.h:26</a></div></div>
</div><!-- fragment --></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_4c7bf8b4f1ab07a4661715493947dc9f.html">pool</a></li><li class="navelem"><a class="el" href="ByIdent_8h.html">ByIdent.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>