13 void* pmz_zip_reader_instance_ = NULL;
14 void* pzip_handle_ = NULL;
15 std::vector<std::filesystem::path> entries_path_;
16 void Create()
override;
17 std::filesystem::path CurrentEntryPath();
18 bool entries_path_are_loaded_ =
false;
21 explicit ArchiveReader(
const std::filesystem::path& archivePath);
25 int32_t Close()
override;
26 void Delete()
override;
29 int32_t ExtractFile(
const std::filesystem::path& FileToExtractPath);
30 int32_t ExtractFile(
const std::filesystem::path& FileToExtractPath,
31 const std::filesystem::path& destination);
32 std::vector<std::filesystem::path> ExtractPattern(
const std::string& pattern,
33 const std::string& exclude);
34 std::vector<std::filesystem::path> ExtractPattern(
const std::string& pattern,
35 const std::string& exclude,
36 const std::filesystem::path& destination);
37 void LocateEntry(
const std::filesystem::path& fileToExtractPath);
38 void OpenEntry(
const std::filesystem::path& fileToExtractPath);
39 std::istringstream ExtractFileInStringStream(
const std::filesystem::path& FileToExtractPath);
40 uint64_t GetNumberOfEntries();
42 std::vector<std::filesystem::path> EntriesPath()
const
47 void LoadEntriesPath();
48 std::vector<std::filesystem::path> GetEntriesPathWithExtension(
const std::string& ext);
50 void* InternalPointer()
const
52 return pmz_zip_reader_instance_;