<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Irrlicht Engine: IFileSystem.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table class="irrlicht" > <tr valign="middle"> <td><font size="2"><a class="qindex" href="index.html"><font color="#FFFFFF">Home</font></a> | <a class="qindex" href="namespaces.html"><font color="#FFFFFF">Namespaces</font></a> | <a class="qindex" href="hierarchy.html"><font color="#FFFFFF">Hierarchy</font></a> | <a class="qindex" href="classes.html"><font color="#FFFFFF">Alphabetical List</font></a> | <a class="qindex" href="annotated.html"><font color="#FFFFFF"> Class list</font></a> | <a class="qindex" href="files.html"><font color="#FFFFFF">Files</font></a> | <a class="qindex" href="namespacemembers.html"><font color="#FFFFFF"> Namespace Members</font></a> | <a class="qindex" href="functions.html"><font color="#FFFFFF">Class members</font></a> | <a class="qindex" href="globals.html"><font color="#FFFFFF">File members</font></a> | <a class="qindex" href="pages.html"><font color="#FFFFFF">Tutorials</font></a></font> </td> </tr> </table> <!-- Generated by Doxygen 1.5.6 --> <h1>IFileSystem.h</h1><a href="_i_file_system_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2009 Nikolaus Gebhardt</span> <a name="l00002"></a>00002 <span class="comment">// This file is part of the "Irrlicht Engine".</span> <a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span> <a name="l00004"></a>00004 <a name="l00005"></a>00005 <span class="preprocessor">#ifndef __I_FILE_SYSTEM_H_INCLUDED__</span> <a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __I_FILE_SYSTEM_H_INCLUDED__</span> <a name="l00007"></a>00007 <span class="preprocessor"></span> <a name="l00008"></a>00008 <span class="preprocessor">#include "<a class="code" href="_i_reference_counted_8h.html">IReferenceCounted.h</a>"</span> <a name="l00009"></a>00009 <span class="preprocessor">#include "<a class="code" href="_i_x_m_l_reader_8h.html">IXMLReader.h</a>"</span> <a name="l00010"></a>00010 <span class="preprocessor">#include "<a class="code" href="_i_file_archive_8h.html">IFileArchive.h</a>"</span> <a name="l00011"></a>00011 <a name="l00012"></a>00012 <span class="keyword">namespace </span>irr <a name="l00013"></a>00013 { <a name="l00014"></a>00014 <span class="keyword">namespace </span>video <a name="l00015"></a>00015 { <a name="l00016"></a>00016 <span class="keyword">class </span>IVideoDriver; <a name="l00017"></a>00017 } <span class="comment">// end namespace video</span> <a name="l00018"></a>00018 <span class="keyword">namespace </span>io <a name="l00019"></a>00019 { <a name="l00020"></a>00020 <a name="l00021"></a>00021 <span class="keyword">class </span>IReadFile; <a name="l00022"></a>00022 <span class="keyword">class </span>IWriteFile; <a name="l00023"></a>00023 <span class="keyword">class </span>IFileList; <a name="l00024"></a>00024 <span class="keyword">class </span>IXMLWriter; <a name="l00025"></a>00025 <span class="keyword">class </span>IAttributes; <a name="l00026"></a>00026 <a name="l00027"></a>00027 <a name="l00029"></a>00029 <a name="l00032"></a><a class="code" href="classirr_1_1io_1_1_i_file_system.html">00032</a> <span class="keyword">class </span><a class="code" href="classirr_1_1io_1_1_i_file_system.html" title="The FileSystem manages files and archives and provides access to them.">IFileSystem</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine.">IReferenceCounted</a> <a name="l00033"></a>00033 { <a name="l00034"></a>00034 <span class="keyword">public</span>: <a name="l00035"></a>00035 <a name="l00037"></a>00037 <a name="l00041"></a>00041 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_read_file.html" title="Interface providing read acess to a file.">IReadFile</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#3678bb77e12cc6ee2b3947f4c79f6c90" title="Opens a file for read access.">createAndOpenFile</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename) =0; <a name="l00042"></a>00042 <a name="l00044"></a>00044 <a name="l00054"></a>00054 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_read_file.html" title="Interface providing read acess to a file.">IReadFile</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#c60a4b7912a7f2364426dc1aaf9bccae" title="Creates an IReadFile interface for accessing memory like a file.">createMemoryReadFile</a>(<span class="keywordtype">void</span>* memory, <a class="code" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> len, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& fileName, <span class="keywordtype">bool</span> deleteMemoryWhenDropped=<span class="keyword">false</span>) =0; <a name="l00055"></a>00055 <a name="l00057"></a>00057 <a name="l00066"></a>00066 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_read_file.html" title="Interface providing read acess to a file.">IReadFile</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#8b110f1ed6f52098753b7a558c020dbc" title="Creates an IReadFile interface for accessing files inside files.">createLimitReadFile</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& fileName, <a name="l00067"></a>00067 <a class="code" href="classirr_1_1io_1_1_i_read_file.html" title="Interface providing read acess to a file.">IReadFile</a>* alreadyOpenedFile, <span class="keywordtype">long</span> pos, <span class="keywordtype">long</span> areaSize) =0; <a name="l00068"></a>00068 <a name="l00070"></a>00070 <a name="l00081"></a>00081 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_write_file.html" title="Interface providing write acess to a file.">IWriteFile</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#568dd1e737fe3d3222b2e4ca2b6ebad3" title="Creates an IWriteFile interface for accessing memory like a file.">createMemoryWriteFile</a>(<span class="keywordtype">void</span>* memory, <a class="code" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> len, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& fileName, <span class="keywordtype">bool</span> deleteMemoryWhenDropped=<span class="keyword">false</span>) =0; <a name="l00082"></a>00082 <a name="l00083"></a>00083 <a name="l00085"></a>00085 <a name="l00092"></a>00092 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_write_file.html" title="Interface providing write acess to a file.">IWriteFile</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#f0ed28b697936ee8aa60a5a0877ac90a" title="Opens a file for write access.">createAndWriteFile</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename, <span class="keywordtype">bool</span> append=<span class="keyword">false</span>) =0; <a name="l00093"></a>00093 <a name="l00095"></a>00095 <a name="l00109"></a>00109 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#836dd4f815fb0cee9f515e25577185a8" title="Adds an archive to the file system.">addFileArchive</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename, <span class="keywordtype">bool</span> ignoreCase=<span class="keyword">true</span>, <span class="keywordtype">bool</span> ignorePaths=<span class="keyword">true</span>, <a name="l00110"></a>00110 <a class="code" href="namespaceirr_1_1io.html#db3e3c445ec8e608ed1f0f93306da14f" title="Contains the different types of archives.">E_FILE_ARCHIVE_TYPE</a> archiveType=<a class="code" href="namespaceirr_1_1io.html#db3e3c445ec8e608ed1f0f93306da14f2c2aea9bc955ae4e0d29071ba66ff8dc" title="The type of this archive is unknown.">EFAT_UNKNOWN</a>) =0; <a name="l00111"></a>00111 <a name="l00113"></a>00113 <a name="l00115"></a>00115 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#d56456302b4697c49b461a909d9269b9" title="Adds an external archive loader to the engine.">addArchiveLoader</a>(<a class="code" href="classirr_1_1io_1_1_i_archive_loader.html" title="Class which is able to create an archive from a file.">IArchiveLoader</a>* loader) =0; <a name="l00116"></a>00116 <a name="l00118"></a>00118 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#85862865f72b1e187402365e4236dce0" title="Returns the number of archives currently attached to the file system.">getFileArchiveCount</a>() <span class="keyword">const</span> =0; <a name="l00119"></a>00119 <a name="l00121"></a>00121 <a name="l00125"></a>00125 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#a509623756c9bcbc3a9bcf455ea2a3ba" title="Removes an archive from the file system.">removeFileArchive</a>(<a class="code" href="namespaceirr.html#0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index) =0; <a name="l00126"></a>00126 <a name="l00128"></a>00128 <a name="l00133"></a>00133 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#a509623756c9bcbc3a9bcf455ea2a3ba" title="Removes an archive from the file system.">removeFileArchive</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename) =0; <a name="l00134"></a>00134 <a name="l00136"></a>00136 <a name="l00139"></a>00139 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#e8530fb9793373cf4dbee956090e99f6" title="Changes the search order of attached archives.">moveFileArchive</a>(<a class="code" href="namespaceirr.html#0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> sourceIndex, <a class="code" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> relative) =0; <a name="l00140"></a>00140 <a name="l00142"></a>00142 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_file_archive.html" title="The FileArchive manages archives and provides access to files inside them.">IFileArchive</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#1ac4bfb7bfd7d2961af8e5c128190fae" title="Returns the archive at a given index.">getFileArchive</a>(<a class="code" href="namespaceirr.html#0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index) =0; <a name="l00143"></a>00143 <a name="l00145"></a>00145 <a name="l00156"></a><a class="code" href="classirr_1_1io_1_1_i_file_system.html#1353b11c576dfb60ac20c2a7ad835511">00156</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#1353b11c576dfb60ac20c2a7ad835511" title="Adds a zip archive to the file system. Deprecated! This function is provided for...">addZipFileArchive</a>(<span class="keyword">const</span> <a class="code" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410" title="8 bit character variable.">c8</a>* filename, <span class="keywordtype">bool</span> ignoreCase=<span class="keyword">true</span>, <span class="keywordtype">bool</span> ignorePaths=<span class="keyword">true</span>) <a name="l00157"></a>00157 { <a name="l00158"></a>00158 <span class="keywordflow">return</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#836dd4f815fb0cee9f515e25577185a8" title="Adds an archive to the file system.">addFileArchive</a>(filename, ignoreCase, ignorePaths, <a class="code" href="namespaceirr_1_1io.html#db3e3c445ec8e608ed1f0f93306da14f63010a52f2efb42f3c85b91ecf077004" title="A PKZIP archive.">EFAT_ZIP</a>); <a name="l00159"></a>00159 } <a name="l00160"></a>00160 <a name="l00162"></a>00162 <a name="l00171"></a><a class="code" href="classirr_1_1io_1_1_i_file_system.html#8ae2dbe12a586b392d4660979e4bcfae">00171</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#8ae2dbe12a586b392d4660979e4bcfae" title="Adds an unzipped archive (or basedirectory with subdirectories..) to the file system...">addFolderFileArchive</a>(<span class="keyword">const</span> <a class="code" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410" title="8 bit character variable.">c8</a>* filename, <span class="keywordtype">bool</span> ignoreCase=<span class="keyword">true</span>, <span class="keywordtype">bool</span> ignorePaths=<span class="keyword">true</span>) <a name="l00172"></a>00172 { <a name="l00173"></a>00173 <span class="keywordflow">return</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#836dd4f815fb0cee9f515e25577185a8" title="Adds an archive to the file system.">addFileArchive</a>(filename, ignoreCase, ignorePaths, <a class="code" href="namespaceirr_1_1io.html#db3e3c445ec8e608ed1f0f93306da14f1d1f159095f087da5647835b47cd85d4" title="A virtual directory.">EFAT_FOLDER</a>); <a name="l00174"></a>00174 } <a name="l00175"></a>00175 <a name="l00177"></a>00177 <a name="l00188"></a><a class="code" href="classirr_1_1io_1_1_i_file_system.html#ac14d7b80c6e1982db6765e8df520ac6">00188</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#ac14d7b80c6e1982db6765e8df520ac6" title="Adds a pak archive to the file system.">addPakFileArchive</a>(<span class="keyword">const</span> <a class="code" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410" title="8 bit character variable.">c8</a>* filename, <span class="keywordtype">bool</span> ignoreCase=<span class="keyword">true</span>, <span class="keywordtype">bool</span> ignorePaths=<span class="keyword">true</span>) <a name="l00189"></a>00189 { <a name="l00190"></a>00190 <span class="keywordflow">return</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#836dd4f815fb0cee9f515e25577185a8" title="Adds an archive to the file system.">addFileArchive</a>(filename, ignoreCase, ignorePaths, <a class="code" href="namespaceirr_1_1io.html#db3e3c445ec8e608ed1f0f93306da14fae9e1788acfc49c30a77f80f5ced7cf5" title="An ID Software PAK archive.">EFAT_PAK</a>); <a name="l00191"></a>00191 } <a name="l00192"></a>00192 <a name="l00194"></a>00194 <a name="l00195"></a>00195 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& <a class="code" href="classirr_1_1io_1_1_i_file_system.html#cbf7342afa6e2fc9583db3e521e66e61" title="Get the current working directory.">getWorkingDirectory</a>() =0; <a name="l00196"></a>00196 <a name="l00198"></a>00198 <a name="l00202"></a>00202 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#8859a2bed44815eeccc4fbcef189b073" title="Changes the current working directory.">changeWorkingDirectoryTo</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& newDirectory) =0; <a name="l00203"></a>00203 <a name="l00205"></a>00205 <a name="l00207"></a>00207 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#77191d7917349a0200f5de3ef29acd18" title="Converts a relative path to an absolute (unique) path, resolving symbolic links if...">getAbsolutePath</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename) <span class="keyword">const</span> =0; <a name="l00208"></a>00208 <a name="l00210"></a>00210 <a name="l00212"></a>00212 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#d8b7b93f32f58c1ba9a8e7cacd5de80b" title="Returns the directory a file is located in.">getFileDir</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename) <span class="keyword">const</span> =0; <a name="l00213"></a>00213 <a name="l00215"></a>00215 <a name="l00219"></a>00219 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#4235989e4ec21c78f1fd1ca861980c6c" title="Returns the base part of a filename, i.e. the name without the directory part.">getFileBasename</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename, <span class="keywordtype">bool</span> keepExtension=<span class="keyword">true</span>) <span class="keyword">const</span> =0; <a name="l00220"></a>00220 <a name="l00222"></a>00222 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& <a class="code" href="classirr_1_1io_1_1_i_file_system.html#a76bbc9cc5ec7a8dbe96713f1ba20de6" title="flatten a path and file name for example: &quot;/you/me/../.&quot; becomes &quot;/you&quot;...">flattenFilename</a>(<a class="code" href="classirr_1_1core_1_1string.html">path</a>& directory, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& root=<span class="stringliteral">"/"</span>) <span class="keyword">const</span> =0; <a name="l00223"></a>00223 <a name="l00225"></a>00225 <a name="l00228"></a>00228 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_file_list.html" title="Provides a list of files and folders.">IFileList</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#d5820e7664377c12015ea7a6c801f7f8" title="Creates a list of files and directories in the current working directory and returns...">createFileList</a>() =0; <a name="l00229"></a>00229 <a name="l00231"></a>00231 <a name="l00234"></a>00234 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_file_list.html" title="Provides a list of files and folders.">IFileList</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#4f8a69f557f2b7022f6cd7346c3e85d2" title="Creates an empty filelist.">createEmptyFileList</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">io::path</a>& <a class="code" href="classirr_1_1core_1_1string.html">path</a>, <span class="keywordtype">bool</span> ignoreCase, <span class="keywordtype">bool</span> ignorePaths) =0; <a name="l00235"></a>00235 <a name="l00237"></a>00237 <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1io.html#22364f1caf06442a70f6198025af3fe9" title="FileSystemType: which Filesystem should be used for e.g. browsing.">EFileSystemType</a> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#767614d727f0b1ec0bc5fdaaf906169b" title="Set the active type of file system.">setFileListSystem</a>(<a class="code" href="namespaceirr_1_1io.html#22364f1caf06442a70f6198025af3fe9" title="FileSystemType: which Filesystem should be used for e.g. browsing.">EFileSystemType</a> listType) =0; <a name="l00238"></a>00238 <a name="l00240"></a>00240 <a name="l00242"></a>00242 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html#1c5e98bc16e38b1d15b44e24b1b3bd32" title="Determines if a file exists and could be opened.">existFile</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename) <span class="keyword">const</span> =0; <a name="l00243"></a>00243 <a name="l00245"></a>00245 <a name="l00251"></a>00251 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_irr_x_m_l_reader.html" title="Interface providing easy read access to a XML file.">IXMLReader</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#167c9fa159d16ee5c56c074636b0865e" title="Creates a XML Reader from a file which returns all parsed strings as wide characters...">createXMLReader</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename) =0; <a name="l00252"></a>00252 <a name="l00254"></a>00254 <a name="l00260"></a>00260 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_irr_x_m_l_reader.html" title="Interface providing easy read access to a XML file.">IXMLReader</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#167c9fa159d16ee5c56c074636b0865e" title="Creates a XML Reader from a file which returns all parsed strings as wide characters...">createXMLReader</a>(<a class="code" href="classirr_1_1io_1_1_i_read_file.html" title="Interface providing read acess to a file.">IReadFile</a>* file) =0; <a name="l00261"></a>00261 <a name="l00263"></a>00263 <a name="l00269"></a>00269 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_irr_x_m_l_reader.html" title="Interface providing easy read access to a XML file.">IXMLReaderUTF8</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#ffd8f622ac7c3dcd507f20f9cd23b21f" title="Creates a XML Reader from a file which returns all parsed strings as ASCII/UTF-8...">createXMLReaderUTF8</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename) =0; <a name="l00270"></a>00270 <a name="l00272"></a>00272 <a name="l00278"></a>00278 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_irr_x_m_l_reader.html" title="Interface providing easy read access to a XML file.">IXMLReaderUTF8</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#ffd8f622ac7c3dcd507f20f9cd23b21f" title="Creates a XML Reader from a file which returns all parsed strings as ASCII/UTF-8...">createXMLReaderUTF8</a>(<a class="code" href="classirr_1_1io_1_1_i_read_file.html" title="Interface providing read acess to a file.">IReadFile</a>* file) =0; <a name="l00279"></a>00279 <a name="l00281"></a>00281 <a name="l00285"></a>00285 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_x_m_l_writer.html" title="Interface providing methods for making it easier to write XML files.">IXMLWriter</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#0737712d1c90001e5765ef46912c616d" title="Creates a XML Writer from a file.">createXMLWriter</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">path</a>& filename) =0; <a name="l00286"></a>00286 <a name="l00288"></a>00288 <a name="l00292"></a>00292 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_x_m_l_writer.html" title="Interface providing methods for making it easier to write XML files.">IXMLWriter</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#0737712d1c90001e5765ef46912c616d" title="Creates a XML Writer from a file.">createXMLWriter</a>(<a class="code" href="classirr_1_1io_1_1_i_write_file.html" title="Interface providing write acess to a file.">IWriteFile</a>* file) =0; <a name="l00293"></a>00293 <a name="l00295"></a>00295 <a name="l00300"></a>00300 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_attributes.html" title="Provides a generic interface for attributes and their values and the possiblity to...">IAttributes</a>* <a class="code" href="classirr_1_1io_1_1_i_file_system.html#50f91cd88b926751367dac153c1cefd2" title="Creates a new empty collection of attributes, usable for serialization and more.">createEmptyAttributes</a>(<a class="code" href="classirr_1_1video_1_1_i_video_driver.html" title="Interface to driver which is able to perform 2d and 3d graphics functions.">video::IVideoDriver</a>* driver=0) =0; <a name="l00301"></a>00301 }; <a name="l00302"></a>00302 <a name="l00303"></a>00303 <a name="l00304"></a>00304 } <span class="comment">// end namespace io</span> <a name="l00305"></a>00305 } <span class="comment">// end namespace irr</span> <a name="l00306"></a>00306 <a name="l00307"></a>00307 <span class="preprocessor">#endif</span> <a name="l00308"></a>00308 <span class="preprocessor"></span> </pre></div></div> <hr size="1"> <address style="align: right;"> <small> </small> </address> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="0"> <div align="left"><small><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="irrlicht.png" alt="The Irrlicht Engine" align="middle" border=0 width=88 height=31></a></small></div></td> <td> <div align="left"><small><em><font size="2">The <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht Engine</a> Documentation © 2003-2009 by Nikolaus Gebhardt. Generated on Sun Jan 10 09:24:03 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> (1.5.6)</font></em></small></div></td> </tr> </table> <address style="align: right;"> </address> </body> </html>