-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcDIAWrapper.h
42 lines (33 loc) · 968 Bytes
/
cDIAWrapper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//cDIAWrapper.h
class UDT;
class cDIAWrapper
{
typedef CComPtr<IDiaDataSource> DataSource;
typedef CComPtr<IDiaSession> Session;
typedef CComPtr<IDiaSymbol> Symbol;
typedef std::vector<UDT> UDTVec;
DataSource IDiaDataSource;
Session IDiaSession;
Symbol GlobalScope;
UDTVec ClassesVec;
int getClassID(const std::wstring& name);
std::string FileNamePrefix;
std::vector<std::wstring> MasterClassesVec;
int cDIAWrapper::getIndex(const std::wstring& className);
int cDIAWrapper::getIndex(const UDT& udt);
public:
cDIAWrapper(const std::string& fileNamePrefix);
void openPDB(const std::wstring& pdbName);
void exploreSession();
void getClasses(const wchar_t* name);
void loadClasses();
void printClasses();
void printClassesSimple();
void fileClasses();
void fileClassStabilities();
void fileClassReturns();
void fileClassParams();
void fileClassBases();
void fileClassAttributes();
void fileClassInner();
};