CMS 3D CMS Logo

lat::ZipMember Class Reference

A ZIP archive member. More...

#include <Iguana/Utilities/classlib/zip/ZipMember.h>

Inheritance diagram for lat::ZipMember:

lat::ZConstants lat::ZipUtils

List of all members.

Public Types

enum  Attribute { INTERNAL = 0, EXTERNAL = 1 }
enum  ExtraField { LOCAL = 0, CENTRAL = 1 }
enum  SizeType { COMPRESSED = 0, UNCOMPRESSED = 1 }
enum  UnsetMethod { NONE = ~0U }

Public Member Functions

void attributes (Attribute which, unsigned value)
unsigned attributes (Attribute which=EXTERNAL) const
void comment (const std::string &value)
std::string comment (void) const
void crc32 (unsigned value)
unsigned crc32 (void) const
void extra (ExtraField which, void *buffer, IOSize size)
void extra (ExtraField which, void **buffer, IOSize *size) const
unsigned flags (void) const
void isDirectory (bool value)
bool isDirectory (void) const
void level (unsigned value)
unsigned level (void) const
void method (Method value)
unsigned method (void) const
Filename name (void) const
ZipMemberoperator= (const ZipMember &x)
void position (IOOffset value)
IOOffset position (void) const
void size (SizeType which, IOOffset value)
IOOffset size (SizeType which) const
void time (Time value)
Time time (void) const
 ZipMember (const ZipMember &x)
 ZipMember (Filename name)
 ~ZipMember (void)

Private Attributes

unsigned m_attrExt
unsigned m_attrInt
std::string m_comment
unsigned m_crc32
IOOffset m_csize
bool m_directory
IOOffset m_dsize
unsigned m_level
unsigned m_method
Filename m_name
IOOffset m_position
Time m_time
voidm_xglobal
IOSize m_xglobalLen
voidm_xlocal
IOSize m_xlocalLen


Detailed Description

A ZIP archive member.

A ZIP archive consists of files compressed with the popular ZLIB compression algorithm; this class records the information about a single archive member. Please note that it is not possible to read or write the file data through this class, use the archive file or stream interface instead: , or .

Definition at line 25 of file ZipMember.h.


Member Enumeration Documentation

enum lat::ZipMember::Attribute

Enumerator:
INTERNAL 
EXTERNAL 

Definition at line 53 of file ZipMember.h.

00053 { INTERNAL = 0, EXTERNAL = 1 };

enum lat::ZipMember::ExtraField

Enumerator:
LOCAL 
CENTRAL 

Definition at line 52 of file ZipMember.h.

00052 { LOCAL = 0, CENTRAL = 1 };

enum lat::ZipMember::SizeType

Enumerator:
COMPRESSED 
UNCOMPRESSED 

Definition at line 54 of file ZipMember.h.

00054 { COMPRESSED = 0, UNCOMPRESSED = 1 };

enum lat::ZipMember::UnsetMethod

Enumerator:
NONE 

Definition at line 55 of file ZipMember.h.

00055 { NONE = ~0U };


Constructor & Destructor Documentation

lat::ZipMember::ZipMember ( Filename  name  ) 

lat::ZipMember::ZipMember ( const ZipMember x  ) 

lat::ZipMember::~ZipMember ( void   ) 


Member Function Documentation

void lat::ZipMember::attributes ( Attribute  which,
unsigned  value 
)

unsigned lat::ZipMember::attributes ( Attribute  which = EXTERNAL  )  const

void lat::ZipMember::comment ( const std::string &  value  ) 

std::string lat::ZipMember::comment ( void   )  const

void lat::ZipMember::crc32 ( unsigned  value  ) 

unsigned lat::ZipMember::crc32 ( void   )  const

void lat::ZipMember::extra ( ExtraField  which,
void buffer,
IOSize  size 
)

void lat::ZipMember::extra ( ExtraField  which,
void **  buffer,
IOSize size 
) const

unsigned lat::ZipMember::flags ( void   )  const

void lat::ZipMember::isDirectory ( bool  value  ) 

bool lat::ZipMember::isDirectory ( void   )  const

Referenced by edm::service::IguanaService::postBeginJob(), edm::service::IguanaService::postEndJob(), edm::service::IguanaService::preEventProcessing(), edm::service::IguanaService::registry(), and edm::service::IguanaService::report().

void lat::ZipMember::level ( unsigned  value  ) 

unsigned lat::ZipMember::level ( void   )  const

void lat::ZipMember::method ( Method  value  ) 

unsigned lat::ZipMember::method ( void   )  const

Referenced by edm::service::IguanaService::postBeginJob(), edm::service::IguanaService::postEndJob(), edm::service::IguanaService::preEventProcessing(), edm::service::IguanaService::registry(), and edm::service::IguanaService::report().

Filename lat::ZipMember::name ( void   )  const

ZipMember& lat::ZipMember::operator= ( const ZipMember x  ) 

void lat::ZipMember::position ( IOOffset  value  ) 

IOOffset lat::ZipMember::position ( void   )  const

void lat::ZipMember::size ( SizeType  which,
IOOffset  value 
)

IOOffset lat::ZipMember::size ( SizeType  which  )  const

void lat::ZipMember::time ( Time  value  ) 

Time lat::ZipMember::time ( void   )  const

Referenced by edm::service::IguanaService::postBeginJob(), edm::service::IguanaService::postEndJob(), edm::service::IguanaService::preEventProcessing(), edm::service::IguanaService::registry(), and edm::service::IguanaService::report().


Member Data Documentation

unsigned lat::ZipMember::m_attrExt [private]

Definition at line 120 of file ZipMember.h.

unsigned lat::ZipMember::m_attrInt [private]

Definition at line 119 of file ZipMember.h.

std::string lat::ZipMember::m_comment [private]

Definition at line 107 of file ZipMember.h.

unsigned lat::ZipMember::m_crc32 [private]

Definition at line 118 of file ZipMember.h.

IOOffset lat::ZipMember::m_csize [private]

Definition at line 114 of file ZipMember.h.

bool lat::ZipMember::m_directory [private]

Definition at line 121 of file ZipMember.h.

IOOffset lat::ZipMember::m_dsize [private]

Definition at line 115 of file ZipMember.h.

unsigned lat::ZipMember::m_level [private]

Definition at line 117 of file ZipMember.h.

unsigned lat::ZipMember::m_method [private]

Definition at line 116 of file ZipMember.h.

Filename lat::ZipMember::m_name [private]

Definition at line 106 of file ZipMember.h.

IOOffset lat::ZipMember::m_position [private]

Definition at line 108 of file ZipMember.h.

Time lat::ZipMember::m_time [private]

Definition at line 113 of file ZipMember.h.

void* lat::ZipMember::m_xglobal [private]

Definition at line 111 of file ZipMember.h.

IOSize lat::ZipMember::m_xglobalLen [private]

Definition at line 112 of file ZipMember.h.

void* lat::ZipMember::m_xlocal [private]

Definition at line 109 of file ZipMember.h.

IOSize lat::ZipMember::m_xlocalLen [private]

Definition at line 110 of file ZipMember.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:45 2009 for CMSSW by  doxygen 1.5.4