Changeset 375 in dev for trunk/abdev/BasicCompiler_Common/src/Class.cpp
- Timestamp:
- Nov 29, 2007, 9:08:55 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Class.cpp
r374 r375 355 355 } 356 356 357 bool CClass::Implements( const CClass &interfaceClass, int nowLine )357 bool CClass::Implements( const CClass &interfaceClass, const Jenga::Common::Strings &typeParameters, int nowLine ) 358 358 { 359 359 if( !interfaceClass.IsInterface() && !interfaceClass.IsComInterface() ) … … 430 430 BOOST_FOREACH( const std::string ¶mStr, paramStrs ) 431 431 { 432 char className[VN_SIZE]; 433 Jenga::Common::Strings typeParameters; 434 SplitGenericClassInstance( paramStr.c_str(), className, typeParameters ); 435 432 436 //継承元クラスを取得 433 const CClass *pInterfaceClass = compiler.GetObjectModule().meta.GetClasses().Find( paramStr.c_str());437 const CClass *pInterfaceClass = compiler.GetObjectModule().meta.GetClasses().Find( className ); 434 438 if( !pInterfaceClass ){ 435 439 SetError(106,paramStr.c_str(),nowLine); … … 438 442 439 443 // インターフェイスを継承する 440 Implements( *pInterfaceClass, nowLine );444 Implements( *pInterfaceClass, typeParameters, nowLine ); 441 445 } 442 446
Note:
See TracChangeset
for help on using the changeset viewer.