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 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533
|
<!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>wxWidgets: wxFileSystem Class Reference</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" />
<link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="page_container">
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0" style="width: 100%;">
<tbody>
<tr>
<td id="projectlogo">
<a href="http://www.wxwidgets.org/" target="_new">
<img alt="wxWidgets" src="logo.png"/>
</a>
</td>
<td style="padding-left: 0.5em; text-align: right;">
<span id="projectnumber">Version: 3.0.2</span>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.8.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Categories</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="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="classwx_file_system-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">wxFileSystem Class Reference<div class="ingroups"><a class="el" href="group__group__class__vfs.html">Virtual File System</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <wx/filesys.h></code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for wxFileSystem:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classwx_file_system__inherit__graph.png" border="0" usemap="#wx_file_system_inherit__map" alt="Inheritance graph"/></div>
<map name="wx_file_system_inherit__map" id="wx_file_system_inherit__map">
<area shape="rect" id="node2" href="classwx_object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="19,6,93,34"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class provides an interface for opening files on different file systems. </p>
<p>It can handle absolute and/or local filenames.</p>
<p>It uses a system of handlers (see <a class="el" href="classwx_file_system_handler.html" title="Classes derived from wxFileSystemHandler are used to access virtual file systems.">wxFileSystemHandler</a>) to provide access to user-defined virtual file systems.</p>
<h2></h2>
<div><span class="lib">Library:</span>  <span class="lib_text"><a class="el" href="page_libs.html#page_libs_wxbase">wxBase</a></span></div><div><span class="category">Category:</span>  <span class="category_text"><a class="el" href="group__group__class__vfs.html">Virtual File System</a></span></div><dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_file_system_handler.html" title="Classes derived from wxFileSystemHandler are used to access virtual file systems.">wxFileSystemHandler</a>, <a class="el" href="classwx_f_s_file.html" title="This class represents a single file opened by wxFileSystem.">wxFSFile</a>, <a class="el" href="overview_fs.html">wxFileSystem Overview</a> </dd></dl>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4ced950173a56647beb221ab289632f2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#a4ced950173a56647beb221ab289632f2">wxFileSystem</a> ()</td></tr>
<tr class="memdesc:a4ced950173a56647beb221ab289632f2"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a4ced950173a56647beb221ab289632f2"></a><br/></td></tr>
<tr class="separator:a4ced950173a56647beb221ab289632f2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad491d9cb899dcdd3b9960c1974e34da0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#ad491d9cb899dcdd3b9960c1974e34da0">ChangePathTo</a> (const <a class="el" href="classwx_string.html">wxString</a> &location, bool is_dir=false)</td></tr>
<tr class="memdesc:ad491d9cb899dcdd3b9960c1974e34da0"><td class="mdescLeft"> </td><td class="mdescRight">Sets the current location. <a href="#ad491d9cb899dcdd3b9960c1974e34da0"></a><br/></td></tr>
<tr class="separator:ad491d9cb899dcdd3b9960c1974e34da0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa398cf786d93b2033782eb31efb6d63e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#aa398cf786d93b2033782eb31efb6d63e">FindFileInPath</a> (<a class="el" href="classwx_string.html">wxString</a> *pStr, const <a class="el" href="classwx_string.html">wxString</a> &path, const <a class="el" href="classwx_string.html">wxString</a> &file)</td></tr>
<tr class="memdesc:aa398cf786d93b2033782eb31efb6d63e"><td class="mdescLeft"> </td><td class="mdescRight">Looks for the file with the given name <em>file</em> in a colon or semi-colon (depending on the current platform) separated list of directories in <em>path</em>. <a href="#aa398cf786d93b2033782eb31efb6d63e"></a><br/></td></tr>
<tr class="separator:aa398cf786d93b2033782eb31efb6d63e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93f5d9fc8fe388213f8ed7dddc55db71"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#a93f5d9fc8fe388213f8ed7dddc55db71">FindFirst</a> (const <a class="el" href="classwx_string.html">wxString</a> &wildcard, int flags=0)</td></tr>
<tr class="memdesc:a93f5d9fc8fe388213f8ed7dddc55db71"><td class="mdescLeft"> </td><td class="mdescRight">Works like <a class="el" href="group__group__funcmacro__file.html#gab136c4ed6c3d71262d12780b723479ce" title="This function does directory searching; returns the first file that matches the path spec...">wxFindFirstFile()</a>. <a href="#a93f5d9fc8fe388213f8ed7dddc55db71"></a><br/></td></tr>
<tr class="separator:a93f5d9fc8fe388213f8ed7dddc55db71"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae654ed12023c1a1776fdaf340f9012ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#ae654ed12023c1a1776fdaf340f9012ec">FindNext</a> ()</td></tr>
<tr class="memdesc:ae654ed12023c1a1776fdaf340f9012ec"><td class="mdescLeft"> </td><td class="mdescRight">Returns the next filename that matches the parameters passed to <a class="el" href="classwx_file_system.html#a93f5d9fc8fe388213f8ed7dddc55db71" title="Works like wxFindFirstFile().">FindFirst()</a>. <a href="#ae654ed12023c1a1776fdaf340f9012ec"></a><br/></td></tr>
<tr class="separator:ae654ed12023c1a1776fdaf340f9012ec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d259cc06bd84c5292c69acad237dc0a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#a7d259cc06bd84c5292c69acad237dc0a">GetPath</a> () const </td></tr>
<tr class="memdesc:a7d259cc06bd84c5292c69acad237dc0a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the actual path (set by <a class="el" href="classwx_file_system.html#ad491d9cb899dcdd3b9960c1974e34da0" title="Sets the current location.">wxFileSystem::ChangePathTo</a>). <a href="#a7d259cc06bd84c5292c69acad237dc0a"></a><br/></td></tr>
<tr class="separator:a7d259cc06bd84c5292c69acad237dc0a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a01c6b989e86e34da21e94c802e516b16"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_f_s_file.html">wxFSFile</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#a01c6b989e86e34da21e94c802e516b16">OpenFile</a> (const <a class="el" href="classwx_string.html">wxString</a> &location, int flags=<a class="el" href="filesys_8h.html#abe38fc3ba01ed25545f0c841da8c2942a05297883347433d9f47427abbbee8211">wxFS_READ</a>)</td></tr>
<tr class="memdesc:a01c6b989e86e34da21e94c802e516b16"><td class="mdescLeft"> </td><td class="mdescRight">Opens the file and returns a pointer to a <a class="el" href="classwx_f_s_file.html" title="This class represents a single file opened by wxFileSystem.">wxFSFile</a> object or <span class="literal">NULL</span> if failed. <a href="#a01c6b989e86e34da21e94c802e516b16"></a><br/></td></tr>
<tr class="separator:a01c6b989e86e34da21e94c802e516b16"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#acaa378363a28af421ab56ad7b46eadf0">wxObject</a> ()</td></tr>
<tr class="memdesc:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Default ctor; initializes to <span class="literal">NULL</span> the internal reference data. <a href="#acaa378363a28af421ab56ad7b46eadf0"></a><br/></td></tr>
<tr class="separator:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a4721b4dc9b7aff0f30904ba2ea3954cf">wxObject</a> (const <a class="el" href="classwx_object.html">wxObject</a> &other)</td></tr>
<tr class="memdesc:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Copy ctor. <a href="#a4721b4dc9b7aff0f30904ba2ea3954cf"></a><br/></td></tr>
<tr class="separator:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2a51aa8bfbab47ca2f051bcf84b3f35b">~wxObject</a> ()</td></tr>
<tr class="memdesc:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a2a51aa8bfbab47ca2f051bcf84b3f35b"></a><br/></td></tr>
<tr class="separator:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_class_info.html">wxClassInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#ab3a0c6f723cbaddb47be4e8dd98cc8e2">GetClassInfo</a> () const </td></tr>
<tr class="memdesc:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This virtual function is redefined for every class that requires run-time type information, when using the <a class="el" href="group__group__funcmacro__rtti.html#ga20465fc7e022e29a5dacfad46e152e75" title="Used inside a class declaration to declare that the class should be made known to the class hierarchy...">wxDECLARE_CLASS</a> macro (or similar). <a href="#ab3a0c6f723cbaddb47be4e8dd98cc8e2"></a><br/></td></tr>
<tr class="separator:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#aabdb4fc957226544a8408167844e4f42">GetRefData</a> () const </td></tr>
<tr class="memdesc:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer, i.e. the data referenced by this object. <a href="#aabdb4fc957226544a8408167844e4f42"></a><br/></td></tr>
<tr class="separator:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af40d580385cf4f8112fae7713404b01e">IsKindOf</a> (const <a class="el" href="classwx_class_info.html">wxClassInfo</a> *info) const </td></tr>
<tr class="memdesc:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether this class is a subclass of (or the same class as) the given class. <a href="#af40d580385cf4f8112fae7713404b01e"></a><br/></td></tr>
<tr class="separator:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a80a1a3fda7b14396a9ddd3d7a46a88bd">IsSameAs</a> (const <a class="el" href="classwx_object.html">wxObject</a> &obj) const </td></tr>
<tr class="memdesc:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this object has the same data pointer as <em>obj</em>. <a href="#a80a1a3fda7b14396a9ddd3d7a46a88bd"></a><br/></td></tr>
<tr class="separator:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2f6f1aa51fe9fc2b1415ca4211a90e9e">Ref</a> (const <a class="el" href="classwx_object.html">wxObject</a> &clone)</td></tr>
<tr class="memdesc:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Makes this object refer to the data in <em>clone</em>. <a href="#a2f6f1aa51fe9fc2b1415ca4211a90e9e"></a><br/></td></tr>
<tr class="separator:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#afab780710f2adc1bb33310e27590140b">SetRefData</a> (<a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data)</td></tr>
<tr class="memdesc:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer. <a href="#afab780710f2adc1bb33310e27590140b"></a><br/></td></tr>
<tr class="separator:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af51efc6b1ae632fc7f0cd7ebbce9fa36">UnRef</a> ()</td></tr>
<tr class="memdesc:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Decrements the reference count in the associated data, and if it is zero, deletes the data. <a href="#af51efc6b1ae632fc7f0cd7ebbce9fa36"></a><br/></td></tr>
<tr class="separator:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a74b40e42d19a4b9e9bec0b57d62a5725">UnShare</a> ()</td></tr>
<tr class="memdesc:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This is the same of <a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13" title="Ensure that this object's data is not shared with any other object.">AllocExclusive()</a> but this method is public. <a href="#a74b40e42d19a4b9e9bec0b57d62a5725"></a><br/></td></tr>
<tr class="separator:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a07b8f34f5afc5743195c5fed052f55d3">operator delete</a> (void *buf)</td></tr>
<tr class="memdesc:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>delete</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a07b8f34f5afc5743195c5fed052f55d3"></a><br/></td></tr>
<tr class="separator:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a96fa423a1dbc212c8227a5d83825971f">operator new</a> (size_t size, const <a class="el" href="classwx_string.html">wxString</a> &filename=NULL, int lineNum=0)</td></tr>
<tr class="memdesc:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>new</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a96fa423a1dbc212c8227a5d83825971f"></a><br/></td></tr>
<tr class="separator:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a442d841b2baa5a0eb83c3a985b1e3119"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#a442d841b2baa5a0eb83c3a985b1e3119">AddHandler</a> (<a class="el" href="classwx_file_system_handler.html">wxFileSystemHandler</a> *handler)</td></tr>
<tr class="memdesc:a442d841b2baa5a0eb83c3a985b1e3119"><td class="mdescLeft"> </td><td class="mdescRight">This static function adds new handler into the list of handlers (see <a class="el" href="classwx_file_system_handler.html" title="Classes derived from wxFileSystemHandler are used to access virtual file systems.">wxFileSystemHandler</a>) which provide access to virtual FS. <a href="#a442d841b2baa5a0eb83c3a985b1e3119"></a><br/></td></tr>
<tr class="separator:a442d841b2baa5a0eb83c3a985b1e3119"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4dfed1274580f8fcbfd02e27bcb920d1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_file_system_handler.html">wxFileSystemHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#a4dfed1274580f8fcbfd02e27bcb920d1">RemoveHandler</a> (<a class="el" href="classwx_file_system_handler.html">wxFileSystemHandler</a> *handler)</td></tr>
<tr class="memdesc:a4dfed1274580f8fcbfd02e27bcb920d1"><td class="mdescLeft"> </td><td class="mdescRight">Remove a filesystem handler from the list of handlers. <a href="#a4dfed1274580f8fcbfd02e27bcb920d1"></a><br/></td></tr>
<tr class="separator:a4dfed1274580f8fcbfd02e27bcb920d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a616610cafdb14b841940d5e6b08a9615"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#a616610cafdb14b841940d5e6b08a9615">FileNameToURL</a> (const <a class="el" href="classwx_file_name.html">wxFileName</a> &filename)</td></tr>
<tr class="memdesc:a616610cafdb14b841940d5e6b08a9615"><td class="mdescLeft"> </td><td class="mdescRight">Converts a <a class="el" href="classwx_file_name.html" title="wxFileName encapsulates a file name.">wxFileName</a> into an URL. <a href="#a616610cafdb14b841940d5e6b08a9615"></a><br/></td></tr>
<tr class="separator:a616610cafdb14b841940d5e6b08a9615"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6d225954ea267ae5a6808aa61c86175"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#ac6d225954ea267ae5a6808aa61c86175">HasHandlerForPath</a> (const <a class="el" href="classwx_string.html">wxString</a> &location)</td></tr>
<tr class="memdesc:ac6d225954ea267ae5a6808aa61c86175"><td class="mdescLeft"> </td><td class="mdescRight">This static function returns <span class="literal">true</span> if there is a registered handler which can open the given location. <a href="#ac6d225954ea267ae5a6808aa61c86175"></a><br/></td></tr>
<tr class="separator:ac6d225954ea267ae5a6808aa61c86175"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4c8dfb97bf9fdc0c6c1f89050d3c1974"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_file_name.html">wxFileName</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_file_system.html#a4c8dfb97bf9fdc0c6c1f89050d3c1974">URLToFileName</a> (const <a class="el" href="classwx_string.html">wxString</a> &url)</td></tr>
<tr class="memdesc:a4c8dfb97bf9fdc0c6c1f89050d3c1974"><td class="mdescLeft"> </td><td class="mdescRight">Converts URL into a well-formed filename. <a href="#a4c8dfb97bf9fdc0c6c1f89050d3c1974"></a><br/></td></tr>
<tr class="separator:a4c8dfb97bf9fdc0c6c1f89050d3c1974"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwx_object')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13">AllocExclusive</a> ()</td></tr>
<tr class="memdesc:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Ensure that this object's data is not shared with any other object. <a href="#a60204063f3cc3aa2fa1c7ff5bda9eb13"></a><br/></td></tr>
<tr class="separator:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a95c6a5e4e1e03ff23c7b9efe4cff0c1a">CreateRefData</a> () const </td></tr>
<tr class="memdesc:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it. <a href="#a95c6a5e4e1e03ff23c7b9efe4cff0c1a"></a><br/></td></tr>
<tr class="separator:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a1d39f1d3650fe0982c9a1abe7f9fe7b7">CloneRefData</a> (const <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data) const </td></tr>
<tr class="memdesc:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and initializes it copying <em>data</em>. <a href="#a1d39f1d3650fe0982c9a1abe7f9fe7b7"></a><br/></td></tr>
<tr class="separator:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classwx_object')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8">m_refData</a></td></tr>
<tr class="memdesc:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Pointer to an object which is the object's reference-counted data. <a href="#a9e31954530a0abd54982effc443ed2b8"></a><br/></td></tr>
<tr class="separator:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a4ced950173a56647beb221ab289632f2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxFileSystem::wxFileSystem </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<p>The initial current path of this object will be empty (i.e. <a class="el" href="classwx_file_system.html#a7d259cc06bd84c5292c69acad237dc0a" title="Returns the actual path (set by wxFileSystem::ChangePathTo).">GetPath()</a> == wxEmptyString) which means that e.g. <a class="el" href="classwx_file_system.html#a01c6b989e86e34da21e94c802e516b16" title="Opens the file and returns a pointer to a wxFSFile object or NULL if failed.">OpenFile()</a> or <a class="el" href="classwx_file_system.html#a93f5d9fc8fe388213f8ed7dddc55db71" title="Works like wxFindFirstFile().">FindFirst()</a> functions will use current working directory as current path (see also wxGetCwd). </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a442d841b2baa5a0eb83c3a985b1e3119"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void wxFileSystem::AddHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_file_system_handler.html">wxFileSystemHandler</a> * </td>
<td class="paramname"><em>handler</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This static function adds new handler into the list of handlers (see <a class="el" href="classwx_file_system_handler.html" title="Classes derived from wxFileSystemHandler are used to access virtual file systems.">wxFileSystemHandler</a>) which provide access to virtual FS. </p>
<p>Note that if two handlers for the same protocol are added, the last added one takes precedence.</p>
<dl class="section note"><dt>Note</dt><dd>You can call: <div class="fragment"><div class="line"><a class="code" href="classwx_file_system.html#a442d841b2baa5a0eb83c3a985b1e3119" title="This static function adds new handler into the list of handlers (see wxFileSystemHandler) which provi...">wxFileSystem::AddHandler</a>(<span class="keyword">new</span> My_FS_Handler);</div>
</div><!-- fragment --> This is because (a) AddHandler is a static method, and (b) the handlers are deleted in <a class="el" href="classwx_file_system.html" title="This class provides an interface for opening files on different file systems.">wxFileSystem</a>'s destructor so that you don't have to care about it. </dd></dl>
</div>
</div>
<a class="anchor" id="ad491d9cb899dcdd3b9960c1974e34da0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxFileSystem::ChangePathTo </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>is_dir</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the current location. </p>
<p><em>location</em> parameter passed to <a class="el" href="classwx_file_system.html#a01c6b989e86e34da21e94c802e516b16" title="Opens the file and returns a pointer to a wxFSFile object or NULL if failed.">OpenFile()</a> is relative to this path.</p>
<dl class="section remark"><dt>Remarks</dt><dd>Unless <em>is_dir</em> is <span class="literal">true</span> the <em>location</em> parameter is not the directory name but the name of the file in this directory.</dd></dl>
<p>All these commands change the path to "dir/subdir/":</p>
<div class="fragment"><div class="line"><a class="code" href="classwx_file_system.html#ad491d9cb899dcdd3b9960c1974e34da0" title="Sets the current location.">ChangePathTo</a>(<span class="stringliteral">"dir/subdir/xh.htm"</span>);</div>
<div class="line"><a class="code" href="classwx_file_system.html#ad491d9cb899dcdd3b9960c1974e34da0" title="Sets the current location.">ChangePathTo</a>(<span class="stringliteral">"dir/subdir"</span>, <span class="keyword">true</span>);</div>
<div class="line"><a class="code" href="classwx_file_system.html#ad491d9cb899dcdd3b9960c1974e34da0" title="Sets the current location.">ChangePathTo</a>(<span class="stringliteral">"dir/subdir/"</span>, <span class="keyword">true</span>);</div>
</div><!-- fragment --><p>Example: </p>
<div class="fragment"><div class="line">f = fs->OpenFile(<span class="stringliteral">"hello.htm"</span>); <span class="comment">// opens file 'hello.htm'</span></div>
<div class="line">fs->ChangePathTo(<span class="stringliteral">"subdir/folder"</span>, <span class="keyword">true</span>);</div>
<div class="line">f = fs->OpenFile(<span class="stringliteral">"hello.htm"</span>); <span class="comment">// opens file 'subdir/folder/hello.htm' !!</span></div>
</div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">location</td><td>the new location. Its meaning depends on the value of is_dir </td></tr>
<tr><td class="paramname">is_dir</td><td>if <span class="literal">true</span> location is new directory. If <span class="literal">false</span> (the default) location is file in the new directory. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a616610cafdb14b841940d5e6b08a9615"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxFileSystem::FileNameToURL </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_file_name.html">wxFileName</a> & </td>
<td class="paramname"><em>filename</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a <a class="el" href="classwx_file_name.html" title="wxFileName encapsulates a file name.">wxFileName</a> into an URL. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_file_system.html#a4c8dfb97bf9fdc0c6c1f89050d3c1974" title="Converts URL into a well-formed filename.">URLToFileName()</a>, <a class="el" href="classwx_file_name.html" title="wxFileName encapsulates a file name.">wxFileName</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa398cf786d93b2033782eb31efb6d63e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxFileSystem::FindFileInPath </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_string.html">wxString</a> * </td>
<td class="paramname"><em>pStr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>file</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Looks for the file with the given name <em>file</em> in a colon or semi-colon (depending on the current platform) separated list of directories in <em>path</em>. </p>
<p>If the file is found in any directory, returns <span class="literal">true</span> and the full path of the file in <em>str</em>, otherwise returns <span class="literal">false</span> and doesn't modify <em>str</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pStr</td><td>Receives the full path of the file, must not be <span class="literal">NULL</span> </td></tr>
<tr><td class="paramname">path</td><td>wxPATH_SEP-separated list of directories </td></tr>
<tr><td class="paramname">file</td><td>the name of the file to look for </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a93f5d9fc8fe388213f8ed7dddc55db71"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxFileSystem::FindFirst </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>wildcard</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Works like <a class="el" href="group__group__funcmacro__file.html#gab136c4ed6c3d71262d12780b723479ce" title="This function does directory searching; returns the first file that matches the path spec...">wxFindFirstFile()</a>. </p>
<p>Returns the name of the first filename (within filesystem's current path) that matches <em>wildcard</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">wildcard</td><td>The wildcard that the filename must match </td></tr>
<tr><td class="paramname">flags</td><td>One of wxFILE (only files), wxDIR (only directories) or 0 (both). </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae654ed12023c1a1776fdaf340f9012ec"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxFileSystem::FindNext </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the next filename that matches the parameters passed to <a class="el" href="classwx_file_system.html#a93f5d9fc8fe388213f8ed7dddc55db71" title="Works like wxFindFirstFile().">FindFirst()</a>. </p>
</div>
</div>
<a class="anchor" id="a7d259cc06bd84c5292c69acad237dc0a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxFileSystem::GetPath </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the actual path (set by <a class="el" href="classwx_file_system.html#ad491d9cb899dcdd3b9960c1974e34da0" title="Sets the current location.">wxFileSystem::ChangePathTo</a>). </p>
</div>
</div>
<a class="anchor" id="ac6d225954ea267ae5a6808aa61c86175"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool wxFileSystem::HasHandlerForPath </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>location</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This static function returns <span class="literal">true</span> if there is a registered handler which can open the given location. </p>
</div>
</div>
<a class="anchor" id="a01c6b989e86e34da21e94c802e516b16"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_f_s_file.html">wxFSFile</a>* wxFileSystem::OpenFile </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em> = <code><a class="el" href="filesys_8h.html#abe38fc3ba01ed25545f0c841da8c2942a05297883347433d9f47427abbbee8211">wxFS_READ</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Opens the file and returns a pointer to a <a class="el" href="classwx_f_s_file.html" title="This class represents a single file opened by wxFileSystem.">wxFSFile</a> object or <span class="literal">NULL</span> if failed. </p>
<p>It first tries to open the file in relative scope (based on value passed to <a class="el" href="classwx_file_system.html#ad491d9cb899dcdd3b9960c1974e34da0" title="Sets the current location.">ChangePathTo()</a> method) and then as an absolute path.</p>
<p>Note that the user is responsible for deleting the returned <a class="el" href="classwx_f_s_file.html" title="This class represents a single file opened by wxFileSystem.">wxFSFile</a>. <em>flags</em> can be one or more of the <a class="el" href="filesys_8h.html#abe38fc3ba01ed25545f0c841da8c2942" title="Open Bit Flags.">wxFileSystemOpenFlags</a> values combined together.</p>
<p>A stream opened with just the default <em>wxFS_READ</em> flag may or may not be seekable depending on the underlying source.</p>
<p>Passing <em>"wxFS_READ | wxFS_SEEKABLE"</em> for <em>flags</em> will back a stream that is not natively seekable with memory or a file and return a stream that is always seekable.</p>
<dl class="section note"><dt>Note</dt><dd>The <em>location</em> argument is, despite this method's name <em>not</em> a filename. It is a "location", aka <a class="el" href="classwx_file_system.html" title="This class provides an interface for opening files on different file systems.">wxFileSystem</a> URL (see <a class="el" href="overview_fs.html">wxFileSystem Overview</a>). </dd></dl>
</div>
</div>
<a class="anchor" id="a4dfed1274580f8fcbfd02e27bcb920d1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_file_system_handler.html">wxFileSystemHandler</a>* wxFileSystem::RemoveHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_file_system_handler.html">wxFileSystemHandler</a> * </td>
<td class="paramname"><em>handler</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Remove a filesystem handler from the list of handlers. </p>
</div>
</div>
<a class="anchor" id="a4c8dfb97bf9fdc0c6c1f89050d3c1974"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_file_name.html">wxFileName</a> wxFileSystem::URLToFileName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>url</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts URL into a well-formed filename. </p>
<p>The URL must use the <code>file</code> protocol. </p>
</div>
</div>
</div><!-- contents -->
<address class="footer">
<small>
Generated on Thu Nov 27 2014 13:46:47 for wxWidgets by <a href="http://www.doxygen.org/index.html" target="_new">Doxygen</a> 1.8.2
</small>
</address>
<script src="wxwidgets.js" type="text/javascript"></script>
</div><!-- #page_container -->
</body>
</html>
|