#include <ZipArchive.hpp>
◆ FolderList
◆ ZipArchive()
Default constructor.
- Parameters
-
[in] | path | The archive path name |
[in] | mode | The open mode |
◆ ~ZipArchive()
CU_API castor::ZipArchive::~ZipArchive |
( |
| ) |
|
|
noexcept |
◆ addFile()
CU_API void castor::ZipArchive::addFile |
( |
Path const & | file | ) |
|
adds a file to the archive
- Parameters
-
◆ deflate()
CU_API bool castor::ZipArchive::deflate |
( |
| ) |
const |
◆ findFile()
CU_API bool castor::ZipArchive::findFile |
( |
String const & | file | ) |
const |
Looks for a file into the archive.
- Parameters
-
◆ findFolder()
CU_API bool castor::ZipArchive::findFolder |
( |
String const & | folder | ) |
const |
Looks for a folder into the archive.
- Parameters
-
[in] | folder | The folder name |
◆ inflate()
CU_API bool castor::ZipArchive::inflate |
( |
Path const & | folder | ) |
|
Inflates the archive.
- Parameters
-
[in] | folder | The archive output folder |
◆ removeFile()
CU_API void castor::ZipArchive::removeFile |
( |
Path const & | fileName | ) |
|
Removes a file for the archive.
- Parameters
-
[in] | fileName | The file path |
The documentation for this class was generated from the following file: