Changeset 562 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Class.cpp
- Timestamp:
- May 5, 2008, 1:47:06 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Class.cpp
r561 r562 294 294 295 295 return result; 296 }297 298 const ::Delegate &CClass::GetDelegate() const299 {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;313 296 } 314 297
Note:
See TracChangeset
for help on using the changeset viewer.