Sophie

Sophie

distrib > Mageia > 4 > i586 > media > core-release > by-pkgid > 2a90dcd9dfcd284ddf6dc3b0a0b0bf47 > files > 416

steghide-0.5.1-17.mga4.i586.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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>steghide: Globals 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="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 style="padding-left: 0.5em;">
   <div id="projectname">steghide
   &#160;<span id="projectnumber">0.5.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</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>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classGlobals-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Globals Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>some useful pointers that should be global  
 <a href="classGlobals.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Globals_8h_source.html">Globals.h</a>&gt;</code></p>
<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:a3311b9ef050e320966a42b9fc2b93253"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlobals.html#a3311b9ef050e320966a42b9fc2b93253">Globals</a> (<a class="el" href="classCvrStgFile.html">CvrStgFile</a> *f=NULL, <a class="el" href="classGraph.html">Graph</a> *g=NULL)</td></tr>
<tr class="separator:a3311b9ef050e320966a42b9fc2b93253"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b84bbd81cf5acf969a9b42712253330"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlobals.html#a2b84bbd81cf5acf969a9b42712253330">operator=</a> (const <a class="el" href="classGlobals.html">Globals</a> &amp;g)</td></tr>
<tr class="separator:a2b84bbd81cf5acf969a9b42712253330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59d1e2dcebbf09e0c7175e22d45c98c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlobals.html#a59d1e2dcebbf09e0c7175e22d45c98c1">reset</a> (void)</td></tr>
<tr class="separator:a59d1e2dcebbf09e0c7175e22d45c98c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a0086ee19afb0db15946b0a6b96f2bb19"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCvrStgFile.html">CvrStgFile</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlobals.html#a0086ee19afb0db15946b0a6b96f2bb19">TheCvrStgFile</a></td></tr>
<tr class="memdesc:a0086ee19afb0db15946b0a6b96f2bb19"><td class="mdescLeft">&#160;</td><td class="mdescRight">the cover-/stego- file that is operated on (set in <a class="el" href="classCvrStgFile.html#acf876c7ea8b9442de8ff3624ced376fe">CvrStgFile::CvrStgFile</a>)  <a href="#a0086ee19afb0db15946b0a6b96f2bb19">More...</a><br/></td></tr>
<tr class="separator:a0086ee19afb0db15946b0a6b96f2bb19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77ded012b1ba56dfea1cfa06685f338c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGraph.html">Graph</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlobals.html#a77ded012b1ba56dfea1cfa06685f338c">TheGraph</a></td></tr>
<tr class="memdesc:a77ded012b1ba56dfea1cfa06685f338c"><td class="mdescLeft">&#160;</td><td class="mdescRight">the graph that is built upon the cover-/stego-file (set in <a class="el" href="classGraph.html#acde9c764fc9764a356801ff56b88d572">Graph::Graph</a>)  <a href="#a77ded012b1ba56dfea1cfa06685f338c">More...</a><br/></td></tr>
<tr class="separator:a77ded012b1ba56dfea1cfa06685f338c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class provides some useful global variables. They are not static, instead there exists a global Globs object to make it easy to use different <a class="el" href="classGlobals.html" title="some useful pointers that should be global ">Globals</a> objects during one execution (this is necessary for some unit-tests).</p>
<p>The <a class="el" href="classGraph.html" title="a graph constructed from a cover file and a message to be embedded ">Graph</a> constructor as well as the <a class="el" href="classCvrStgFile.html" title="a cover-/stego-file ">CvrStgFile</a> constructor write itself into the Globs object. Doing this so early is necessary because the construction of a <a class="el" href="classGraph.html" title="a graph constructed from a cover file and a message to be embedded ">Graph</a> or <a class="el" href="classCvrStgFile.html" title="a cover-/stego-file ">CvrStgFile</a> object might already need a correctly set Globs object.</p>
<p>During one "normal" (i.e. non-unit-test) execution of steghide only one <a class="el" href="classGlobals.html" title="some useful pointers that should be global ">Globals</a> object will be used, namely the one created in <a class="el" href="src_2main_8cc.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a>, filled in the <a class="el" href="classGraph.html" title="a graph constructed from a cover file and a message to be embedded ">Graph</a> and the <a class="el" href="classCvrStgFile.html" title="a cover-/stego-file ">CvrStgFile</a> constructor and stored at the Globs pointer.</p>
<p>The main purpose of making these variables global is to save memory in classes that are small but used in large numbers (e.g. *SampleValue,...). Using static pointers in these classed would be too chaotic to reset for the unit tests and non-static pointers would need too much memory. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3311b9ef050e320966a42b9fc2b93253"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Globals::Globals </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCvrStgFile.html">CvrStgFile</a> *&#160;</td>
          <td class="paramname"><em>f</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classGraph.html">Graph</a> *&#160;</td>
          <td class="paramname"><em>g</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a2b84bbd81cf5acf969a9b42712253330"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Globals::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlobals.html">Globals</a> &amp;&#160;</td>
          <td class="paramname"><em>g</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a59d1e2dcebbf09e0c7175e22d45c98c1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Globals::reset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a0086ee19afb0db15946b0a6b96f2bb19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCvrStgFile.html">CvrStgFile</a>* Globals::TheCvrStgFile</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a77ded012b1ba56dfea1cfa06685f338c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGraph.html">Graph</a>* Globals::TheGraph</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="Globals_8h_source.html">Globals.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Oct 18 2013 17:59:37 for steghide by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>