Sophie

Sophie

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

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/HistoryLog.h Source File</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('HistoryLog_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">HistoryLog.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="HistoryLog_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*---------------------------------------------------------------------\</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">|                          ____ _   __ __ ___                          |</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">|                         |__  / \ / / . \ . \                         |</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">|                           / / \ V /|  _/  _/                         |</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">|                          / /__ | | | | | |                           |</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">|                         /_____||_| |_| |_|                           |</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">|                                                                      |</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">\---------------------------------------------------------------------*/</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#ifndef ZYPP_TARGET_COMMITLOG_H</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#define ZYPP_TARGET_COMMITLOG_H</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;iosfwd&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Pathname_8h.html">zypp/Pathname.h</a>&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;{</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;  <span class="keyword">class </span>PoolItem;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;  <span class="keyword">class </span>RepoInfo;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classzypp_1_1HistoryLog.html">   55</a></span>&#160;  <span class="keyword">class </span><a class="code" href="classzypp_1_1HistoryLog.html">HistoryLog</a></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  {</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <a class="code" href="classzypp_1_1HistoryLog.html#a1cdcac9275433cee68cde5ad15a4c4db">HistoryLog</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1HistoryLog.html">HistoryLog</a> &amp; );</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <a class="code" href="classzypp_1_1HistoryLog.html">HistoryLog</a> &amp; <a class="code" href="classzypp_1_1HistoryLog.html#a518d14e1c797b72dce2cb96a0ae38343">operator=</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1HistoryLog.html">HistoryLog</a> &amp; );</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <span class="keyword">public</span>:</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <a class="code" href="classzypp_1_1HistoryLog.html#a1cdcac9275433cee68cde5ad15a4c4db">HistoryLog</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp; rootdir = <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a>() );</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <a class="code" href="classzypp_1_1HistoryLog.html#a0379efdcd7ca2e5c1a25bb34bb0c80b9">~HistoryLog</a>();</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1HistoryLog.html#a3cd0552d0a48692934226b234edeb3de">setRoot</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp; root );</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp; <a class="code" href="classzypp_1_1HistoryLog.html#aa19a350747ecf398a526fb0935dbaefe">fname</a>();</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1HistoryLog.html#ade928588f3c1325ba80195464a3013f1">comment</a>( <span class="keyword">const</span> std::string &amp; <a class="code" href="classzypp_1_1HistoryLog.html#ade928588f3c1325ba80195464a3013f1">comment</a>, <span class="keywordtype">bool</span> timestamp = <span class="keyword">false</span> );</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1HistoryLog.html#a39281bed802920a7646de4f5da1ab003">stampCommand</a>();</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1HistoryLog.html#ad15290b2f5d7f1e0e721848695e3f33c">install</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1PoolItem.html">PoolItem</a> &amp; pi );</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1HistoryLog.html#a57cf18a3b551230ce51c473196cb33a5">remove</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1PoolItem.html">PoolItem</a> &amp; pi );</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1HistoryLog.html#a7b6e785b787d3153d7780665797c35f9">addRepository</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1RepoInfo.html">RepoInfo</a> &amp; repo );</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1HistoryLog.html#a9f88c2d230e47fbe8b4b368e6ad53acd">removeRepository</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1RepoInfo.html">RepoInfo</a> &amp; repo );</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classzypp_1_1HistoryLog.html#a560d6d0289f7104d37890479f3d2232e">modifyRepository</a>( <span class="keyword">const</span> <a class="code" href="classzypp_1_1RepoInfo.html">RepoInfo</a> &amp; oldrepo, <span class="keyword">const</span> <a class="code" href="classzypp_1_1RepoInfo.html">RepoInfo</a> &amp; newrepo );</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  };</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;} <span class="comment">// namespace zypp</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">#endif // ZYPP_TARGET_COMMITLOG_H</span></div><div class="ttc" id="Pathname_8h_html"><div class="ttname"><a href="Pathname_8h.html">Pathname.h</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_a39281bed802920a7646de4f5da1ab003"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#a39281bed802920a7646de4f5da1ab003">zypp::HistoryLog::stampCommand</a></div><div class="ttdeci">void stampCommand()</div><div class="ttdoc">Log info about the current process.</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8cc_source.html#l00220">HistoryLog.cc:220</a></div></div>
<div class="ttc" id="classzypp_1_1RepoInfo_html"><div class="ttname"><a href="classzypp_1_1RepoInfo.html">zypp::RepoInfo</a></div><div class="ttdoc">What is known about a repository.</div><div class="ttdef"><b>Definition:</b> <a href="RepoInfo_8h_source.html#l00071">RepoInfo.h:71</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_ad15290b2f5d7f1e0e721848695e3f33c"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#ad15290b2f5d7f1e0e721848695e3f33c">zypp::HistoryLog::install</a></div><div class="ttdeci">void install(const PoolItem &amp;pi)</div><div class="ttdoc">Log installation (or update) of a package.</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8cc_source.html#l00232">HistoryLog.cc:232</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_a518d14e1c797b72dce2cb96a0ae38343"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#a518d14e1c797b72dce2cb96a0ae38343">zypp::HistoryLog::operator=</a></div><div class="ttdeci">HistoryLog &amp; operator=(const HistoryLog &amp;)</div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_a9f88c2d230e47fbe8b4b368e6ad53acd"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#a9f88c2d230e47fbe8b4b368e6ad53acd">zypp::HistoryLog::removeRepository</a></div><div class="ttdeci">void removeRepository(const RepoInfo &amp;repo)</div><div class="ttdoc">Log recently removed repository.</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8cc_source.html#l00301">HistoryLog.cc:301</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_aa19a350747ecf398a526fb0935dbaefe"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#aa19a350747ecf398a526fb0935dbaefe">zypp::HistoryLog::fname</a></div><div class="ttdeci">static const Pathname &amp; fname()</div><div class="ttdoc">Get the current log file path.</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8cc_source.html#l00179">HistoryLog.cc:179</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_a7b6e785b787d3153d7780665797c35f9"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#a7b6e785b787d3153d7780665797c35f9">zypp::HistoryLog::addRepository</a></div><div class="ttdeci">void addRepository(const RepoInfo &amp;repo)</div><div class="ttdoc">Log a newly added repository.</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8cc_source.html#l00289">HistoryLog.cc:289</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html"><div class="ttname"><a href="classzypp_1_1HistoryLog.html">zypp::HistoryLog</a></div><div class="ttdoc">Writing the zypp history fileReference counted signleton for writhing the zypp history file.</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8h_source.html#l00055">HistoryLog.h:55</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_a3cd0552d0a48692934226b234edeb3de"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#a3cd0552d0a48692934226b234edeb3de">zypp::HistoryLog::setRoot</a></div><div class="ttdeci">static void setRoot(const Pathname &amp;root)</div><div class="ttdoc">Set new root directory to the default history log file path.</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8cc_source.html#l00163">HistoryLog.cc:163</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_a0379efdcd7ca2e5c1a25bb34bb0c80b9"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#a0379efdcd7ca2e5c1a25bb34bb0c80b9">zypp::HistoryLog::~HistoryLog</a></div><div class="ttdeci">~HistoryLog()</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8cc_source.html#l00158">HistoryLog.cc:158</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_a57cf18a3b551230ce51c473196cb33a5"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#a57cf18a3b551230ce51c473196cb33a5">zypp::HistoryLog::remove</a></div><div class="ttdeci">void remove(const PoolItem &amp;pi)</div><div class="ttdoc">Log removal of a package.</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8cc_source.html#l00261">HistoryLog.cc:261</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_ade928588f3c1325ba80195464a3013f1"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#ade928588f3c1325ba80195464a3013f1">zypp::HistoryLog::comment</a></div><div class="ttdeci">void comment(const std::string &amp;comment, bool timestamp=false)</div><div class="ttdoc">Log a comment (even multiline).</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8cc_source.html#l00188">HistoryLog.cc:188</a></div></div>
<div class="ttc" id="classzypp_1_1PoolItem_html"><div class="ttname"><a href="classzypp_1_1PoolItem.html">zypp::PoolItem</a></div><div class="ttdoc">Combining sat::Solvable and ResStatus.</div><div class="ttdef"><b>Definition:</b> <a href="PoolItem_8h_source.html#l00050">PoolItem.h:50</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_a560d6d0289f7104d37890479f3d2232e"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#a560d6d0289f7104d37890479f3d2232e">zypp::HistoryLog::modifyRepository</a></div><div class="ttdeci">void modifyRepository(const RepoInfo &amp;oldrepo, const RepoInfo &amp;newrepo)</div><div class="ttdoc">Log certain modifications to a repository.</div><div class="ttdef"><b>Definition:</b> <a href="HistoryLog_8cc_source.html#l00312">HistoryLog.cc:312</a></div></div>
<div class="ttc" id="classzypp_1_1HistoryLog_html_a1cdcac9275433cee68cde5ad15a4c4db"><div class="ttname"><a href="classzypp_1_1HistoryLog.html#a1cdcac9275433cee68cde5ad15a4c4db">zypp::HistoryLog::HistoryLog</a></div><div class="ttdeci">HistoryLog(const HistoryLog &amp;)</div></div>
<div class="ttc" id="classzypp_1_1filesystem_1_1Pathname_html"><div class="ttname"><a href="classzypp_1_1filesystem_1_1Pathname.html">zypp::filesystem::Pathname</a></div><div class="ttdoc">Pathname.</div><div class="ttdef"><b>Definition:</b> <a href="Pathname_8h_source.html#l00043">Pathname.h:43</a></div></div>
<div class="ttc" id="namespacezypp_html"><div class="ttname"><a href="namespacezypp.html">zypp</a></div><div class="ttdoc">Easy-to use interface to the ZYPP dependency resolver.</div><div class="ttdef"><b>Definition:</b> <a href="CodePitfalls_8doc_source.html#l00001">CodePitfalls.doc:1</a></div></div>
</div><!-- fragment --></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="dir_c187b43c6f283d9fc95eff3f44ce072a.html">zypp</a></li><li class="navelem"><a class="el" href="HistoryLog_8h.html">HistoryLog.h</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>