存档读取器
更多...
#include <ArchiveReader.h>
◆ ExtractCallback
◆ ArchiveReader()
◆ ~ArchiveReader()
ArchiveReader::~ArchiveReader |
( |
| ) |
|
|
virtual |
◆ closeCallback()
int ArchiveReader::closeCallback |
( |
void * | a, |
|
|
ArchiveReader * | archive_this ) |
|
static |
◆ extract() [1/2]
◆ extract() [2/2]
bool ArchiveReader::extract |
( |
const std::filesystem::path & | src_path, |
|
|
const std::filesystem::path & | dest_path, |
|
|
const std::string & | pwd = {} ) |
|
static |
◆ getError()
int ArchiveReader::getError |
( |
| ) |
const |
|
nodiscard |
◆ getErrorString()
const char * ArchiveReader::getErrorString |
( |
| ) |
const |
|
nodiscard |
获取当前错误字符串
- 返回
- 错误字符串
引用了 XX.
◆ openCallback()
int ArchiveReader::openCallback |
( |
void * | a, |
|
|
ArchiveReader * | archive_this ) |
|
static |
◆ readCallback()
int64_t ArchiveReader::readCallback |
( |
void * | a, |
|
|
ArchiveReader * | archive_this, |
|
|
const void ** | buffer ) |
|
static |
◆ setOptions()
int ArchiveReader::setOptions |
( |
const std::string & | opt | ) |
const |
|
nodiscard |
为当前的存档设置 libarchive 选项
- 参数
-
- 返回
- 成功返回 0
引用了 XX.
◆ setPassword()
int ArchiveReader::setPassword |
( |
const std::string & | pwd | ) |
const |
|
nodiscard |
为当前读取的文档设置使用的密码
- 参数
-
- 返回
- 成功返回 0
引用了 XX.
◆ archive
void* sese::archive::ArchiveReader::archive {} |
|
protected |
◆ buffer
char sese::archive::ArchiveReader::buffer[4096] {} |
|
protected |
◆ input
该类的文档由以下文件生成: