aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html')
-rw-r--r--src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html223
1 files changed, 223 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html
new file mode 100644
index 0000000..c0f9a7c
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html
@@ -0,0 +1,223 @@
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<title>Irrlicht 3D Engine: irr::io::IFileReadCallBack Class Reference</title>
6
7<link href="tabs.css" rel="stylesheet" type="text/css"/>
8<link href="doxygen.css" rel="stylesheet" type="text/css" />
9<link href="navtree.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="resize.js"></script>
12<script type="text/javascript" src="navtree.js"></script>
13<script type="text/javascript">
14 $(document).ready(initResizable);
15</script>
16<link href="search/search.css" rel="stylesheet" type="text/css"/>
17<script type="text/javascript" src="search/search.js"></script>
18<script type="text/javascript">
19 $(document).ready(function() { searchBox.OnSelectItem(0); });
20</script>
21
22</head>
23<body>
24<div id="top"><!-- do not remove this div! -->
25
26
27<div id="titlearea">
28<table cellspacing="0" cellpadding="0">
29 <tbody>
30 <tr style="height: 56px;">
31
32 <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
33
34
35 <td style="padding-left: 0.5em;">
36 <div id="projectname">Irrlicht 3D Engine
37
38 </div>
39
40 </td>
41
42
43
44
45 <td> <div id="MSearchBox" class="MSearchBoxInactive">
46 <span class="left">
47 <img id="MSearchSelect" src="search/mag_sel.png"
48 onmouseover="return searchBox.OnSearchSelectShow()"
49 onmouseout="return searchBox.OnSearchSelectHide()"
50 alt=""/>
51 <input type="text" id="MSearchField" value="Search" accesskey="S"
52 onfocus="searchBox.OnSearchFieldFocus(true)"
53 onblur="searchBox.OnSearchFieldFocus(false)"
54 onkeyup="searchBox.OnSearchFieldChange(event)"/>
55 </span><span class="right">
56 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
57 </span>
58 </div>
59</td>
60
61
62 </tr>
63 </tbody>
64</table>
65</div>
66
67<!-- Generated by Doxygen 1.7.5.1 -->
68<script type="text/javascript">
69var searchBox = new SearchBox("searchBox", "search",false,'Search');
70</script>
71<script type="text/javascript" src="dynsections.js"></script>
72</div>
73<div id="side-nav" class="ui-resizable side-nav-resizable">
74 <div id="nav-tree">
75 <div id="nav-tree-contents">
76 </div>
77 </div>
78 <div id="splitbar" style="-moz-user-select:none;"
79 class="ui-resizable-handle">
80 </div>
81</div>
82<script type="text/javascript">
83 initNavTree('classirr_1_1io_1_1_i_file_read_call_back.html','');
84</script>
85<div id="doc-content">
86<div class="header">
87 <div class="summary">
88<a href="#pub-methods">Public Member Functions</a> </div>
89 <div class="headertitle">
90<div class="title">irr::io::IFileReadCallBack Class Reference</div> </div>
91</div>
92<div class="contents">
93<!-- doxytag: class="irr::io::IFileReadCallBack" -->
94<p>Callback class for file read abstraction.
95 <a href="classirr_1_1io_1_1_i_file_read_call_back.html#details">More...</a></p>
96
97<p><code>#include &lt;<a class="el" href="irr_x_m_l_8h_source.html">irrXML.h</a>&gt;</code></p>
98
99<p><a href="classirr_1_1io_1_1_i_file_read_call_back-members.html">List of all members.</a></p>
100<h2><a name="pub-methods"></a>
101Public Member Functions</h2>
102<ul>
103<li>virtual <a class="el" href="classirr_1_1io_1_1_i_file_read_call_back.html#a91ace84f0a3966d88d78da5342eb9619">~IFileReadCallBack</a> ()
104<dl class="el"><dd class="mdescRight">Destructor. <a href="#a91ace84f0a3966d88d78da5342eb9619"></a><br/></dl><li>virtual long <a class="el" href="classirr_1_1io_1_1_i_file_read_call_back.html#aba9a5b45e5cdead9fb12def3069bd0ec">getSize</a> () const =0
105<dl class="el"><dd class="mdescRight">Returns size of file in bytes. <a href="#aba9a5b45e5cdead9fb12def3069bd0ec"></a><br/></dl><li>virtual int <a class="el" href="classirr_1_1io_1_1_i_file_read_call_back.html#ae8c57b8454078aa2acd39772a6aa4439">read</a> (void *buffer, int sizeToRead)=0
106<dl class="el"><dd class="mdescRight">Reads an amount of bytes from the file. <a href="#ae8c57b8454078aa2acd39772a6aa4439"></a><br/></dl></ul>
107<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
108<div class="textblock"><p>Callback class for file read abstraction. </p>
109<p>With this, it is possible to make the xml parser read in other things than just files. The Irrlicht engine is using this for example to read xml from compressed .zip files. To make the parser read in any other data, derive a class from this interface, implement the two methods to read your data and give a pointer to an instance of your implementation when calling <a class="el" href="namespaceirr_1_1io.html#a581f4d4648398759c61266d63d7106b1" title="Creates an instance of an UFT-8 or ASCII character xml parser.">createIrrXMLReader()</a>, <a class="el" href="namespaceirr_1_1io.html#a86473ef152c15b685af181a4c5461a5d" title="Creates an instance of an UFT-16 xml parser.">createIrrXMLReaderUTF16()</a> or <a class="el" href="namespaceirr_1_1io.html#ae05bf7ee342431ea8c98fb98e75b974a" title="Creates an instance of an UFT-32 xml parser.">createIrrXMLReaderUTF32()</a> </p>
110
111<p>Definition at line <a class="el" href="irr_x_m_l_8h_source.html#l00214">214</a> of file <a class="el" href="irr_x_m_l_8h_source.html">irrXML.h</a>.</p>
112</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
113<a class="anchor" id="a91ace84f0a3966d88d78da5342eb9619"></a><!-- doxytag: member="irr::io::IFileReadCallBack::~IFileReadCallBack" ref="a91ace84f0a3966d88d78da5342eb9619" args="()" -->
114<div class="memitem">
115<div class="memproto">
116 <table class="memname">
117 <tr>
118 <td class="memname">virtual irr::io::IFileReadCallBack::~IFileReadCallBack </td>
119 <td>(</td>
120 <td class="paramname"></td><td>)</td>
121 <td><code> [inline, virtual]</code></td>
122 </tr>
123 </table>
124</div>
125<div class="memdoc">
126
127<p>Destructor. </p>
128
129<p>Definition at line <a class="el" href="irr_x_m_l_8h_source.html#l00219">219</a> of file <a class="el" href="irr_x_m_l_8h_source.html">irrXML.h</a>.</p>
130
131</div>
132</div>
133<hr/><h2>Member Function Documentation</h2>
134<a class="anchor" id="aba9a5b45e5cdead9fb12def3069bd0ec"></a><!-- doxytag: member="irr::io::IFileReadCallBack::getSize" ref="aba9a5b45e5cdead9fb12def3069bd0ec" args="() const =0" -->
135<div class="memitem">
136<div class="memproto">
137 <table class="memname">
138 <tr>
139 <td class="memname">virtual long irr::io::IFileReadCallBack::getSize </td>
140 <td>(</td>
141 <td class="paramname"></td><td>)</td>
142 <td> const<code> [pure virtual]</code></td>
143 </tr>
144 </table>
145</div>
146<div class="memdoc">
147
148<p>Returns size of file in bytes. </p>
149
150</div>
151</div>
152<a class="anchor" id="ae8c57b8454078aa2acd39772a6aa4439"></a><!-- doxytag: member="irr::io::IFileReadCallBack::read" ref="ae8c57b8454078aa2acd39772a6aa4439" args="(void *buffer, int sizeToRead)=0" -->
153<div class="memitem">
154<div class="memproto">
155 <table class="memname">
156 <tr>
157 <td class="memname">virtual int irr::io::IFileReadCallBack::read </td>
158 <td>(</td>
159 <td class="paramtype">void *&#160;</td>
160 <td class="paramname"><em>buffer</em>, </td>
161 </tr>
162 <tr>
163 <td class="paramkey"></td>
164 <td></td>
165 <td class="paramtype">int&#160;</td>
166 <td class="paramname"><em>sizeToRead</em>&#160;</td>
167 </tr>
168 <tr>
169 <td></td>
170 <td>)</td>
171 <td></td><td><code> [pure virtual]</code></td>
172 </tr>
173 </table>
174</div>
175<div class="memdoc">
176
177<p>Reads an amount of bytes from the file. </p>
178<dl><dt><b>Parameters:</b></dt><dd>
179 <table class="params">
180 <tr><td class="paramname">buffer,:</td><td>Pointer to buffer where to read bytes will be written to. </td></tr>
181 <tr><td class="paramname">sizeToRead,:</td><td>Amount of bytes to read from the file. </td></tr>
182 </table>
183 </dd>
184</dl>
185<dl class="return"><dt><b>Returns:</b></dt><dd>Returns how much bytes were read. </dd></dl>
186
187</div>
188</div>
189<hr/>The documentation for this class was generated from the following file:<ul>
190<li><a class="el" href="irr_x_m_l_8h_source.html">irrXML.h</a></li>
191</ul>
192</div>
193</div>
194 <div id="nav-path" class="navpath">
195 <ul>
196 <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li>
197 <li class="navelem"><a class="el" href="namespaceirr_1_1io.html">io</a> </li>
198 <li class="navelem"><a class="el" href="classirr_1_1io_1_1_i_file_read_call_back.html">IFileReadCallBack</a> </li>
199<!-- window showing the filter options -->
200<div id="MSearchSelectWindow"
201 onmouseover="return searchBox.OnSearchSelectShow()"
202 onmouseout="return searchBox.OnSearchSelectHide()"
203 onkeydown="return searchBox.OnSearchSelectKey(event)">
204<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>
205
206<!-- iframe showing the search results (closed by default) -->
207<div id="MSearchResultsWindow">
208<iframe src="javascript:void(0)" frameborder="0"
209 name="MSearchResults" id="MSearchResults">
210</iframe>
211</div>
212
213
214 <li class="footer">
215<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
216Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:45 for Irrlicht 3D Engine by
217<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
218 </ul>
219 </div>
220
221
222</body>
223</html>