IO::ArchiveFileSystem Class Reference
#include <archivefilesystem.h>
Inheritance diagram for IO::ArchiveFileSystem:
Detailed Description
Top-level platform wrapper class of archive file systems.(C) 2009 Radon Labs GmbH
Public Member Functions | |
ArchiveFileSystem () | |
constructor | |
virtual | ~ArchiveFileSystem () |
destructor | |
void | Setup () |
setup the archive file system | |
void | Discard () |
discard the archive file system | |
Ptr< Archive > | FindArchiveWithFile (const URI &fileUri) const |
find first archive which contains the file path | |
Ptr< Archive > | FindArchiveWithDir (const URI &dirUri) const |
find first archive which contains the directory path |
Member Function Documentation
void IO::ZipFileSystem::Setup | ( | ) | [inherited] |
setup the archive file system
Setup the ZipFileSystem. Registers the ZipFileStream class.
find first archive which contains the file path
This method takes a normal file URI and checks if the local path of the URI is contained as file entry in any mounted zip archive. If yes ptr to the zip archive is returned, otherwise a 0 pointer. NOTE: if the same path resides in several zip archives, it is currently not defined which one will be returned (the current implementation returns the first zip archive in alphabetical order which contains the file).
find first archive which contains the directory path
Same as FindArchiveWithFile(), but checks for a directory entry in a zip file.