mirror of https://github.com/AxioDL/metaforce.git
162 lines
8.5 KiB
HTML
162 lines
8.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/>
|
|
<title>QuaZIP: QuaAdler32 Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<!-- Generated by Doxygen 1.7.4 -->
|
|
<div id="top">
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">QuaZIP <span id="projectnumber">quazip-0-6-2</span></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">QuaAdler32 Class Reference</div> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- doxytag: class="QuaAdler32" --><!-- doxytag: inherits="QuaChecksum32" -->
|
|
<p>Adler32 checksum.
|
|
<a href="classQuaAdler32.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="quaadler32_8h_source.html">quazip/quaadler32.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for QuaAdler32:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classQuaAdler32__inherit__graph.png" border="0" usemap="#QuaAdler32_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="QuaAdler32_inherit__map" id="QuaAdler32_inherit__map">
|
|
<area shape="rect" id="node2" href="classQuaChecksum32.html" title="Checksum interface." alt="" coords="5,5,128,32"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for QuaAdler32:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classQuaAdler32__coll__graph.png" border="0" usemap="#QuaAdler32_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="QuaAdler32_coll__map" id="QuaAdler32_coll__map">
|
|
<area shape="rect" id="node2" href="classQuaChecksum32.html" title="Checksum interface." alt="" coords="5,5,128,32"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
|
|
<p><a href="classQuaAdler32-members.html">List of all members.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">quint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaAdler32.html#a350e84fd000ebfa3c33503336a7b21bb">calculate</a> (const QByteArray &data)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates the checksum for data. <a href="#a350e84fd000ebfa3c33503336a7b21bb"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2fe6ac9eb289bafda6a9fd20e6472ab5"></a><!-- doxytag: member="QuaAdler32::reset" ref="a2fe6ac9eb289bafda6a9fd20e6472ab5" args="()" -->
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaAdler32.html#a2fe6ac9eb289bafda6a9fd20e6472ab5">reset</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resets the calculation on a checksun for a stream. <br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaAdler32.html#aba24f7b16aa0cdc26f81a9ad687fc653">update</a> (const QByteArray &buf)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Updates the calculated checksum for the stream. <a href="#aba24f7b16aa0cdc26f81a9ad687fc653"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">quint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classQuaAdler32.html#a2022e1db95c23cef220b335e44d74fb1">value</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Value of the checksum calculated for the stream passed throw <a class="el" href="classQuaAdler32.html#aba24f7b16aa0cdc26f81a9ad687fc653" title="Updates the calculated checksum for the stream.">update()</a>. <a href="#a2022e1db95c23cef220b335e44d74fb1"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p>Adler32 checksum. </p>
|
|
<p>This class wrappers the adler32 function with the <a class="el" href="classQuaChecksum32.html" title="Checksum interface.">QuaChecksum32</a> interface. See <a class="el" href="classQuaChecksum32.html" title="Checksum interface.">QuaChecksum32</a> for more info. </p>
|
|
</div><hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a350e84fd000ebfa3c33503336a7b21bb"></a><!-- doxytag: member="QuaAdler32::calculate" ref="a350e84fd000ebfa3c33503336a7b21bb" args="(const QByteArray &data)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">quint32 QuaAdler32::calculate </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QByteArray & </td>
|
|
<td class="paramname"><em>data</em></td><td>)</td>
|
|
<td><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Calculates the checksum for data. </p>
|
|
<p><em>data</em> source data </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>data checksum</dd></dl>
|
|
<p>This function has no efect on the value returned by <a class="el" href="classQuaAdler32.html#a2022e1db95c23cef220b335e44d74fb1" title="Value of the checksum calculated for the stream passed throw update().">value()</a>. </p>
|
|
|
|
<p>Implements <a class="el" href="classQuaChecksum32.html#a14d800fcfd55b2ae11ef07d3924fe0b1">QuaChecksum32</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aba24f7b16aa0cdc26f81a9ad687fc653"></a><!-- doxytag: member="QuaAdler32::update" ref="aba24f7b16aa0cdc26f81a9ad687fc653" args="(const QByteArray &buf)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QuaAdler32::update </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QByteArray & </td>
|
|
<td class="paramname"><em>buf</em></td><td>)</td>
|
|
<td><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Updates the calculated checksum for the stream. </p>
|
|
<p><em>buf</em> next portion of data from the stream </p>
|
|
|
|
<p>Implements <a class="el" href="classQuaChecksum32.html#a63a6ed3171f9243214d307da67557f7e">QuaChecksum32</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2022e1db95c23cef220b335e44d74fb1"></a><!-- doxytag: member="QuaAdler32::value" ref="a2022e1db95c23cef220b335e44d74fb1" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">quint32 QuaAdler32::value </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Value of the checksum calculated for the stream passed throw <a class="el" href="classQuaAdler32.html#aba24f7b16aa0cdc26f81a9ad687fc653" title="Updates the calculated checksum for the stream.">update()</a>. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>checksum </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="classQuaChecksum32.html#afd836e7534194fce08356be6a8336da7">QuaChecksum32</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>quazip/<a class="el" href="quaadler32_8h_source.html">quaadler32.h</a></li>
|
|
<li>quazip/quaadler32.cpp</li>
|
|
</ul>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Feb 9 2014 20:17:04 for QuaZIP by 
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
|
</body>
|
|
</html>
|