OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ZipArchiveInfo Class Reference

Gives information of zip archives. More...

#include <ziparchiveinfo.h>

Public Member Functions

 ZipArchiveInfo (const char *fnm)
 
 ~ZipArchiveInfo ()
 
uiString errMsg () const
 
bool get (const char *fnm, ZipFileInfo &) 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
 
const ZipFileInfogetInfo (const char *fnm) const
 
od_int64 getTotalSize (bool uncomp=true) const
 All sizes in Bytes.
 
bool isOK () const
 

Private Member Functions

bool readZipArchive ()
 
void setFileNotPresentError (const char *fnm)
 

Private Attributes

uiString errormsg_
 
ObjectSet< ZipFileInfofileinfo_
 
bool isok_
 
BufferString srcfnm_
 

Detailed Description

Gives information of zip archives.

<>

Constructor & Destructor Documentation

◆ ZipArchiveInfo()

ZipArchiveInfo::ZipArchiveInfo ( const char * fnm)

◆ ~ZipArchiveInfo()

ZipArchiveInfo::~ZipArchiveInfo ( )

Member Function Documentation

◆ errMsg()

uiString ZipArchiveInfo::errMsg ( ) const

◆ get()

bool ZipArchiveInfo::get ( const char * fnm,
ZipFileInfo &  ) 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

◆ getInfo()

const ZipFileInfo * ZipArchiveInfo::getInfo ( const char * fnm) const

◆ getTotalSize()

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

All sizes in Bytes.

◆ isOK()

bool ZipArchiveInfo::isOK ( ) const
inline

◆ readZipArchive()

bool ZipArchiveInfo::readZipArchive ( )
private

◆ setFileNotPresentError()

void ZipArchiveInfo::setFileNotPresentError ( const char * fnm)
private

Member Data Documentation

◆ errormsg_

uiString ZipArchiveInfo::errormsg_
mutableprivate

◆ fileinfo_

ObjectSet<ZipFileInfo> ZipArchiveInfo::fileinfo_
private

◆ isok_

bool ZipArchiveInfo::isok_
private

◆ srcfnm_

BufferString ZipArchiveInfo::srcfnm_
private

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