ZipObject
Engine/source/core/util/zip/zipObject.h
Script wrapper for Zip::ZipArchive.
Private Types
Parent
Protected Attributes
Protected Functions
createStreamObject(Stream * stream)
Public Functions
closeFile(StreamObject * stream)
bool
deleteFile(const char * filename)
bool
extractFile(const char * pathInZip, const char * filename)
getFileEntry(S32 idx)
bool
openArchive(const char * filename, Zip::ZipArchive::AccessMode mode)
openFileForRead(const char * filename)
openFileForWrite(const char * filename)
Detailed Description
Script wrapper for Zip::ZipArchive.
Private Types
typedef SimObject Parent
Protected Attributes
Vector< StreamObject * > mStreamPool
Zip::ZipArchive * mZipArchive
Protected Functions
createStreamObject(Stream * stream)
Public Functions
ZipObject()
~ZipObject()
addFile(const char * filename, const char * pathInZip, bool replace)
closeArchive()
closeFile(StreamObject * stream)
DECLARE_CONOBJECT(ZipObject )
deleteFile(const char * filename)
extractFile(const char * pathInZip, const char * filename)
getFileEntry(S32 idx)
getFileEntryCount()
openArchive(const char * filename, Zip::ZipArchive::AccessMode mode)
openFileForRead(const char * filename)
openFileForWrite(const char * filename)