source: dev/trunk/abdev/BasicCompiler_Common/Enum.h@ 266

Last change on this file since 266 was 215, checked in by dai_9181, 17 years ago

BoostSerializationSupportのクラステンプレートインスタンスを明示的に生成するようにした(コンパイル時間の短縮)

File size: 754 bytes
Line 
1#pragma once
2
3#include <Namespace.h>
4
5class CEnumMember{
6public:
7 char *m_name;
8 int m_value;
9 CEnumMember(char *name,int value);
10 ~CEnumMember();
11};
12
13class CEnumParent{
14 NamespaceScopes namespaceScopes;
15 string name;
16
17 BOOL bConst;
18
19 CEnumMember **ppobj_EnumMember;
20 int iEnumMemberNum;
21public:
22
23 CEnumParent( const NamespaceScopes &namespaceScopes, const char *buffer,int nowLine);
24 ~CEnumParent();
25
26 const NamespaceScopes &GetNamespaceScopes() const
27 {
28 return namespaceScopes;
29 }
30 const string &GetName() const
31 {
32 return name;
33 }
34
35public:
36 static void InitEnum(void);
37 static void DestroyEnum(void);
38
39 static char *GenerateCodes(void);
40};
41extern CEnumParent **ppobj_EnumParent;
42extern int iEnumParentNum;
Note: See TracBrowser for help on using the repository browser.