Changeset 585 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/include
- Timestamp:
- May 10, 2008, 1:40:33 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/include/Class.h
r567 r585 431 431 432 432 private: 433 longvtbl_offset;434 longcomVtblOffset;435 longvtblMasterListOffset;433 int vtbl_offset; 434 int comVtblOffset; 435 int vtblMasterListOffset; 436 436 public: 437 437 std::vector<long> vtblMasterList; -
trunk/ab5.0/abdev/BasicCompiler_Common/include/Delegate.h
r581 r585 57 57 } 58 58 59 void SetSourceIndex( int sourceIndex )59 int GetSourceIndex() const 60 60 { 61 this->sourceIndex =sourceIndex;61 return sourceIndex; 62 62 } 63 63 -
trunk/ab5.0/abdev/BasicCompiler_Common/include/ObjectModule.h
r404 r585 1 1 #pragma once 2 2 3 class ObjectModule3 class NativeSection 4 4 { 5 5 public: 6 // メタ情報7 Meta meta;8 9 6 // グローバル領域のネイティブコード 10 7 NativeCode globalNativeCode; … … 22 19 virtual const char *RootTagName() const 23 20 { 24 return " objectModule";21 return "nativeSection"; 25 22 } 26 23 friend class boost::serialization::access; … … 29 26 trace_for_serialize( "serializing - objectModule" ); 30 27 31 ar & BOOST_SERIALIZATION_NVP( meta );32 28 ar & BOOST_SERIALIZATION_NVP( globalNativeCode ); 33 29 ar & BOOST_SERIALIZATION_NVP( dataTable ); … … 37 33 38 34 public: 39 void StaticLink( ObjectModule &objectModule );40 41 35 int GetCurrentSourceIndex() const 42 36 { … … 63 57 return sources; 64 58 } 59 }; 60 61 class ObjectModule 62 { 63 public: 64 // メタ情報 65 Meta meta; 66 67 NativeSection nativeSection; 68 69 // XMLシリアライズ用 70 private: 71 virtual const char *RootTagName() const 72 { 73 return "objectModule"; 74 } 75 friend class boost::serialization::access; 76 template<class Archive> void serialize(Archive& ar, const unsigned int version) 77 { 78 trace_for_serialize( "serializing - objectModule" ); 79 80 ar & BOOST_SERIALIZATION_NVP( meta ); 81 ar & BOOST_SERIALIZATION_NVP( nativeSection ); 82 } 83 84 public: 85 void StaticLink( ObjectModule &objectModule ); 65 86 66 87 bool Read( const std::string &filePath ); 67 88 bool Write( const std::string &filePath ) const; 68 bool ReadString( const std::string &str);69 bool WriteString( std::string &str) const;89 bool Load( const Jenga::Common::Binary &binary ); 90 bool Save( Jenga::Common::Binary &binary ) const; 70 91 }; 71 92 typedef std::vector<ObjectModule *> ObjectModules; -
trunk/ab5.0/abdev/BasicCompiler_Common/include/VtblGenerator.h
r559 r585 8 8 public: 9 9 // vtblを一時的に生成 10 static LONG_PTRGenerateVTablePart( const Methods &methods );10 static int GenerateVTablePart( const Methods &methods ); 11 11 static void GenerateFullVTables( CClass &_class ); 12 12 static void GenerateVTablesForAllClasses( Classes &classes );
Note:
See TracChangeset
for help on using the changeset viewer.