Quark  0.1
ZipEntry Class Reference

A class representing an entry in a Zip archive. More...

#include <ZipEntry.h++>

Public Member Functions

 ZipEntry ()
 Constructor. More...
 
virtual ~ZipEntry ()
 Destructor. More...
 
qint64 index () const
 Returns the index of the entry within the archive. More...
 
QString path () const
 Returns the file path of the entry. More...
 
bool isDirectory () const
 Tests if the entry represents a directory. More...
 
qint64 size () const
 Returns the uncompressed file size. More...
 
qint64 compressedSize () const
 Returns the compressed file size. More...
 
QDateTime modificationTime () const
 Returns the file's last modification time. More...
 
quint32 crc () const
 Returns the CRC for the data in the entry. More...
 
quint16 compressionMethod () const
 Returns the compression method for the entry. More...
 
quint16 encryptionMethod () const
 Returns the encryption method for the entry. More...
 
bool isValid () const
 Tests if this entry is valid. More...
 

Friends

class ZipFile
 

Detailed Description

A class representing an entry in a Zip archive.

Author
Mark Lindner

Constructor & Destructor Documentation

◆ ZipEntry()

ZipEntry ( )

Constructor.

◆ ~ZipEntry()

virtual ~ZipEntry ( )
virtual

Destructor.

Member Function Documentation

◆ compressedSize()

qint64 compressedSize ( ) const
inline

Returns the compressed file size.

◆ compressionMethod()

quint16 compressionMethod ( ) const
inline

Returns the compression method for the entry.

◆ crc()

quint32 crc ( ) const
inline

Returns the CRC for the data in the entry.

◆ encryptionMethod()

quint16 encryptionMethod ( ) const
inline

Returns the encryption method for the entry.

◆ index()

qint64 index ( ) const
inline

Returns the index of the entry within the archive.

◆ isDirectory()

bool isDirectory ( ) const

Tests if the entry represents a directory.

◆ isValid()

bool isValid ( ) const

Tests if this entry is valid.

◆ modificationTime()

QDateTime modificationTime ( ) const
inline

Returns the file's last modification time.

◆ path()

QString path ( ) const
inline

Returns the file path of the entry.

◆ size()

qint64 size ( ) const
inline

Returns the uncompressed file size.

Friends And Related Function Documentation

◆ ZipFile

friend class ZipFile
friend

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