Changeset 63 in dev for BasicCompiler_Common/Class.h


Ignore:
Timestamp:
Feb 23, 2007, 2:12:26 AM (17 years ago)
Author:
dai_9181
Message:

CClass::GetSize、CClass::GetMemberOffsetを追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Class.h

    r59 r63  
    136136    CMethod *GetDestructorMethod() const;
    137137
     138    // メンバの総合サイズを取得
     139    int GetSize() const;
     140
     141    // メンバのオフセットを取得
     142    int GetMemberOffset( const char *memberName, int *pMemberNum ) const;
     143
     144private:
     145    // アラインメント値を取得
     146    int GetAlignment() const;
     147
    138148
    139149    //vtbl
Note: See TracChangeset for help on using the changeset viewer.