|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| ZipObject () | |
| virtual | ~ZipObject () |
| DECLARE_CONOBJECT (ZipObject) | |
| bool | openArchive (const char *filename, Zip::ZipArchive::AccessMode mode=Zip::ZipArchive::Read) |
| void | closeArchive () |
| StreamObject * | openFileForRead (const char *filename) |
| StreamObject * | openFileForWrite (const char *filename) |
| void | closeFile (StreamObject *stream) |
| bool | addFile (const char *filename, const char *pathInZip, bool replace=true) |
| bool | extractFile (const char *pathInZip, const char *filename) |
| bool | deleteFile (const char *filename) |
| S32 | getFileEntryCount () |
| const char * | getFileEntry (S32 idx) |
Protected Member Functions | |
| StreamObject * | createStreamObject (Stream *stream) |
Protected Attributes | |
| Zip::ZipArchive * | mZipArchive |
| VectorPtr< StreamObject * > | mStreamPool |
Private Types | |
| typedef SimObject | Parent |
typedef SimObject ZipObject::Parent [private] |
Reimplemented from SimObject.
| ZipObject::ZipObject | ( | ) |
| virtual ZipObject::~ZipObject | ( | ) | [virtual] |
| StreamObject* ZipObject::createStreamObject | ( | Stream * | stream | ) | [protected] |
| ZipObject::DECLARE_CONOBJECT | ( | ZipObject | ) |
| bool ZipObject::openArchive | ( | const char * | filename, | |
| Zip::ZipArchive::AccessMode | mode = Zip::ZipArchive::Read | |||
| ) |
| void ZipObject::closeArchive | ( | ) |
| StreamObject* ZipObject::openFileForRead | ( | const char * | filename | ) |
| StreamObject* ZipObject::openFileForWrite | ( | const char * | filename | ) |
| void ZipObject::closeFile | ( | StreamObject * | stream | ) |
| bool ZipObject::extractFile | ( | const char * | pathInZip, | |
| const char * | filename | |||
| ) |
| bool ZipObject::deleteFile | ( | const char * | filename | ) |
| S32 ZipObject::getFileEntryCount | ( | ) |
| const char* ZipObject::getFileEntry | ( | S32 | idx | ) |
Zip::ZipArchive* ZipObject::mZipArchive [protected] |
VectorPtr<StreamObject *> ZipObject::mStreamPool [protected] |