Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 83

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>GNU CommonC++: ost::CRC32Digest Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="namespaceost.html">ost</a>::<a class="el" href="classost_1_1_c_r_c32_digest.html">CRC32Digest</a></div>
<h1>ost::CRC32Digest Class Reference</h1><!-- doxytag: class="ost::CRC32Digest" --><!-- doxytag: inherits="ost::Digest" -->A crc32 collection/computation hash accumulator class.crc32 computation hash.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="digest_8h-source.html">digest.h</a>&gt;</code>
<p>
<p>Inheritance diagram for ost::CRC32Digest:
<p><center><img src="classost_1_1_c_r_c32_digest.png" usemap="#ost::CRC32Digest_map" border="0" alt=""></center>
<map name="ost::CRC32Digest_map">
<area href="classost_1_1_digest.html" alt="ost::Digest" shape="rect" coords="0,0,109,24">
</map>
<a href="classost_1_1_c_r_c32_digest-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_c_r_c32_digest.html#1398dd6989e33cea0222e558d2ac4cba">CRC32Digest</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_c_r_c32_digest.html#f5db909388169c71b241aa80468aca19">initDigest</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_c_r_c32_digest.html#10305cfa59bebc37b56d779493dbc4be">getSize</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_c_r_c32_digest.html#b04d7ae0a9ab46351f441d3a62b6ca98">getDigest</a> (unsigned char *buffer)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_c_r_c32_digest.html#2eaff9b0e5fa824b8f16c69b673b3174">putDigest</a> (const unsigned char *buffer, unsigned length)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_c_r_c32_digest.html#40f818aa7cfc6888653e7fe8efd16c7a">overflow</a> (unsigned char octet)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_c_r_c32_digest.html#942cace7a6d62b8758357649648174a8">strDigest</a> (std::ostream &amp;os)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A crc32 collection/computation hash accumulator class.crc32 computation hash. 
<p>
<dl compact><dt><b>Author:</b></dt><dd>Kevin Kraatz &lt;<a href="mailto:kraatz@arlut.utexas.edu">kraatz@arlut.utexas.edu</a>&gt; </dd></dl>
<dl compact><dt><b>Examples: </b></dt><dd>

<p>
<a class="el" href="crc32_8cpp-example.html#_a23">crc32.cpp</a>.</dl>
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="1398dd6989e33cea0222e558d2ac4cba"></a><!-- doxytag: member="ost::CRC32Digest::CRC32Digest" ref="1398dd6989e33cea0222e558d2ac4cba" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">ost::CRC32Digest::CRC32Digest           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b04d7ae0a9ab46351f441d3a62b6ca98"></a><!-- doxytag: member="ost::CRC32Digest::getDigest" ref="b04d7ae0a9ab46351f441d3a62b6ca98" args="(unsigned char *buffer)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">unsigned ost::CRC32Digest::getDigest           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">unsigned char *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>buffer</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Implements <a class="el" href="classost_1_1_digest.html#afe56b139e7fb543945b7350a59f44fd">ost::Digest</a>.<dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="crc32_8cpp-example.html#a25">crc32.cpp</a>.</dl>    </td>
  </tr>
</table>
<a class="anchor" name="10305cfa59bebc37b56d779493dbc4be"></a><!-- doxytag: member="ost::CRC32Digest::getSize" ref="10305cfa59bebc37b56d779493dbc4be" args="(void)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">unsigned ost::CRC32Digest::getSize           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Implements <a class="el" href="classost_1_1_digest.html#54bddba60131f47fab334a10b31e0850">ost::Digest</a>.    </td>
  </tr>
</table>
<a class="anchor" name="f5db909388169c71b241aa80468aca19"></a><!-- doxytag: member="ost::CRC32Digest::initDigest" ref="f5db909388169c71b241aa80468aca19" args="(void)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ost::CRC32Digest::initDigest           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Implements <a class="el" href="classost_1_1_digest.html#fb83ec064689f9351be8b23b76137584">ost::Digest</a>.    </td>
  </tr>
</table>
<a class="anchor" name="40f818aa7cfc6888653e7fe8efd16c7a"></a><!-- doxytag: member="ost::CRC32Digest::overflow" ref="40f818aa7cfc6888653e7fe8efd16c7a" args="(unsigned char octet)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">unsigned char ost::CRC32Digest::overflow           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">unsigned char&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>octet</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="2eaff9b0e5fa824b8f16c69b673b3174"></a><!-- doxytag: member="ost::CRC32Digest::putDigest" ref="2eaff9b0e5fa824b8f16c69b673b3174" args="(const unsigned char *buffer, unsigned length)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ost::CRC32Digest::putDigest           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const unsigned char *&nbsp;</td>
          <td class="mdname" nowrap> <em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>unsigned&nbsp;</td>
          <td class="mdname" nowrap> <em>length</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Implements <a class="el" href="classost_1_1_digest.html#a7d1b98a1a6c5c81c730dae029ef33b6">ost::Digest</a>.<dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="crc32_8cpp-example.html#a24">crc32.cpp</a>.</dl>    </td>
  </tr>
</table>
<a class="anchor" name="942cace7a6d62b8758357649648174a8"></a><!-- doxytag: member="ost::CRC32Digest::strDigest" ref="942cace7a6d62b8758357649648174a8" args="(std::ostream &amp;os)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">std::ostream&amp; ost::CRC32Digest::strDigest           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">std::ostream &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>os</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Implements <a class="el" href="classost_1_1_digest.html#f47d1d12e4a3a17949475d0619dbfedc">ost::Digest</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="digest_8h-source.html">digest.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 19 10:50:56 2006 for GNU CommonC++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>