Ignore:
Timestamp:
Jun 8, 2007, 3:11:47 AM (17 years ago)
Author:
dai_9181
Message:

アクセシビリティ周りをリファクタリングした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/WatchList.cpp

    r135 r137  
    129129
    130130    //アクセシビリティをチェック
    131     if((bPrivateAccess==0&&objClass.ppobj_Member[i]->dwAccess==ACCESS_PRIVATE)||
    132         objClass.ppobj_Member[i]->dwAccess==ACCESS_NON){
     131    if(( bPrivateAccess==0 && objClass.ppobj_Member[i]->IsPrivate() )||
     132        objClass.ppobj_Member[i]->IsNoneAccess() ){
    133133        return 0;
    134134    }
    135     else if(bPrivateAccess==0&&objClass.ppobj_Member[i]->dwAccess==ACCESS_PROTECTED)
     135    else if(bPrivateAccess==0&&objClass.ppobj_Member[i]->IsProtected())
    136136        return 0;
    137137
    138     resultType = *objClass.ppobj_Member[i];
     138    resultType = objClass.ppobj_Member[i]->GetType();
    139139
    140140    //ポインタ変数の場合
     
    209209        }
    210210
    211         i2=Debugging_GetMember(objClass.ppobj_Member[i]->GetClass(),
     211        i2=Debugging_GetMember(objClass.ppobj_Member[i]->GetType().GetClass(),
    212212            NestMember,
    213213            pRelativeVar,
Note: See TracChangeset for help on using the changeset viewer.