Changeset 632 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Type.cpp
- Timestamp:
- Jun 5, 2008, 10:04:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Type.cpp
r603 r632 384 384 return false; 385 385 } 386 387 bool Type::IsValueType() const 388 { 389 return ( IsWhole() || IsReal() ); 390 } 391 386 392 bool Type::IsProcPtr() const 387 393 { … … 550 556 } 551 557 558 bool Types::IsEquals( const Types &types ) const 559 { 560 if( this->size() != types.size() ) 561 { 562 // アイテム数が違う 563 return false; 564 } 565 566 const Types &thisTypes = *this; 567 for( int i=0; i<static_cast<int>(this->size()); i++ ) 568 { 569 if( !thisTypes[i].Equals( types[i] ) ) 570 { 571 return false; 572 } 573 } 574 575 return true; 576 } 552 577 553 578 void ResolveFormalGenericTypeParameter( Type &typeParameter, const Type &classType, const UserProc *pUserProc )
Note:
See TracChangeset
for help on using the changeset viewer.