Lhaz
lhazlist.h
[詳解]
1 /*************************************************************************/
6 #pragma once
7 
8 #include "altstr.hpp"
9 
10 class ARCHIVE;
11 class MYFILE;
12 
13 namespace gui {
14 
15 class LVCOLMS;
16 
17 }
18 
19 class LHAZLIST {
20 
21 public:
22  enum FORMAT { VIEW, DIR, TREE };
23  //
24  LHAZLIST(gui::LVCOLMS* lvcolms, ARCHIVE* archive, const WSTR& dst, FORMAT format, bool csv, bool count, const WSTR& countfile);
25  gui::LVCOLMS* GetLvcolms(void) { return Lvcolms; };
26  ARCHIVE* GetArchive(void) { return Archive; };
27  bool Out(void);
28  ULONGLONG CountLineFunc(int idx);
29  bool Match(int index);
30 
31 private:
34  WSTR ListName;
36  bool Csv;
37  bool CountLine;
39  //
40  bool OutView(MYFILE& fo);
41  bool OutPlane(MYFILE& fo);
42  bool OutTree(MYFILE& fo);
43  ULONGLONG CountLineFunc(const WSTR& name);
44 
45 };
bool CountLine
Definition: lhazlist.h:37
Definition: lhazlist.h:22
Definition: lhazlist.h:19
Definition: lhazarc.h:25
WSTR ListName
Definition: lhazlist.h:34
Definition: lhazbz2.h:17
Definition: lhazcol.h:35
gui::LVCOLMS * Lvcolms
Definition: lhazlist.h:32
FORMAT
Definition: lhazlist.h:22
gui::LVCOLMS * GetLvcolms(void)
Definition: lhazlist.h:25
ARCHIVE * GetArchive(void)
Definition: lhazlist.h:26
bool Csv
Definition: lhazlist.h:36
ARCHIVE * Archive
Definition: lhazlist.h:33
FORMAT Format
Definition: lhazlist.h:35
WSTR CountLineFile
Definition: lhazlist.h:38