torque Torque Game Engine Documentation
TGE Version 1.5.2

ZipSubWStream Class Reference

#include <zipSubStream.h>

Inheritance diagram for ZipSubWStream:

Inheritance graph
[legend]

Public Member Functions

 ZipSubWStream ()
virtual ~ZipSubWStream ()
bool attachStream (Stream *io_pSlaveStream)
void detachStream ()
StreamgetStream ()
bool hasCapability (const Capability) const
 Checks to see if this stream has the capability of a given function.
U32 getPosition () const
 Gets the position in the stream.
bool setPosition (const U32 in_newPosition)
 Sets the position of the stream. Returns if the new position is valid or not.
U32 getStreamSize ()
 Gets the size of the stream.

Protected Member Functions

bool _read (const U32 in_numBytes, void *out_pBuffer)
bool _write (const U32 in_numBytes, const void *in_pBuffer)

Private Types

typedef FilterStream Parent

Private Attributes

Streamm_pStream
z_stream_s * m_pZipStream
U32 m_currPosition
U8m_pOutputBuffer
U8m_pInputBuffer

Static Private Attributes

static const U32 csm_streamCaps
static const U32 csm_bufferSize

Member Typedef Documentation


Constructor & Destructor Documentation

ZipSubWStream::ZipSubWStream (  ) 

virtual ZipSubWStream::~ZipSubWStream (  )  [virtual]


Member Function Documentation

bool ZipSubWStream::attachStream ( Stream io_pSlaveStream  )  [virtual]

Implements FilterStream.

void ZipSubWStream::detachStream (  )  [virtual]

Implements FilterStream.

Stream* ZipSubWStream::getStream (  )  [virtual]

Implements FilterStream.

bool ZipSubWStream::_read ( const U32  in_numBytes,
void out_pBuffer 
) [protected, virtual]

Reimplemented from FilterStream.

bool ZipSubWStream::_write ( const U32  in_numBytes,
const void in_pBuffer 
) [protected, virtual]

Reimplemented from FilterStream.

bool ZipSubWStream::hasCapability ( const   Capability  )  const [virtual]

Checks to see if this stream has the capability of a given function.

Reimplemented from FilterStream.

U32 ZipSubWStream::getPosition (  )  const [virtual]

Gets the position in the stream.

Reimplemented from FilterStream.

bool ZipSubWStream::setPosition ( const U32  in_newPosition  )  [virtual]

Sets the position of the stream. Returns if the new position is valid or not.

Reimplemented from FilterStream.

U32 ZipSubWStream::getStreamSize (  )  [virtual]

Gets the size of the stream.

Reimplemented from FilterStream.


Field Documentation

const U32 ZipSubWStream::csm_streamCaps [static, private]

const U32 ZipSubWStream::csm_bufferSize [static, private]

z_stream_s* ZipSubWStream::m_pZipStream [private]




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen