#include <zipsource.h>


Public Member Functions | |
| bool | fileExists (const std::string &file) const |
| WARNING: fileExists, listFiles and listDirectories are not. | |
| std::set< std::string > | listFiles (const std::string &path) const |
| std::set< std::string > | listDirectories (const std::string &path) const |
| virtual RawData * | open (const std::string &path) const |
Implements a Zip archive file source.
Definition at line 44 of file zipsource.h.
| std::set< std::string > FIFE::ZipSource::listDirectories | ( | const std::string & | path | ) | const [virtual] |
list all directories in a directory of this source
| path | path to list directories in Will return an empty list on any error |
Implements FIFE::VFSSource.
Definition at line 202 of file zipsource.cpp.
| std::set< std::string > FIFE::ZipSource::listFiles | ( | const std::string & | path | ) | const [virtual] |
list all files in a directory of this source
| path | path to list files in Will return an empty list on any error |
Implements FIFE::VFSSource.
Definition at line 174 of file zipsource.cpp.
| RawData * FIFE::ZipSource::open | ( | const std::string & | file | ) | const [virtual] |
open a file inside this source
| file | the file to open |
| CannotOpenFile | if the file can't be found |
Implements FIFE::VFSSource.
Definition at line 61 of file zipsource.cpp.
References FIFE::RawData::readInto(), and FIFE::RawData::setIndex().
1.6.3