<!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/Patch.cc 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&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('Patch_8cc_source.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">Patch.cc</div> </div> </div><!--header--> <div class="contents"> <a href="Patch_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*---------------------------------------------------------------------\</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">| ____ _ __ __ ___ |</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">| |__ / \ / / . \ . \ |</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">| / / \ V /| _/ _/ |</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">| / /__ | | | | | | |</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">| /_____||_| |_| |_| |</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">| |</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">\---------------------------------------------------------------------*/</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <iostream></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="LogTools_8h.html">zypp/base/LogTools.h</a>"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="String_8h.html">zypp/base/String.h</a>"</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="Patch_8h.html">zypp/Patch.h</a>"</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="WhatProvides_8h.html">zypp/sat/WhatProvides.h</a>"</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">using</span> std::endl;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> { </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="namespacezypp.html#afdd1ae180b46ec5116b6e99ad61f3d2f">IMPL_PTR_TYPE</a>( Patch );</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">//</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="comment">// METHOD NAME : Patch::Patch</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="comment">// METHOD TYPE : Ctor</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="comment">//</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#aeee2202ee92acd77fb08c03c98f6cbae"> 32</a></span>  <a class="code" href="classzypp_1_1Patch.html#aeee2202ee92acd77fb08c03c98f6cbae">Patch::Patch</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1sat_1_1Solvable.html">sat::Solvable</a> & solvable_r )</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  : <a class="code" href="classzypp_1_1ResObject.html">ResObject</a>( solvable_r )</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  {}</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="comment">//</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">// METHOD NAME : Patch::~Patch</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">// METHOD TYPE : Dtor</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">//</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#ac261e890ca54764e921947fc1a5a65a9"> 41</a></span>  <a class="code" href="classzypp_1_1Patch.html#ac261e890ca54764e921947fc1a5a65a9">Patch::~Patch</a>()</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  {}</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#a6a9f208a69c0768dc6b66af2ed1204d3"> 46</a></span>  std::string <a class="code" href="classzypp_1_1Patch.html#a6a9f208a69c0768dc6b66af2ed1204d3">Patch::category</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="namespacezypp_1_1str.html#adb668ecb122eb6de2d61fa3b3cbea555">str::toLower</a>(<a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a756ee1ee62edd150d2e5dec79c720799">lookupStrAttribute</a>( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#ab45e24a6645f7cef9e4d054a76b64f0a">sat::SolvAttr::patchcategory</a> )); }</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#a0fa09be43cffeb83215912d640f2a123"> 49</a></span>  <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770f">Patch::Category</a> <a class="code" href="classzypp_1_1Patch.html#a0fa09be43cffeb83215912d640f2a123">Patch::categoryEnum</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#a0fa09be43cffeb83215912d640f2a123">categoryEnum</a>( <a class="code" href="classzypp_1_1Patch.html#a6a9f208a69c0768dc6b66af2ed1204d3">category</a>() ); }</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#ab9b8d092e74ba50c90c02696cb093954"> 52</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1Patch.html#ab9b8d092e74ba50c90c02696cb093954">Patch::isCategory</a>( <span class="keyword">const</span> std::string & category_r )<span class="keyword"> const</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span>( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( category_r, <a class="code" href="classzypp_1_1Patch.html#a6a9f208a69c0768dc6b66af2ed1204d3">category</a>() ) == 0 ); }</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#ae11a244da6e60af204d45a35a4ec015d"> 55</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1Patch.html#ab9b8d092e74ba50c90c02696cb093954">Patch::isCategory</a>( Categories category_r )<span class="keyword"> const</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> category_r.testFlag( <a class="code" href="classzypp_1_1Patch.html#a0fa09be43cffeb83215912d640f2a123">categoryEnum</a>() ); }</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#a716b9ebc118a803d4676e70b520edfa3"> 58</a></span>  <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770f">Patch::Category</a> <a class="code" href="classzypp_1_1Patch.html#a0fa09be43cffeb83215912d640f2a123">Patch::categoryEnum</a>( <span class="keyword">const</span> std::string & category_r )</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">switch</span> ( category_r[0] )</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// CAT_YAST</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">case</span> <span class="charliteral">'y'</span>:</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">case</span> <span class="charliteral">'Y'</span>:</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( category_r, <span class="stringliteral">"yast"</span> ) == 0 )</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa5af844715c7218620fa5eef4ba93e297">CAT_YAST</a>;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// CAT_SECURITY</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">case</span> <span class="charliteral">'s'</span>:</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">case</span> <span class="charliteral">'S'</span>:</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( category_r, <span class="stringliteral">"security"</span> ) == 0 )</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770faa580d84bf09538bd960cef90a427f3ef">CAT_SECURITY</a>;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// CAT_RECOMMENDED</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">case</span> <span class="charliteral">'r'</span>:</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">case</span> <span class="charliteral">'R'</span>:</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( category_r, <span class="stringliteral">"recommended"</span> ) == 0 )</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa6f8096b51475016d9d7b337ec2767790">CAT_RECOMMENDED</a>;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">case</span> <span class="charliteral">'b'</span>:</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">case</span> <span class="charliteral">'B'</span>:</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( category_r, <span class="stringliteral">"bugfix"</span> ) == 0 ) <span class="comment">// rhn</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa6f8096b51475016d9d7b337ec2767790">CAT_RECOMMENDED</a>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="comment">// CAT_OPTIONAL</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">case</span> <span class="charliteral">'o'</span>:</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">case</span> <span class="charliteral">'O'</span>:</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( category_r, <span class="stringliteral">"optional"</span> ) == 0 )</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770faa2ada0bbcc636347e4e73d5060e2633d">CAT_OPTIONAL</a>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordflow">case</span> <span class="charliteral">'f'</span>:</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">case</span> <span class="charliteral">'F'</span>:</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( category_r, <span class="stringliteral">"feature"</span> ) == 0 )</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770faa2ada0bbcc636347e4e73d5060e2633d">CAT_OPTIONAL</a>;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">case</span> <span class="charliteral">'e'</span>:</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">case</span> <span class="charliteral">'E'</span>:</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( category_r, <span class="stringliteral">"enhancement"</span> ) == 0 ) <span class="comment">// rhn</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770faa2ada0bbcc636347e4e73d5060e2633d">CAT_OPTIONAL</a>;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="comment">// CAT_DOCUMENT</span></div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">case</span> <span class="charliteral">'d'</span>:</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">case</span> <span class="charliteral">'D'</span>:</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( category_r, <span class="stringliteral">"document"</span> ) == 0 )</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa1153ec97751a4c00ca4962f5e4801d0f">CAT_DOCUMENT</a>;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  }</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="comment">// default:</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#gafeeffe52c8fd59db7c61cf8b02042dbf">INT</a> << <span class="stringliteral">"Unrecognized Patch::Category string '"</span> << category_r << <span class="stringliteral">"'"</span> << endl;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa9d85a85402f155de50c86bc6b9857f4b">CAT_OTHER</a>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  }</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="namespacezypp.html#adb0ad3859d20a0d7debfc14a8071f2d8"> 117</a></span>  std::string <a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770f">Patch::Category</a> & obj )</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  {</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">switch</span> ( obj )</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  {</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa9d85a85402f155de50c86bc6b9857f4b">Patch::CAT_OTHER</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"other"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa5af844715c7218620fa5eef4ba93e297">Patch::CAT_YAST</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"yast"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770faa580d84bf09538bd960cef90a427f3ef">Patch::CAT_SECURITY</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"security"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa6f8096b51475016d9d7b337ec2767790">Patch::CAT_RECOMMENDED</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"recommended"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770faa2ada0bbcc636347e4e73d5060e2633d">Patch::CAT_OPTIONAL</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"optional"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa1153ec97751a4c00ca4962f5e4801d0f">Patch::CAT_DOCUMENT</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"document"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// make gcc happy:</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">return</span> std::string( <span class="stringliteral">"other"</span> );</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#a66966823af46b64289d616514c44b972"> 134</a></span>  std::string <a class="code" href="classzypp_1_1Patch.html#a66966823af46b64289d616514c44b972">Patch::severity</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="namespacezypp_1_1str.html#adb668ecb122eb6de2d61fa3b3cbea555">str::toLower</a>(<a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a756ee1ee62edd150d2e5dec79c720799">lookupStrAttribute</a>( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#ae990d89973468767c597b9885a7ea8e4">sat::SolvAttr::severity</a> )); }</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#ad708a78b44bf72c0fea8e5c0d4fef065"> 137</a></span>  <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dd">Patch::SeverityFlag</a> <a class="code" href="classzypp_1_1Patch.html#ad708a78b44bf72c0fea8e5c0d4fef065">Patch::severityFlag</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#ad708a78b44bf72c0fea8e5c0d4fef065">severityFlag</a>( <a class="code" href="classzypp_1_1Patch.html#a66966823af46b64289d616514c44b972">severity</a>() ); }</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#a1002af778aab07e201340e1d6a92cc74"> 140</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1Patch.html#a1002af778aab07e201340e1d6a92cc74">Patch::isSeverity</a>( <span class="keyword">const</span> std::string & severity_r )<span class="keyword"> const</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span>( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( severity_r, <a class="code" href="classzypp_1_1Patch.html#a66966823af46b64289d616514c44b972">severity</a>() ) == 0 ); }</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#a97ed61b9d437ffcdfa8e03a61a718fe0"> 143</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1Patch.html#a1002af778aab07e201340e1d6a92cc74">Patch::isSeverity</a>( SeverityFlags severity_r )<span class="keyword"> const</span></div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> severity_r.testFlag( <a class="code" href="classzypp_1_1Patch.html#ad708a78b44bf72c0fea8e5c0d4fef065">severityFlag</a>() ); }</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#a0065a35ed007de2e9ca832b338717de6"> 146</a></span>  <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dd">Patch::SeverityFlag</a> <a class="code" href="classzypp_1_1Patch.html#ad708a78b44bf72c0fea8e5c0d4fef065">Patch::severityFlag</a>( <span class="keyword">const</span> std::string & severity_r )</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  {</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">switch</span> ( severity_r[0] )</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  {</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">case</span> <span class="charliteral">'l'</span>:</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">case</span> <span class="charliteral">'L'</span>:</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( severity_r, <span class="stringliteral">"low"</span> ) == 0 )</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda53a6a6d95ed99841199ba277d88c15ec">SEV_LOW</a>;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">case</span> <span class="charliteral">'m'</span>:</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">case</span> <span class="charliteral">'M'</span>:</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( severity_r, <span class="stringliteral">"moderate"</span> ) == 0 )</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda67c9e2cae9dfaef8076f0a034d5792db">SEV_MODERATE</a>;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">case</span> <span class="charliteral">'i'</span>:</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">case</span> <span class="charliteral">'I'</span>:</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( severity_r, <span class="stringliteral">"important"</span> ) == 0 )</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda82e7fb9eed4cb7251e9e8de907cea05f">SEV_IMPORTANT</a>;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">case</span> <span class="charliteral">'c'</span>:</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">case</span> <span class="charliteral">'C'</span>:</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( severity_r, <span class="stringliteral">"critical"</span> ) == 0 )</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda355df7c437c08a72f9c92e9b34ca3c24">SEV_CRITICAL</a>;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">case</span> <span class="charliteral">'u'</span>:</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">case</span> <span class="charliteral">'U'</span>:</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">if</span> ( <a class="code" href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">str::compareCI</a>( severity_r, <span class="stringliteral">"unspecified"</span> ) == 0 )</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda7e5159c742a2be834b8c98afaaa9c184">SEV_NONE</a>;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordflow">case</span> <span class="charliteral">'\0'</span>:</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda7e5159c742a2be834b8c98afaaa9c184">SEV_NONE</a>;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  }</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="comment">// default:</span></div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#gafeeffe52c8fd59db7c61cf8b02042dbf">INT</a> << <span class="stringliteral">"Unrecognized Patch::Severity string '"</span> << severity_r << <span class="stringliteral">"'"</span> << endl;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412ddad52b2abc36a0cf9e063cb34e9a96b2cc">SEV_OTHER</a>;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  }</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="namespacezypp.html#a7303a7bed92c69cc6ba23fb7467fbcd0"> 189</a></span>  std::string <a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dd">Patch::SeverityFlag</a> & obj )</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  {</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordflow">switch</span> ( obj )</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  {</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412ddad52b2abc36a0cf9e063cb34e9a96b2cc">Patch::SEV_OTHER</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"unknown"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda7e5159c742a2be834b8c98afaaa9c184">Patch::SEV_NONE</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"unspecified"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda53a6a6d95ed99841199ba277d88c15ec">Patch::SEV_LOW</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"low"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda67c9e2cae9dfaef8076f0a034d5792db">Patch::SEV_MODERATE</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"moderate"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda82e7fb9eed4cb7251e9e8de907cea05f">Patch::SEV_IMPORTANT</a>:<span class="keywordflow">return</span> std::string( <span class="stringliteral">"important"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda355df7c437c08a72f9c92e9b34ca3c24">Patch::SEV_CRITICAL</a>: <span class="keywordflow">return</span> std::string( <span class="stringliteral">"critical"</span> ); <span class="keywordflow">break</span>;</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  }</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="comment">// make gcc happy:</span></div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">return</span> std::string( <span class="stringliteral">"unknown"</span> );</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  }</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="comment">//</span></div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#ad29b419868fecd7302285d9b02de4a0e"> 206</a></span> std::string <a class="code" href="classzypp_1_1Patch.html#ad29b419868fecd7302285d9b02de4a0e">Patch::message</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1Locale.html">Locale</a> & lang_r )<span class="keyword"> const</span></div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a756ee1ee62edd150d2e5dec79c720799">lookupStrAttribute</a>( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a3bfff4a805d706888c5fbce125ea5443">sat::SolvAttr::message</a>, lang_r ); }</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#aa26d3ee9178a4b531435151d6dedf47a"> 209</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1Patch.html#aa26d3ee9178a4b531435151d6dedf47a">Patch::rebootSuggested</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a48a4f3f4fb194bf0b0c67a5a27afe144">lookupBoolAttribute</a>( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a601eadb191b2d2059b5ef6c5d3d3567d">sat::SolvAttr::rebootSuggested</a> ); }</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> </div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#adc48348447c953cd6f6777876d4b1101"> 212</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1Patch.html#adc48348447c953cd6f6777876d4b1101">Patch::restartSuggested</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a48a4f3f4fb194bf0b0c67a5a27afe144">lookupBoolAttribute</a>( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a4733068254713b47fba3cafc28cd23b4">sat::SolvAttr::restartSuggested</a> ); }</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#aab65ffd173db4e69ac1469e2d1fc576f"> 215</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1Patch.html#aab65ffd173db4e69ac1469e2d1fc576f">Patch::reloginSuggested</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a48a4f3f4fb194bf0b0c67a5a27afe144">lookupBoolAttribute</a>( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#af37fa051faed4d00b94abdcf90704115">sat::SolvAttr::reloginSuggested</a> ); }</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#a562c7934aa0053e894d73bfb8f7b34bd"> 218</a></span>  Patch::InteractiveFlags <a class="code" href="classzypp_1_1Patch.html#a562c7934aa0053e894d73bfb8f7b34bd">Patch::interactiveFlags</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  InteractiveFlags patchFlags (<a class="code" href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352aa0502a24667b125db5d7797c761e6c4b">NoFlags</a>);</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordflow">if</span> ( <a class="code" href="classzypp_1_1Patch.html#aa26d3ee9178a4b531435151d6dedf47a">rebootSuggested</a>() )</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  patchFlags |= <a class="code" href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352a4ef0fa1481cc5ad403a11f79a87dc5fb">Reboot</a>;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordflow">if</span> ( ! <a class="code" href="classzypp_1_1Patch.html#ad29b419868fecd7302285d9b02de4a0e">message</a>().empty() )</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  patchFlags |= <a class="code" href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352a23b3b463f09f59a0588c5284d4f2e965">Message</a>;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordflow">if</span> ( ! <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#aad9a34ddd041ce74e4536b343b2e32d2">licenseToConfirm</a>().empty() )</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  patchFlags |= <a class="code" href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352a14ed58a69e053cb4e411e66ed793a235">License</a>;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="classzypp_1_1sat_1_1SolvableSet.html">Patch::Contents</a> c( <a class="code" href="classzypp_1_1Patch.html#ab9f6f68fe27d135a9ab5566515681289">contents</a>() );</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <a class="code" href="Easy_8h.html#a7887338b8a0727becb37d8061fcbfc0e">for_</a>( it, c.<a class="code" href="classzypp_1_1sat_1_1SolvableSet.html#ae142b361719a7453c410deb7a37afb16">begin</a>(), c.<a class="code" href="classzypp_1_1sat_1_1SolvableSet.html#aa4b92708b5df52e334001bf4fbeb53e9">end</a>() )</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keywordflow">if</span> ( ! <a class="code" href="classzypp_1_1ResObject.html#a585baf1744f46d4715c0bbb2538cd83d">makeResObject</a>(*it)->licenseToConfirm().empty() )</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  {</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  patchFlags |= <a class="code" href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352a14ed58a69e053cb4e411e66ed793a235">License</a>;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  }</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  }</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordflow">return</span> patchFlags;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  }</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div><div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#afcdb04480a26e0dde83acfc48d5e1eb8"> 242</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1Patch.html#afcdb04480a26e0dde83acfc48d5e1eb8">Patch::interactiveWhenIgnoring</a>( InteractiveFlags flags_r )<span class="keyword"> const</span></div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordflow">if</span> ( <a class="code" href="classzypp_1_1Patch.html#a562c7934aa0053e894d73bfb8f7b34bd">interactiveFlags</a>() & ( ~flags_r ) )</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  {</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  }</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  }</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  }</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#a2a30c10246eefbb4469a7465dff236e5"> 254</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classzypp_1_1Patch.html#a2a30c10246eefbb4469a7465dff236e5">Patch::interactive</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Patch.html#afcdb04480a26e0dde83acfc48d5e1eb8">interactiveWhenIgnoring</a>();</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  }</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div><div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="namespacezypp.html#a66fac46e8c2038c4610d1d6313099fe1"> 259</a></span>  std::string <a class="code" href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">asString</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352">Patch::InteractiveFlag</a> & obj )</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  {</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">switch</span> ( obj )</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  {</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352aa0502a24667b125db5d7797c761e6c4b">Patch::NoFlags</a>: <span class="keywordflow">return</span> <span class="stringliteral">""</span>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352a4ef0fa1481cc5ad403a11f79a87dc5fb">Patch::Reboot</a>: <span class="keywordflow">return</span> <span class="stringliteral">"reboot"</span>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352a23b3b463f09f59a0588c5284d4f2e965">Patch::Message</a>: <span class="keywordflow">return</span> <span class="stringliteral">"message"</span>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keywordflow">case</span> <a class="code" href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352a14ed58a69e053cb4e411e66ed793a235">Patch::License</a>: <span class="keywordflow">return</span> <span class="stringliteral">"license"</span>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  }</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordflow">return</span> <a class="code" href="namespacezypp_1_1str.html#ac9610bfbcddd70875e42c1a3c884b009">str::hexstring</a>(obj);</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  }</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> </div><div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch.html#ab9f6f68fe27d135a9ab5566515681289"> 271</a></span>  <a class="code" href="classzypp_1_1sat_1_1SolvableSet.html">Patch::Contents</a> <a class="code" href="classzypp_1_1Patch.html#ab9f6f68fe27d135a9ab5566515681289">Patch::contents</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <a class="code" href="classzypp_1_1sat_1_1SolvableSet.html">Contents</a> result;</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="comment">// DBG << *this << endl;</span></div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <a class="code" href="classzypp_1_1sat_1_1LookupAttr.html">sat::LookupAttr</a> updateCollection( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a5a8a8aa75ecfd414c63bec337f669783">sat::SolvAttr::updateCollection</a>, <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a78de3f4b41f0965829beaa28245a25dd">satSolvable</a>() );</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <a class="code" href="Easy_8h.html#a7887338b8a0727becb37d8061fcbfc0e">for_</a>( entry, updateCollection.<a class="code" href="classzypp_1_1sat_1_1LookupAttr.html#aa63d1e671c66473bc8a3470c4cd9658f">begin</a>(), updateCollection.<a class="code" href="classzypp_1_1sat_1_1LookupAttr.html#a07bd2dee03ddf4cf6df1aab246107e02">end</a>() )</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  {</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <a class="code" href="classzypp_1_1IdString.html">IdString</a> <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2aaa4bc21653b25df56cd9247997573e">name</a> ( entry.subFind( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a513c41e50c37501bb0a3e32d624d827a">sat::SolvAttr::updateCollectionName</a> ).idStr() );</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="classzypp_1_1Edition.html">Edition</a> <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#ab363703751b5b05296d5ad687a6216e2">edition</a> ( entry.subFind( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a434c65cff90d2d26bdea96637eae6ffd">sat::SolvAttr::updateCollectionEvr</a> ).idStr() );</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <a class="code" href="classzypp_1_1Arch.html">Arch</a> <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2947aba00fbe3b68f82b6eac58213c30">arch</a> ( entry.subFind( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a056ade6af66a4986c822c83f46750ec0">sat::SolvAttr::updateCollectionArch</a> ).idStr() );</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordflow">if</span> ( <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2aaa4bc21653b25df56cd9247997573e">name</a>.empty() )</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  {</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga9423380a92639b296ea0a984ea7e1c6b">WAR</a> << <span class="stringliteral">"Ignore malformed updateCollection entry: "</span> << <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2aaa4bc21653b25df56cd9247997573e">name</a> << <span class="stringliteral">"-"</span> << <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#ab363703751b5b05296d5ad687a6216e2">edition</a> << <span class="stringliteral">"."</span> << <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2947aba00fbe3b68f82b6eac58213c30">arch</a> << endl;</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="comment">// The entry is relevant if there is an installed</span></div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="comment">// package with the same name and arch.</span></div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keywordtype">bool</span> relevant = <span class="keyword">false</span>;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="code" href="classzypp_1_1sat_1_1WhatProvides.html">sat::WhatProvides</a> providers( (<a class="code" href="classzypp_1_1Capability.html">Capability</a>( <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2aaa4bc21653b25df56cd9247997573e">name</a>.id() )) );</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <a class="code" href="Easy_8h.html#a7887338b8a0727becb37d8061fcbfc0e">for_</a>( it, providers.begin(), providers.end() )</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  {</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordflow">if</span> ( it->isSystem() && it->ident() == <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2aaa4bc21653b25df56cd9247997573e">name</a> && it->arch() == <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2947aba00fbe3b68f82b6eac58213c30">arch</a> )</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  {</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  relevant = <span class="keyword">true</span>;</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  }</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  }</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keywordflow">if</span> ( ! relevant )</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  {</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="comment">// DBG << "Not relevant: " << name << "-" << edition << "." << arch << endl;</span></div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  }</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span> </div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="comment">/* find exact providers first (this matches the _real_ 'collection content' of the patch */</span></div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  providers = <a class="code" href="classzypp_1_1sat_1_1WhatProvides.html">sat::WhatProvides</a>( <a class="code" href="classzypp_1_1Capability.html">Capability</a>( <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2947aba00fbe3b68f82b6eac58213c30">arch</a>, <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2aaa4bc21653b25df56cd9247997573e">name</a>.c_str(), <a class="code" href="structzypp_1_1Rel.html#acf87bde5e682c492c9db9cf48135e265">Rel::EQ</a>, <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#ab363703751b5b05296d5ad687a6216e2">edition</a>, <a class="code" href="classzypp_1_1ResKind.html#a751a7d76f32f6250e9e2e4dee4491103">ResKind::package</a> ) );</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keywordflow">if</span> ( providers.empty() )</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  {</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="comment">/* no exact providers: find 'best' providers: those with a larger evr */</span></div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  providers = <a class="code" href="classzypp_1_1sat_1_1WhatProvides.html">sat::WhatProvides</a>( <a class="code" href="classzypp_1_1Capability.html">Capability</a>( <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2947aba00fbe3b68f82b6eac58213c30">arch</a>, <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2aaa4bc21653b25df56cd9247997573e">name</a>.c_str(), <a class="code" href="structzypp_1_1Rel.html#a37f619c73a52ff90c4c95b1b7c0e49ea">Rel::GT</a>, <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#ab363703751b5b05296d5ad687a6216e2">edition</a>, <a class="code" href="classzypp_1_1ResKind.html#a751a7d76f32f6250e9e2e4dee4491103">ResKind::package</a> ) );</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">if</span> ( providers.empty() )</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  {</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="comment">// Hmm, this patch is not installable, no one is providing the package in the collection</span></div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="comment">// FIXME: raise execption ? fake a solvable ?</span></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga9423380a92639b296ea0a984ea7e1c6b">WAR</a> << <span class="stringliteral">"Missing provider: "</span> << <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2aaa4bc21653b25df56cd9247997573e">name</a> << <span class="stringliteral">"-"</span> << <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#ab363703751b5b05296d5ad687a6216e2">edition</a> << <span class="stringliteral">"."</span> << <a class="code" href="structzypp_1_1sat_1_1SolvableType.html#a2947aba00fbe3b68f82b6eac58213c30">arch</a> << endl;</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  }</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  }</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <span class="comment">// FIXME ?! loop over providers and try to find installed ones ?</span></div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="comment">// DBG << "Found " << name << "-" << edition << "." << arch << ": " << *(providers.begin()) << endl;</span></div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  result.<a class="code" href="classzypp_1_1sat_1_1SolvableSet.html#a44c18ae6758b4fd56bd8854b9d7da968">get</a>().insert( *(providers.begin()) );</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  }</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> </div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  }</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="comment">//</span></div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="comment">// CLASS NAME : Patch::ReferenceIterator</span></div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="comment">//</span></div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="comment"></span></div><div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch_1_1ReferenceIterator.html#af1e1d5f42755644876c491a676f4408c"> 334</a></span>  <a class="code" href="classzypp_1_1Patch_1_1ReferenceIterator.html#a3845667a614bb64925cd46af8baffc57">Patch::ReferenceIterator::ReferenceIterator</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1sat_1_1Solvable.html">sat::Solvable</a> & val_r )</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  { base_reference() = <a class="code" href="classzypp_1_1sat_1_1LookupAttr.html">sat::LookupAttr</a>( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#ac7c9a67293f3bca47f781683c2d4d1ee">sat::SolvAttr::updateReference</a>, val_r ).<a class="code" href="classzypp_1_1sat_1_1LookupAttr.html#aa63d1e671c66473bc8a3470c4cd9658f">begin</a>(); }</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div><div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ad07fc65261eefc4332a9ec2368523f97"> 337</a></span>  std::string <a class="code" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ad07fc65261eefc4332a9ec2368523f97">Patch::ReferenceIterator::id</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> base_reference().subFind( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a351e82eb6a18fcfd7a53802792831615">sat::SolvAttr::updateReferenceId</a> ).asString(); }</div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ad2eb2d9e2fc577089e35d92d615b4c36"> 339</a></span>  std::string <a class="code" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ad2eb2d9e2fc577089e35d92d615b4c36">Patch::ReferenceIterator::href</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> base_reference().subFind( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a4695164c813cb516bc9837cb932e8770">sat::SolvAttr::updateReferenceHref</a> ).asString(); }</div><div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch_1_1ReferenceIterator.html#a21fa3c3c7c2136df89ef455ac8d66327"> 341</a></span>  std::string <a class="code" href="classzypp_1_1Patch_1_1ReferenceIterator.html#a21fa3c3c7c2136df89ef455ac8d66327">Patch::ReferenceIterator::title</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> base_reference().subFind( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a7dbbe42a21fde6f6d4a95612fbef6fe0">sat::SolvAttr::updateReferenceTitle</a> ).asString(); }</div><div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ae7ad69ea3399076779ac878de1c11fd1"> 343</a></span>  std::string <a class="code" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ae7ad69ea3399076779ac878de1c11fd1">Patch::ReferenceIterator::type</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> base_reference().subFind( <a class="code" href="classzypp_1_1sat_1_1SolvAttr.html#a35be054f4d0a993e05cc85fa8e00d633">sat::SolvAttr::updateReferenceType</a> ).asString(); }</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span> </div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span> } <span class="comment">// namespace zypp</span></div><div class="ttc" id="classzypp_1_1Patch_1_1ReferenceIterator_html_a3845667a614bb64925cd46af8baffc57"><div class="ttname"><a href="classzypp_1_1Patch_1_1ReferenceIterator.html#a3845667a614bb64925cd46af8baffc57">zypp::Patch::ReferenceIterator::ReferenceIterator</a></div><div class="ttdeci">ReferenceIterator()</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00277">Patch.h:277</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_ac261e890ca54764e921947fc1a5a65a9"><div class="ttname"><a href="classzypp_1_1Patch.html#ac261e890ca54764e921947fc1a5a65a9">zypp::Patch::~Patch</a></div><div class="ttdeci">virtual ~Patch()</div><div class="ttdoc">Dtor.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00041">Patch.cc:41</a></div></div> <div class="ttc" id="structzypp_1_1Rel_html_a37f619c73a52ff90c4c95b1b7c0e49ea"><div class="ttname"><a href="structzypp_1_1Rel.html#a37f619c73a52ff90c4c95b1b7c0e49ea">zypp::Rel::GT</a></div><div class="ttdeci">static const Rel GT</div><div class="ttdef"><b>Definition:</b> <a href="Rel_8h_source.html#l00054">Rel.h:54</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a4e4d5044ab9267247b2ee9fb2af412dda67c9e2cae9dfaef8076f0a034d5792db"><div class="ttname"><a href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda67c9e2cae9dfaef8076f0a034d5792db">zypp::Patch::SEV_MODERATE</a></div><div class="ttdoc">Moderate.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00079">Patch.h:79</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_aab65ffd173db4e69ac1469e2d1fc576f"><div class="ttname"><a href="classzypp_1_1Patch.html#aab65ffd173db4e69ac1469e2d1fc576f">zypp::Patch::reloginSuggested</a></div><div class="ttdeci">bool reloginSuggested() const</div><div class="ttdoc">Does the patch needs the user to relogin to take effect? relogin is suggested then.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00215">Patch.cc:215</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_1Patch_html_a4e4d5044ab9267247b2ee9fb2af412dd"><div class="ttname"><a href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dd">zypp::Patch::SeverityFlag</a></div><div class="ttdeci">SeverityFlag</div><div class="ttdoc">Possible severity levels for (security) patches.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00075">Patch.h:75</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a4695164c813cb516bc9837cb932e8770"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a4695164c813cb516bc9837cb932e8770">zypp::sat::SolvAttr::updateReferenceHref</a></div><div class="ttdeci">static const SolvAttr updateReferenceHref</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00123">SolvAttr.h:123</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1WhatProvides_html"><div class="ttname"><a href="classzypp_1_1sat_1_1WhatProvides.html">zypp::sat::WhatProvides</a></div><div class="ttdoc">Container of Solvable providing a Capability (read only).</div><div class="ttdef"><b>Definition:</b> <a href="WhatProvides_8h_source.html#l00087">WhatProvides.h:87</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_abd1644dadd0a8631398fad0d807a770fa1153ec97751a4c00ca4962f5e4801d0f"><div class="ttname"><a href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa1153ec97751a4c00ca4962f5e4801d0f">zypp::Patch::CAT_DOCUMENT</a></div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00053">Patch.h:53</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_1ResObject_html_a585baf1744f46d4715c0bbb2538cd83d"><div class="ttname"><a href="classzypp_1_1ResObject.html#a585baf1744f46d4715c0bbb2538cd83d">zypp::ResObject::makeResObject</a></div><div class="ttdeci">friend ResObject::Ptr makeResObject(const sat::Solvable &solvable_r)</div><div class="ttdoc">Create ResObject from sat::Solvable.</div><div class="ttdef"><b>Definition:</b> <a href="ResObject_8cc_source.html#l00044">ResObject.cc:44</a></div></div> <div class="ttc" id="namespacezypp_html_a1547a676c9d1f206e0ed614d42d74c2d"><div class="ttname"><a href="namespacezypp.html#a1547a676c9d1f206e0ed614d42d74c2d">zypp::asString</a></div><div class="ttdeci">std::string asString(const DefaultIntegral< Tp, TInitial > &obj)</div><div class="ttdef"><b>Definition:</b> <a href="DefaultIntegral_8h_source.html#l00098">DefaultIntegral.h:98</a></div></div> <div class="ttc" id="classzypp_1_1Arch_html"><div class="ttname"><a href="classzypp_1_1Arch.html">zypp::Arch</a></div><div class="ttdoc">Architecture.</div><div class="ttdef"><b>Definition:</b> <a href="Arch_8h_source.html#l00036">Arch.h:36</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_ac7c9a67293f3bca47f781683c2d4d1ee"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#ac7c9a67293f3bca47f781683c2d4d1ee">zypp::sat::SolvAttr::updateReference</a></div><div class="ttdeci">static const SolvAttr updateReference</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00121">SolvAttr.h:121</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a66966823af46b64289d616514c44b972"><div class="ttname"><a href="classzypp_1_1Patch.html#a66966823af46b64289d616514c44b972">zypp::Patch::severity</a></div><div class="ttdeci">std::string severity() const</div><div class="ttdoc">Severity string as specified in metadata.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00134">Patch.cc:134</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1LookupAttr_html"><div class="ttname"><a href="classzypp_1_1sat_1_1LookupAttr.html">zypp::sat::LookupAttr</a></div><div class="ttdoc">Lightweight attribute value lookup.</div><div class="ttdef"><b>Definition:</b> <a href="LookupAttr_8h_source.html#l00107">LookupAttr.h:107</a></div></div> <div class="ttc" id="structzypp_1_1Rel_html_acf87bde5e682c492c9db9cf48135e265"><div class="ttname"><a href="structzypp_1_1Rel.html#acf87bde5e682c492c9db9cf48135e265">zypp::Rel::EQ</a></div><div class="ttdeci">static const Rel EQ</div><div class="ttdef"><b>Definition:</b> <a href="Rel_8h_source.html#l00050">Rel.h:50</a></div></div> <div class="ttc" id="group__ZYPP__BASE__LOGGER__MACROS_html_gafeeffe52c8fd59db7c61cf8b02042dbf"><div class="ttname"><a href="group__ZYPP__BASE__LOGGER__MACROS.html#gafeeffe52c8fd59db7c61cf8b02042dbf">INT</a></div><div class="ttdeci">#define INT</div><div class="ttdef"><b>Definition:</b> <a href="Logger_8h_source.html#l00083">Logger.h:83</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a4e4d5044ab9267247b2ee9fb2af412ddad52b2abc36a0cf9e063cb34e9a96b2cc"><div class="ttname"><a href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412ddad52b2abc36a0cf9e063cb34e9a96b2cc">zypp::Patch::SEV_OTHER</a></div><div class="ttdoc">unknown value specified</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00076">Patch.h:76</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a2c9e5b07c1fc78c3636dc81ae2c93352a14ed58a69e053cb4e411e66ed793a235"><div class="ttname"><a href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352a14ed58a69e053cb4e411e66ed793a235">zypp::Patch::License</a></div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00065">Patch.h:65</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_abd1644dadd0a8631398fad0d807a770f"><div class="ttname"><a href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770f">zypp::Patch::Category</a></div><div class="ttdeci">Category</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00047">Patch.h:47</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="Easy_8h_html_a7887338b8a0727becb37d8061fcbfc0e"><div class="ttname"><a href="Easy_8h.html#a7887338b8a0727becb37d8061fcbfc0e">for_</a></div><div class="ttdeci">#define for_(IT, BEG, END)</div><div class="ttdoc">Convenient for-loops using iterator.</div><div class="ttdef"><b>Definition:</b> <a href="Easy_8h_source.html#l00027">Easy.h:27</a></div></div> <div class="ttc" id="classzypp_1_1Edition_html"><div class="ttname"><a href="classzypp_1_1Edition.html">zypp::Edition</a></div><div class="ttdoc">Edition represents [epoch:]version[-release]</div><div class="ttdef"><b>Definition:</b> <a href="Edition_8h_source.html#l00060">Edition.h:60</a></div></div> <div class="ttc" id="classzypp_1_1Patch_1_1ReferenceIterator_html_a21fa3c3c7c2136df89ef455ac8d66327"><div class="ttname"><a href="classzypp_1_1Patch_1_1ReferenceIterator.html#a21fa3c3c7c2136df89ef455ac8d66327">zypp::Patch::ReferenceIterator::title</a></div><div class="ttdeci">std::string title() const</div><div class="ttdoc">Title describing the issue.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00341">Patch.cc:341</a></div></div> <div class="ttc" id="structzypp_1_1sat_1_1SolvableType_html_ab363703751b5b05296d5ad687a6216e2"><div class="ttname"><a href="structzypp_1_1sat_1_1SolvableType.html#ab363703751b5b05296d5ad687a6216e2">zypp::sat::SolvableType< Resolvable >::edition</a></div><div class="ttdeci">Edition edition() const</div><div class="ttdef"><b>Definition:</b> <a href="SolvableType_8h_source.html#l00071">SolvableType.h:71</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a7dbbe42a21fde6f6d4a95612fbef6fe0"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a7dbbe42a21fde6f6d4a95612fbef6fe0">zypp::sat::SolvAttr::updateReferenceTitle</a></div><div class="ttdeci">static const SolvAttr updateReferenceTitle</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00125">SolvAttr.h:125</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a0fa09be43cffeb83215912d640f2a123"><div class="ttname"><a href="classzypp_1_1Patch.html#a0fa09be43cffeb83215912d640f2a123">zypp::Patch::categoryEnum</a></div><div class="ttdeci">Category categoryEnum() const</div><div class="ttdoc">This patch's category as enum of wellknown categories.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00049">Patch.cc:49</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a4e4d5044ab9267247b2ee9fb2af412dda7e5159c742a2be834b8c98afaaa9c184"><div class="ttname"><a href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda7e5159c742a2be834b8c98afaaa9c184">zypp::Patch::SEV_NONE</a></div><div class="ttdoc">no value specified</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00077">Patch.h:77</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_abd1644dadd0a8631398fad0d807a770faa580d84bf09538bd960cef90a427f3ef"><div class="ttname"><a href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770faa580d84bf09538bd960cef90a427f3ef">zypp::Patch::CAT_SECURITY</a></div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00050">Patch.h:50</a></div></div> <div class="ttc" id="structzypp_1_1sat_1_1SolvableType_html_a2947aba00fbe3b68f82b6eac58213c30"><div class="ttname"><a href="structzypp_1_1sat_1_1SolvableType.html#a2947aba00fbe3b68f82b6eac58213c30">zypp::sat::SolvableType< Resolvable >::arch</a></div><div class="ttdeci">Arch arch() const</div><div class="ttdef"><b>Definition:</b> <a href="SolvableType_8h_source.html#l00072">SolvableType.h:72</a></div></div> <div class="ttc" id="structzypp_1_1sat_1_1SolvableType_html_a2aaa4bc21653b25df56cd9247997573e"><div class="ttname"><a href="structzypp_1_1sat_1_1SolvableType.html#a2aaa4bc21653b25df56cd9247997573e">zypp::sat::SolvableType< Resolvable >::name</a></div><div class="ttdeci">std::string name() const</div><div class="ttdef"><b>Definition:</b> <a href="SolvableType_8h_source.html#l00070">SolvableType.h:70</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a351e82eb6a18fcfd7a53802792831615"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a351e82eb6a18fcfd7a53802792831615">zypp::sat::SolvAttr::updateReferenceId</a></div><div class="ttdeci">static const SolvAttr updateReferenceId</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00124">SolvAttr.h:124</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1LookupAttr_html_a07bd2dee03ddf4cf6df1aab246107e02"><div class="ttname"><a href="classzypp_1_1sat_1_1LookupAttr.html#a07bd2dee03ddf4cf6df1aab246107e02">zypp::sat::LookupAttr::end</a></div><div class="ttdeci">iterator end() const</div><div class="ttdoc">Iterator behind the end of query results.</div><div class="ttdef"><b>Definition:</b> <a href="LookupAttr_8cc_source.html#l00239">LookupAttr.cc:239</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvableSet_html_ae142b361719a7453c410deb7a37afb16"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvableSet.html#ae142b361719a7453c410deb7a37afb16">zypp::sat::SolvableSet::begin</a></div><div class="ttdeci">const_iterator begin() const</div><div class="ttdoc">Iterator pointing to the first Solvable.</div><div class="ttdef"><b>Definition:</b> <a href="SolvableSet_8h_source.html#l00072">SolvableSet.h:72</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_ad708a78b44bf72c0fea8e5c0d4fef065"><div class="ttname"><a href="classzypp_1_1Patch.html#ad708a78b44bf72c0fea8e5c0d4fef065">zypp::Patch::severityFlag</a></div><div class="ttdeci">SeverityFlag severityFlag() const</div><div class="ttdoc">Severity string mapped to an enum.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00137">Patch.cc:137</a></div></div> <div class="ttc" id="classzypp_1_1Patch_1_1ReferenceIterator_html_ad2eb2d9e2fc577089e35d92d615b4c36"><div class="ttname"><a href="classzypp_1_1Patch_1_1ReferenceIterator.html#ad2eb2d9e2fc577089e35d92d615b4c36">zypp::Patch::ReferenceIterator::href</a></div><div class="ttdeci">std::string href() const</div><div class="ttdoc">Url or pointer where to find more information.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00339">Patch.cc:339</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a5a8a8aa75ecfd414c63bec337f669783"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a5a8a8aa75ecfd414c63bec337f669783">zypp::sat::SolvAttr::updateCollection</a></div><div class="ttdeci">static const SolvAttr updateCollection</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00115">SolvAttr.h:115</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a434c65cff90d2d26bdea96637eae6ffd"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a434c65cff90d2d26bdea96637eae6ffd">zypp::sat::SolvAttr::updateCollectionEvr</a></div><div class="ttdeci">static const SolvAttr updateCollectionEvr</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00117">SolvAttr.h:117</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a2a30c10246eefbb4469a7465dff236e5"><div class="ttname"><a href="classzypp_1_1Patch.html#a2a30c10246eefbb4469a7465dff236e5">zypp::Patch::interactive</a></div><div class="ttdeci">bool interactive() const</div><div class="ttdoc">Is the patch installation interactive? (does it need user input?)</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00254">Patch.cc:254</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_ad29b419868fecd7302285d9b02de4a0e"><div class="ttname"><a href="classzypp_1_1Patch.html#ad29b419868fecd7302285d9b02de4a0e">zypp::Patch::message</a></div><div class="ttdeci">std::string message(const Locale &lang_r=Locale()) const</div><div class="ttdoc">Information or warning to be displayed to the user.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00206">Patch.cc:206</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_ab9b8d092e74ba50c90c02696cb093954"><div class="ttname"><a href="classzypp_1_1Patch.html#ab9b8d092e74ba50c90c02696cb093954">zypp::Patch::isCategory</a></div><div class="ttdeci">bool isCategory(const std::string &category_r) const</div><div class="ttdoc">Whether this patch's category matches category_r.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00052">Patch.cc:52</a></div></div> <div class="ttc" id="group__ZYPP__BASE__LOGGER__MACROS_html_ga9423380a92639b296ea0a984ea7e1c6b"><div class="ttname"><a href="group__ZYPP__BASE__LOGGER__MACROS.html#ga9423380a92639b296ea0a984ea7e1c6b">WAR</a></div><div class="ttdeci">#define WAR</div><div class="ttdef"><b>Definition:</b> <a href="Logger_8h_source.html#l00080">Logger.h:80</a></div></div> <div class="ttc" id="namespacezypp_html_afdd1ae180b46ec5116b6e99ad61f3d2f"><div class="ttname"><a href="namespacezypp.html#afdd1ae180b46ec5116b6e99ad61f3d2f">zypp::IMPL_PTR_TYPE</a></div><div class="ttdeci">IMPL_PTR_TYPE(Application)</div></div> <div class="ttc" id="WhatProvides_8h_html"><div class="ttname"><a href="WhatProvides_8h.html">WhatProvides.h</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_aeee2202ee92acd77fb08c03c98f6cbae"><div class="ttname"><a href="classzypp_1_1Patch.html#aeee2202ee92acd77fb08c03c98f6cbae">zypp::Patch::Patch</a></div><div class="ttdeci">Patch(const sat::Solvable &solvable_r)</div><div class="ttdoc">Ctor.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00032">Patch.cc:32</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_ae990d89973468767c597b9885a7ea8e4"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#ae990d89973468767c597b9885a7ea8e4">zypp::sat::SolvAttr::severity</a></div><div class="ttdeci">static const SolvAttr severity</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00114">SolvAttr.h:114</a></div></div> <div class="ttc" id="classzypp_1_1ResObject_html"><div class="ttname"><a href="classzypp_1_1ResObject.html">zypp::ResObject</a></div><div class="ttdoc">Base for resolvable objects.</div><div class="ttdef"><b>Definition:</b> <a href="ResObject_8h_source.html#l00038">ResObject.h:38</a></div></div> <div class="ttc" id="classzypp_1_1Patch_1_1ReferenceIterator_html_ad07fc65261eefc4332a9ec2368523f97"><div class="ttname"><a href="classzypp_1_1Patch_1_1ReferenceIterator.html#ad07fc65261eefc4332a9ec2368523f97">zypp::Patch::ReferenceIterator::id</a></div><div class="ttdeci">std::string id() const</div><div class="ttdoc">The id of the reference.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00337">Patch.cc:337</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a4e4d5044ab9267247b2ee9fb2af412dda355df7c437c08a72f9c92e9b34ca3c24"><div class="ttname"><a href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda355df7c437c08a72f9c92e9b34ca3c24">zypp::Patch::SEV_CRITICAL</a></div><div class="ttdoc">Critical.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00081">Patch.h:81</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvableSet_html_a44c18ae6758b4fd56bd8854b9d7da968"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvableSet.html#a44c18ae6758b4fd56bd8854b9d7da968">zypp::sat::SolvableSet::get</a></div><div class="ttdeci">Container & get()</div><div class="ttdoc">The set.</div><div class="ttdef"><b>Definition:</b> <a href="SolvableSet_8h_source.html#l00098">SolvableSet.h:98</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_ab9f6f68fe27d135a9ab5566515681289"><div class="ttname"><a href="classzypp_1_1Patch.html#ab9f6f68fe27d135a9ab5566515681289">zypp::Patch::contents</a></div><div class="ttdeci">Contents contents() const</div><div class="ttdoc">The collection of packages associated with this patch.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00271">Patch.cc:271</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a3bfff4a805d706888c5fbce125ea5443"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a3bfff4a805d706888c5fbce125ea5443">zypp::sat::SolvAttr::message</a></div><div class="ttdeci">static const SolvAttr message</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00113">SolvAttr.h:113</a></div></div> <div class="ttc" id="namespacezypp_1_1str_html_adb668ecb122eb6de2d61fa3b3cbea555"><div class="ttname"><a href="namespacezypp_1_1str.html#adb668ecb122eb6de2d61fa3b3cbea555">zypp::str::toLower</a></div><div class="ttdeci">std::string toLower(const std::string &s)</div><div class="ttdoc">Return lowercase version of s.</div><div class="ttdef"><b>Definition:</b> <a href="String_8cc_source.html#l00175">String.cc:175</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a2c9e5b07c1fc78c3636dc81ae2c93352a4ef0fa1481cc5ad403a11f79a87dc5fb"><div class="ttname"><a href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352a4ef0fa1481cc5ad403a11f79a87dc5fb">zypp::Patch::Reboot</a></div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00063">Patch.h:63</a></div></div> <div class="ttc" id="namespacezypp_1_1str_html_afdd4acc21f3cab510c51367ff31ab09e"><div class="ttname"><a href="namespacezypp_1_1str.html#afdd4acc21f3cab510c51367ff31ab09e">zypp::str::compareCI</a></div><div class="ttdeci">int compareCI(const C_Str &lhs, const C_Str &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="String_8h_source.html#l00950">String.h:950</a></div></div> <div class="ttc" id="LogTools_8h_html"><div class="ttname"><a href="LogTools_8h.html">LogTools.h</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a562c7934aa0053e894d73bfb8f7b34bd"><div class="ttname"><a href="classzypp_1_1Patch.html#a562c7934aa0053e894d73bfb8f7b34bd">zypp::Patch::interactiveFlags</a></div><div class="ttdeci">InteractiveFlags interactiveFlags() const</div><div class="ttdoc">Get the InteractiveFlags of this Patch.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00218">Patch.cc:218</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvableSet_html_aa4b92708b5df52e334001bf4fbeb53e9"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvableSet.html#aa4b92708b5df52e334001bf4fbeb53e9">zypp::sat::SolvableSet::end</a></div><div class="ttdeci">const_iterator end() const</div><div class="ttdoc">Iterator pointing behind the last Solvable.</div><div class="ttdef"><b>Definition:</b> <a href="SolvableSet_8h_source.html#l00076">SolvableSet.h:76</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_abd1644dadd0a8631398fad0d807a770fa9d85a85402f155de50c86bc6b9857f4b"><div class="ttname"><a href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa9d85a85402f155de50c86bc6b9857f4b">zypp::Patch::CAT_OTHER</a></div><div class="ttdoc">unknown value specified</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00048">Patch.h:48</a></div></div> <div class="ttc" id="classzypp_1_1Locale_html"><div class="ttname"><a href="classzypp_1_1Locale.html">zypp::Locale</a></div><div class="ttdoc">'Language[_Country]' codes.</div><div class="ttdef"><b>Definition:</b> <a href="Locale_8h_source.html#l00049">Locale.h:49</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a2c9e5b07c1fc78c3636dc81ae2c93352"><div class="ttname"><a href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352">zypp::Patch::InteractiveFlag</a></div><div class="ttdeci">InteractiveFlag</div><div class="ttdoc">Flags defining if and why this patch is interactive.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00061">Patch.h:61</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a4e4d5044ab9267247b2ee9fb2af412dda53a6a6d95ed99841199ba277d88c15ec"><div class="ttname"><a href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda53a6a6d95ed99841199ba277d88c15ec">zypp::Patch::SEV_LOW</a></div><div class="ttdoc">Low.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00078">Patch.h:78</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_aa26d3ee9178a4b531435151d6dedf47a"><div class="ttname"><a href="classzypp_1_1Patch.html#aa26d3ee9178a4b531435151d6dedf47a">zypp::Patch::rebootSuggested</a></div><div class="ttdeci">bool rebootSuggested() const</div><div class="ttdoc">Does the system need to reboot to finish the update process?</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00209">Patch.cc:209</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_ab45e24a6645f7cef9e4d054a76b64f0a"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#ab45e24a6645f7cef9e4d054a76b64f0a">zypp::sat::SolvAttr::patchcategory</a></div><div class="ttdeci">static const SolvAttr patchcategory</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00109">SolvAttr.h:109</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a35be054f4d0a993e05cc85fa8e00d633"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a35be054f4d0a993e05cc85fa8e00d633">zypp::sat::SolvAttr::updateReferenceType</a></div><div class="ttdeci">static const SolvAttr updateReferenceType</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00122">SolvAttr.h:122</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_adc48348447c953cd6f6777876d4b1101"><div class="ttname"><a href="classzypp_1_1Patch.html#adc48348447c953cd6f6777876d4b1101">zypp::Patch::restartSuggested</a></div><div class="ttdeci">bool restartSuggested() const</div><div class="ttdoc">Does the patch affect the package manager itself? restart is suggested then.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00212">Patch.cc:212</a></div></div> <div class="ttc" id="classzypp_1_1Capability_html"><div class="ttname"><a href="classzypp_1_1Capability.html">zypp::Capability</a></div><div class="ttdoc">A sat capability.</div><div class="ttdef"><b>Definition:</b> <a href="Capability_8h_source.html#l00059">Capability.h:59</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a4733068254713b47fba3cafc28cd23b4"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a4733068254713b47fba3cafc28cd23b4">zypp::sat::SolvAttr::restartSuggested</a></div><div class="ttdeci">static const SolvAttr restartSuggested</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00111">SolvAttr.h:111</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_af37fa051faed4d00b94abdcf90704115"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#af37fa051faed4d00b94abdcf90704115">zypp::sat::SolvAttr::reloginSuggested</a></div><div class="ttdeci">static const SolvAttr reloginSuggested</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00112">SolvAttr.h:112</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a2c9e5b07c1fc78c3636dc81ae2c93352a23b3b463f09f59a0588c5284d4f2e965"><div class="ttname"><a href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352a23b3b463f09f59a0588c5284d4f2e965">zypp::Patch::Message</a></div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00064">Patch.h:64</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_abd1644dadd0a8631398fad0d807a770fa5af844715c7218620fa5eef4ba93e297"><div class="ttname"><a href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa5af844715c7218620fa5eef4ba93e297">zypp::Patch::CAT_YAST</a></div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00049">Patch.h:49</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_abd1644dadd0a8631398fad0d807a770faa2ada0bbcc636347e4e73d5060e2633d"><div class="ttname"><a href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770faa2ada0bbcc636347e4e73d5060e2633d">zypp::Patch::CAT_OPTIONAL</a></div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00052">Patch.h:52</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a513c41e50c37501bb0a3e32d624d827a"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a513c41e50c37501bb0a3e32d624d827a">zypp::sat::SolvAttr::updateCollectionName</a></div><div class="ttdeci">static const SolvAttr updateCollectionName</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00116">SolvAttr.h:116</a></div></div> <div class="ttc" id="structzypp_1_1sat_1_1SolvableType_html_aad9a34ddd041ce74e4536b343b2e32d2"><div class="ttname"><a href="structzypp_1_1sat_1_1SolvableType.html#aad9a34ddd041ce74e4536b343b2e32d2">zypp::sat::SolvableType< Resolvable >::licenseToConfirm</a></div><div class="ttdeci">std::string licenseToConfirm(const Locale &lang_r=Locale()) const</div><div class="ttdef"><b>Definition:</b> <a href="SolvableType_8h_source.html#l00130">SolvableType.h:130</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a056ade6af66a4986c822c83f46750ec0"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a056ade6af66a4986c822c83f46750ec0">zypp::sat::SolvAttr::updateCollectionArch</a></div><div class="ttdeci">static const SolvAttr updateCollectionArch</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00118">SolvAttr.h:118</a></div></div> <div class="ttc" id="structzypp_1_1sat_1_1SolvableType_html_a48a4f3f4fb194bf0b0c67a5a27afe144"><div class="ttname"><a href="structzypp_1_1sat_1_1SolvableType.html#a48a4f3f4fb194bf0b0c67a5a27afe144">zypp::sat::SolvableType< Resolvable >::lookupBoolAttribute</a></div><div class="ttdeci">bool lookupBoolAttribute(const SolvAttr &attr) const</div><div class="ttdef"><b>Definition:</b> <a href="SolvableType_8h_source.html#l00136">SolvableType.h:136</a></div></div> <div class="ttc" id="structzypp_1_1sat_1_1SolvableType_html_a756ee1ee62edd150d2e5dec79c720799"><div class="ttname"><a href="structzypp_1_1sat_1_1SolvableType.html#a756ee1ee62edd150d2e5dec79c720799">zypp::sat::SolvableType< Resolvable >::lookupStrAttribute</a></div><div class="ttdeci">std::string lookupStrAttribute(const SolvAttr &attr) const</div><div class="ttdef"><b>Definition:</b> <a href="SolvableType_8h_source.html#l00134">SolvableType.h:134</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="classzypp_1_1Patch_html_a6a9f208a69c0768dc6b66af2ed1204d3"><div class="ttname"><a href="classzypp_1_1Patch.html#a6a9f208a69c0768dc6b66af2ed1204d3">zypp::Patch::category</a></div><div class="ttdeci">std::string category() const</div><div class="ttdoc">Patch category (recommended, security,...)</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00046">Patch.cc:46</a></div></div> <div class="ttc" id="Patch_8h_html"><div class="ttname"><a href="Patch_8h.html">Patch.h</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a1002af778aab07e201340e1d6a92cc74"><div class="ttname"><a href="classzypp_1_1Patch.html#a1002af778aab07e201340e1d6a92cc74">zypp::Patch::isSeverity</a></div><div class="ttdeci">bool isSeverity(const std::string &severity_r) const</div><div class="ttdoc">Whether this patch's severity matches severity_r.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00140">Patch.cc:140</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_afcdb04480a26e0dde83acfc48d5e1eb8"><div class="ttname"><a href="classzypp_1_1Patch.html#afcdb04480a26e0dde83acfc48d5e1eb8">zypp::Patch::interactiveWhenIgnoring</a></div><div class="ttdeci">bool interactiveWhenIgnoring(InteractiveFlags flags_r=NoFlags) const</div><div class="ttdoc">Is the patch still interactive when ignoring this flags?</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00242">Patch.cc:242</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< Resolvable >::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="namespacezypp_1_1str_html_ac9610bfbcddd70875e42c1a3c884b009"><div class="ttname"><a href="namespacezypp_1_1str.html#ac9610bfbcddd70875e42c1a3c884b009">zypp::str::hexstring</a></div><div class="ttdeci">std::string hexstring(char n, int w=4)</div><div class="ttdef"><b>Definition:</b> <a href="String_8h_source.html#l00323">String.h:323</a></div></div> <div class="ttc" id="String_8h_html"><div class="ttname"><a href="String_8h.html">String.h</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvAttr_html_a601eadb191b2d2059b5ef6c5d3d3567d"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvAttr.html#a601eadb191b2d2059b5ef6c5d3d3567d">zypp::sat::SolvAttr::rebootSuggested</a></div><div class="ttdeci">static const SolvAttr rebootSuggested</div><div class="ttdef"><b>Definition:</b> <a href="SolvAttr_8h_source.html#l00110">SolvAttr.h:110</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_abd1644dadd0a8631398fad0d807a770fa6f8096b51475016d9d7b337ec2767790"><div class="ttname"><a href="classzypp_1_1Patch.html#abd1644dadd0a8631398fad0d807a770fa6f8096b51475016d9d7b337ec2767790">zypp::Patch::CAT_RECOMMENDED</a></div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00051">Patch.h:51</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1LookupAttr_html_aa63d1e671c66473bc8a3470c4cd9658f"><div class="ttname"><a href="classzypp_1_1sat_1_1LookupAttr.html#aa63d1e671c66473bc8a3470c4cd9658f">zypp::sat::LookupAttr::begin</a></div><div class="ttdeci">iterator begin() const</div><div class="ttdoc">Iterator to the begin of query results.</div><div class="ttdef"><b>Definition:</b> <a href="LookupAttr_8cc_source.html#l00236">LookupAttr.cc:236</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a4e4d5044ab9267247b2ee9fb2af412dda82e7fb9eed4cb7251e9e8de907cea05f"><div class="ttname"><a href="classzypp_1_1Patch.html#a4e4d5044ab9267247b2ee9fb2af412dda82e7fb9eed4cb7251e9e8de907cea05f">zypp::Patch::SEV_IMPORTANT</a></div><div class="ttdoc">Important.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00080">Patch.h:80</a></div></div> <div class="ttc" id="classzypp_1_1Patch_html_a2c9e5b07c1fc78c3636dc81ae2c93352aa0502a24667b125db5d7797c761e6c4b"><div class="ttname"><a href="classzypp_1_1Patch.html#a2c9e5b07c1fc78c3636dc81ae2c93352aa0502a24667b125db5d7797c761e6c4b">zypp::Patch::NoFlags</a></div><div class="ttdef"><b>Definition:</b> <a href="Patch_8h_source.html#l00062">Patch.h:62</a></div></div> <div class="ttc" id="classzypp_1_1Patch_1_1ReferenceIterator_html_ae7ad69ea3399076779ac878de1c11fd1"><div class="ttname"><a href="classzypp_1_1Patch_1_1ReferenceIterator.html#ae7ad69ea3399076779ac878de1c11fd1">zypp::Patch::ReferenceIterator::type</a></div><div class="ttdeci">std::string type() const</div><div class="ttdoc">Type of the reference.</div><div class="ttdef"><b>Definition:</b> <a href="Patch_8cc_source.html#l00343">Patch.cc:343</a></div></div> <div class="ttc" id="classzypp_1_1sat_1_1SolvableSet_html"><div class="ttname"><a href="classzypp_1_1sat_1_1SolvableSet.html">zypp::sat::SolvableSet</a></div><div class="ttdoc">Solvable set wrapper to allow adding additional convenience iterators.</div><div class="ttdef"><b>Definition:</b> <a href="SolvableSet_8h_source.html#l00035">SolvableSet.h:35</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="Patch_8cc.html">Patch.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>