3DCoat
3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
|
The simple c++ interface to extract ZIP files. More...
#include <zpp.h>
Public Member Functions | |
reader (const std::string &archiveName) | |
Open the archive. More... | |
std::vector< std::string > | getFilesList () |
Get list of files in the archive. More... | |
void | extractToFolder (const std::string &nameInArchive, const std::string &destFolder) |
Extract one file from the archive to the destination folder. More... | |
void | extractToFile (const std::string &nameInArchive, const std::string &destFilename) |
Extract one file from the archive to file, name may be different from the filename in the archive. More... | |
void | extractAll (const std::string &destFolder) |
Extract al files to the folder. More... | |
void | extractFirstToFile (const std::string &destFilename) |
Extract the first file in the archive to the destination filename. It is useful if you have just one file in the archive. More... | |
The simple c++ interface to extract ZIP files.
|
inline |
Open the archive.
hack - waiting for the file to be closed if it was created by fstream. If stream is closed, the fopen still can't open the file immediately. c++ uses fstream, but unzipper uses FILE*, so this hack introduced to resolve the conflict
wait up to 5s
file still locked, need to wait a bit
end of the hack
|
inline |
Extract al files to the folder.
|
inline |
Extract the first file in the archive to the destination filename. It is useful if you have just one file in the archive.
Referenced by downloader::queue::add().
|
inline |
Extract one file from the archive to file, name may be different from the filename in the archive.
|
inline |
Extract one file from the archive to the destination folder.
|
inline |
Get list of files in the archive.