🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
ExtractorInterface.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
25
AST_NAMESPACE_BEGIN
26
35
class
AST_UTIL_API
ExtractorInterface
36
{
37
public
:
38
virtual
~ExtractorInterface
() =
default
;
39
44
virtual
errc_t
extract
(
StringView
source,
StringView
target)
const
= 0;
45
50
virtual
bool
isSupported
()
const
{
return
true
; }
51
56
virtual
bool
canExtract(
StringView
source)
const
;
57
};
58
59
62
AST_NAMESPACE_END
ast::ExtractorInterface
解压接口
定义
ExtractorInterface.hpp:36
ast::ExtractorInterface::extract
virtual errc_t extract(StringView source, StringView target) const =0
解压压缩文件或目录
ast::ExtractorInterface::isSupported
virtual bool isSupported() const
检查该解压实现是否在当前环境中可用
定义
ExtractorInterface.hpp:50
ast::StringViewBasic< char >
src
AstUtil
Archiver
ExtractorInterface.hpp
制作者
1.12.0