10class CLASS_DECL_ACME folder :
12 virtual public ::object
17 filesize m_iFilePosition;
18 ::string m_strCurrent;
19 ::file::enum_type m_etypeCurrent;
20 ::i32 m_iConsumeFromPathBeginningWhenExtracting;
27 void initialize(::particle * pparticle)
override;
30 virtual bool is_reading()
const;
33 virtual void open_for_reading(file_pointer pfile, ::i32 iBufferLevel = 2);
36 virtual bool locate_file(const ::file::path & path);
37 virtual bool locate_folder(const ::file::path & path);
38 virtual ::file_pointer get_file();
39 virtual ::file_pointer get_file(const ::file::path & pathFile);
41 ::file::enum_type type(const ::file::path & pathItem =
nullptr);
43 virtual bool has_sub_folder(const ::file::path & pathFolder =
nullptr);
44 virtual void extract(
memory& m, const ::file::path & pathFile =
nullptr);
45 virtual bool is_compressed(const ::file::path & pathItem =
nullptr);
47 virtual bool locate(const ::function <
bool(const_char_pointer )> &
function);
49 virtual void e_extract_all(const ::file::path & pathTargetDir,
::file::path_array_base * ppatha =
nullptr, string_array_base* pstraFilter =
nullptr, bool_array* pbaBeginsFilterEat =
nullptr,
::function<
bool(const::scoped_string& scopedstr) > functionCallback = {});
50 virtual ::file::path e_extract_first_ends(const ::file::path& pathTargetDir, const ::scoped_string & scopedstr);
59 virtual void open_for_writing(file_pointer pfile);
62 virtual void add_file(const ::file::path & pathRelative,
::file::file* pfile);