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