|
Public Member Functions | |
ZipTempStream () | |
ZipTempStream (CentralDir *cd) | |
void | setCentralDir (CentralDir *cd) |
CentralDir * | getCentralDir () |
void | setDeleteOnClose (bool del) |
virtual bool | open (const char *filename, Torque::FS::File::AccessMode mode) |
virtual bool | open () |
Open a temporary file in ReadWrite mode. The file will be deleted when the stream is closed. | |
virtual void | close () |
virtual bool | setPosition (const U32 i_newPosition) |
Disallow setPosition(). | |
bool | rewind () |
Seek back to the start of the file. | |
Protected Attributes | |
CentralDir * | mCD |
bool | mDeleteOnClose |
StringTableEntry | mFilename |
Private Types | |
typedef FileStream | Parent |
typedef FileStream Zip::ZipTempStream::Parent [private] |
Zip::ZipTempStream::ZipTempStream | ( | ) | [inline] |
Zip::ZipTempStream::ZipTempStream | ( | CentralDir * | cd | ) | [inline] |
void Zip::ZipTempStream::setCentralDir | ( | CentralDir * | cd | ) | [inline] |
CentralDir* Zip::ZipTempStream::getCentralDir | ( | ) | [inline] |
virtual bool Zip::ZipTempStream::open | ( | const char * | filename, | |
Torque::FS::File::AccessMode | mode | |||
) | [virtual] |
virtual bool Zip::ZipTempStream::open | ( | ) | [inline, virtual] |
Open a temporary file in ReadWrite mode. The file will be deleted when the stream is closed.
virtual void Zip::ZipTempStream::close | ( | ) | [inline, virtual] |
Reimplemented from FileStream.
bool Zip::ZipTempStream::rewind | ( | ) | [inline] |
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)
CentralDir* Zip::ZipTempStream::mCD [protected] |
bool Zip::ZipTempStream::mDeleteOnClose [protected] |
StringTableEntry Zip::ZipTempStream::mFilename [protected] |