Torque3D Documentation / _generateds / Zip::ZipTempStream

Zip::ZipTempStream

Engine/source/core/util/zip/zipTempStream.h

More...

Private Types

Parent 

Protected Attributes

Public Functions

bool
open()

Open a temporary file in ReadWrite mode. The file will be deleted when the stream is closed.

bool

Seek back to the start of the file.

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