etk::archive::Zip Class Reference
#include <Zip.hpp>
Inheritance diagram for etk::archive::Zip:
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 ArchiveContent & | getContent (size_t _id) const |
| const ArchiveContent & | getContent (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 Archive * | load (const std::string &_fileName) |
| static Archive * | loadPackage (const std::string &_fileName) |
Protected Attributes inherited from etk::Archive | |
| std::string | m_fileName |
| std::map< std::string, ArchiveContent > | m_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] _fileName File to parse (.zip / .apk) [in] _offset Offset in the file where to start the parsing of the "zip"
§ ~Zip()
|
virtual |
basic destructor
Member Function Documentation
§ loadFile()
|
overrideprotectedvirtual |
Request the load in memory of the concerned file.
- Parameters
-
[in] _it Iterator 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
Public Member Functions inherited from
1.8.12