Changeset 290 in dev for trunk/abdev/BasicCompiler_Common/include/Class.h
- Timestamp:
- Aug 21, 2007, 11:00:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Class.h
r282 r290 9 9 10 10 class UserProc; 11 class CClass; 11 12 12 13 class InheritedInterface … … 48 49 // importされている名前空間 49 50 NamespaceScopesCollection importedNamespaces; 50 51 52 // 型パラメータ 53 GenericTypes formalGenericTypes; 54 51 55 // 継承クラス 52 56 const CClass *pSuperClass; … … 108 112 , classType( Class ) 109 113 , pSuperClass( NULL ) 114 , blittableType( Type() ) 110 115 , isReady( false ) 111 116 , fixedAlignment( 0 ) … … 124 129 , classType() 125 130 , pSuperClass( NULL ) 131 , blittableType( Type() ) 126 132 , isReady( false ) 127 133 , fixedAlignment( 0 ) … … 173 179 } 174 180 181 // 型パラメータ 182 void AddFormalGenericType( GenericType genericType ) 183 { 184 this->formalGenericTypes.push_back( genericType ); 185 } 186 bool IsExistFormalGenericTypeParameter( const std::string &name ) const 187 { 188 BOOST_FOREACH( const GenericType &genericType, formalGenericTypes ) 189 { 190 if( genericType.GetName() == name ) 191 { 192 return true; 193 } 194 } 195 return false; 196 } 197 175 198 // 継承元クラス 176 199 bool HasSuperClass() const
Note:
See TracChangeset
for help on using the changeset viewer.