private

Inheritance Graph

graph BT
	ZIPHandle
	click ZIPHandle "classUtil_1_1ZIPProvider_1_1ZIPHandle"

Description

Internal representation of an opened ZIP archive.

Public Functions

   
   
  ZIPHandle( FileName _archiveRoot, zip * archive)
   
  ~ZIPHandle()
   
status_t readFile(const FileName & file, std::vector< uint8_t > & data)
   
status_t writeFile(const FileName & file, const std::vector< uint8_t > & data, bool overwrite)
   
status_t dir(const std::string & directory, std::list< FileName > & result, const uint8_t flags)
   
bool isFile(const FileName & file)
   
bool isDir(const FileName & directory)
   
size_t fileSize(const FileName & file)
   
status_t makeDir(const FileName & directory)
   
status_t removeDir(const FileName & directory)
   
bool isChanged() const

Documentation

function
Util::ZIPProvider::ZIPHandle::ZIPHandle

public explicit
     
     
ZIPHandle( FileName _archiveRoot,
  zip * archive
)    

Defined in Util/IO/ZIPProvider.h:63


function
Util::ZIPProvider::ZIPHandle::~ZIPHandle

public
   
   
~ZIPHandle( )

Defined in Util/IO/ZIPProvider.h:64


function
Util::ZIPProvider::ZIPHandle::readFile

public
     
     
status_t readFile( const FileName & file,
  std::vector< uint8_t > & data
)    

Defined in Util/IO/ZIPProvider.h:67


function
Util::ZIPProvider::ZIPHandle::writeFile

public
     
     
status_t writeFile( const FileName & file,
  const std::vector< uint8_t > & data,
  bool overwrite
)    

Defined in Util/IO/ZIPProvider.h:68


function
Util::ZIPProvider::ZIPHandle::dir

public
     
     
status_t dir( const std::string & directory,
  std::list< FileName > & result,
  const uint8_t flags
)    

Defined in Util/IO/ZIPProvider.h:70


function
Util::ZIPProvider::ZIPHandle::isFile

public
     
     
bool isFile( const FileName & file )

Defined in Util/IO/ZIPProvider.h:71


function
Util::ZIPProvider::ZIPHandle::isDir

public
     
     
bool isDir( const FileName & directory )

Defined in Util/IO/ZIPProvider.h:72


function
Util::ZIPProvider::ZIPHandle::fileSize

public
     
     
size_t fileSize( const FileName & file )

Defined in Util/IO/ZIPProvider.h:73


function
Util::ZIPProvider::ZIPHandle::makeDir

public
     
     
status_t makeDir( const FileName & directory )

Defined in Util/IO/ZIPProvider.h:75


function
Util::ZIPProvider::ZIPHandle::removeDir

public
     
     
status_t removeDir( const FileName & directory )

Defined in Util/IO/ZIPProvider.h:76


function
Util::ZIPProvider::ZIPHandle::isChanged

public const inline
   
   
bool isChanged( ) const

Defined in Util/IO/ZIPProvider.h:78