FFSM++  1.1.0
French Forest Sector Model ++
ZipEntryP Class Reference

#include <zipentry_p.h>

Public Member Functions

 ZipEntryP ()
 
bool isEncrypted () const
 
bool hasDataDescriptor () const
 

Public Attributes

quint32 lhOffset
 
quint32 dataOffset
 
unsigned char gpFlag [2]
 
quint16 compMethod
 
unsigned char modTime [2]
 
unsigned char modDate [2]
 
quint32 crc
 
quint32 szComp
 
quint32 szUncomp
 
QString comment
 
bool lhEntryChecked
 

Detailed Description

Definition at line 45 of file zipentry_p.h.

Constructor & Destructor Documentation

ZipEntryP ( )
inline

Definition at line 48 of file zipentry_p.h.

49  {
50  lhOffset = 0;
51  dataOffset = 0;
52  gpFlag[0] = gpFlag[1] = 0;
53  compMethod = 0;
54  modTime[0] = modTime[1] = 0;
55  modDate[0] = modDate[1] = 0;
56  crc = 0;
57  szComp = szUncomp = 0;
58  lhEntryChecked = false;
59  }
quint16 compMethod
Definition: zipentry_p.h:64
unsigned char modTime[2]
Definition: zipentry_p.h:65
quint32 lhOffset
Definition: zipentry_p.h:61
bool lhEntryChecked
Definition: zipentry_p.h:72
unsigned char gpFlag[2]
Definition: zipentry_p.h:63
quint32 szUncomp
Definition: zipentry_p.h:69
unsigned char modDate[2]
Definition: zipentry_p.h:66
quint32 dataOffset
Definition: zipentry_p.h:62
quint32 szComp
Definition: zipentry_p.h:68
quint32 crc
Definition: zipentry_p.h:67

Member Function Documentation

bool hasDataDescriptor ( ) const
inline

Definition at line 75 of file zipentry_p.h.

Referenced by UnzipPrivate::parseLocalHeaderRecord().

75 { return gpFlag[0] & 0x08; }
unsigned char gpFlag[2]
Definition: zipentry_p.h:63

Here is the caller graph for this function:

bool isEncrypted ( ) const
inline

Definition at line 74 of file zipentry_p.h.

Referenced by UnZip::entryList(), UnZip::extractAll(), and UnzipPrivate::extractFile().

74 { return gpFlag[0] & 0x01; }
unsigned char gpFlag[2]
Definition: zipentry_p.h:63

Here is the caller graph for this function:

Member Data Documentation

QString comment

Definition at line 70 of file zipentry_p.h.

Referenced by UnZip::entryList(), and UnzipPrivate::parseCentralDirectoryRecord().

quint32 dataOffset
bool lhEntryChecked

Definition at line 72 of file zipentry_p.h.

Referenced by UnzipPrivate::extractFile(), and ZipEntryP().


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