12 virtual public ::file::file,
13 virtual public ::file::listing_provider
38 void * m_punzfileinfo;
40 unsigned long long m_iPosition;
41 string_array m_straPath;
42 pointer_array < ::zip::file > m_filea;
43 pointer_array < ::zip::in_file > m_infilea;
44 string_array m_straPrefix;
59 virtual filesize get_position()
const override;
61 virtual bool zip_open(
const char *,
unsigned int);
62 virtual bool zip_open(::zip::file * pzfile,const ::file::path & path);
65 virtual bool unzip_open(::file::file * pfile,
const string_array & = {},
int iBufferLevel = 2, ::file::enum_type * petype =
nullptr);
66 virtual bool unzip_open(::zip::file * pzfile,const ::file::path & path);
70 virtual bool locate(const ::file::path & path);
74 virtual void add_file(const ::file::path& pszRelative, ::file::file * pfile);
76 bool dump(file_pointer pfile);
78 bool dump(memory & m);
81 ::zip::file * get_zip_file();
82 const ::zip::file * get_zip_file()
const;
85 filesize translate(filesize offset, ::enum_seek eseek)
override;
86 void set_size(filesize dwNewLen)
override;
87 filesize get_size()
const override;
90 using ::file::file::read;
91 memsize read(
void * pdata, memsize nCount)
override;
94 using ::file::file::write;
95 void write(
const void * pdata,memsize nCount)
override;
98 void flush()
override;
99 void close()
override;
101 virtual ::file::listing & ls(::file::listing & listing);
102 virtual ::file::listing & ls_relative_name(::file::listing & listing);
105 bool is_opened()
const override;
108 ::file::listing & perform_file_listing(::file::listing & listing)
override;
109 ::file::listing & perform_file_relative_name_listing(::file::listing & listing)
override;
Definition aaa_in_file.h:14