source: dev/BasicCompiler_Common/Enum.h@ 22

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