#include <Zip.hpp>

Inheritance diagram for etk::archive::Zip:
etk::Archive

Public Member Functions

 Zip (const std::string &_fileName, uint64_t _offset=0LL)
 
virtual ~Zip ()
 
- Public Member Functions inherited from etk::Archive
 Archive (const std::string &_fileName)
 
virtual ~Archive ()=default
 
const std::string & getFileName ()
 
int32_t size () const
 
const std::string & getName (size_t _id) const
 
const ArchiveContentgetContent (size_t _id) const
 
const ArchiveContentgetContent (const std::string &_key) const
 
bool exist (const std::string &_key) const
 
void open (const std::string &_key)
 
void close (const std::string &_key)
 
void display ()
 

Protected Member Functions

void loadFile (const std::map< std::string, ArchiveContent >::iterator &_it) override
 

Additional Inherited Members

- Static Public Member Functions inherited from etk::Archive
static Archiveload (const std::string &_fileName)
 
static ArchiveloadPackage (const std::string &_fileName)
 
- Protected Attributes inherited from etk::Archive
std::string m_fileName
 
std::map< std::string, ArchiveContentm_content
 

Detailed Description

Zip acces interface (wrapper)

Constructor & Destructor Documentation

§ Zip()

etk::archive::Zip::Zip ( const std::string &  _fileName,
uint64_t  _offset = 0LL 
)

constructor of a zip file access

Parameters
[in]_fileNameFile to parse (.zip / .apk)
[in]_offsetOffset in the file where to start the parsing of the "zip"

§ ~Zip()

virtual etk::archive::Zip::~Zip ( )
virtual

basic destructor

Member Function Documentation

§ loadFile()

void etk::archive::Zip::loadFile ( const std::map< std::string, ArchiveContent >::iterator &  _it)
overrideprotectedvirtual

Request the load in memory of the concerned file.

Parameters
[in]_itIterator on the element.

Reimplemented from etk::Archive.


The documentation for this class was generated from the following file:
  • framework/atria-soft/etk/etk/archive/Zip.hpp