Ignore:
Timestamp:
Oct 17, 2007, 3:31:20 AM (17 years ago)
Author:
dai_9181
Message:

インターフェイスメソッドはオーバーライド対象外とした

File:
1 edited

Legend:

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

    r350 r351  
    220220    }
    221221
     222    // オーバーライド用に関数同士が等しいかどうかをチェックする
     223    bool IsEqualForOverride( const UserProc *pUserProc ) const
     224    {
     225        if( this->GetName() == pUserProc->GetName()                     // 名前空間及び名前が等しい
     226            && this->Params().Equals( pUserProc->Params() )             // パラメータが等しい
     227            && this->returnType.Equals( pUserProc->returnType ) )       // 戻り値が等しい
     228        {
     229            return true;
     230        }
     231        return false;
     232    }
     233
    222234    bool IsMacro() const
    223235    {
Note: See TracChangeset for help on using the changeset viewer.