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

Last change on this file since 192 was 192, checked in by dai_9181, 17 years ago
File size: 754 bytes
Line 
1#pragma once
2
3#include "Namespace.h"
4#include "Procedure.h"
5#include "Class.h"
6
7// プロジェクト中に存在するメタ情報
8class Meta
9{
10 ProcPointers *pProcPointers;
11public:
12
13 Meta( ProcPointers *pNewProcPointers )
14 : pProcPointers( pNewProcPointers )
15 {
16 }
17 Meta()
18 {
19 }
20 ~Meta()
21 {
22 delete pProcPointers;
23 }
24
25 // クラス
26 virtual Classes &GetClasses() = 0;
27 virtual void SetClasses( Classes *pClasses ) = 0;
28 virtual bool AutoWrite( const std::string &filePath ) = 0;
29
30 // 関数ポインタ
31 ProcPointers &GetProcPointers()
32 {
33 return *pProcPointers;
34 }
35
36 // XMLシリアライズ用
37private:
38 friend class boost::serialization::access;
39 template<class Archive> void serialize(Archive& ar, const unsigned int version)
40 {
41 }
42};
Note: See TracBrowser for help on using the repository browser.