Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 4272c97b1af3db3f39a3b697bcba7e48 > files > 1354

albumshaper-2.1-7mdv2010.1.x86_64.rpm

<!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>AlbumShaper: md5.h File 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.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>md5.h File Reference</h1><code>#include &lt;fstream&gt;</code><br/>
<code>#include &lt;qstring.h&gt;</code><br/>
<div class="dynheader">
Include dependency graph for md5.h:</div>
<div class="dynsection">
</div>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
</div>

<p><a href="md5_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMD5.html">MD5</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classMD5.html" title="MD5 Support allows checksums to be computed for images, determing if they have changed...">MD5</a> Support allows checksums to be computed for images, determing if they have changed since the album was saved out, and if so need to be loaded and rescaled.  <a href="classMD5.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="md5_8h.html#a899b2fb35bd6d33506dde3eb0d87a761">getMD5</a> (std::ifstream &amp;stream)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="md5_8h.html#a9c8a61273cce81d4035bd666ecb4ecc5">filesMatch</a> (std::ifstream &amp;stream, QString oldMD5)</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a9c8a61273cce81d4035bd666ecb4ecc5"></a><!-- doxytag: member="md5.h::filesMatch" ref="a9c8a61273cce81d4035bd666ecb4ecc5" args="(std::ifstream &amp;stream, QString oldMD5)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool filesMatch </td>
          <td>(</td>
          <td class="paramtype">std::ifstream &amp;&nbsp;</td>
          <td class="paramname"> <em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>oldMD5</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="md5_8cpp_source.html#l00549">549</a> of file <a class="el" href="md5_8cpp_source.html">md5.cpp</a>.</p>

<p>References <a class="el" href="md5_8cpp_source.html#l00271">MD5::hex_digest()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00550"></a>00550 {
<a name="l00551"></a>00551   <a class="code" href="classMD5.html" title="MD5 Support allows checksums to be computed for images, determing if they have changed...">MD5</a> obj( stream );
<a name="l00552"></a>00552   <span class="keywordflow">return</span> (obj.hex_digest() == oldMD5);
<a name="l00553"></a>00553 }
</pre></div></p>

</div>
</div>
<a class="anchor" id="a899b2fb35bd6d33506dde3eb0d87a761"></a><!-- doxytag: member="md5.h::getMD5" ref="a899b2fb35bd6d33506dde3eb0d87a761" args="(std::ifstream &amp;stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString getMD5 </td>
          <td>(</td>
          <td class="paramtype">std::ifstream &amp;&nbsp;</td>
          <td class="paramname"> <em>stream</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="md5_8cpp_source.html#l00542">542</a> of file <a class="el" href="md5_8cpp_source.html">md5.cpp</a>.</p>

<p>References <a class="el" href="md5_8cpp_source.html#l00271">MD5::hex_digest()</a>.</p>

<p>Referenced by <a class="el" href="album_8cpp_source.html#l00889">Album::exportSubalbumImages()</a>, and <a class="el" href="subalbum_8cpp_source.html#l00349">Subalbum::importFromDisk()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00543"></a>00543 {
<a name="l00544"></a>00544   <a class="code" href="classMD5.html" title="MD5 Support allows checksums to be computed for images, determing if they have changed...">MD5</a> obj( stream );
<a name="l00545"></a>00545   <span class="keywordflow">return</span> obj.hex_digest();
<a name="l00546"></a>00546 }
</pre></div></p>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>