Zip::ZipTempStream
Engine/source/core/util/zip/zipTempStream.h
Private Types
Parent
Protected Attributes
Public Functions
ZipTempStream(CentralDir * cd)
bool
open()
Open a temporary file in ReadWrite mode. The file will be deleted when the stream is closed.
bool
open(String filename, Torque::FS::File::AccessMode mode)
bool
rewind()
Seek back to the start of the file.
setCentralDir(CentralDir * cd)
setDeleteOnClose(bool del)
bool
setPosition(const U32 i_newPosition)
Disallow setPosition()
Detailed Description
Private Types
typedef FileStream Parent
Protected Attributes
CentralDir * mCD
bool mDeleteOnClose
String mFilename
Public Functions
ZipTempStream()
ZipTempStream(CentralDir * cd)
~ZipTempStream()
close()
Reimplemented from: FileStream
getCentralDir()
open()
Open a temporary file in ReadWrite mode. The file will be deleted when the stream is closed.
open(String filename, Torque::FS::File::AccessMode mode)
rewind()
Seek back to the start of the file.
This is used internally by the zip code and should never be called whilst filters are attached (e.g. when reading or writing in a zip file)
setCentralDir(CentralDir * cd)
setDeleteOnClose(bool del)
setPosition(const U32 i_newPosition)
Reimplemented from: FileStream