| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
Class which is able to create an archive from a file. More...
#include <IFileArchive.h>
Public Member Functions | |
| virtual IFileArchive * | createArchive (io::IReadFile *file, bool ignoreCase, bool ignorePaths) const =0 |
| Creates an archive from the file. | |
| virtual IFileArchive * | createArchive (const path &filename, bool ignoreCase, bool ignorePaths) const =0 |
| Creates an archive from the filename. | |
| virtual bool | isALoadableFileFormat (E_FILE_ARCHIVE_TYPE fileType) const =0 |
| Check to see if the loader can create archives of this type. | |
| virtual bool | isALoadableFileFormat (io::IReadFile *file) const =0 |
| Check if the file might be loaded by this class. | |
| virtual bool | isALoadableFileFormat (const path &filename) const =0 |
| Check if the file might be loaded by this class. | |
Class which is able to create an archive from a file.
If you want the Irrlicht Engine be able to load archives of currently unsupported file formats (e.g .wad), then implement this and add your new Archive loader with IFileSystem::addArchiveLoader() to the engine.
Definition at line 88 of file IFileArchive.h.
| virtual IFileArchive* irr::io::IArchiveLoader::createArchive | ( | io::IReadFile * | file, | |
| bool | ignoreCase, | |||
| bool | ignorePaths | |||
| ) | const [pure virtual] |
Creates an archive from the file.
| file | File handle to use. | |
| ignoreCase | Searching is performed without regarding the case | |
| ignorePaths | Files are searched for without checking for the directories |
| virtual IFileArchive* irr::io::IArchiveLoader::createArchive | ( | const path & | filename, | |
| bool | ignoreCase, | |||
| bool | ignorePaths | |||
| ) | const [pure virtual] |
Creates an archive from the filename.
| filename | File to use. | |
| ignoreCase | Searching is performed without regarding the case | |
| ignorePaths | Files are searched for without checking for the directories |
| virtual bool irr::io::IArchiveLoader::isALoadableFileFormat | ( | E_FILE_ARCHIVE_TYPE | fileType | ) | const [pure virtual] |
Check to see if the loader can create archives of this type.
Check based on the archive type.
| fileType | The archive type to check. |
| virtual bool irr::io::IArchiveLoader::isALoadableFileFormat | ( | io::IReadFile * | file | ) | const [pure virtual] |
Check if the file might be loaded by this class.
This check may look into the file.
| file | File handle to check. |
| virtual bool irr::io::IArchiveLoader::isALoadableFileFormat | ( | const path & | filename | ) | const [pure virtual] |
Check if the file might be loaded by this class.
Check based on the file extension (e.g. ".zip")
| filename | Name of file to check. |
| The Irrlicht
Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated
on Sun Feb 14 13:07:06 2010 by Doxygen
(1.6.2) |