Ignore:
Timestamp:
Jun 10, 2008, 11:40:17 PM (16 years ago)
Author:
dai_9181
Message:

libファイルを跨ったテンプレート展開に対応。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/include/Lexical/NativeCode.h

    r603 r636  
    125125    int lineNum;
    126126    long nativeCodePos;
    127     int sourceIndex;
     127    int relationalObjectModuleIndex;
    128128    long sourceCodePos;
    129129    DWORD codeType;
     
    138138        ar & BOOST_SERIALIZATION_NVP( lineNum );
    139139        ar & BOOST_SERIALIZATION_NVP( nativeCodePos );
    140         ar & BOOST_SERIALIZATION_NVP( sourceIndex );
     140        ar & BOOST_SERIALIZATION_NVP( relationalObjectModuleIndex );
    141141        ar & BOOST_SERIALIZATION_NVP( sourceCodePos );
    142142        ar & BOOST_SERIALIZATION_NVP( codeType );
     
    144144
    145145public:
    146     SourceLine( int lineNum, int nativeCodePos, int sourceIndex, int sourceCodePos, DWORD codeType )
     146    SourceLine( int lineNum, int nativeCodePos, int relationalObjectModuleIndex, int sourceCodePos, DWORD codeType )
    147147        : lineNum( lineNum )
    148148        , nativeCodePos( nativeCodePos )
    149         , sourceIndex( sourceIndex )
     149        , relationalObjectModuleIndex( relationalObjectModuleIndex )
    150150        , sourceCodePos( sourceCodePos )
    151151        , codeType( codeType )
     
    164164        return nativeCodePos;
    165165    }
    166     int GetSourceIndex() const
    167     {
    168         return sourceIndex;
    169     }
    170     void SetSourceIndex( int sourceIndex )
    171     {
    172         this->sourceIndex = sourceIndex;
     166    int GetRelationalObjectModuleIndex() const
     167    {
     168        return relationalObjectModuleIndex;
     169    }
     170    void SetRelationalObjectModuleIndex( int relationalObjectModuleIndex )
     171    {
     172        this->relationalObjectModuleIndex = relationalObjectModuleIndex;
    173173    }
    174174    long GetSourceCodePos() const
     
    259259
    260260    void ResetDataSectionBaseOffset( long dataSectionBaseOffset );
    261     void ResetSourceIndexes( long sourceIndexBase );
     261    void ResetSourceIndexes( const std::vector<int> &relationTable );
    262262};
Note: See TracChangeset for help on using the changeset viewer.