|
Last change
on this file since 223 was 215, checked in by dai_9181, 18 years ago |
|
BoostSerializationSupportのクラステンプレートインスタンスを明示的に生成するようにした(コンパイル時間の短縮)
|
|
File size:
754 bytes
|
| Rev | Line | |
|---|
| [182] | 1 | #pragma once
|
|---|
| [4] | 2 |
|
|---|
| [215] | 3 | #include <Namespace.h>
|
|---|
| [4] | 4 |
|
|---|
| 5 | class CEnumMember{
|
|---|
| 6 | public:
|
|---|
| 7 | char *m_name;
|
|---|
| 8 | int m_value;
|
|---|
| 9 | CEnumMember(char *name,int value);
|
|---|
| 10 | ~CEnumMember();
|
|---|
| 11 | };
|
|---|
| 12 |
|
|---|
| 13 | class CEnumParent{
|
|---|
| [103] | 14 | NamespaceScopes namespaceScopes;
|
|---|
| 15 | string name;
|
|---|
| 16 |
|
|---|
| [4] | 17 | BOOL bConst;
|
|---|
| 18 |
|
|---|
| 19 | CEnumMember **ppobj_EnumMember;
|
|---|
| 20 | int iEnumMemberNum;
|
|---|
| 21 | public:
|
|---|
| 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 |
|
|---|
| 35 | public:
|
|---|
| 36 | static void InitEnum(void);
|
|---|
| 37 | static void DestroyEnum(void);
|
|---|
| 38 |
|
|---|
| 39 | static char *GenerateCodes(void);
|
|---|
| 40 | };
|
|---|
| 41 | extern CEnumParent **ppobj_EnumParent;
|
|---|
| 42 | extern int iEnumParentNum;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.