1 | <html> |
---|
2 | <head> |
---|
3 | <title>OgreSearchOps.h File Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>OgreSearchOps.h File Reference</h1><code>#include <string.h></code><br> |
---|
11 | <code>#include <sys/types.h></code><br> |
---|
12 | <code>#include <sys/stat.h></code><br> |
---|
13 | <code>#include <stdlib.h></code><br> |
---|
14 | <code>#include "<a class="el" href="OgrePlatform_8h-source.html">OgrePlatform.h</a>"</code><br> |
---|
15 | <code>#include <dirent.h></code><br> |
---|
16 | <code>#include <unistd.h></code><br> |
---|
17 | <code>#include <fnmatch.h></code><br> |
---|
18 | |
---|
19 | <p> |
---|
20 | <a href="OgreSearchOps_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
21 | <tr><td></td></tr> |
---|
22 | <tr><td colspan=2><br><h2>Classes</h2></td></tr> |
---|
23 | <tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="struct__find__search__t.html">_find_search_t</a></td></tr> |
---|
24 | |
---|
25 | <tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="struct__finddata__t.html">_finddata_t</a></td></tr> |
---|
26 | |
---|
27 | <tr><td colspan=2><br><h2>Defines</h2></td></tr> |
---|
28 | <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="OgreSearchOps_8h.html#a0">MAX_FIND_SEARCHES</a> 10</td></tr> |
---|
29 | |
---|
30 | <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="OgreSearchOps_8h.html#a1">_A_NORMAL</a> 0x00 /* Normalfile-Noread/writerestrictions */</td></tr> |
---|
31 | |
---|
32 | <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="OgreSearchOps_8h.html#a2">_A_RDONLY</a> 0x01 /* Read only file */</td></tr> |
---|
33 | |
---|
34 | <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="OgreSearchOps_8h.html#a3">_A_HIDDEN</a> 0x02 /* Hidden file */</td></tr> |
---|
35 | |
---|
36 | <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="OgreSearchOps_8h.html#a4">_A_SYSTEM</a> 0x04 /* System file */</td></tr> |
---|
37 | |
---|
38 | <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="OgreSearchOps_8h.html#a5">_A_SUBDIR</a> 0x10 /* Subdirectory */</td></tr> |
---|
39 | |
---|
40 | <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="OgreSearchOps_8h.html#a6">_A_ARCH</a> 0x20 /* Archive file */</td></tr> |
---|
41 | |
---|
42 | <tr><td colspan=2><br><h2>Functions</h2></td></tr> |
---|
43 | <tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="OgreSearchOps_8h.html#a7">_findfirst</a> (const char *pattern, struct <a class="el" href="struct__finddata__t.html">_finddata_t</a> *data)</td></tr> |
---|
44 | |
---|
45 | <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="OgreSearchOps_8h.html#a8">_findnext</a> (long <a class="el" href="OgreGLPrerequisites_8h.html#a86">id</a>, struct <a class="el" href="struct__finddata__t.html">_finddata_t</a> *data)</td></tr> |
---|
46 | |
---|
47 | <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="OgreSearchOps_8h.html#a9">_findclose</a> (long <a class="el" href="OgreGLPrerequisites_8h.html#a86">id</a>)</td></tr> |
---|
48 | |
---|
49 | </table> |
---|
50 | <hr><h2>Define Documentation</h2> |
---|
51 | <a class="anchor" name="a6" doxytag="OgreSearchOps.h::_A_ARCH" ></a><p> |
---|
52 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
53 | <tr> |
---|
54 | <td class="mdRow"> |
---|
55 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
56 | <tr> |
---|
57 | <td class="md" nowrap valign="top"> #define _A_ARCH 0x20 /* Archive file */ |
---|
58 | </table> |
---|
59 | </td> |
---|
60 | </tr> |
---|
61 | </table> |
---|
62 | <table cellspacing=5 cellpadding=0 border=0> |
---|
63 | <tr> |
---|
64 | <td> |
---|
65 | |
---|
66 | </td> |
---|
67 | <td> |
---|
68 | |
---|
69 | <p> |
---|
70 | |
---|
71 | <p> |
---|
72 | Definition at line <a class="el" href="OgreSearchOps_8h-source.html#l00069">69</a> of file <a class="el" href="OgreSearchOps_8h-source.html">OgreSearchOps.h</a>. </td> |
---|
73 | </tr> |
---|
74 | </table> |
---|
75 | <a class="anchor" name="a3" doxytag="OgreSearchOps.h::_A_HIDDEN" ></a><p> |
---|
76 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
77 | <tr> |
---|
78 | <td class="mdRow"> |
---|
79 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
80 | <tr> |
---|
81 | <td class="md" nowrap valign="top"> #define _A_HIDDEN 0x02 /* Hidden file */ |
---|
82 | </table> |
---|
83 | </td> |
---|
84 | </tr> |
---|
85 | </table> |
---|
86 | <table cellspacing=5 cellpadding=0 border=0> |
---|
87 | <tr> |
---|
88 | <td> |
---|
89 | |
---|
90 | </td> |
---|
91 | <td> |
---|
92 | |
---|
93 | <p> |
---|
94 | |
---|
95 | <p> |
---|
96 | Definition at line <a class="el" href="OgreSearchOps_8h-source.html#l00063">63</a> of file <a class="el" href="OgreSearchOps_8h-source.html">OgreSearchOps.h</a>. </td> |
---|
97 | </tr> |
---|
98 | </table> |
---|
99 | <a class="anchor" name="a1" doxytag="OgreSearchOps.h::_A_NORMAL" ></a><p> |
---|
100 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
101 | <tr> |
---|
102 | <td class="mdRow"> |
---|
103 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
104 | <tr> |
---|
105 | <td class="md" nowrap valign="top"> #define _A_NORMAL 0x00 /* Normalfile-Noread/writerestrictions */ |
---|
106 | </table> |
---|
107 | </td> |
---|
108 | </tr> |
---|
109 | </table> |
---|
110 | <table cellspacing=5 cellpadding=0 border=0> |
---|
111 | <tr> |
---|
112 | <td> |
---|
113 | |
---|
114 | </td> |
---|
115 | <td> |
---|
116 | |
---|
117 | <p> |
---|
118 | |
---|
119 | <p> |
---|
120 | Definition at line <a class="el" href="OgreSearchOps_8h-source.html#l00059">59</a> of file <a class="el" href="OgreSearchOps_8h-source.html">OgreSearchOps.h</a>. </td> |
---|
121 | </tr> |
---|
122 | </table> |
---|
123 | <a class="anchor" name="a2" doxytag="OgreSearchOps.h::_A_RDONLY" ></a><p> |
---|
124 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
125 | <tr> |
---|
126 | <td class="mdRow"> |
---|
127 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
128 | <tr> |
---|
129 | <td class="md" nowrap valign="top"> #define _A_RDONLY 0x01 /* Read only file */ |
---|
130 | </table> |
---|
131 | </td> |
---|
132 | </tr> |
---|
133 | </table> |
---|
134 | <table cellspacing=5 cellpadding=0 border=0> |
---|
135 | <tr> |
---|
136 | <td> |
---|
137 | |
---|
138 | </td> |
---|
139 | <td> |
---|
140 | |
---|
141 | <p> |
---|
142 | |
---|
143 | <p> |
---|
144 | Definition at line <a class="el" href="OgreSearchOps_8h-source.html#l00061">61</a> of file <a class="el" href="OgreSearchOps_8h-source.html">OgreSearchOps.h</a>. </td> |
---|
145 | </tr> |
---|
146 | </table> |
---|
147 | <a class="anchor" name="a5" doxytag="OgreSearchOps.h::_A_SUBDIR" ></a><p> |
---|
148 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
149 | <tr> |
---|
150 | <td class="mdRow"> |
---|
151 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
152 | <tr> |
---|
153 | <td class="md" nowrap valign="top"> #define _A_SUBDIR 0x10 /* Subdirectory */ |
---|
154 | </table> |
---|
155 | </td> |
---|
156 | </tr> |
---|
157 | </table> |
---|
158 | <table cellspacing=5 cellpadding=0 border=0> |
---|
159 | <tr> |
---|
160 | <td> |
---|
161 | |
---|
162 | </td> |
---|
163 | <td> |
---|
164 | |
---|
165 | <p> |
---|
166 | |
---|
167 | <p> |
---|
168 | Definition at line <a class="el" href="OgreSearchOps_8h-source.html#l00067">67</a> of file <a class="el" href="OgreSearchOps_8h-source.html">OgreSearchOps.h</a>. </td> |
---|
169 | </tr> |
---|
170 | </table> |
---|
171 | <a class="anchor" name="a4" doxytag="OgreSearchOps.h::_A_SYSTEM" ></a><p> |
---|
172 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
173 | <tr> |
---|
174 | <td class="mdRow"> |
---|
175 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
176 | <tr> |
---|
177 | <td class="md" nowrap valign="top"> #define _A_SYSTEM 0x04 /* System file */ |
---|
178 | </table> |
---|
179 | </td> |
---|
180 | </tr> |
---|
181 | </table> |
---|
182 | <table cellspacing=5 cellpadding=0 border=0> |
---|
183 | <tr> |
---|
184 | <td> |
---|
185 | |
---|
186 | </td> |
---|
187 | <td> |
---|
188 | |
---|
189 | <p> |
---|
190 | |
---|
191 | <p> |
---|
192 | Definition at line <a class="el" href="OgreSearchOps_8h-source.html#l00065">65</a> of file <a class="el" href="OgreSearchOps_8h-source.html">OgreSearchOps.h</a>. </td> |
---|
193 | </tr> |
---|
194 | </table> |
---|
195 | <a class="anchor" name="a0" doxytag="OgreSearchOps.h::MAX_FIND_SEARCHES" ></a><p> |
---|
196 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
197 | <tr> |
---|
198 | <td class="mdRow"> |
---|
199 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
200 | <tr> |
---|
201 | <td class="md" nowrap valign="top"> #define MAX_FIND_SEARCHES 10 |
---|
202 | </table> |
---|
203 | </td> |
---|
204 | </tr> |
---|
205 | </table> |
---|
206 | <table cellspacing=5 cellpadding=0 border=0> |
---|
207 | <tr> |
---|
208 | <td> |
---|
209 | |
---|
210 | </td> |
---|
211 | <td> |
---|
212 | |
---|
213 | <p> |
---|
214 | |
---|
215 | <p> |
---|
216 | Definition at line <a class="el" href="OgreSearchOps_8h-source.html#l00042">42</a> of file <a class="el" href="OgreSearchOps_8h-source.html">OgreSearchOps.h</a>. </td> |
---|
217 | </tr> |
---|
218 | </table> |
---|
219 | <hr><h2>Function Documentation</h2> |
---|
220 | <a class="anchor" name="a9" doxytag="OgreSearchOps.h::_findclose" ></a><p> |
---|
221 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
222 | <tr> |
---|
223 | <td class="mdRow"> |
---|
224 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
225 | <tr> |
---|
226 | <td class="md" nowrap valign="top"> int _findclose </td> |
---|
227 | <td class="md" valign="top">( </td> |
---|
228 | <td class="md" nowrap valign="top">long </td> |
---|
229 | <td class="mdname1" valign="top" nowrap> <em>id</em> </td> |
---|
230 | <td class="md" valign="top"> ) </td> |
---|
231 | <td class="md" nowrap></td> |
---|
232 | </tr> |
---|
233 | |
---|
234 | </table> |
---|
235 | </td> |
---|
236 | </tr> |
---|
237 | </table> |
---|
238 | <table cellspacing=5 cellpadding=0 border=0> |
---|
239 | <tr> |
---|
240 | <td> |
---|
241 | |
---|
242 | </td> |
---|
243 | <td> |
---|
244 | |
---|
245 | <p> |
---|
246 | </td> |
---|
247 | </tr> |
---|
248 | </table> |
---|
249 | <a class="anchor" name="a7" doxytag="OgreSearchOps.h::_findfirst" ></a><p> |
---|
250 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
251 | <tr> |
---|
252 | <td class="mdRow"> |
---|
253 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
254 | <tr> |
---|
255 | <td class="md" nowrap valign="top"> long _findfirst </td> |
---|
256 | <td class="md" valign="top">( </td> |
---|
257 | <td class="md" nowrap valign="top">const char * </td> |
---|
258 | <td class="mdname" nowrap> <em>pattern</em>, </td> |
---|
259 | </tr> |
---|
260 | <tr> |
---|
261 | <td class="md" nowrap align="right"></td> |
---|
262 | <td></td> |
---|
263 | <td class="md" nowrap>struct <a class="el" href="struct__finddata__t.html">_finddata_t</a> * </td> |
---|
264 | <td class="mdname" nowrap> <em>data</em></td> |
---|
265 | </tr> |
---|
266 | <tr> |
---|
267 | <td></td> |
---|
268 | <td class="md">) </td> |
---|
269 | <td class="md" colspan="2"></td> |
---|
270 | </tr> |
---|
271 | |
---|
272 | </table> |
---|
273 | </td> |
---|
274 | </tr> |
---|
275 | </table> |
---|
276 | <table cellspacing=5 cellpadding=0 border=0> |
---|
277 | <tr> |
---|
278 | <td> |
---|
279 | |
---|
280 | </td> |
---|
281 | <td> |
---|
282 | |
---|
283 | <p> |
---|
284 | </td> |
---|
285 | </tr> |
---|
286 | </table> |
---|
287 | <a class="anchor" name="a8" doxytag="OgreSearchOps.h::_findnext" ></a><p> |
---|
288 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
289 | <tr> |
---|
290 | <td class="mdRow"> |
---|
291 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
292 | <tr> |
---|
293 | <td class="md" nowrap valign="top"> int _findnext </td> |
---|
294 | <td class="md" valign="top">( </td> |
---|
295 | <td class="md" nowrap valign="top">long </td> |
---|
296 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
297 | </tr> |
---|
298 | <tr> |
---|
299 | <td class="md" nowrap align="right"></td> |
---|
300 | <td></td> |
---|
301 | <td class="md" nowrap>struct <a class="el" href="struct__finddata__t.html">_finddata_t</a> * </td> |
---|
302 | <td class="mdname" nowrap> <em>data</em></td> |
---|
303 | </tr> |
---|
304 | <tr> |
---|
305 | <td></td> |
---|
306 | <td class="md">) </td> |
---|
307 | <td class="md" colspan="2"></td> |
---|
308 | </tr> |
---|
309 | |
---|
310 | </table> |
---|
311 | </td> |
---|
312 | </tr> |
---|
313 | </table> |
---|
314 | <table cellspacing=5 cellpadding=0 border=0> |
---|
315 | <tr> |
---|
316 | <td> |
---|
317 | |
---|
318 | </td> |
---|
319 | <td> |
---|
320 | |
---|
321 | <p> |
---|
322 | </td> |
---|
323 | </tr> |
---|
324 | </table> |
---|
325 | <hr> |
---|
326 | <p> |
---|
327 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
328 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
329 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
330 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
331 | <Work rdf:about=""> |
---|
332 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
333 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
334 | </Work> |
---|
335 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
336 | |
---|
337 | Last modified Sun Feb 12 12:59:57 2006 |
---|
338 | </p> |
---|
339 | </body> |
---|
340 | </html> |
---|