Line | |
---|
1 |
|
---|
2 |
|
---|
3 | class CEnumMember{
|
---|
4 | public:
|
---|
5 | char *m_name;
|
---|
6 | int m_value;
|
---|
7 | CEnumMember(char *name,int value);
|
---|
8 | ~CEnumMember();
|
---|
9 | };
|
---|
10 |
|
---|
11 | class CEnumParent{
|
---|
12 | char *TypeName;
|
---|
13 | BOOL bConst;
|
---|
14 |
|
---|
15 | CEnumMember **ppobj_EnumMember;
|
---|
16 | int iEnumMemberNum;
|
---|
17 | public:
|
---|
18 |
|
---|
19 | CEnumParent(char *buffer,int NowLine);
|
---|
20 | ~CEnumParent();
|
---|
21 |
|
---|
22 |
|
---|
23 | public:
|
---|
24 | static void InitEnum(void);
|
---|
25 | static void DestroyEnum(void);
|
---|
26 |
|
---|
27 | static char *GenerateCodes(void);
|
---|
28 | };
|
---|
29 | extern CEnumParent **ppobj_EnumParent;
|
---|
30 | extern int iEnumParentNum;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.