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