libzipper 1.0.1
Public Types | Public Attributes
zipper::Container Struct Reference

#include <zipper.hh>

List of all members.

Public Types

enum  CapabilityBits {
  Compression = 1, Decompression = 2, EmbeddedFilenames = 4, Archive = 8,
  FileSize = 16
}

Public Attributes

ContainerFormat format
 Container Type
std::string mediaType
uint32_t capabilities
 Bitmask comprised of CapabilityBits enum values.

Detailed Description

Provides libzipper capability details for a compressed archive format.

See also:
getContainer

Definition at line 188 of file zipper.hh.


Member Enumeration Documentation

allows a bitmask to be specified with a combination of boolean flags.

Enumerator:
Compression 

Compression bit is set if the format is usable with Compressor.

Decompression 

Decompression bit is set if the format is usable with Decompressor

EmbeddedFilenames 

EmbeddedFilenames bit is set if CompressedFile::getPath() is supported

Archive 

Archive bit is set if multiple compressed files may exist in a single container.

FileSize 

FileSize bit is set if the uncompressed size for each compressed file is recorded in the container.

Definition at line 192 of file zipper.hh.


Member Data Documentation

Container Internet Media Type (aka MIME type). eg. "application/zip"

Definition at line 219 of file zipper.hh.


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