root/trunk/imports_class.h

Revision 5, 0.6 kB (checked in by qbert, 6 years ago)

Initial ( and last :( ) commit

Line 
1 #ifndef IMPORT_CLASS_H
2 #define IMPORT_CLASS_H
3
4
5
6 class ImportClass
7 {
8     vector<string> baseDirs;
9     vector<string> allDirs;
10    
11 public:
12     ImportClass() {}
13     void SetSession(const vector<string> & _allDirs, const vector<string> & _baseDirs)
14    
15     {
16         baseDirs.empty();
17         allDirs.empty();
18         allDirs= _allDirs;
19         baseDirs = _baseDirs;
20
21     }
22
23     vector<string> search(const string& rootName);
24     vector<string> initalImports();
25
26     bool getFullPath(const string& import,string& dir);
27
28
29     bool isFile(const string& root, string& dir );
30
31 };
32
33
34
35
36
37
38
39
40
41
42 #endif
Note: See TracBrowser for help on using the browser.