Sophie

Sophie

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

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::ParserProgress 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_1ParserProgress.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<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_1ParserProgress-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">zypp::parser::ParserProgress Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>&gt;</code></p>
<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:a10c7d83d9e09314326590404d16e810f"><td class="memItemLeft" align="right" valign="top">typedef boost::shared_ptr&lt; <a class="el" href="classzypp_1_1parser_1_1ParserProgress.html">ParserProgress</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#a10c7d83d9e09314326590404d16e810f">Ptr</a></td></tr>
<tr class="separator:a10c7d83d9e09314326590404d16e810f"><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:a3a5a20536642ed3a7d89bdc9ebde6fd2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#a3a5a20536642ed3a7d89bdc9ebde6fd2">ParserProgress</a> (boost::function&lt; void(long int)&gt; fnc, long int total_steps=100)</td></tr>
<tr class="memdesc:a3a5a20536642ed3a7d89bdc9ebde6fd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">initializes a progress objetc, with a callback functor if you are not reporting percentage, then set the total_steps to the goal, and report using the same unit, then  <a href="#a3a5a20536642ed3a7d89bdc9ebde6fd2">More...</a><br /></td></tr>
<tr class="separator:a3a5a20536642ed3a7d89bdc9ebde6fd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25b7eeef5b37239dbcfdf6ced968a9e7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#a25b7eeef5b37239dbcfdf6ced968a9e7">~ParserProgress</a> ()</td></tr>
<tr class="separator:a25b7eeef5b37239dbcfdf6ced968a9e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac52926c6f852b603da65d725948a1b9f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#ac52926c6f852b603da65d725948a1b9f">progress</a> (long int p)</td></tr>
<tr class="memdesc:ac52926c6f852b603da65d725948a1b9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">report progress, which in most cases executes the functor associated with this progress object to update progress information  <a href="#ac52926c6f852b603da65d725948a1b9f">More...</a><br /></td></tr>
<tr class="separator:ac52926c6f852b603da65d725948a1b9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a510197e4e5d2530e6d6ac691d82de2f9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#a510197e4e5d2530e6d6ac691d82de2f9">setTotalSteps</a> (long int total_steps)</td></tr>
<tr class="separator:a510197e4e5d2530e6d6ac691d82de2f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad721168d4307643e06ff17edcac75ae4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#ad721168d4307643e06ff17edcac75ae4">finish</a> ()</td></tr>
<tr class="memdesc:ad721168d4307643e06ff17edcac75ae4"><td class="mdescLeft">&#160;</td><td class="mdescRight">report progress finished  <a href="#ad721168d4307643e06ff17edcac75ae4">More...</a><br /></td></tr>
<tr class="separator:ad721168d4307643e06ff17edcac75ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa891fa1db78ed6f2a525cdb9e0e73c29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#aa891fa1db78ed6f2a525cdb9e0e73c29">start</a> ()</td></tr>
<tr class="memdesc:aa891fa1db78ed6f2a525cdb9e0e73c29"><td class="mdescLeft">&#160;</td><td class="mdescRight">report progress started  <a href="#aa891fa1db78ed6f2a525cdb9e0e73c29">More...</a><br /></td></tr>
<tr class="separator:aa891fa1db78ed6f2a525cdb9e0e73c29"><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:a0dc00587752566e1f20b84b4be6d7b7a"><td class="memItemLeft" align="right" valign="top">boost::function&lt; void(long int)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#a0dc00587752566e1f20b84b4be6d7b7a">_fnc</a></td></tr>
<tr class="separator:a0dc00587752566e1f20b84b4be6d7b7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5013312c0739d888be38bfe639a8636b"><td class="memItemLeft" align="right" valign="top">long int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#a5013312c0739d888be38bfe639a8636b">_previous_progress</a></td></tr>
<tr class="separator:a5013312c0739d888be38bfe639a8636b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ad1a5014f6701913adea69fc2a99bf1"><td class="memItemLeft" align="right" valign="top">long int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#a1ad1a5014f6701913adea69fc2a99bf1">_total_steps</a></td></tr>
<tr class="separator:a1ad1a5014f6701913adea69fc2a99bf1"><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 class="definition">Definition at line <a class="el" href="ParserProgress_8h_source.html#l00022">22</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a10c7d83d9e09314326590404d16e810f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10c7d83d9e09314326590404d16e810f">&#9670;&nbsp;</a></span>Ptr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::shared_ptr&lt;<a class="el" href="classzypp_1_1parser_1_1ParserProgress.html">ParserProgress</a>&gt; <a class="el" href="classzypp_1_1parser_1_1ParserProgress.html#a10c7d83d9e09314326590404d16e810f">zypp::parser::ParserProgress::Ptr</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ParserProgress_8h_source.html#l00025">25</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">zypp::parser::ParserProgress::ParserProgress </td>
          <td>(</td>
          <td class="paramtype">boost::function&lt; void(long int)&gt;&#160;</td>
          <td class="paramname"><em>fnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long int&#160;</td>
          <td class="paramname"><em>total_steps</em> = <code>100</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>initializes a progress objetc, with a callback functor if you are not reporting percentage, then set the total_steps to the goal, and report using the same unit, then </p>

<p class="definition">Definition at line <a class="el" href="ParserProgress_8h_source.html#l00033">33</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">zypp::parser::ParserProgress::~ParserProgress </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="ParserProgress_8h_source.html#l00039">39</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac52926c6f852b603da65d725948a1b9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac52926c6f852b603da65d725948a1b9f">&#9670;&nbsp;</a></span>progress()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void zypp::parser::ParserProgress::progress </td>
          <td>(</td>
          <td class="paramtype">long int&#160;</td>
          <td class="paramname"><em>p</em></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>report progress, which in most cases executes the functor associated with this progress object to update progress information </p>

<p class="definition">Definition at line <a class="el" href="ParserProgress_8h_source.html#l00048">48</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void zypp::parser::ParserProgress::setTotalSteps </td>
          <td>(</td>
          <td class="paramtype">long int&#160;</td>
          <td class="paramname"><em>total_steps</em></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="ParserProgress_8h_source.html#l00064">64</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void zypp::parser::ParserProgress::finish </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>report progress finished </p>

<p class="definition">Definition at line <a class="el" href="ParserProgress_8h_source.html#l00072">72</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void zypp::parser::ParserProgress::start </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>report progress started </p>

<p class="definition">Definition at line <a class="el" href="ParserProgress_8h_source.html#l00085">85</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::function&lt;void (long int)&gt; zypp::parser::ParserProgress::_fnc</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="ParserProgress_8h_source.html#l00096">96</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>

</div>
</div>
<a id="a5013312c0739d888be38bfe639a8636b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5013312c0739d888be38bfe639a8636b">&#9670;&nbsp;</a></span>_previous_progress</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long int zypp::parser::ParserProgress::_previous_progress</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="ParserProgress_8h_source.html#l00097">97</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>

</div>
</div>
<a id="a1ad1a5014f6701913adea69fc2a99bf1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ad1a5014f6701913adea69fc2a99bf1">&#9670;&nbsp;</a></span>_total_steps</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long int zypp::parser::ParserProgress::_total_steps</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="ParserProgress_8h_source.html#l00098">98</a> of file <a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>zypp/parser/<a class="el" href="ParserProgress_8h_source.html">ParserProgress.h</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="classzypp_1_1parser_1_1ParserProgress.html">ParserProgress</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>