Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
lhaztree.h
[詳解]
1#ifndef _LHAZTREE_H
2#define _LHAZTREE_H
3
4#include "altstr.hpp"
5#include <stdio.h>
6#include <vector>
7
8using namespace std;
9
10class MYFILE;
11class LHAZLIST;
12
13class LHAZTREE {
14public:
16 LHAZTREE(int level, int index, const WSTR& name);
17 LHAZTREE(int level, TYPE type, int index, const WSTR& name);
18 LHAZTREE(void);
19 void Add(int index, const WSTR& name);
20 void Print(MYFILE& fo, bool hasdir, bool csv, LHAZLIST* lhazlist);
21
22private:
23 static vector<bool> Line;
24 int Level;
26 int Index;
27 WSTR Name;
28 vector<LHAZTREE> Child;
29 bool HasDir;
30 //
31 WSTR GetContent(bool csv, int index, LHAZLIST* lhazlist);
32
33};
34
35#endif
Definition lhazlist.h:19
Definition lhaztree.h:13
int Level
Definition lhaztree.h:24
vector< LHAZTREE > Child
Definition lhaztree.h:28
TYPE Type
Definition lhaztree.h:25
bool HasDir
Definition lhaztree.h:29
void Add(int index, const WSTR &name)
Definition lhaztree.cpp:56
LHAZTREE(void)
Definition lhaztree.cpp:21
WSTR Name
Definition lhaztree.h:27
int Index
Definition lhaztree.h:26
TYPE
Definition lhaztree.h:15
@ TREE_FILE
Definition lhaztree.h:15
@ TREE_NON
Definition lhaztree.h:15
@ TREE_DIR
Definition lhaztree.h:15
void Print(MYFILE &fo, bool hasdir, bool csv, LHAZLIST *lhazlist)
Definition lhaztree.cpp:135
static vector< bool > Line
Definition lhaztree.h:23
WSTR GetContent(bool csv, int index, LHAZLIST *lhazlist)
Definition lhaztree.cpp:94