/usr/share/doc/libsilly-doc/html/a00005.html is in libsilly-doc 0.1.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 | <!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"/>
<title>Simple Image Loading LibrarY: ImageLoader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Simple Image Loading LibrarY
 <span id="projectnumber">0.1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</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 List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="a00056.html">SILLY</a> </li>
<li class="navelem"><a class="el" href="a00005.html">ImageLoader</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> </div>
<div class="headertitle">
<div class="title">ImageLoader Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="SILLY::ImageLoader" -->
<p>This is an abstract class that define the interface of all image loader.
<a href="a00005.html#details">More...</a></p>
<p><code>#include <<a class="el" href="a00036_source.html">SILLYImageLoader.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for ImageLoader:</div>
<div class="dyncontent">
<div class="center"><img src="a00066.png" border="0" usemap="#ImageLoader_inherit__map" alt="Inheritance graph"/></div>
<map name="ImageLoader_inherit__map" id="ImageLoader_inherit__map">
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="a00067.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00005.html#a439f9065fd9a935d7f53b30b2242e924">destroyContext</a> (<a class="el" href="a00004.html">ImageContext</a> *context)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy the image context. <a href="#a439f9065fd9a935d7f53b30b2242e924"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac31d6df665c6626f0a962774c8bb405"></a><!-- doxytag: member="SILLY::ImageLoader::getIdentifierString" ref="aac31d6df665c6626f0a962774c8bb405" args="() const " -->
const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00005.html#aac31d6df665c6626f0a962774c8bb405">getIdentifierString</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the name of the loader. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00004.html">ImageContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00005.html#a36d9ab46230fcf29dee7c8acfd70a0c5">loadHeader</a> (<a class="el" href="a00056.html#a60883d4958a60b91661e97027a85072a">PixelFormat</a> &formatSource, <a class="el" href="a00001.html">DataSource</a> *data)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parse the header of the image and fill the header struct. <a href="#a36d9ab46230fcf29dee7c8acfd70a0c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00005.html#a7622e69834f644d7cf1201c1cabd80c6">loadImageData</a> (<a class="el" href="a00056.html#aebdd89f22790687ac264c1abd9f7fd38">PixelOrigin</a> origin, <a class="el" href="a00001.html">DataSource</a> *data, <a class="el" href="a00004.html">ImageContext</a> *context)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parse the pixels data of the image and fill the header struct. <a href="#a7622e69834f644d7cf1201c1cabd80c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a2ec570381d0f8253a34fe0ab1a4ebc"></a><!-- doxytag: member="SILLY::ImageLoader::~ImageLoader" ref="a9a2ec570381d0f8253a34fe0ab1a4ebc" args="()" -->
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a00005.html#a9a2ec570381d0f8253a34fe0ab1a4ebc">~ImageLoader</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a103c77f27d983ad297f1fa541bcef8fe"></a><!-- doxytag: member="SILLY::ImageLoader::ImageLoader" ref="a103c77f27d983ad297f1fa541bcef8fe" args="(const char *name)" -->
 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00005.html#a103c77f27d983ad297f1fa541bcef8fe">ImageLoader</a> (const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This is an abstract class that define the interface of all image loader. </p>
<p>In order to add support for new image format one have to inherits this class and implement all required function. </p>
<p>Definition at line <a class="el" href="a00036_source.html#l00046">46</a> of file <a class="el" href="a00036_source.html">SILLYImageLoader.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a439f9065fd9a935d7f53b30b2242e924"></a><!-- doxytag: member="SILLY::ImageLoader::destroyContext" ref="a439f9065fd9a935d7f53b30b2242e924" args="(ImageContext *context)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="a00005.html#a439f9065fd9a935d7f53b30b2242e924">destroyContext</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00004.html">ImageContext</a> * </td>
<td class="paramname"><em>context</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroy the image context. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">context</td><td>a pointer to the context </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="a00053_source.html#l00047">47</a> of file <a class="el" href="a00053_source.html">SILLYImageLoader.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a36d9ab46230fcf29dee7c8acfd70a0c5"></a><!-- doxytag: member="SILLY::ImageLoader::loadHeader" ref="a36d9ab46230fcf29dee7c8acfd70a0c5" args="(PixelFormat &formatSource, DataSource *data)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="a00004.html">ImageContext</a>* <a class="el" href="a00005.html#a36d9ab46230fcf29dee7c8acfd70a0c5">loadHeader</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00056.html#a60883d4958a60b91661e97027a85072a">PixelFormat</a> & </td>
<td class="paramname"><em>formatSource</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00001.html">DataSource</a> * </td>
<td class="paramname"><em>data</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Parse the header of the image and fill the header struct. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">formatSource</td><td>this var should contains the pixel format used to store the image initialy</td></tr>
<tr><td class="paramname">data</td><td>the input of the image data</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Context for the rest of the parsing or 0 if an error occured </dd></dl>
<p>Implemented in <a class="el" href="a00011.html#a1f83c2e6e4960b05c1b5bd61b0635f8c">PNGImageLoader</a>, <a class="el" href="a00013.html#a1f83c2e6e4960b05c1b5bd61b0635f8c">TGAImageLoader</a>, and <a class="el" href="a00008.html#a919eb05f6df058544657e865a1590d5a">JPGImageLoader</a>.</p>
</div>
</div>
<a class="anchor" id="a7622e69834f644d7cf1201c1cabd80c6"></a><!-- doxytag: member="SILLY::ImageLoader::loadImageData" ref="a7622e69834f644d7cf1201c1cabd80c6" args="(PixelOrigin origin, DataSource *data, ImageContext *context)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool <a class="el" href="a00005.html#a7622e69834f644d7cf1201c1cabd80c6">loadImageData</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00056.html#aebdd89f22790687ac264c1abd9f7fd38">PixelOrigin</a> </td>
<td class="paramname"><em>origin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00001.html">DataSource</a> * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00004.html">ImageContext</a> * </td>
<td class="paramname"><em>context</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Parse the pixels data of the image and fill the header struct. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">origin</td><td>the layout of the pixel in the resulting pixel array</td></tr>
<tr><td class="paramname">data</td><td>the input of the image data</td></tr>
<tr><td class="paramname">context</td><td>the data associated to the image parsing</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success false on error </dd></dl>
<p>Implemented in <a class="el" href="a00011.html#a4a4d6df5dcc08cb493855fcfc1956fca">PNGImageLoader</a>, <a class="el" href="a00013.html#a4a4d6df5dcc08cb493855fcfc1956fca">TGAImageLoader</a>, and <a class="el" href="a00008.html#a4a4d6df5dcc08cb493855fcfc1956fca">JPGImageLoader</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/tmp/buildd/silly-0.1.0/include/<a class="el" href="a00036_source.html">SILLYImageLoader.h</a></li>
<li>/tmp/buildd/silly-0.1.0/src/<a class="el" href="a00053_source.html">SILLYImageLoader.cpp</a></li>
<li>/tmp/buildd/silly-0.1.0/include/<a class="el" href="a00037_source.html">SILLYImageLoader.icpp</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 10 2012 12:24:15 for Simple Image Loading LibrarY by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>
|