Changeset 141 in dev for BasicCompiler_Common/Class.h
- Timestamp:
- Jun 15, 2007, 1:12:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Class.h
r140 r141 65 65 int ConstructorMemberSubIndex; 66 66 int DestructorMemberSubIndex; 67 int vtblNum; // 仮想関数の数 67 68 68 69 // 静的メソッド … … 84 85 const CClass *pobj_InheritsClass; 85 86 86 //仮想関数の数87 int vtbl_num;88 89 87 //アラインメント値 90 88 int iAlign; … … 156 154 //デストラクタ メソッドを取得 157 155 const CMethod *GetDestructorMethod() const; 156 157 // vtblに存在する仮想関数の数 158 int GetVtblNum() const 159 { 160 return vtblNum; 161 } 162 void SetVtblNum( int vtblNum ) 163 { 164 this->vtblNum = vtblNum; 165 } 166 void AddVtblNum( int vtblNum ) 167 { 168 this->vtblNum += vtblNum; 169 } 170 bool IsExistVirtualFunctions() const 171 { 172 return ( vtblNum > 0 ); 173 } 158 174 159 175 // メンバの総合サイズを取得
Note:
See TracChangeset
for help on using the changeset viewer.