Changeset 382 in dev for trunk/abdev/BasicCompiler_Common/include/Procedure.h
- Timestamp:
- Jan 2, 2008, 12:50:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Procedure.h
r364 r382 5 5 #include <Program.h> 6 6 #include <Class.h> 7 #include <Method.h>8 7 #include <Procedure.h> 9 8 #include <Parameter.h> … … 225 224 } 226 225 227 // オーバーライド用に関数同士が等しいかどうかをチェックする 228 bool IsEqualForOverride( const UserProc *pUserProc ) const 229 { 230 if( this->GetName() == pUserProc->GetName() // 名前空間及び名前が等しい 231 && this->Params().Equals( pUserProc->Params() ) // パラメータが等しい 232 && this->returnType.Equals( pUserProc->returnType ) ) // 戻り値が等しい 233 { 234 return true; 235 } 236 return false; 237 } 226 /*! 227 @brief オーバーライド用に関数同士が等しいかどうかをチェックする 228 @param actualTypeParametersForThisProc thisオブジェクトで保有するメソッドを対象とした実型パラメータ 229 pUserProc 照らし合わせる関数 230 */ 231 bool IsEqualForOverride( const Types &actualTypeParametersForThisProc, const UserProc *pUserProc ) const; 238 232 239 233 bool IsMacro() const
Note:
See TracChangeset
for help on using the changeset viewer.