source: dev/trunk/abdev/BasicCompiler_Common/include/ObjectModule.h@ 272

Last change on this file since 272 was 270, checked in by dai_9181, 17 years ago
File size: 755 bytes
Line 
1#pragma once
2
3class ObjectModule : public Jenga::Common::BoostSerializationSupport<ObjectModule>
4{
5public:
6 // メタ情報
7 Meta meta;
8
9 // グローバル領域のネイティブコード
10 NativeCode globalNativeCode;
11
12 // データテーブル
13 DataTable dataTable;
14
15 // XMLシリアライズ用
16private:
17 virtual const char *RootTagName() const
18 {
19 return "objectModule";
20 }
21 friend class boost::serialization::access;
22 template<class Archive> void serialize(Archive& ar, const unsigned int version)
23 {
24 trace_for_serialize( "serializing - objectModule" );
25
26 ar & BOOST_SERIALIZATION_NVP( meta );
27 ar & BOOST_SERIALIZATION_NVP( globalNativeCode );
28 ar & BOOST_SERIALIZATION_NVP( dataTable );
29 }
30};
31typedef std::vector<ObjectModule *> ObjectModules;
Note: See TracBrowser for help on using the repository browser.