Sophie

Sophie

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

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::resstatus::UserLockQueryManip Struct 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('structzypp_1_1resstatus_1_1UserLockQueryManip.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="structzypp_1_1resstatus_1_1UserLockQueryManip-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">zypp::resstatus::UserLockQueryManip Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Manipulator for <a class="el" href="classzypp_1_1ResStatus.html#ab8a75dfd0a118a02db6da22e5621e822">ResStatus::UserLockQueryField</a>.  
 <a href="structzypp_1_1resstatus_1_1UserLockQueryManip.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="pool_2PoolImpl_8h_source.html">PoolImpl.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a608e7272f183b72c8c7154b564f3cf72"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1resstatus_1_1UserLockQueryManip.html#a608e7272f183b72c8c7154b564f3cf72">setLock</a> (<a class="el" href="classzypp_1_1ResStatus.html">ResStatus</a> &amp;status_r, <a class="el" href="classbool.html">bool</a> yesno_r)</td></tr>
<tr class="memdesc:a608e7272f183b72c8c7154b564f3cf72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set lock and UserLockQuery bit according to <code>yesno_r</code>.  <a href="#a608e7272f183b72c8c7154b564f3cf72">More...</a><br /></td></tr>
<tr class="separator:a608e7272f183b72c8c7154b564f3cf72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af52ac14c1be4a3701ec86ace62cd3723"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1resstatus_1_1UserLockQueryManip.html#af52ac14c1be4a3701ec86ace62cd3723">reapplyLock</a> (<a class="el" href="classzypp_1_1ResStatus.html">ResStatus</a> &amp;status_r, <a class="el" href="classbool.html">bool</a> yesno_r)</td></tr>
<tr class="memdesc:af52ac14c1be4a3701ec86ace62cd3723"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update lock and UserLockQuery bit IFF the item gained the bit.  <a href="#af52ac14c1be4a3701ec86ace62cd3723">More...</a><br /></td></tr>
<tr class="separator:af52ac14c1be4a3701ec86ace62cd3723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd4733e857f7069a983145af02bedc39"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1resstatus_1_1UserLockQueryManip.html#afd4733e857f7069a983145af02bedc39">diffLock</a> (const <a class="el" href="classzypp_1_1ResStatus.html">ResStatus</a> &amp;status_r)</td></tr>
<tr class="memdesc:afd4733e857f7069a983145af02bedc39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test whether the lock status differs from the remembered UserLockQuery bit.  <a href="#afd4733e857f7069a983145af02bedc39">More...</a><br /></td></tr>
<tr class="separator:afd4733e857f7069a983145af02bedc39"><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>Manipulator for <a class="el" href="classzypp_1_1ResStatus.html#ab8a75dfd0a118a02db6da22e5621e822">ResStatus::UserLockQueryField</a>. </p>
<p>Field is not public available. It is intended to remember the initial lock status usually derived from /etc/zypp/locks. So we are able to detect changes we have to write back on commit. </p>

<p class="definition">Definition at line <a class="el" href="pool_2PoolImpl_8h_source.html#l00042">42</a> of file <a class="el" href="pool_2PoolImpl_8h_source.html">PoolImpl.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a608e7272f183b72c8c7154b564f3cf72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a608e7272f183b72c8c7154b564f3cf72">&#9670;&nbsp;</a></span>setLock()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void zypp::resstatus::UserLockQueryManip::setLock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classzypp_1_1ResStatus.html">ResStatus</a> &amp;&#160;</td>
          <td class="paramname"><em>status_r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classbool.html">bool</a>&#160;</td>
          <td class="paramname"><em>yesno_r</em>&#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 class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set lock and UserLockQuery bit according to <code>yesno_r</code>. </p>

<p class="definition">Definition at line <a class="el" href="pool_2PoolImpl_8h_source.html#l00045">45</a> of file <a class="el" href="pool_2PoolImpl_8h_source.html">PoolImpl.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void zypp::resstatus::UserLockQueryManip::reapplyLock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classzypp_1_1ResStatus.html">ResStatus</a> &amp;&#160;</td>
          <td class="paramname"><em>status_r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classbool.html">bool</a>&#160;</td>
          <td class="paramname"><em>yesno_r</em>&#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 class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update lock and UserLockQuery bit IFF the item gained the bit. </p>

<p class="definition">Definition at line <a class="el" href="pool_2PoolImpl_8h_source.html#l00052">52</a> of file <a class="el" href="pool_2PoolImpl_8h_source.html">PoolImpl.h</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int zypp::resstatus::UserLockQueryManip::diffLock </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classzypp_1_1ResStatus.html">ResStatus</a> &amp;&#160;</td>
          <td class="paramname"><em>status_r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Test whether the lock status differs from the remembered UserLockQuery bit. </p>

<p class="definition">Definition at line <a class="el" href="pool_2PoolImpl_8h_source.html#l00062">62</a> of file <a class="el" href="pool_2PoolImpl_8h_source.html">PoolImpl.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>zypp/pool/<a class="el" href="pool_2PoolImpl_8h_source.html">PoolImpl.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_1resstatus.html">resstatus</a></li><li class="navelem"><a class="el" href="structzypp_1_1resstatus_1_1UserLockQueryManip.html">UserLockQueryManip</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>