Changeset 325 in dev for trunk/abdev/BasicCompiler_Common/src/Class.cpp
- Timestamp:
- Sep 25, 2007, 8:56:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Class.cpp
r322 r325 589 589 590 590 return 0; 591 } 592 593 const ::Delegate &CClass::GetDelegate() const 594 { 595 const ::Delegate *dg = compiler.GetObjectModule().meta.GetDelegates().GetHashArrayElement( GetName().c_str() ); 596 while( dg ) 597 { 598 if( dg->IsEqualSymbol( GetNamespaceScopes(), GetName() ) ){ 599 //名前空間とクラス名が一致した 600 return *dg; 601 } 602 dg = dg->GetChainNext(); 603 } 604 605 Jenga::Throw( "CClass::GetDelegateメソッドに失敗" ); 606 static ::Delegate dummy; 607 return dummy; 591 608 } 592 609
Note:
See TracChangeset
for help on using the changeset viewer.