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

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

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

File size: 754 bytes
RevLine 
[182]1#pragma once
[4]2
[215]3#include <Namespace.h>
[4]4
5class CEnumMember{
6public:
7 char *m_name;
8 int m_value;
9 CEnumMember(char *name,int value);
10 ~CEnumMember();
11};
12
13class CEnumParent{
[103]14 NamespaceScopes namespaceScopes;
15 string name;
16
[4]17 BOOL bConst;
18
19 CEnumMember **ppobj_EnumMember;
20 int iEnumMemberNum;
21public:
22
[103]23 CEnumParent( const NamespaceScopes &namespaceScopes, const char *buffer,int nowLine);
[4]24 ~CEnumParent();
25
[103]26 const NamespaceScopes &GetNamespaceScopes() const
27 {
28 return namespaceScopes;
29 }
30 const string &GetName() const
31 {
32 return name;
33 }
[4]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.