Changeset 410 for cpp/common/virtfile/virtfile.h
- Timestamp:
- 07/02/15 11:07:42 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/virtfile/virtfile.h
r302 r410 10 10 #include <common/nonstd_dir.h> 11 11 #include <string> 12 #include <set> 12 13 using std::string; 13 14 … … 108 109 bool Vfexists(const char* path); 109 110 VirtDIR *Vopendir(const char* path); 111 virtual VirtDIR *internalopendir(const char* path) {return NULL;} 110 112 bool Vmkdir(const char* path); 111 113 bool Vmkdirs(const char* path); 112 114 bool Vdirexists(const char* path, bool is_writable); 115 116 class Dir: public VirtDIR 117 { 118 ChainFileSystem *first; 119 VirtFileSystem *second; 120 string path; 121 std::set<string> duplicates; 122 VirtDIR *dir; 123 public: 124 Dir(string _path,ChainFileSystem *_first,VirtFileSystem *_second):first(_first),second(_second),path(_path),dir(NULL) {} 125 ~Dir(); 126 dirent* Vreaddir(); 127 }; 113 128 }; 114 129
Note: See TracChangeset
for help on using the changeset viewer.