Changeset 134 in dev for BasicCompiler_Common/Class.cpp
- Timestamp:
- Jun 4, 2007, 6:43:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Class.cpp
r133 r134 204 204 } 205 205 return false; 206 }207 208 bool CClass::IsEqualSymbol( const NamespaceScopes &namespaceScopes, const string &name ) const209 {210 if( GetName() != name ){211 return false;212 }213 214 return NamespaceScopes::IsSameArea( GetNamespaceScopes(), namespaceScopes );215 }216 bool CClass::IsEqualSymbol( const CClass &objClass ) const217 {218 return IsEqualSymbol( objClass.GetNamespaceScopes(), objClass.GetName() );219 }220 bool CClass::IsEqualSymbol( const string &fullName ) const221 {222 char AreaName[VN_SIZE] = ""; //オブジェクト変数223 char NestName[VN_SIZE] = ""; //入れ子メンバ224 bool isNest = SplitMemberName( fullName.c_str(), AreaName, NestName );225 226 return IsEqualSymbol( NamespaceScopes( AreaName ), NestName );227 206 } 228 207
Note:
See TracChangeset
for help on using the changeset viewer.