Changeset 587 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/include
- Timestamp:
- May 10, 2008, 3:09:26 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
r585 r587 431 431 432 432 private: 433 intvtbl_offset;434 intcomVtblOffset;435 intvtblMasterListOffset;433 long vtbl_offset; 434 long comVtblOffset; 435 long vtblMasterListOffset; 436 436 public: 437 437 std::vector<long> vtblMasterList; -
trunk/ab5.0/abdev/BasicCompiler_Common/include/Delegate.h
r585 r587 57 57 } 58 58 59 int GetSourceIndex() const59 void SetSourceIndex( int sourceIndex ) 60 60 { 61 returnsourceIndex;61 this->sourceIndex = sourceIndex; 62 62 } 63 63 -
trunk/ab5.0/abdev/BasicCompiler_Common/include/ObjectModule.h
r585 r587 1 1 #pragma once 2 2 3 class NativeSection3 class ObjectModule 4 4 { 5 5 public: 6 // メタ情報 7 Meta meta; 8 6 9 // グローバル領域のネイティブコード 7 10 NativeCode globalNativeCode; … … 19 22 virtual const char *RootTagName() const 20 23 { 21 return " nativeSection";24 return "objectModule"; 22 25 } 23 26 friend class boost::serialization::access; … … 26 29 trace_for_serialize( "serializing - objectModule" ); 27 30 31 ar & BOOST_SERIALIZATION_NVP( meta ); 28 32 ar & BOOST_SERIALIZATION_NVP( globalNativeCode ); 29 33 ar & BOOST_SERIALIZATION_NVP( dataTable ); … … 33 37 34 38 public: 39 void StaticLink( ObjectModule &objectModule ); 40 35 41 int GetCurrentSourceIndex() const 36 42 { … … 57 63 return sources; 58 64 } 59 };60 61 class ObjectModule62 {63 public:64 // メタ情報65 Meta meta;66 67 NativeSection nativeSection;68 69 // XMLシリアライズ用70 private:71 virtual const char *RootTagName() const72 {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 );86 65 87 66 bool Read( const std::string &filePath ); 88 67 bool Write( const std::string &filePath ) const; 89 bool Load( const Jenga::Common::Binary &binary);90 bool Save( Jenga::Common::Binary &binary) const;68 bool ReadString( const std::string &str ); 69 bool WriteString( std::string &str ) const; 91 70 }; 92 71 typedef std::vector<ObjectModule *> ObjectModules; -
trunk/ab5.0/abdev/BasicCompiler_Common/include/VtblGenerator.h
r585 r587 8 8 public: 9 9 // vtblを一時的に生成 10 static intGenerateVTablePart( const Methods &methods );10 static LONG_PTR 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.