Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 7392c77c84ff25edfeb07995a77d5148 > files > 374

steghide-0.5.1-11mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>steghide: CvrStgObject 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.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;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 class="tabs">
    <ul>
      <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>
<div class="contents">
<h1>CvrStgObject Class Reference</h1><!-- doxytag: class="CvrStgObject" -->an object that can hold embedded data  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="CvrStgObject_8h_source.html">CvrStgObject.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for CvrStgObject:</div>
<div class="dynsection">

<p><center><img src="classCvrStgObject.png" usemap="#CvrStgObject_map" border="0" alt=""></center>
<map name="CvrStgObject_map">
<area href="classAudioData.html" alt="AudioData" shape="rect" coords="0,56,326,80">
<area href="classCvrStgFile.html" alt="CvrStgFile" shape="rect" coords="840,56,1166,80">
<area href="classAudioDataImpl.html" alt="AudioDataImpl< Type, ValueType, SampleValueType >" shape="rect" coords="0,112,326,136">
<area href="classAuFile.html" alt="AuFile" shape="rect" coords="336,112,662,136">
<area href="classBmpFile.html" alt="BmpFile" shape="rect" coords="672,112,998,136">
<area href="classDummyFile.html" alt="DummyFile" shape="rect" coords="1008,112,1334,136">
<area href="classWavFile.html" alt="WavFile" shape="rect" coords="1344,112,1670,136">
</map>
</div>

<p>
<a href="classCvrStgObject-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">virtual unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCvrStgObject.html#80ae8f095b66683e5207adf8ff8265b4">getNumSamples</a> (void) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classSampleValue.html">SampleValue</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCvrStgObject.html#c77a8da85a4f7b53e2166e990dfaa4f2">getSampleValue</a> (const <a class="el" href="common_8h.html#048401d1365616f5eef97e251096a02d">SamplePos</a> pos) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCvrStgObject.html#3068d6a9dcc1c0b8bde2f081cfde6ce5">replaceSample</a> (const <a class="el" href="common_8h.html#048401d1365616f5eef97e251096a02d">SamplePos</a> pos, const <a class="el" href="classSampleValue.html">SampleValue</a> *s)=0</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This abstract base class provides an interface for every class that is able to hold embedded data. Something that can hold embedded data is essentially though of as an array of samples.<p>
Definitions: Embedded Bit...a bit to be embedded (one bit in the original or extracted embfile) Sample...the smallest data unit in a file (e.g. a RGB triple, a DCT coefficient) <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="80ae8f095b66683e5207adf8ff8265b4"></a><!-- doxytag: member="CvrStgObject::getNumSamples" ref="80ae8f095b66683e5207adf8ff8265b4" args="(void) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual unsigned long CvrStgObject::getNumSamples           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get the number of samples in this <a class="el" href="classCvrStgObject.html" title="an object that can hold embedded data">CvrStgObject</a> 
<p>Implemented in <a class="el" href="classAudioDataImpl.html#fb68cfcece32b31ffb29e15449edefca">AudioDataImpl&lt; Type, ValueType, SampleValueType &gt;</a>, <a class="el" href="classAuFile.html#8389f2b6eee8baaa4ef4feed7e95d4d4">AuFile</a>, <a class="el" href="classBmpFile.html#e586a54360336c7883b563a84e505137">BmpFile</a>, <a class="el" href="classWavFile.html#51f113e164b7c57a6576b1602eef4d0e">WavFile</a>, and <a class="el" href="classDummyFile.html#32dd984c16df0a593d07dba46a708377">DummyFile</a>.</p>

</div>
</div><p>
<a class="anchor" name="c77a8da85a4f7b53e2166e990dfaa4f2"></a><!-- doxytag: member="CvrStgObject::getSampleValue" ref="c77a8da85a4f7b53e2166e990dfaa4f2" args="(const SamplePos pos) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classSampleValue.html">SampleValue</a>* CvrStgObject::getSampleValue           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="common_8h.html#048401d1365616f5eef97e251096a02d">SamplePos</a>&nbsp;</td>
          <td class="paramname"> <em>pos</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get the sample at position pos <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>the position of a sample (must be in 0...<a class="el" href="classCvrStgObject.html#80ae8f095b66683e5207adf8ff8265b4">getNumSamples()</a>-1) </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the sample at the given position</dd></dl>
The sample object is created in this function and should be deleted by the caller. The derived class should check the condition(s) given above in its Implementation of this function. 
<p>Implemented in <a class="el" href="classAudioDataImpl.html#737bcaf96537b02278cba6ff92f8746d">AudioDataImpl&lt; Type, ValueType, SampleValueType &gt;</a>, <a class="el" href="classAuFile.html#05f156649d8525881cf6bfea95897302">AuFile</a>, <a class="el" href="classBmpFile.html#0ab1709a31da5c8a4ef550023ef6cc2a">BmpFile</a>, <a class="el" href="classWavFile.html#b7509f60788bf3748e851de80bacb367">WavFile</a>, and <a class="el" href="classDummyFile.html#3d89d5841d743e138788a028e7d87711">DummyFile</a>.</p>

</div>
</div><p>
<a class="anchor" name="3068d6a9dcc1c0b8bde2f081cfde6ce5"></a><!-- doxytag: member="CvrStgObject::replaceSample" ref="3068d6a9dcc1c0b8bde2f081cfde6ce5" args="(const SamplePos pos, const SampleValue *s)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CvrStgObject::replaceSample           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="common_8h.html#048401d1365616f5eef97e251096a02d">SamplePos</a>&nbsp;</td>
          <td class="paramname"> <em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classSampleValue.html">SampleValue</a> *&nbsp;</td>
          <td class="paramname"> <em>s</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
replace a sample thus (possibly) altering the value of the bit returned by SampleValue-&gt;getBit() <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>the position of the sample (must be in 0...<a class="el" href="classCvrStgObject.html#80ae8f095b66683e5207adf8ff8265b4">getNumSamples()</a>-1) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>s</em>&nbsp;</td><td>the sample value that should replace the current sample value (must be of correct type for this <a class="el" href="classCvrStgObject.html" title="an object that can hold embedded data">CvrStgObject</a>)</td></tr>
  </table>
</dl>
The derived class should check the condition(s) given above in its Implementation of this function. 
<p>Implemented in <a class="el" href="classAudioDataImpl.html#2522e8ff1588325b0fe93210a3c048f5">AudioDataImpl&lt; Type, ValueType, SampleValueType &gt;</a>, <a class="el" href="classAuFile.html#174651b1eb09ce6499dd9b49740e0585">AuFile</a>, <a class="el" href="classBmpFile.html#9f476c72483674452cf272f9e10d1087">BmpFile</a>, <a class="el" href="classWavFile.html#e73ef41e61806392a53385065ec7e444">WavFile</a>, and <a class="el" href="classDummyFile.html#702ca13d4515e719785b6c7b670354bb">DummyFile</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="CvrStgObject_8h_source.html">CvrStgObject.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Aug 17 10:58:31 2009 for steghide by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>