torque Torque Game Engine Documentation
TGE Version 1.5.2

ZipSubRStream Class Reference

#include <zipSubStream.h>

Inheritance diagram for ZipSubRStream:

Inheritance graph
[legend]

Public Member Functions

 ZipSubRStream ()
virtual ~ZipSubRStream ()
bool attachStream (Stream *io_pSlaveStream)
void detachStream ()
StreamgetStream ()
void setUncompressedSize (const U32)
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)

Private Types

typedef FilterStream Parent

Private Member Functions

U32 fillBuffer (const U32 in_attemptSize)

Private Attributes

Streamm_pStream
U32 m_uncompressedSize
U32 m_currentPosition
bool m_EOS
z_stream_s * m_pZipStream
U8m_pInputBuffer
U32 m_originalSlavePosition

Static Private Attributes

static const U32 csm_streamCaps
static const U32 csm_inputBufferSize

Member Typedef Documentation


Constructor & Destructor Documentation

ZipSubRStream::ZipSubRStream (  ) 

virtual ZipSubRStream::~ZipSubRStream (  )  [virtual]


Member Function Documentation

U32 ZipSubRStream::fillBuffer ( const U32  in_attemptSize  )  [private]

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

Implements FilterStream.

void ZipSubRStream::detachStream (  )  [virtual]

Implements FilterStream.

Stream* ZipSubRStream::getStream (  )  [virtual]

Implements FilterStream.

void ZipSubRStream::setUncompressedSize ( const   U32  ) 

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

Reimplemented from FilterStream.

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

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

Reimplemented from FilterStream.

U32 ZipSubRStream::getPosition (  )  const [virtual]

Gets the position in the stream.

Reimplemented from FilterStream.

bool ZipSubRStream::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 ZipSubRStream::getStreamSize (  )  [virtual]

Gets the size of the stream.

Reimplemented from FilterStream.


Field Documentation

const U32 ZipSubRStream::csm_streamCaps [static, private]

const U32 ZipSubRStream::csm_inputBufferSize [static, private]

bool ZipSubRStream::m_EOS [private]

z_stream_s* ZipSubRStream::m_pZipStream [private]




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