Ignore:
Timestamp:
May 5, 2008, 1:47:06 PM (16 years ago)
Author:
dai_9181
Message:

CClass::GetDelegateメソッドを廃止し、代わりにMeta::ToDelegateメソッドを実装。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Class.cpp

    r561 r562  
    294294
    295295    return result;
    296 }
    297 
    298 const ::Delegate &CClass::GetDelegate() const
    299 {
    300     const ::Delegate *dg = compiler.GetObjectModule().meta.GetDelegates().GetHashArrayElement( GetName().c_str() );
    301     while( dg )
    302     {
    303         if( dg->IsEqualSymbol( GetNamespaceScopes(), GetName() ) ){
    304             //名前空間とクラス名が一致した
    305             return *dg;
    306         }
    307         dg = dg->GetChainNext();
    308     }
    309 
    310     Jenga::Throw( "CClass::GetDelegateメソッドに失敗" );
    311     static ::Delegate dummy;
    312     return dummy;
    313296}
    314297
Note: See TracChangeset for help on using the changeset viewer.