Changeset 562 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Meta.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/Meta.cpp
r448 r562 163 163 meta.GetDelegates().PullOutAll(); 164 164 } 165 166 const ::Delegate &Meta::ToDelegate( const CClass &_class ) 167 { 168 const ::Delegate *dg = this->GetDelegates().GetHashArrayElement( _class.GetName().c_str() ); 169 while( dg ) 170 { 171 if( dg->IsEqualSymbol( _class.GetNamespaceScopes(), _class.GetName() ) ){ 172 //名前空間とクラス名が一致した 173 return *dg; 174 } 175 dg = dg->GetChainNext(); 176 } 177 178 throw; 179 }
Note:
See TracChangeset
for help on using the changeset viewer.