TaurusZIPLibrary  $VERSION$
QtZipHelper::ZipFileInfo Class Reference

Helper class: reports information about a specific file entry in the ZIP archive. More...

#include <qtziphlp.h>

Public Member Functions

 ZipFileInfo ()
 Empty/invalid info object. More...
 
 ZipFileInfo (const ZipFileInfo &)
 Copy an info object. More...
 
ZipFileInfooperator= (const ZipFileInfo &)
 Copy an info object. More...
 
bool isValid () const
 returns true if this is a valid info object More...
 
 operator bool () const
 
QString fileName () const
 returns the file name of the stored file More...
 
QDateTime createTime () const
 returns the creation time of the file stored in the ZIP More...
 
int rawCompressionMethod () const
 returns the code of the compression method used with this file More...
 
ulong fileCRC () const
 returns the CRC32 stored for this file More...
 
ulong uncompressedSize () const
 returns the uncompressed file size stored for this file More...
 

Friends

class Zip
 
class Unzip
 

Detailed Description

Helper class: reports information about a specific file entry in the ZIP archive.

Constructor & Destructor Documentation

QtZipHelper::ZipFileInfo::ZipFileInfo ( )

Empty/invalid info object.

QtZipHelper::ZipFileInfo::ZipFileInfo ( const ZipFileInfo )

Copy an info object.

Member Function Documentation

QDateTime QtZipHelper::ZipFileInfo::createTime ( ) const
inline

returns the creation time of the file stored in the ZIP

ulong QtZipHelper::ZipFileInfo::fileCRC ( ) const
inline

returns the CRC32 stored for this file

QString QtZipHelper::ZipFileInfo::fileName ( ) const
inline

returns the file name of the stored file

bool QtZipHelper::ZipFileInfo::isValid ( ) const
inline

returns true if this is a valid info object

QtZipHelper::ZipFileInfo::operator bool ( ) const
inline

returns true if this is a valid info object, so the info object can be used in if-statements directly

ZipFileInfo& QtZipHelper::ZipFileInfo::operator= ( const ZipFileInfo )

Copy an info object.

int QtZipHelper::ZipFileInfo::rawCompressionMethod ( ) const
inline

returns the code of the compression method used with this file

ulong QtZipHelper::ZipFileInfo::uncompressedSize ( ) const
inline

returns the uncompressed file size stored for this file

Friends And Related Function Documentation

friend class Unzip
friend
friend class Zip
friend

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