Changeset 51 in dev for BasicCompiler_Common/Class.h


Ignore:
Timestamp:
Feb 10, 2007, 8:30:19 PM (17 years ago)
Author:
dai_9181
Message:

ppobj_Member及びppobj_StaticMemberを廃止し、vectorに統一した(methods及びstaticMethods)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Class.h

    r50 r51  
    6060    ~CMethod();
    6161};
     62class CDBClass;
     63class CDebugSection;
    6264class CClass{
     65    friend CDBClass;
     66    friend CDebugSection;
     67
     68    //メソッド情報
     69    std::vector<CMethod *> methods;
     70    int ConstructorMemberSubIndex;
     71    int CopyConstructorMemberSubIndex;
     72    int DestructorMemberSubIndex;
     73
    6374    //静的メソッド情報
    64     std::vector<CMethod *> StaticMethods;
     75    std::vector<CMethod *> staticMethods;
    6576
    6677public:
     
    7485    CMember **ppobj_Member;
    7586    int iMemberNum;
    76 
    77     //メソッド情報
    78     CMethod **ppobj_Method;
    79     int iMethodNum;
    80     int ConstructorMemberSubIndex;
    81     int DestructorMemberSubIndex;
    82     int CopyConstructorMemberSubIndex;
    8387
    8488    //静的メンバ情報
     
    121125    void EnumMethod( const BYTE idOperatorCalc, std::vector<SUBINFO *> &subs ) const;
    122126
     127    //デフォルト コンストラクタ メソッドを取得
     128    CMethod *GetConstructorMethod() const;
     129
     130    //デフォルト コピーコンストラクタ メソッドを取得
     131    CMethod *GetCopyConstructorMethod() const;
     132
     133    //デストラクタ メソッドを取得
     134    CMethod *GetDestructorMethod() const;
     135
    123136
    124137    //vtbl
     
    127140    LONG_PTR AddVtblDataTable(SUBINFO **ppsi,int length);
    128141public:
    129     LONG_PTR GetVtblGlobalOffset(void);
     142    int GetFuncNumInVtbl( const SUBINFO *psi ) const;
     143    LONG_PTR GetVtblGlobalOffset(void);
    130144    void ActionVtblSchedule(LONG_PTR ImageBase, LONG_PTR MemPos_CodeSection);
    131145    bool IsAbstract();
Note: See TracChangeset for help on using the changeset viewer.