<!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::ChecksumFileChecker 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&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  <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&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&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('classzypp_1_1ChecksumFileChecker.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> | <a href="classzypp_1_1ChecksumFileChecker-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::ChecksumFileChecker Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Built in file checkers. <a href="classzypp_1_1ChecksumFileChecker.html#details">More...</a></p> <p><code>#include <<a class="el" href="FileChecker_8h_source.html">FileChecker.h</a>></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:ad891c41b02782e2b8ed40b28cb68c1b2"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classzypp_1_1CheckSumCheckException.html">CheckSumCheckException</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ChecksumFileChecker.html#ad891c41b02782e2b8ed40b28cb68c1b2">ExceptionType</a></td></tr> <tr class="separator:ad891c41b02782e2b8ed40b28cb68c1b2"><td class="memSeparator" colspan="2"> </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:aa72c3808ef4e59438ac80ba451fa291d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ChecksumFileChecker.html#aa72c3808ef4e59438ac80ba451fa291d">ChecksumFileChecker</a> (const <a class="el" href="classzypp_1_1CheckSum.html">CheckSum</a> &checksum)</td></tr> <tr class="memdesc:aa72c3808ef4e59438ac80ba451fa291d"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#aa72c3808ef4e59438ac80ba451fa291d">More...</a><br /></td></tr> <tr class="separator:aa72c3808ef4e59438ac80ba451fa291d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a121c50a1e4fa9966b02fb8afce9b4abc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ChecksumFileChecker.html#a121c50a1e4fa9966b02fb8afce9b4abc">operator()</a> (const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &file) const</td></tr> <tr class="memdesc:a121c50a1e4fa9966b02fb8afce9b4abc"><td class="mdescLeft"> </td><td class="mdescRight">Try to validate the file. <a href="#a121c50a1e4fa9966b02fb8afce9b4abc">More...</a><br /></td></tr> <tr class="separator:a121c50a1e4fa9966b02fb8afce9b4abc"><td class="memSeparator" colspan="2"> </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:ab8dcaf26fb3613c289d0c52498d0e599"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1CheckSum.html">CheckSum</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ChecksumFileChecker.html#ab8dcaf26fb3613c289d0c52498d0e599">_checksum</a></td></tr> <tr class="separator:ab8dcaf26fb3613c289d0c52498d0e599"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Built in file checkers. </p> <p>Checks for a valid checksum and interacts with the user. </p> <p class="definition">Definition at line <a class="el" href="FileChecker_8h_source.html#l00070">70</a> of file <a class="el" href="FileChecker_8h_source.html">FileChecker.h</a>.</p> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a id="ad891c41b02782e2b8ed40b28cb68c1b2"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad891c41b02782e2b8ed40b28cb68c1b2">◆ </a></span>ExceptionType</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classzypp_1_1CheckSumCheckException.html">CheckSumCheckException</a> <a class="el" href="classzypp_1_1ChecksumFileChecker.html#ad891c41b02782e2b8ed40b28cb68c1b2">zypp::ChecksumFileChecker::ExceptionType</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="FileChecker_8h_source.html#l00073">73</a> of file <a class="el" href="FileChecker_8h_source.html">FileChecker.h</a>.</p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="aa72c3808ef4e59438ac80ba451fa291d"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa72c3808ef4e59438ac80ba451fa291d">◆ </a></span>ChecksumFileChecker()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">zypp::ChecksumFileChecker::ChecksumFileChecker </td> <td>(</td> <td class="paramtype">const <a class="el" href="classzypp_1_1CheckSum.html">CheckSum</a> & </td> <td class="paramname"><em>checksum</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">checksum</td><td>Checksum that validates the file </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="FileChecker_8cc_source.html#l00028">28</a> of file <a class="el" href="FileChecker_8cc_source.html">FileChecker.cc</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a121c50a1e4fa9966b02fb8afce9b4abc"></a> <h2 class="memtitle"><span class="permalink"><a href="#a121c50a1e4fa9966b02fb8afce9b4abc">◆ </a></span>operator()()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void zypp::ChecksumFileChecker::operator() </td> <td>(</td> <td class="paramtype">const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> & </td> <td class="paramname"><em>file</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Try to validate the file. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">file</td><td>File to validate.</td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classzypp_1_1CheckSumCheckException.html">CheckSumCheckException</a></td><td>if validation fails </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="FileChecker_8cc_source.html#l00032">32</a> of file <a class="el" href="FileChecker_8cc_source.html">FileChecker.cc</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="ab8dcaf26fb3613c289d0c52498d0e599"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab8dcaf26fb3613c289d0c52498d0e599">◆ </a></span>_checksum</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="classzypp_1_1CheckSum.html">CheckSum</a> zypp::ChecksumFileChecker::_checksum</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="FileChecker_8h_source.html#l00087">87</a> of file <a class="el" href="FileChecker_8h_source.html">FileChecker.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>zypp/<a class="el" href="FileChecker_8h_source.html">FileChecker.h</a></li> <li>zypp/<a class="el" href="FileChecker_8cc_source.html">FileChecker.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_1ChecksumFileChecker.html">ChecksumFileChecker</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>