Line | |
---|
1 | #pragma once
|
---|
2 |
|
---|
3 | #include <string>
|
---|
4 | #include <vector>
|
---|
5 |
|
---|
6 | #include "Type.h"
|
---|
7 |
|
---|
8 | using namespace std;
|
---|
9 |
|
---|
10 | class CClass;
|
---|
11 |
|
---|
12 | class CMember : public Type
|
---|
13 | {
|
---|
14 | string name;
|
---|
15 | bool isConst;
|
---|
16 | public:
|
---|
17 | int SubScripts[MAX_ARRAYDIM];
|
---|
18 |
|
---|
19 | DWORD dwAccess;
|
---|
20 |
|
---|
21 | char *InitBuf;
|
---|
22 | char *ConstractParameter;
|
---|
23 |
|
---|
24 | int source_code_address;
|
---|
25 |
|
---|
26 | const string &GetName() const
|
---|
27 | {
|
---|
28 | return name;
|
---|
29 | }
|
---|
30 | void SetName( const string &name )
|
---|
31 | {
|
---|
32 | this->name = name;
|
---|
33 | }
|
---|
34 |
|
---|
35 | bool IsConst()
|
---|
36 | {
|
---|
37 | return isConst;
|
---|
38 | }
|
---|
39 |
|
---|
40 | CMember()
|
---|
41 | {
|
---|
42 | }
|
---|
43 | CMember( CClass *pobj_c, DWORD access, bool idConst, bool isRef, char *buffer, int nowLine=-1 );
|
---|
44 | CMember( CMember &member );
|
---|
45 | ~CMember();
|
---|
46 | static void InitStaticMember(void);
|
---|
47 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.