Changeset 232 in dev for trunk/abdev/BasicCompiler_Common/include/Class.h
- Timestamp:
- Jul 25, 2007, 4:04:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Class.h
r208 r232 71 71 // 静的メソッド 72 72 Methods staticMethods; 73 74 //アラインメント値 75 int fixedAlignment; 73 76 74 77 // XMLシリアライズ用 … … 93 96 ar & BOOST_SERIALIZATION_NVP( vtblNum ); 94 97 ar & BOOST_SERIALIZATION_NVP( staticMethods ); 98 ar & BOOST_SERIALIZATION_NVP( fixedAlignment ); 95 99 } 96 100 97 101 bool isReady; 98 102 public: 99 100 //アラインメント値101 int iAlign;102 103 103 104 CClass( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const string &name ) … … 107 108 , pSuperClass( NULL ) 108 109 , isReady( false ) 109 , iAlign( 0 )110 , fixedAlignment( 0 ) 110 111 , ConstructorMemberSubIndex( -1 ) 111 112 , DestructorMemberSubIndex( -1 ) … … 123 124 , pSuperClass( NULL ) 124 125 , isReady( false ) 125 , iAlign( 0 )126 , fixedAlignment( 0 ) 126 127 , ConstructorMemberSubIndex( -1 ) 127 128 , DestructorMemberSubIndex( -1 ) … … 320 321 } 321 322 323 // ユーザ指定のアラインメント固定値 324 int GetFixedAlignment() const 325 { 326 return fixedAlignment; 327 } 328 void SetFixedAlignment( int fixedAlignment ) 329 { 330 this->fixedAlignment = fixedAlignment; 331 } 332 322 333 // メンバの総合サイズを取得 323 334 int GetSize() const;
Note:
See TracChangeset
for help on using the changeset viewer.