source: dev/trunk/jenga/include/smoothie/ObjectModule.h@ 183

Last change on this file since 183 was 181, checked in by dai_9181, 17 years ago
File size: 827 bytes
Line 
1#pragma once
2
3#include "TypeDef.h"
4#include "Namespace.h"
5#include "Procedure.h"
6#include "Class.h"
7
8// プロジェクト中に存在するメタ情報
9class Meta{
10 Classes *pClasses;
11 ProcPointers *pProcPointers;
12public:
13
14 Meta( Classes *pNewClasses, ProcPointers *pNewProcPointers )
15 : pClasses( pNewClasses )
16 , pProcPointers( pNewProcPointers )
17 {
18 }
19 ~Meta()
20 {
21 delete pClasses;
22 delete pProcPointers;
23 }
24
25 // 名前空間
26 NamespaceScopesCollection namespaceScopesCollection;
27
28 // クラス
29 Classes &GetClasses()
30 {
31 return *pClasses;
32 }
33 void SetClasses( Classes *pClasses )
34 {
35 this->pClasses = pClasses;
36 }
37
38 // TypeDef
39 TypeDefCollection typeDefs;
40
41 // 関数ポインタ
42 ProcPointers &GetProcPointers()
43 {
44 return *pProcPointers;
45 }
46
47 // blittable型
48 BlittableTypes blittableTypes;
49};
Note: See TracBrowser for help on using the repository browser.