CMS 3D CMS Logo

lat::ZipInputStream Class Reference

#include <Iguana/Utilities/classlib/zip/ZipInputStream.h>

Inheritance diagram for lat::ZipInputStream:

lat::ZInputStream lat::ZConstants lat::DecompressInputStream lat::ZipUtils lat::FilterInputStream lat::InputStream lat::IOInput

List of all members.

Public Member Functions

virtual IOSize available (void)
virtual void close (void)
virtual void closeMember (void)
virtual ZipMembernextMember (void)
virtual IOSize read (void *into, IOSize n)
virtual void reset (void)
virtual IOSize skip (IOSize n)
virtual ZipMembersync (void)
 ZipInputStream (InputStream *input)
 ~ZipInputStream (void)

Protected Member Functions

virtual IOSize fill (void *buffer, IOSize length)

Private Types

typedef std::vector< ZipMember * > MemberList

Private Member Functions

unsigned findHeader (void)
void readDirectory (unsigned char *buf, IOSize length)
void readEndHeader (unsigned char *buf, IOSize length)
unsigned readHeader (void)
ZipMemberreadMemberHeader (unsigned char *buf, IOSize length)
void resetState (bool destroy)

Private Attributes

std::string m_comment
IOOffset m_compressed
ZipMemberm_current
IOOffset m_directory
bool m_dummy
unsigned m_magic
MemberList m_members
IOOffset m_total
IOOffset m_uncompressed


Detailed Description

Definition at line 29 of file ZipInputStream.h.


Member Typedef Documentation

typedef std::vector<ZipMember *> lat::ZipInputStream::MemberList [private]

Definition at line 60 of file ZipInputStream.h.


Constructor & Destructor Documentation

lat::ZipInputStream::ZipInputStream ( InputStream input  ) 

lat::ZipInputStream::~ZipInputStream ( void   ) 


Member Function Documentation

virtual IOSize lat::ZipInputStream::available ( void   )  [virtual]

Reimplemented from lat::DecompressInputStream.

virtual void lat::ZipInputStream::close ( void   )  [virtual]

Reimplemented from lat::DecompressInputStream.

virtual void lat::ZipInputStream::closeMember ( void   )  [virtual]

virtual IOSize lat::ZipInputStream::fill ( void buffer,
IOSize  length 
) [protected, virtual]

Reimplemented from lat::DecompressInputStream.

unsigned lat::ZipInputStream::findHeader ( void   )  [private]

virtual ZipMember* lat::ZipInputStream::nextMember ( void   )  [virtual]

virtual IOSize lat::ZipInputStream::read ( void into,
IOSize  n 
) [virtual]

Reimplemented from lat::DecompressInputStream.

void lat::ZipInputStream::readDirectory ( unsigned char *  buf,
IOSize  length 
) [private]

void lat::ZipInputStream::readEndHeader ( unsigned char *  buf,
IOSize  length 
) [private]

unsigned lat::ZipInputStream::readHeader ( void   )  [private]

ZipMember* lat::ZipInputStream::readMemberHeader ( unsigned char *  buf,
IOSize  length 
) [private]

virtual void lat::ZipInputStream::reset ( void   )  [virtual]

Reimplemented from lat::FilterInputStream.

void lat::ZipInputStream::resetState ( bool  destroy  )  [private]

virtual IOSize lat::ZipInputStream::skip ( IOSize  n  )  [virtual]

Reimplemented from lat::DecompressInputStream.

virtual ZipMember* lat::ZipInputStream::sync ( void   )  [virtual]


Member Data Documentation

std::string lat::ZipInputStream::m_comment [private]

Definition at line 66 of file ZipInputStream.h.

IOOffset lat::ZipInputStream::m_compressed [private]

Definition at line 63 of file ZipInputStream.h.

ZipMember* lat::ZipInputStream::m_current [private]

Definition at line 62 of file ZipInputStream.h.

IOOffset lat::ZipInputStream::m_directory [private]

Definition at line 68 of file ZipInputStream.h.

bool lat::ZipInputStream::m_dummy [private]

Definition at line 69 of file ZipInputStream.h.

unsigned lat::ZipInputStream::m_magic [private]

Definition at line 65 of file ZipInputStream.h.

MemberList lat::ZipInputStream::m_members [private]

Definition at line 61 of file ZipInputStream.h.

IOOffset lat::ZipInputStream::m_total [private]

Definition at line 67 of file ZipInputStream.h.

IOOffset lat::ZipInputStream::m_uncompressed [private]

Definition at line 64 of file ZipInputStream.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:45 2009 for CMSSW by  doxygen 1.5.4