From f9158592e1478b2013afc7041d9ed041cf2d2f4a Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 13 Jan 2014 19:47:58 +1000 Subject: Update Irrlicht to 1.8.1. Include actual change markers this time. lol --- .../doc/html/classirr_1_1io_1_1_i_file_list.html | 474 +++++++++++++++++++++ 1 file changed, 474 insertions(+) create mode 100644 libraries/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_list.html (limited to 'libraries/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_list.html') diff --git a/libraries/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_list.html b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_list.html new file mode 100644 index 0000000..377a89c --- /dev/null +++ b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_list.html @@ -0,0 +1,474 @@ + + +
+ +Provides a list of files and folders. + More...
+ +#include <IFileList.h>
Provides a list of files and folders.
+File lists usually contain a list of all files in a given folder, but can also contain a complete directory structure.
+ +Definition at line 19 of file IFileList.h.
+virtual u32 irr::io::IFileList::addItem | +( | +const io::path & | +fullPath, | +
+ | + | u32 | +offset, | +
+ | + | u32 | +size, | +
+ | + | bool | +isDirectory, | +
+ | + | u32 | +id = 0 |
+
+ | ) | + [pure virtual] |
+
Add as a file or folder to the list.
+fullPath | The file name including path, from the root of the file list. |
isDirectory | True if this is a directory rather than a file. |
offset | The file offset inside an archive |
size | The size of the file in bytes. |
id | The ID of the file in the archive which owns it |
virtual s32 irr::io::IFileList::findFile | +( | +const io::path & | +filename, | +
+ | + | bool | +isFolder = false |
+
+ | ) | + const [pure virtual] |
+
Searches for a file or folder in the list.
+Searches for a file by name
+filename | The name of the file to search for. |
isFolder | True if you are searching for a directory path, false if you are searching for a file |
virtual u32 irr::io::IFileList::getFileCount | +( | +) | + const [pure virtual] |
+
Get the number of files in the filelist.
+virtual const io::path& irr::io::IFileList::getFileName | +( | +u32 | +index | ) | + const [pure virtual] |
+
Gets the name of a file in the list, based on an index.
+The path is not included in this name. Use getFullFileName for this.
+index | is the zero based index of the file which name should be returned. The index must be less than the amount getFileCount() returns. |
Returns the file offset of a file in the file list, based on an index.
+index | is the zero based index of the file which should be returned. The index must be less than the amount getFileCount() returns. |
Returns the size of a file in the file list, based on an index.
+index | is the zero based index of the file which should be returned. The index must be less than the amount getFileCount() returns. |
virtual const io::path& irr::io::IFileList::getFullFileName | +( | +u32 | +index | ) | + const [pure virtual] |
+
Gets the full name of a file in the list including the path, based on an index.
+index | is the zero based index of the file which name should be returned. The index must be less than the amount getFileCount() returns. |
Returns the ID of a file in the file list, based on an index.
+This optional ID can be used to link the file list entry to information held elsewhere. For example this could be an index in an IFileArchive, linking the entry to its data offset, uncompressed size and CRC.
+index | is the zero based index of the file which should be returned. The index must be less than the amount getFileCount() returns. |
virtual const io::path& irr::io::IFileList::getPath | +( | +) | + const [pure virtual] |
+
Returns the base path of the file list.
+ +virtual bool irr::io::IFileList::isDirectory | +( | +u32 | +index | ) | + const [pure virtual] |
+
Check if the file is a directory.
+index | The zero based index which will be checked. The index must be less than the amount getFileCount() returns. |
virtual void irr::io::IFileList::sort | +( | +) | + [pure virtual] |
+
Sorts the file list. You should call this after adding any items to the file list.
+ +