OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ZipArchiveInfo Class Reference

Gives information of zip archives. More...

Public Member Functions

 ZipArchiveInfo (const char *fnm)
 
 ~ZipArchiveInfo ()
 
bool isOK () const
 
const char * errorMsg () const
 
bool getAllFnms (BufferStringSet &) const
 All sizes in Bytes. More...
 
od_int64 getFileCompSize (const char *fnm) const
 
od_int64 getFileCompSize (int) const
 
od_int64 getFileUnCompSize (const char *fnm) const
 
od_int64 getFileUnCompSize (int) const
 
od_int64 getLocalHeaderOffset (const char *fnm) const
 
od_int64 getLocalHeaderOffset (int) const
 

Protected Member Functions

bool readZipArchive (const char *fnm)
 

Protected Attributes

ObjectSet< ZipFileInfofileinfo_
 
BufferString errormsg_
 
bool isok_
 

Detailed Description

Gives information of zip archives.

Constructor & Destructor Documentation

ZipArchiveInfo::ZipArchiveInfo ( const char *  fnm)
ZipArchiveInfo::~ZipArchiveInfo ( )

Member Function Documentation

const char* ZipArchiveInfo::errorMsg ( ) const
bool ZipArchiveInfo::getAllFnms ( BufferStringSet ) const

All sizes in Bytes.

od_int64 ZipArchiveInfo::getFileCompSize ( const char *  fnm) const
od_int64 ZipArchiveInfo::getFileCompSize ( int  ) const
od_int64 ZipArchiveInfo::getFileUnCompSize ( const char *  fnm) const
od_int64 ZipArchiveInfo::getFileUnCompSize ( int  ) const
od_int64 ZipArchiveInfo::getLocalHeaderOffset ( const char *  fnm) const
od_int64 ZipArchiveInfo::getLocalHeaderOffset ( int  ) const
bool ZipArchiveInfo::isOK ( ) const
inline
bool ZipArchiveInfo::readZipArchive ( const char *  fnm)
protected

Member Data Documentation

BufferString ZipArchiveInfo::errormsg_
mutableprotected
ObjectSet<ZipFileInfo> ZipArchiveInfo::fileinfo_
protected
bool ZipArchiveInfo::isok_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019