Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
The FileArchive manages archives and provides access to files inside them. More...
#include <IFileArchive.h>
Public Member Functions | |
virtual IReadFile * | createAndOpenFile (u32 index)=0 |
Opens a file based on its position in the file list. | |
virtual IReadFile * | createAndOpenFile (const path &filename)=0 |
Opens a file based on its name. | |
virtual const IFileList * | getFileList () const =0 |
Returns the complete file tree. | |
virtual E_FILE_ARCHIVE_TYPE | getType () const |
get the archive type | |
Public Attributes | |
core::stringc | Password |
An optionally used password string. |
The FileArchive manages archives and provides access to files inside them.
Definition at line 50 of file IFileArchive.h.
Opens a file based on its position in the file list.
Creates and returns
index | The zero based index of the file. |
virtual IReadFile* irr::io::IFileArchive::createAndOpenFile | ( | const path & | filename | ) | [pure virtual] |
Opens a file based on its name.
Creates and returns a new IReadFile for a file in the archive.
filename | The file to open |
virtual const IFileList* irr::io::IFileArchive::getFileList | ( | ) | const [pure virtual] |
Returns the complete file tree.
virtual E_FILE_ARCHIVE_TYPE irr::io::IFileArchive::getType | ( | ) | const [inline, virtual] |
get the archive type
Definition at line 73 of file IFileArchive.h.
References irr::io::EFAT_UNKNOWN.
An optionally used password string.
This variable is publicly accessible from the interface in order to avoid single access patterns to this place, and hence allow some more obscurity.
Definition at line 80 of file IFileArchive.h.
The Irrlicht
Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated
on Sun Oct 24 12:42:06 2010 by Doxygen
(1.6.2) |