HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdZipFile::FileInfo Class Reference

#include <zipFile.h>

Public Attributes

size_t dataOffset = 0
 
size_t size = 0
 
size_t uncompressedSize = 0
 
size_t crc = 0
 CRC-32 value of the uncompressed file. More...
 
uint16_t compressionMethod = 0
 
bool encrypted = false
 Whether or not this file is encrypted. More...
 

Detailed Description

Information for a file in the zip archive.

Definition at line 85 of file zipFile.h.

Member Data Documentation

uint16_t UsdZipFile::FileInfo::compressionMethod = 0

Compression method for this file. See section 4.4.5 of the zip file specification for valid values. In particular, a value of 0 means this file is stored with no compression.

Definition at line 107 of file zipFile.h.

size_t UsdZipFile::FileInfo::crc = 0

CRC-32 value of the uncompressed file.

Definition at line 102 of file zipFile.h.

size_t UsdZipFile::FileInfo::dataOffset = 0

Offset of the beginning of this file's data from the start of the zip archive.

Definition at line 90 of file zipFile.h.

bool UsdZipFile::FileInfo::encrypted = false

Whether or not this file is encrypted.

Definition at line 110 of file zipFile.h.

size_t UsdZipFile::FileInfo::size = 0

Size of this file as stored in the zip archive. If this file is compressed, this is its compressed size. Otherwise, this is the same as the uncompressed size.

Definition at line 95 of file zipFile.h.

size_t UsdZipFile::FileInfo::uncompressedSize = 0

Uncompressed size of this file. This may not be the same as the size of the file as stored in the zip archive.

Definition at line 99 of file zipFile.h.


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