<!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::ReferenceIterator Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">libzypp  <span id="projectnumber">17.9.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('classzypp_1_1Patch_1_1ReferenceIterator.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-methods">Private Member Functions</a> | <a href="#friends">Friends</a> | <a href="classzypp_1_1Patch_1_1ReferenceIterator-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::Patch::ReferenceIterator Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Query class for <a class="el" href="classzypp_1_1Patch.html" title="Class representing a patch.">Patch</a> issue references like bugzilla and security issues the patch is supposed to fix. <a href="classzypp_1_1Patch_1_1ReferenceIterator.html#details">More...</a></p> <p><code>#include <<a class="el" href="Patch_8h_source.html">Patch.h</a>></code></p> <div class="dynheader"> Inheritance diagram for zypp::Patch::ReferenceIterator:</div> <div class="dyncontent"> <div class="center"><img src="classzypp_1_1Patch_1_1ReferenceIterator__inherit__graph.png" border="0" usemap="#zypp_1_1Patch_1_1ReferenceIterator_inherit__map" alt="Inheritance graph"/></div> <map name="zypp_1_1Patch_1_1ReferenceIterator_inherit__map" id="zypp_1_1Patch_1_1ReferenceIterator_inherit__map"> <area shape="rect" title="Query class for Patch issue references like bugzilla and security issues the patch is supposed to fix..." alt="" coords="252,35,459,61"/> <area shape="rect" title=" " alt="" coords="5,5,204,91"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a3845667a614bb64925cd46af8baffc57"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Patch_1_1ReferenceIterator.html#a3845667a614bb64925cd46af8baffc57">ReferenceIterator</a> ()</td></tr> <tr class="separator:a3845667a614bb64925cd46af8baffc57"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af1e1d5f42755644876c491a676f4408c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Patch_1_1ReferenceIterator.html#af1e1d5f42755644876c491a676f4408c">ReferenceIterator</a> (const <a class="el" href="classzypp_1_1sat_1_1Solvable.html">sat::Solvable</a> &val_r)</td></tr> <tr class="separator:af1e1d5f42755644876c491a676f4408c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad07fc65261eefc4332a9ec2368523f97"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ad07fc65261eefc4332a9ec2368523f97">id</a> () const</td></tr> <tr class="memdesc:ad07fc65261eefc4332a9ec2368523f97"><td class="mdescLeft"> </td><td class="mdescRight">The id of the reference. <a href="#ad07fc65261eefc4332a9ec2368523f97">More...</a><br /></td></tr> <tr class="separator:ad07fc65261eefc4332a9ec2368523f97"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad2eb2d9e2fc577089e35d92d615b4c36"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ad2eb2d9e2fc577089e35d92d615b4c36">href</a> () const</td></tr> <tr class="memdesc:ad2eb2d9e2fc577089e35d92d615b4c36"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classzypp_1_1Url.html" title="Url manipulation class.">Url</a> or pointer where to find more information. <a href="#ad2eb2d9e2fc577089e35d92d615b4c36">More...</a><br /></td></tr> <tr class="separator:ad2eb2d9e2fc577089e35d92d615b4c36"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a21fa3c3c7c2136df89ef455ac8d66327"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Patch_1_1ReferenceIterator.html#a21fa3c3c7c2136df89ef455ac8d66327">title</a> () const</td></tr> <tr class="memdesc:a21fa3c3c7c2136df89ef455ac8d66327"><td class="mdescLeft"> </td><td class="mdescRight">Title describing the issue. <a href="#a21fa3c3c7c2136df89ef455ac8d66327">More...</a><br /></td></tr> <tr class="separator:a21fa3c3c7c2136df89ef455ac8d66327"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae7ad69ea3399076779ac878de1c11fd1"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ae7ad69ea3399076779ac878de1c11fd1">type</a> () const</td></tr> <tr class="memdesc:ae7ad69ea3399076779ac878de1c11fd1"><td class="mdescLeft"> </td><td class="mdescRight">Type of the reference. <a href="#ae7ad69ea3399076779ac878de1c11fd1">More...</a><br /></td></tr> <tr class="separator:ae7ad69ea3399076779ac878de1c11fd1"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a> Private Member Functions</h2></td></tr> <tr class="memitem:ad0f4db9a5475b8868bfb02f05d5fcd1d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ad0f4db9a5475b8868bfb02f05d5fcd1d">dereference</a> () const</td></tr> <tr class="separator:ad0f4db9a5475b8868bfb02f05d5fcd1d"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> <tr class="memitem:ac09f73e325921cc50ebcd96bed0f8096"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1Patch_1_1ReferenceIterator.html#ac09f73e325921cc50ebcd96bed0f8096">boost::iterator_core_access</a></td></tr> <tr class="separator:ac09f73e325921cc50ebcd96bed0f8096"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Query class for <a class="el" href="classzypp_1_1Patch.html" title="Class representing a patch.">Patch</a> issue references like bugzilla and security issues the patch is supposed to fix. </p> <p>The iterator does not provide a dereference operator so you can do * on it, but you can access the attributes of each patch issue reference directly from the iterator.</p> <div class="fragment"><div class="line"><span class="keywordflow">for</span> ( Patch::ReferenceIterator it = patch->referencesBegin();</div><div class="line"> it != patch->referencesEnd();</div><div class="line"> ++it )</div><div class="line">{</div><div class="line"> cout << it.href() << endl;</div><div class="line">}</div></div><!-- fragment --> <p class="definition">Definition at line <a class="el" href="Patch_8h_source.html#l00268">268</a> of file <a class="el" href="Patch_8h_source.html">Patch.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a3845667a614bb64925cd46af8baffc57"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3845667a614bb64925cd46af8baffc57">◆ </a></span>ReferenceIterator() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">zypp::Patch::ReferenceIterator::ReferenceIterator </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="Patch_8h_source.html#l00277">277</a> of file <a class="el" href="Patch_8h_source.html">Patch.h</a>.</p> </div> </div> <a id="af1e1d5f42755644876c491a676f4408c"></a> <h2 class="memtitle"><span class="permalink"><a href="#af1e1d5f42755644876c491a676f4408c">◆ </a></span>ReferenceIterator() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">zypp::Patch::ReferenceIterator::ReferenceIterator </td> <td>(</td> <td class="paramtype">const <a class="el" href="classzypp_1_1sat_1_1Solvable.html">sat::Solvable</a> & </td> <td class="paramname"><em>val_r</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">explicit</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="Patch_8cc_source.html#l00334">334</a> of file <a class="el" href="Patch_8cc_source.html">Patch.cc</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="ad07fc65261eefc4332a9ec2368523f97"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad07fc65261eefc4332a9ec2368523f97">◆ </a></span>id()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string zypp::Patch::ReferenceIterator::id </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>The id of the reference. </p> <p>For bugzilla entries this is the bug number as a string. </p> <p class="definition">Definition at line <a class="el" href="Patch_8cc_source.html#l00337">337</a> of file <a class="el" href="Patch_8cc_source.html">Patch.cc</a>.</p> </div> </div> <a id="ad2eb2d9e2fc577089e35d92d615b4c36"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad2eb2d9e2fc577089e35d92d615b4c36">◆ </a></span>href()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string zypp::Patch::ReferenceIterator::href </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classzypp_1_1Url.html" title="Url manipulation class.">Url</a> or pointer where to find more information. </p> <p class="definition">Definition at line <a class="el" href="Patch_8cc_source.html#l00339">339</a> of file <a class="el" href="Patch_8cc_source.html">Patch.cc</a>.</p> </div> </div> <a id="a21fa3c3c7c2136df89ef455ac8d66327"></a> <h2 class="memtitle"><span class="permalink"><a href="#a21fa3c3c7c2136df89ef455ac8d66327">◆ </a></span>title()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string zypp::Patch::ReferenceIterator::title </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Title describing the issue. </p> <p class="definition">Definition at line <a class="el" href="Patch_8cc_source.html#l00341">341</a> of file <a class="el" href="Patch_8cc_source.html">Patch.cc</a>.</p> </div> </div> <a id="ae7ad69ea3399076779ac878de1c11fd1"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae7ad69ea3399076779ac878de1c11fd1">◆ </a></span>type()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string zypp::Patch::ReferenceIterator::type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Type of the reference. </p> <p>For example "bugzilla" </p> <p class="definition">Definition at line <a class="el" href="Patch_8cc_source.html#l00343">343</a> of file <a class="el" href="Patch_8cc_source.html">Patch.cc</a>.</p> </div> </div> <a id="ad0f4db9a5475b8868bfb02f05d5fcd1d"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad0f4db9a5475b8868bfb02f05d5fcd1d">◆ </a></span>dereference()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int zypp::Patch::ReferenceIterator::dereference </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="Patch_8h_source.html#l00301">301</a> of file <a class="el" href="Patch_8h_source.html">Patch.h</a>.</p> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a id="ac09f73e325921cc50ebcd96bed0f8096"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac09f73e325921cc50ebcd96bed0f8096">◆ </a></span>boost::iterator_core_access</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">friend class boost::iterator_core_access</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">friend</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="Patch_8h_source.html#l00300">300</a> of file <a class="el" href="Patch_8h_source.html">Patch.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>zypp/<a class="el" href="Patch_8h_source.html">Patch.h</a></li> <li>zypp/<a class="el" href="Patch_8cc_source.html">Patch.cc</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="namespacezypp.html">zypp</a></li><li class="navelem"><a class="el" href="classzypp_1_1Patch.html">Patch</a></li><li class="navelem"><a class="el" href="classzypp_1_1Patch_1_1ReferenceIterator.html">ReferenceIterator</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>