OpendTect  6.6
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 ()
 
const char * errorMsg () const
 
bool getAllFnms (BufferStringSet &) const
 
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
 
od_int64 getTotalSize (bool uncomp=true) const
 All sizes in Bytes. More...
 
bool isOK () const
 

Protected Member Functions

bool readZipArchive (const char *fnm)
 

Protected Attributes

BufferString errormsg_
 
ObjectSet< ZipFileInfofileinfo_
 
bool isok_
 

Detailed Description

Gives information of zip archives.

<>

Constructor & Destructor Documentation

◆ ZipArchiveInfo()

ZipArchiveInfo::ZipArchiveInfo ( const char *  fnm)

◆ ~ZipArchiveInfo()

ZipArchiveInfo::~ZipArchiveInfo ( )

Member Function Documentation

◆ errorMsg()

const char* ZipArchiveInfo::errorMsg ( ) const

◆ getAllFnms()

bool ZipArchiveInfo::getAllFnms ( BufferStringSet ) const

◆ getFileCompSize() [1/2]

od_int64 ZipArchiveInfo::getFileCompSize ( const char *  fnm) const

◆ getFileCompSize() [2/2]

od_int64 ZipArchiveInfo::getFileCompSize ( int  ) const

◆ getFileUnCompSize() [1/2]

od_int64 ZipArchiveInfo::getFileUnCompSize ( const char *  fnm) const

◆ getFileUnCompSize() [2/2]

od_int64 ZipArchiveInfo::getFileUnCompSize ( int  ) const

◆ getLocalHeaderOffset() [1/2]

od_int64 ZipArchiveInfo::getLocalHeaderOffset ( const char *  fnm) const

◆ getLocalHeaderOffset() [2/2]

od_int64 ZipArchiveInfo::getLocalHeaderOffset ( int  ) const

◆ getTotalSize()

od_int64 ZipArchiveInfo::getTotalSize ( bool  uncomp = true) const

All sizes in Bytes.

◆ isOK()

bool ZipArchiveInfo::isOK ( ) const
inline

◆ readZipArchive()

bool ZipArchiveInfo::readZipArchive ( const char *  fnm)
protected

Member Data Documentation

◆ errormsg_

BufferString ZipArchiveInfo::errormsg_
mutableprotected

◆ fileinfo_

ObjectSet<ZipFileInfo> ZipArchiveInfo::fileinfo_
protected

◆ isok_

bool ZipArchiveInfo::isok_
protected

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