存档写入器
更多...
#include <ArchiveWriter.h>
◆ ArchiveWriter()
◆ ~ArchiveWriter()
ArchiveWriter::~ArchiveWriter |
( |
| ) |
|
|
virtual |
◆ addDirectory() [1/2]
bool ArchiveWriter::addDirectory |
( |
const std::filesystem::path & | base, |
|
|
const std::filesystem::path & | dir ) |
◆ addDirectory() [2/2]
bool ArchiveWriter::addDirectory |
( |
const std::filesystem::path & | dir | ) |
|
◆ addFile() [1/2]
bool ArchiveWriter::addFile |
( |
const std::filesystem::path & | base, |
|
|
const std::filesystem::path & | file ) |
◆ addFile() [2/2]
bool ArchiveWriter::addFile |
( |
const std::filesystem::path & | file | ) |
|
◆ addPath() [1/2]
bool ArchiveWriter::addPath |
( |
const std::filesystem::path & | base, |
|
|
const std::filesystem::path & | path ) |
◆ addPath() [2/2]
bool ArchiveWriter::addPath |
( |
const std::filesystem::path & | path | ) |
|
◆ addStream()
bool ArchiveWriter::addStream |
( |
const std::filesystem::path & | path, |
|
|
io::InputStream * | input, |
|
|
size_t | len ) |
◆ begin()
bool ArchiveWriter::begin |
( |
| ) |
|
◆ closeCallback()
int ArchiveWriter::closeCallback |
( |
void * | archive, |
|
|
ArchiveWriter * | archive_this ) |
|
static |
◆ done()
bool ArchiveWriter::done |
( |
| ) |
|
◆ freeCallback()
int ArchiveWriter::freeCallback |
( |
void * | archive, |
|
|
ArchiveWriter * | archive_this ) |
|
static |
◆ getError()
int ArchiveWriter::getError |
( |
| ) |
|
◆ getErrorString()
const char * ArchiveWriter::getErrorString |
( |
| ) |
|
◆ openCallback()
int ArchiveWriter::openCallback |
( |
void * | archive, |
|
|
ArchiveWriter * | archive_this ) |
|
static |
◆ passphraseCallback()
◆ setFilterBZip2()
int ArchiveWriter::setFilterBZip2 |
( |
| ) |
|
◆ setFilterGRZip()
int ArchiveWriter::setFilterGRZip |
( |
| ) |
|
◆ setFilterGZip()
int ArchiveWriter::setFilterGZip |
( |
| ) |
|
◆ setFilterLRZip()
int ArchiveWriter::setFilterLRZip |
( |
| ) |
|
◆ setFilterLZ4()
int ArchiveWriter::setFilterLZ4 |
( |
| ) |
|
◆ setFilterLZip()
int ArchiveWriter::setFilterLZip |
( |
| ) |
|
◆ setFilterLzma()
int ArchiveWriter::setFilterLzma |
( |
| ) |
|
◆ setFilterLzop()
int ArchiveWriter::setFilterLzop |
( |
| ) |
|
◆ setFilterNone()
int ArchiveWriter::setFilterNone |
( |
| ) |
|
◆ setFilterXZ()
int ArchiveWriter::setFilterXZ |
( |
| ) |
|
◆ setFilterZstd()
int ArchiveWriter::setFilterZstd |
( |
| ) |
|
◆ setFormat7z()
int ArchiveWriter::setFormat7z |
( |
| ) |
|
◆ setFormatISO()
int ArchiveWriter::setFormatISO |
( |
| ) |
|
◆ setFormatTar()
int ArchiveWriter::setFormatTar |
( |
| ) |
|
◆ setFormatXar()
int ArchiveWriter::setFormatXar |
( |
| ) |
|
◆ setFormatZip()
int ArchiveWriter::setFormatZip |
( |
| ) |
|
◆ setOptions()
int ArchiveWriter::setOptions |
( |
const std::string & | opt | ) |
|
设置存档的 libarchive 选项
- 参数
-
- 返回
- 成功返回 0
引用了 XX.
◆ setPassword()
int ArchiveWriter::setPassword |
( |
const std::string & | pwd | ) |
|
设置写入存档所使用的密码
- 参数
-
- 返回
- 成功返回 0
引用了 XX.
◆ writeCallback()
int64_t ArchiveWriter::writeCallback |
( |
void * | archive, |
|
|
ArchiveWriter * | archive_this, |
|
|
const void * | buffer, |
|
|
size_t | len ) |
|
static |
◆ archive
void* sese::archive::ArchiveWriter::archive {} |
|
protected |
◆ output
该类的文档由以下文件生成: