Changeset 280 in dev for trunk/abdev/BasicCompiler_Common/include/ObjectModule.h
- Timestamp:
- Aug 14, 2007, 8:37:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/ObjectModule.h
r279 r280 13 13 DataTable dataTable; 14 14 15 private: 15 16 // ソースコード 16 BasicSource source; 17 int currentSourceIndex; 18 BasicSources sources; 17 19 18 20 // XMLシリアライズ用 … … 30 32 ar & BOOST_SERIALIZATION_NVP( globalNativeCode ); 31 33 ar & BOOST_SERIALIZATION_NVP( dataTable ); 32 ar & BOOST_SERIALIZATION_NVP( source ); 34 ar & BOOST_SERIALIZATION_NVP( currentSourceIndex ); 35 ar & BOOST_SERIALIZATION_NVP( sources ); 33 36 } 34 37 35 38 public: 36 39 void StaticLink( ObjectModule &objectModule ); 40 41 int GetCurrentSourceIndex() const 42 { 43 return currentSourceIndex; 44 } 45 const BasicSource &GetCurrentSource() const 46 { 47 return sources[currentSourceIndex]; 48 } 49 BasicSource &GetCurrentSource() 50 { 51 return sources[currentSourceIndex]; 52 } 53 void SetCurrentSourceIndex( int currentSourceIndex ) 54 { 55 this->currentSourceIndex = currentSourceIndex; 56 } 57 const BasicSource &GetSource( int sourceIndex ) const 58 { 59 return sources[sourceIndex]; 60 } 61 BasicSources &GetSources() 62 { 63 return sources; 64 } 37 65 38 66 bool Read( const std::string &filePath );
Note:
See TracChangeset
for help on using the changeset viewer.