<!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: BmpSampleValue.h Source File</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  <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 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 id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">BmpSampleValue.h</div> </div> </div><!--header--> <div class="contents"> <a href="BmpSampleValue_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * steghide 0.5.1 - a steganography program</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (C) 1999-2003 Stefan Hetzl <shetzl@chello.at></span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * This program is free software; you can redistribute it and/or</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * modify it under the terms of the GNU General Public License</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * as published by the Free Software Foundation; either version 2</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * of the License, or (at your option) any later version.</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * This program is distributed in the hope that it will be useful,</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * GNU General Public License for more details.</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * You should have received a copy of the GNU General Public License</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * along with this program; if not, write to the Free Software</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> *</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> */</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef SH_BMPSAMPLE_H</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="preprocessor">#define SH_BMPSAMPLE_H</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="SampleValue_8h.html">SampleValue.h</a>"</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="common_8h.html">common.h</a>"</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> <div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classBmpSampleValue.html"> 31</a></span> <span class="keyword">class </span><a class="code" href="classBmpSampleValue.html">BmpSampleValue</a> : <span class="keyword">public</span> <a class="code" href="classSampleValue.html">SampleValue</a> {</div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">public</span>:</div> <div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classBmpSampleValue.html#a088339541abf3b4511e71778633b6b12"> 33</a></span>  <a class="code" href="classBmpSampleValue.html#a088339541abf3b4511e71778633b6b12">BmpSampleValue</a> (<span class="keywordtype">void</span>) : <a class="code" href="classSampleValue.html">SampleValue</a>() {} ;</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">virtual</span> <a class="code" href="common_8h.html#a6b8592979b076e06aa233e3f586ac999">UWORD32</a> <a class="code" href="classBmpSampleValue.html#a591a3a5d7dcc61fde3fd1e37906e1781">calcDistance</a> (<span class="keyword">const</span> <a class="code" href="classSampleValue.html">SampleValue</a> *s) <span class="keyword">const</span> ;</div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classBmpSampleValue.html#a8665a4c4db9ac910abf4ec0738cfde68">getRed</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0 ;</div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classBmpSampleValue.html#a5d646a4082648a5b63323167553066ab">getGreen</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0 ;</div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classBmpSampleValue.html#a0c31d4428158c7c6017935ac03254b26">getBlue</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0 ;</div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> } ;</div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor">#endif // ndef SH_BMPSAMPLE_H</span></div> <div class="ttc" id="classBmpSampleValue_html_a8665a4c4db9ac910abf4ec0738cfde68"><div class="ttname"><a href="classBmpSampleValue.html#a8665a4c4db9ac910abf4ec0738cfde68">BmpSampleValue::getRed</a></div><div class="ttdeci">virtual unsigned char getRed(void) const =0</div></div> <div class="ttc" id="classBmpSampleValue_html_a591a3a5d7dcc61fde3fd1e37906e1781"><div class="ttname"><a href="classBmpSampleValue.html#a591a3a5d7dcc61fde3fd1e37906e1781">BmpSampleValue::calcDistance</a></div><div class="ttdeci">virtual UWORD32 calcDistance(const SampleValue *s) const </div><div class="ttdef"><b>Definition:</b> BmpSampleValue.cc:24</div></div> <div class="ttc" id="classBmpSampleValue_html"><div class="ttname"><a href="classBmpSampleValue.html">BmpSampleValue</a></div><div class="ttdoc">an (abstract) sample value in a bmp file </div><div class="ttdef"><b>Definition:</b> BmpSampleValue.h:31</div></div> <div class="ttc" id="classSampleValue_html"><div class="ttname"><a href="classSampleValue.html">SampleValue</a></div><div class="ttdoc">the value of a sample in a CvrStgFile </div><div class="ttdef"><b>Definition:</b> SampleValue.h:61</div></div> <div class="ttc" id="classBmpSampleValue_html_a088339541abf3b4511e71778633b6b12"><div class="ttname"><a href="classBmpSampleValue.html#a088339541abf3b4511e71778633b6b12">BmpSampleValue::BmpSampleValue</a></div><div class="ttdeci">BmpSampleValue(void)</div><div class="ttdef"><b>Definition:</b> BmpSampleValue.h:33</div></div> <div class="ttc" id="classBmpSampleValue_html_a5d646a4082648a5b63323167553066ab"><div class="ttname"><a href="classBmpSampleValue.html#a5d646a4082648a5b63323167553066ab">BmpSampleValue::getGreen</a></div><div class="ttdeci">virtual unsigned char getGreen(void) const =0</div></div> <div class="ttc" id="common_8h_html_a6b8592979b076e06aa233e3f586ac999"><div class="ttname"><a href="common_8h.html#a6b8592979b076e06aa233e3f586ac999">UWORD32</a></div><div class="ttdeci">unsigned long UWORD32</div><div class="ttdef"><b>Definition:</b> common.h:45</div></div> <div class="ttc" id="common_8h_html"><div class="ttname"><a href="common_8h.html">common.h</a></div></div> <div class="ttc" id="SampleValue_8h_html"><div class="ttname"><a href="SampleValue_8h.html">SampleValue.h</a></div></div> <div class="ttc" id="classBmpSampleValue_html_a0c31d4428158c7c6017935ac03254b26"><div class="ttname"><a href="classBmpSampleValue.html#a0c31d4428158c7c6017935ac03254b26">BmpSampleValue::getBlue</a></div><div class="ttdeci">virtual unsigned char getBlue(void) const =0</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 18 2013 17:59:36 for steghide by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>