Sophie

Sophie

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

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::ZYppCommitResult 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_1ZYppCommitResult.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="#related">Related Functions</a> &#124;
<a href="classzypp_1_1ZYppCommitResult-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">zypp::ZYppCommitResult Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Result returned from <a class="el" href="classzypp_1_1ZYpp.html#a27e3f9aa4c5c257acf2ad3720f5784d1" title="Commit changes and transactions.">ZYpp::commit</a>.  
 <a href="classzypp_1_1ZYppCommitResult.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ZYppCommitResult_8h_source.html">ZYppCommitResult.h</a>&gt;</code></p>
<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_1ZYppCommitResult_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:adb000f54f4a32d2f1ed2f6765ee358aa"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="classzypp_1_1sat_1_1Transaction_1_1Step.html">sat::Transaction::Step</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#adb000f54f4a32d2f1ed2f6765ee358aa">TransactionStepList</a></td></tr>
<tr class="separator:adb000f54f4a32d2f1ed2f6765ee358aa"><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:a507125b355578264d652af8a2c86bf5c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a507125b355578264d652af8a2c86bf5c">ZYppCommitResult</a> ()</td></tr>
<tr class="separator:a507125b355578264d652af8a2c86bf5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2db260737c347cc50add52943a2911c2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a2db260737c347cc50add52943a2911c2">ZYppCommitResult</a> (const <a class="el" href="classzypp_1_1ZYppCommitResult.html">ZYppCommitResult</a> &amp;lhs_r)</td></tr>
<tr class="separator:a2db260737c347cc50add52943a2911c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a076d39eabf98b66d4a58f63616a03cb6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a076d39eabf98b66d4a58f63616a03cb6">ZYppCommitResult</a> (const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp;root_r)</td></tr>
<tr class="separator:a076d39eabf98b66d4a58f63616a03cb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b3a604e85a329c348acdbd7b2c67ea2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a2b3a604e85a329c348acdbd7b2c67ea2">~ZYppCommitResult</a> ()</td></tr>
<tr class="separator:a2b3a604e85a329c348acdbd7b2c67ea2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b1385aab9acd6ca7376e271278e2654"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a5b1385aab9acd6ca7376e271278e2654">root</a> () const</td></tr>
<tr class="memdesc:a5b1385aab9acd6ca7376e271278e2654"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remembered root directory of the target.  <a href="#a5b1385aab9acd6ca7376e271278e2654">More...</a><br /></td></tr>
<tr class="separator:a5b1385aab9acd6ca7376e271278e2654"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4352b71e82782251c92b4743de7295b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a4352b71e82782251c92b4743de7295b0">attemptToModify</a> () const</td></tr>
<tr class="memdesc:a4352b71e82782251c92b4743de7295b0"><td class="mdescLeft">&#160;</td><td class="mdescRight"><code>True</code> if at least one attempt to actually install/remove packages was made.  <a href="#a4352b71e82782251c92b4743de7295b0">More...</a><br /></td></tr>
<tr class="separator:a4352b71e82782251c92b4743de7295b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a764b339aecc731998a0cb8a31861aee3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a764b339aecc731998a0cb8a31861aee3">attemptToModify</a> (<a class="el" href="classbool.html">bool</a> yesno_r)</td></tr>
<tr class="memdesc:a764b339aecc731998a0cb8a31861aee3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set <a class="el" href="classzypp_1_1ZYppCommitResult.html#a4352b71e82782251c92b4743de7295b0">attemptToModify</a>.  <a href="#a764b339aecc731998a0cb8a31861aee3">More...</a><br /></td></tr>
<tr class="separator:a764b339aecc731998a0cb8a31861aee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af22c0c2759e0036fa206e072fd350f2e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classzypp_1_1sat_1_1Transaction.html">sat::Transaction</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#af22c0c2759e0036fa206e072fd350f2e">transaction</a> () const</td></tr>
<tr class="memdesc:af22c0c2759e0036fa206e072fd350f2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The full transaction list.  <a href="#af22c0c2759e0036fa206e072fd350f2e">More...</a><br /></td></tr>
<tr class="separator:af22c0c2759e0036fa206e072fd350f2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af25b4620f2b6050ffbb21e3a19e5eb9b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1sat_1_1Transaction.html">sat::Transaction</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#af25b4620f2b6050ffbb21e3a19e5eb9b">rTransaction</a> ()</td></tr>
<tr class="memdesc:af25b4620f2b6050ffbb21e3a19e5eb9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manipulate <a class="el" href="classzypp_1_1ZYppCommitResult.html#af22c0c2759e0036fa206e072fd350f2e">transaction</a>.  <a href="#af25b4620f2b6050ffbb21e3a19e5eb9b">More...</a><br /></td></tr>
<tr class="separator:af25b4620f2b6050ffbb21e3a19e5eb9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fd62b2c4a8c5029f8c1ef6c40776928"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classzypp_1_1ZYppCommitResult.html#adb000f54f4a32d2f1ed2f6765ee358aa">TransactionStepList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a7fd62b2c4a8c5029f8c1ef6c40776928">transactionStepList</a> () const</td></tr>
<tr class="memdesc:a7fd62b2c4a8c5029f8c1ef6c40776928"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of <a class="el" href="classzypp_1_1sat_1_1Transaction_1_1Step.html">sat::Transaction::Step</a> to be executed by commit.  <a href="#a7fd62b2c4a8c5029f8c1ef6c40776928">More...</a><br /></td></tr>
<tr class="separator:a7fd62b2c4a8c5029f8c1ef6c40776928"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cdf8961e896b149d286637dff00748a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1ZYppCommitResult.html#adb000f54f4a32d2f1ed2f6765ee358aa">TransactionStepList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a5cdf8961e896b149d286637dff00748a">rTransactionStepList</a> ()</td></tr>
<tr class="memdesc:a5cdf8961e896b149d286637dff00748a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manipulate <a class="el" href="classzypp_1_1ZYppCommitResult.html#a7fd62b2c4a8c5029f8c1ef6c40776928">transactionStepList</a>.  <a href="#a5cdf8961e896b149d286637dff00748a">More...</a><br /></td></tr>
<tr class="separator:a5cdf8961e896b149d286637dff00748a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a641729b5ad4ef1620608c7f1af1570d4"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacezypp.html#acd74b4b3696e34dd6934c147176712db">UpdateNotifications</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a641729b5ad4ef1620608c7f1af1570d4">updateMessages</a> () const</td></tr>
<tr class="memdesc:a641729b5ad4ef1620608c7f1af1570d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of update messages installed during this commit.  <a href="#a641729b5ad4ef1620608c7f1af1570d4">More...</a><br /></td></tr>
<tr class="separator:a641729b5ad4ef1620608c7f1af1570d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91d921dfc8c40a6cb316b891def80023"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacezypp.html#acd74b4b3696e34dd6934c147176712db">UpdateNotifications</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a91d921dfc8c40a6cb316b891def80023">rUpdateMessages</a> ()</td></tr>
<tr class="memdesc:a91d921dfc8c40a6cb316b891def80023"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manipulate <a class="el" href="classzypp_1_1ZYppCommitResult.html#a641729b5ad4ef1620608c7f1af1570d4">updateMessages</a> \Note Pathnames are relative to the targets root directory.  <a href="#a91d921dfc8c40a6cb316b891def80023">More...</a><br /></td></tr>
<tr class="separator:a91d921dfc8c40a6cb316b891def80023"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Some statistics based on \ref Transaction</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Class Transaction allows to count and iterate the action steps to get more detailed information about the transaction result.</p>
<p>Here are just a few convenience methods for easy evaluation.</p>
<div class="fragment"><div class="line"><a class="code" href="classzypp_1_1ZYppCommitResult.html#a507125b355578264d652af8a2c86bf5c">ZYppCommitResult</a> result;</div><div class="line"><span class="keyword">const</span> sat::Transaction &amp; trans( result.transaction() );</div><div class="line"><a class="code" href="Easy_8h.html#a7887338b8a0727becb37d8061fcbfc0e">for_</a>( it, trans.actionBegin(~<a class="code" href="classzypp_1_1sat_1_1Transaction.html#af8597d5471ec4b6f36571fa6a07cb806a0140e6fdbc5054f1cb0dcce68edba813">sat::Transaction::STEP_DONE</a>), trans.actionEnd() )</div><div class="line">{</div><div class="line">   <span class="comment">// process all steps not DONE (ERROR and TODO)</span></div><div class="line">   <span class="keywordflow">if</span> ( it-&gt;satSolvable() )</div><div class="line">     std::cout &lt;&lt; it-&gt;satSolvable() &lt;&lt; endl;</div><div class="line">   <span class="keywordflow">else</span> <span class="comment">// deleted @System solvable: print post mortem data available</span></div><div class="line">     std::cout &lt;&lt; it-&gt;ident() &lt;&lt; endl;</div><div class="line">}</div></div><!-- fragment --> <dl class="section see"><dt>See also</dt><dd>Transaction, <a class="el" href="classzypp_1_1ZYppCommitResult.html#af22c0c2759e0036fa206e072fd350f2e">transaction()</a> </dd></dl>
</div></td></tr>
<tr class="memitem:a1b26b50b6ab0cd48cfbdaf5b062fb8fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a1b26b50b6ab0cd48cfbdaf5b062fb8fe">allDone</a> () const</td></tr>
<tr class="memdesc:a1b26b50b6ab0cd48cfbdaf5b062fb8fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether all steps were performed successfully (none skipped or error)  <a href="#a1b26b50b6ab0cd48cfbdaf5b062fb8fe">More...</a><br /></td></tr>
<tr class="separator:a1b26b50b6ab0cd48cfbdaf5b062fb8fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a169e4858df9b2bbac75fc48d1e4db4e9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a169e4858df9b2bbac75fc48d1e4db4e9">noError</a> () const</td></tr>
<tr class="memdesc:a169e4858df9b2bbac75fc48d1e4db4e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether an error ocurred (skipped streps are ok).  <a href="#a169e4858df9b2bbac75fc48d1e4db4e9">More...</a><br /></td></tr>
<tr class="separator:a169e4858df9b2bbac75fc48d1e4db4e9"><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:a3e2d0e9d04a749f2a1d8d759d1f34966"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structzypp_1_1RWCOW__pointer.html">RWCOW_pointer</a>&lt; <a class="el" href="classzypp_1_1ZYppCommitResult_1_1Impl.html">Impl</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#a3e2d0e9d04a749f2a1d8d759d1f34966">_pimpl</a></td></tr>
<tr class="memdesc:a3e2d0e9d04a749f2a1d8d759d1f34966"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to data.  <a href="#a3e2d0e9d04a749f2a1d8d759d1f34966">More...</a><br /></td></tr>
<tr class="separator:a3e2d0e9d04a749f2a1d8d759d1f34966"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:af16a4e3406c2bebd45507ea15b8bea6b"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppCommitResult.html#af16a4e3406c2bebd45507ea15b8bea6b">operator&lt;&lt;</a> (std::ostream &amp;str, const <a class="el" href="classzypp_1_1ZYppCommitResult.html">ZYppCommitResult</a> &amp;obj)</td></tr>
<tr class="separator:af16a4e3406c2bebd45507ea15b8bea6b"><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>Result returned from <a class="el" href="classzypp_1_1ZYpp.html#a27e3f9aa4c5c257acf2ad3720f5784d1" title="Commit changes and transactions.">ZYpp::commit</a>. </p>
<dl class="section note"><dt>Note</dt><dd>Transaction data are provided and maintained during commit. Though the interface does not inhibit manipulation of transaction data outside commit (those methods could have been made <code>private:</code>), this is not recommended as you may easily mess up things.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classzypp_1_1ZYpp.html#a27e3f9aa4c5c257acf2ad3720f5784d1">ZYpp::commit</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8h_source.html#l00062">62</a> of file <a class="el" href="ZYppCommitResult_8h_source.html">ZYppCommitResult.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="adb000f54f4a32d2f1ed2f6765ee358aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb000f54f4a32d2f1ed2f6765ee358aa">&#9670;&nbsp;</a></span>TransactionStepList</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classzypp_1_1sat_1_1Transaction_1_1Step.html">sat::Transaction::Step</a>&gt; <a class="el" href="classzypp_1_1ZYppCommitResult.html#adb000f54f4a32d2f1ed2f6765ee358aa">zypp::ZYppCommitResult::TransactionStepList</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8h_source.html#l00065">65</a> of file <a class="el" href="ZYppCommitResult_8h_source.html">ZYppCommitResult.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a507125b355578264d652af8a2c86bf5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a507125b355578264d652af8a2c86bf5c">&#9670;&nbsp;</a></span>ZYppCommitResult() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">zypp::ZYppCommitResult::ZYppCommitResult </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00053">53</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

</div>
</div>
<a id="a2db260737c347cc50add52943a2911c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2db260737c347cc50add52943a2911c2">&#9670;&nbsp;</a></span>ZYppCommitResult() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">zypp::ZYppCommitResult::ZYppCommitResult </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classzypp_1_1ZYppCommitResult.html">ZYppCommitResult</a> &amp;&#160;</td>
          <td class="paramname"><em>lhs_r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00057">57</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

</div>
</div>
<a id="a076d39eabf98b66d4a58f63616a03cb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a076d39eabf98b66d4a58f63616a03cb6">&#9670;&nbsp;</a></span>ZYppCommitResult() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">zypp::ZYppCommitResult::ZYppCommitResult </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>root_r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00061">61</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

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

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

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00065">65</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp; zypp::ZYppCommitResult::root </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remembered root directory of the target. </p>
<p>\Note Pathnames within this class are relative to the targets root directory. </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00068">68</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

</div>
</div>
<a id="a4352b71e82782251c92b4743de7295b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4352b71e82782251c92b4743de7295b0">&#9670;&nbsp;</a></span>attemptToModify() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> zypp::ZYppCommitResult::attemptToModify </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>True</code> if at least one attempt to actually install/remove packages was made. </p>
<p>While this is false there should have been no serious modifications to the system. Mainly used to detect whether commit failed while preloading the caches or within the real action. </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00071">71</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

</div>
</div>
<a id="a764b339aecc731998a0cb8a31861aee3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a764b339aecc731998a0cb8a31861aee3">&#9670;&nbsp;</a></span>attemptToModify() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void zypp::ZYppCommitResult::attemptToModify </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classbool.html">bool</a>&#160;</td>
          <td class="paramname"><em>yesno_r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set <a class="el" href="classzypp_1_1ZYppCommitResult.html#a4352b71e82782251c92b4743de7295b0">attemptToModify</a>. </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00074">74</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classzypp_1_1sat_1_1Transaction.html">sat::Transaction</a> &amp; zypp::ZYppCommitResult::transaction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The full transaction list. </p>
<p>The complete list including transaction steps that do not require any action (like obsoletes or non-package actions). Depending on <a class="el" href="classzypp_1_1ZYppCommitPolicy.html#a629fb7ca7fc51d874344a61b23f764b2">ZYppCommitPolicy::restrictToMedia</a> only a subset of this transaction might have been executed. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classzypp_1_1ZYppCommitResult.html#a7fd62b2c4a8c5029f8c1ef6c40776928">transactionStepList</a>. </dd></dl>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00077">77</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classzypp_1_1sat_1_1Transaction.html">sat::Transaction</a> &amp; zypp::ZYppCommitResult::rTransaction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Manipulate <a class="el" href="classzypp_1_1ZYppCommitResult.html#af22c0c2759e0036fa206e072fd350f2e">transaction</a>. </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00080">80</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classzypp_1_1ZYppCommitResult.html#adb000f54f4a32d2f1ed2f6765ee358aa">ZYppCommitResult::TransactionStepList</a> &amp; zypp::ZYppCommitResult::transactionStepList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>List of <a class="el" href="classzypp_1_1sat_1_1Transaction_1_1Step.html">sat::Transaction::Step</a> to be executed by commit. </p>
<p>The list of transaction step commit actually tried to execute. </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00083">83</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classzypp_1_1ZYppCommitResult.html#adb000f54f4a32d2f1ed2f6765ee358aa">ZYppCommitResult::TransactionStepList</a> &amp; zypp::ZYppCommitResult::rTransactionStepList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Manipulate <a class="el" href="classzypp_1_1ZYppCommitResult.html#a7fd62b2c4a8c5029f8c1ef6c40776928">transactionStepList</a>. </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00086">86</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="namespacezypp.html#acd74b4b3696e34dd6934c147176712db">UpdateNotifications</a> &amp; zypp::ZYppCommitResult::updateMessages </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>List of update messages installed during this commit. </p>
<p>\Note Pathnames are relative to the targets root directory. </p><div class="fragment"><div class="line"><a class="code" href="classzypp_1_1ZYppCommitResult.html#a507125b355578264d652af8a2c86bf5c">ZYppCommitResult</a> result;</div><div class="line">...</div><div class="line">if ( ! result.updateMessages().empty() )</div><div class="line">{</div><div class="line">  <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga552f8ec9d8e5b4efa04839a129104818">MIL</a> &lt;&lt; <span class="stringliteral">&quot;Received &quot;</span> &lt;&lt; result.updateMessages().size() &lt;&lt; <span class="stringliteral">&quot; update notification(s):&quot;</span> &lt;&lt; endl;</div><div class="line">  <a class="code" href="Easy_8h.html#a7887338b8a0727becb37d8061fcbfc0e">for_</a>( it, result.updateMessages().begin(), result.updateMessages().end() )</div><div class="line">  {</div><div class="line">    <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga552f8ec9d8e5b4efa04839a129104818">MIL</a> &lt;&lt; <span class="stringliteral">&quot;- From &quot;</span> &lt;&lt; it-&gt;solvable().asString() &lt;&lt; <span class="stringliteral">&quot; in file &quot;</span> &lt;&lt; <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#ad141c4ebe5def350da87a08f306373be">Pathname::showRootIf</a>( result.root(), it-&gt;file() ) &lt;&lt; <span class="stringliteral">&quot;:&quot;</span> &lt;&lt; endl;</div><div class="line">    {</div><div class="line">      <span class="comment">// store message files content in a string:</span></div><div class="line">      InputStream istr( <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#ab2800733207f240280f2fd82b52ba4b2">Pathname::assertprefix</a>( result.root(), it-&gt;file() ) );</div><div class="line">      std::ostringstream strstr;</div><div class="line">      <a class="code" href="namespacezypp_1_1iostr.html#a3807dcc209ee089a23589f70c7830b27">iostr::copy</a>( istr, strstr );</div><div class="line">      std::string message( strstr.str() ); <span class="comment">// contains the message</span></div><div class="line">    }</div><div class="line">    {</div><div class="line">      <span class="comment">// or write out the message file indented:</span></div><div class="line">      InputStream istr( <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html#ab2800733207f240280f2fd82b52ba4b2">Pathname::assertprefix</a>( result.root(), it-&gt;file() ) );</div><div class="line">      <a class="code" href="namespacezypp_1_1iostr.html#a9986523d4b3150917cdd82e134a36020">iostr::copyIndent</a>( istr, <a class="code" href="group__ZYPP__BASE__LOGGER__MACROS.html#ga552f8ec9d8e5b4efa04839a129104818">MIL</a>, <span class="stringliteral">&quot;&gt; &quot;</span> ) &lt;&lt; endl;</div><div class="line">    }</div><div class="line">  }</div><div class="line">}</div></div><!-- fragment --> 
<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00089">89</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacezypp.html#acd74b4b3696e34dd6934c147176712db">UpdateNotifications</a> &amp; zypp::ZYppCommitResult::rUpdateMessages </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Manipulate <a class="el" href="classzypp_1_1ZYppCommitResult.html#a641729b5ad4ef1620608c7f1af1570d4">updateMessages</a> \Note Pathnames are relative to the targets root directory. </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00092">92</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

</div>
</div>
<a id="a1b26b50b6ab0cd48cfbdaf5b062fb8fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b26b50b6ab0cd48cfbdaf5b062fb8fe">&#9670;&nbsp;</a></span>allDone()</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="classbool.html">bool</a> zypp::ZYppCommitResult::allDone </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>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether all steps were performed successfully (none skipped or error) </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8h_source.html#l00168">168</a> of file <a class="el" href="ZYppCommitResult_8h_source.html">ZYppCommitResult.h</a>.</p>

</div>
</div>
<a id="a169e4858df9b2bbac75fc48d1e4db4e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a169e4858df9b2bbac75fc48d1e4db4e9">&#9670;&nbsp;</a></span>noError()</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="classbool.html">bool</a> zypp::ZYppCommitResult::noError </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>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether an error ocurred (skipped streps are ok). </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8h_source.html#l00172">172</a> of file <a class="el" href="ZYppCommitResult_8h_source.html">ZYppCommitResult.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="af16a4e3406c2bebd45507ea15b8bea6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af16a4e3406c2bebd45507ea15b8bea6b">&#9670;&nbsp;</a></span>operator&lt;&lt;()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream &amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classzypp_1_1ZYppCommitResult.html">ZYppCommitResult</a> &amp;&#160;</td>
          <td class="paramname"><em>obj</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">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Stream output. </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8cc_source.html#l00097">97</a> of file <a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.cc</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a3e2d0e9d04a749f2a1d8d759d1f34966"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e2d0e9d04a749f2a1d8d759d1f34966">&#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_1RWCOW__pointer.html">RWCOW_pointer</a>&lt;<a class="el" href="classzypp_1_1ZYppCommitResult_1_1Impl.html">Impl</a>&gt; zypp::ZYppCommitResult::_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>Pointer to data. </p>

<p class="definition">Definition at line <a class="el" href="ZYppCommitResult_8h_source.html#l00178">178</a> of file <a class="el" href="ZYppCommitResult_8h_source.html">ZYppCommitResult.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>zypp/<a class="el" href="ZYppCommitResult_8h_source.html">ZYppCommitResult.h</a></li>
<li>zypp/<a class="el" href="ZYppCommitResult_8cc_source.html">ZYppCommitResult.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_1ZYppCommitResult.html">ZYppCommitResult</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>