Ignore:
Timestamp:
Aug 14, 2007, 3:22:02 AM (17 years ago)
Author:
dai_9181
Message:

sourceをObjectModuleに入れた

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/include/ObjectModule.h

    r273 r279  
    1212    // データテーブル
    1313    DataTable dataTable;
     14
     15    // ソースコード
     16    BasicSource source;
    1417
    1518    // XMLシリアライズ用
     
    2730        ar & BOOST_SERIALIZATION_NVP( globalNativeCode );
    2831        ar & BOOST_SERIALIZATION_NVP( dataTable );
     32        ar & BOOST_SERIALIZATION_NVP( source );
    2933    }
    3034
    3135public:
    3236    void StaticLink( ObjectModule &objectModule );
     37
     38    bool Read( const std::string &filePath );
     39    bool Write( const std::string &filePath ) const;
     40    bool ReadString( const std::string &str );
     41    bool WriteString( std::string &str ) const;
    3342};
    3443typedef std::vector<ObjectModule *> ObjectModules;
Note: See TracChangeset for help on using the changeset viewer.