Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Protected Member Functions | List of all members
FileHeader Class Reference
Zip Code » Zip Code Internals

`#include <fileHeader.h>`

Inheritance diagram for FileHeader:

## Public Member Functions
| FileHeader ()
virtual | ~FileHeader ()
virtual bool | read (Stream *stream)
virtual bool | write (Stream *stream)
ExtraField * | findExtraField (U16 id)
void | setFilename (const char *filename)

## Public Attributes
U32 | mHeaderSig
U16 | mExtractVer
U16 | mFlags
U16 | mCompressMethod
U16 | mModTime
U16 | mModDate
U32 | mCRC32
U32 | mCompressedSize
U32 | mUncompressedSize
const char * | mFilename
Vector< ExtraField * > | mExtraFields

## Protected Member Functions
bool | readExtraFields (Stream *stream, U16 efLen)

## Constructor & Destructor Documentation

FileHeader | ( |  | ) |

~FileHeader | ( |  | ) |
| virtual

## Member Function Documentation

ExtraField * findExtraField | ( | U16 | id | ) |

bool read | ( | Stream * | stream | ) |
| virtual

Reimplemented in CentralDir.

bool readExtraFields | ( | Stream * | stream,
|  | U16 | efLen
| ) |  |
| protected

void setFilename | ( | const char * | filename | ) |

bool write | ( | Stream * | stream | ) |
| virtual

Reimplemented in CentralDir.

## Member Data Documentation

U32 mCompressedSize

U16 mCompressMethod

U32 mCRC32

U16 mExtractVer

Vector<ExtraField *> mExtraFields

const char* mFilename

U16 mFlags

U32 mHeaderSig

U16 mModDate

U16 mModTime

U32 mUncompressedSize

The documentation for this class was generated from the following files:

- io/zip/fileHeader.h
- io/zip/fileHeader.cc