Sophie

Sophie

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

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libzypp: zypp::parser::yum::PatchesFileReader 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&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libzypp
   &#160;<span id="projectnumber">17.9.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">zypp::parser::yum::PatchesFileReader Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Iterates through a patches.xml file giving on each iteration a <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> object with the resource and its patch id.  
 <a href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PatchesFileReader_8h_source.html">PatchesFileReader.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for zypp::parser::yum::PatchesFileReader:</div>
<div class="dyncontent">
<div class="center"><img src="classzypp_1_1parser_1_1yum_1_1PatchesFileReader__inherit__graph.png" border="0" usemap="#zypp_1_1parser_1_1yum_1_1PatchesFileReader_inherit__map" alt="Inheritance graph"/></div>
<map name="zypp_1_1parser_1_1yum_1_1PatchesFileReader_inherit__map" id="zypp_1_1parser_1_1yum_1_1PatchesFileReader_inherit__map">
<area shape="rect"  title="Iterates through a patches.xml file giving on each iteration a OnMediaLocation object with the resour..." alt="" coords="7,80,145,121"/>
<area shape="rect"  title=" " alt="" coords="5,5,147,32"/>
</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="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader_1_1Impl.html">Impl</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a5b3d927eabbce2ff4c3f0f1c9942ba89"><td class="memItemLeft" align="right" valign="top">typedef function&lt; <a class="el" href="classbool.html">bool</a>(const <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> &amp;, const std::string &amp;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html#a5b3d927eabbce2ff4c3f0f1c9942ba89">ProcessResource</a></td></tr>
<tr class="memdesc:a5b3d927eabbce2ff4c3f0f1c9942ba89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback definition first parameter is a <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> object with the resource second parameter is the patch id.  <a href="#a5b3d927eabbce2ff4c3f0f1c9942ba89">More...</a><br /></td></tr>
<tr class="separator:a5b3d927eabbce2ff4c3f0f1c9942ba89"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a1113bb3bbad5a4eca2eae76831596caa"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html#a1113bb3bbad5a4eca2eae76831596caa">PatchesFileReader</a> (const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp;patches_file, const <a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html#a5b3d927eabbce2ff4c3f0f1c9942ba89">ProcessResource</a> &amp;callback)</td></tr>
<tr class="memdesc:a1113bb3bbad5a4eca2eae76831596caa"><td class="mdescLeft">&#160;</td><td class="mdescRight">CTOR.  <a href="#a1113bb3bbad5a4eca2eae76831596caa">More...</a><br /></td></tr>
<tr class="separator:a1113bb3bbad5a4eca2eae76831596caa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0b80321d683c666c8b871e94cb43aa8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html#ab0b80321d683c666c8b871e94cb43aa8">~PatchesFileReader</a> ()</td></tr>
<tr class="memdesc:ab0b80321d683c666c8b871e94cb43aa8"><td class="mdescLeft">&#160;</td><td class="mdescRight">DTOR.  <a href="#ab0b80321d683c666c8b871e94cb43aa8">More...</a><br /></td></tr>
<tr class="separator:ab0b80321d683c666c8b871e94cb43aa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a7063c8b51ce9b7fded87b680019dc335"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structzypp_1_1RW__pointer.html">RW_pointer</a>&lt; <a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader_1_1Impl.html">Impl</a>, <a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html">rw_pointer::Scoped</a>&lt; <a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader_1_1Impl.html">Impl</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html#a7063c8b51ce9b7fded87b680019dc335">_pimpl</a></td></tr>
<tr class="separator:a7063c8b51ce9b7fded87b680019dc335"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Iterates through a patches.xml file giving on each iteration a <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> object with the resource and its patch id. </p>
<p>The iteration is done via a callback provided on construction.</p>
<div class="fragment"><div class="line"><a class="code" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html#a1113bb3bbad5a4eca2eae76831596caa">PatchesFileReader</a> reader(patches_file, </div><div class="line">                 bind( &amp;SomeClass::callbackfunc, &amp;<span class="keywordtype">object</span>, _1, _2 ) );</div></div><!-- fragment --> 
<p class="definition">Definition at line <a class="el" href="PatchesFileReader_8h_source.html#l00040">40</a> of file <a class="el" href="PatchesFileReader_8h_source.html">PatchesFileReader.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a5b3d927eabbce2ff4c3f0f1c9942ba89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b3d927eabbce2ff4c3f0f1c9942ba89">&#9670;&nbsp;</a></span>ProcessResource</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef function&lt;<a class="el" href="classbool.html">bool</a>( const <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> &amp;, const std::string &amp; )&gt; <a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html#a5b3d927eabbce2ff4c3f0f1c9942ba89">zypp::parser::yum::PatchesFileReader::ProcessResource</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callback definition first parameter is a <a class="el" href="classzypp_1_1OnMediaLocation.html">OnMediaLocation</a> object with the resource second parameter is the patch id. </p>

<p class="definition">Definition at line <a class="el" href="PatchesFileReader_8h_source.html#l00051">51</a> of file <a class="el" href="PatchesFileReader_8h_source.html">PatchesFileReader.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1113bb3bbad5a4eca2eae76831596caa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1113bb3bbad5a4eca2eae76831596caa">&#9670;&nbsp;</a></span>PatchesFileReader()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">zypp::parser::yum::PatchesFileReader::PatchesFileReader </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp;&#160;</td>
          <td class="paramname"><em>patches_file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html#a5b3d927eabbce2ff4c3f0f1c9942ba89">ProcessResource</a> &amp;&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CTOR. </p>
<p>Creates also <a class="el" href="namespacexml_1_1Reader.html">xml::Reader</a> and starts reading.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">patches_file</td><td>is the patches.xml file you want to read </td></tr>
    <tr><td class="paramname">callback</td><td>is a function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html#a5b3d927eabbce2ff4c3f0f1c9942ba89" title="Callback definition first parameter is a OnMediaLocation object with the resource second parameter is...">PatchesFileReader::ProcessResource</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="PatchesFileReader_8cc_source.html#l00142">142</a> of file <a class="el" href="PatchesFileReader_8cc_source.html">PatchesFileReader.cc</a>.</p>

</div>
</div>
<a id="ab0b80321d683c666c8b871e94cb43aa8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0b80321d683c666c8b871e94cb43aa8">&#9670;&nbsp;</a></span>~PatchesFileReader()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">zypp::parser::yum::PatchesFileReader::~PatchesFileReader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DTOR. </p>

<p class="definition">Definition at line <a class="el" href="PatchesFileReader_8cc_source.html#l00147">147</a> of file <a class="el" href="PatchesFileReader_8cc_source.html">PatchesFileReader.cc</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structzypp_1_1RW__pointer.html">RW_pointer</a>&lt;<a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader_1_1Impl.html">Impl</a>,<a class="el" href="structzypp_1_1rw__pointer_1_1Scoped.html">rw_pointer::Scoped</a>&lt;<a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader_1_1Impl.html">Impl</a>&gt; &gt; zypp::parser::yum::PatchesFileReader::_pimpl</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="PatchesFileReader_8h_source.html#l00071">71</a> of file <a class="el" href="PatchesFileReader_8h_source.html">PatchesFileReader.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>zypp/parser/yum/<a class="el" href="PatchesFileReader_8h_source.html">PatchesFileReader.h</a></li>
<li>zypp/parser/yum/<a class="el" href="PatchesFileReader_8cc_source.html">PatchesFileReader.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="namespacezypp_1_1parser.html">parser</a></li><li class="navelem"><a class="el" href="namespacezypp_1_1parser_1_1yum.html">yum</a></li><li class="navelem"><a class="el" href="classzypp_1_1parser_1_1yum_1_1PatchesFileReader.html">PatchesFileReader</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>