neoGFX
Cross-platform C++ app/game engine
|
#include <zip.hpp>
Classes | |
struct | file_not_found |
struct | zip_file_too_big |
Public Types | |
typedef std::vector< uint8_t > | buffer_type |
Public Member Functions | |
zip (const std::string &aZipFilePath) | |
zip (const buffer_type &aZipFile) | |
zip (buffer_type &&aZipFile) | |
zip (const void *aZipFileData, std::size_t aZipFileDataLength) | |
size_t | file_count () const |
std::size_t | index_of (const std::string &aFile) const |
bool | extract (size_t aIndex, const std::string &aTargetDirectory) |
bool | extract_to (size_t aIndex, buffer_type &aBuffer) |
std::string | extract_to_string (size_t aIndex) |
const std::string & | file_path (size_t aIndex) const |
bool | ok () const |
typedef std::vector<uint8_t> neolib::zip::buffer_type |
neolib::zip::zip | ( | const std::string & | aZipFilePath | ) |
neolib::zip::zip | ( | const buffer_type & | aZipFile | ) |
neolib::zip::zip | ( | buffer_type && | aZipFile | ) |
bool neolib::zip::extract_to | ( | size_t | aIndex, |
buffer_type & | aBuffer | ||
) |
std::string neolib::zip::extract_to_string | ( | size_t | aIndex | ) |
std::size_t neolib::zip::index_of | ( | const std::string & | aFile | ) | const |