Changeset 135 in dev for BasicCompiler_Common/VarList.cpp


Ignore:
Timestamp:
Jun 6, 2007, 12:58:40 AM (17 years ago)
Author:
dai_9181
Message:

Method/Memberのリファクタリング

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/VarList.cpp

    r114 r135  
    168168        if(bPtr){
    169169            lstrcpy(VarName,"->");
    170             lstrcat(VarName,objClass.ppobj_Member[i]->name);
     170            lstrcat(VarName,objClass.ppobj_Member[i]->GetName().c_str());
    171171        }
    172172        else{
    173173            lstrcpy(VarName,".");
    174             lstrcat(VarName,objClass.ppobj_Member[i]->name);
     174            lstrcat(VarName,objClass.ppobj_Member[i]->GetName().c_str());
    175175        }
    176176
    177177        LONG_PTR offset;
    178178        int i2;
    179         offset=objClass.GetMemberOffset( objClass.ppobj_Member[i]->name, &i2 );
     179        offset=objClass.GetMemberOffset( objClass.ppobj_Member[i]->GetName().c_str(), &i2 );
    180180
    181181        if(objClass.ppobj_Member[i]->SubScripts[0]!=-1){
     
    423423
    424424    for(i=0;i<pUserProc->GetParentClassPtr()->iMemberNum;i++){
    425         offset=pUserProc->GetParentClassPtr()->GetMemberOffset( pUserProc->GetParentClassPtr()->ppobj_Member[i]->name,&i2);
     425        offset=pUserProc->GetParentClassPtr()->GetMemberOffset( pUserProc->GetParentClassPtr()->ppobj_Member[i]->GetName().c_str(),&i2);
    426426
    427427        if(pUserProc->GetParentClassPtr()->ppobj_Member[i]->SubScripts[0]!=-1){
    428428            //配列
    429429            sprintf(temporary,"%s %s(&H%X)",
    430                 pUserProc->GetParentClassPtr()->ppobj_Member[i]->name,
     430                pUserProc->GetParentClassPtr()->ppobj_Member[i]->GetName().c_str(),
    431431                STRING_ARRAY,
    432432                (ULONG_PTR)offset);
     
    442442        else{
    443443            VarList_Insert(hVarTree_This,&tv,
    444                 pUserProc->GetParentClassPtr()->ppobj_Member[i]->name,
     444                pUserProc->GetParentClassPtr()->ppobj_Member[i]->GetName().c_str(),
    445445                *pUserProc->GetParentClassPtr()->ppobj_Member[i],
    446446                pThis+offset);
Note: See TracChangeset for help on using the changeset viewer.