Changeset 641 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Procedure.cpp
- Timestamp:
- Jun 15, 2008, 11:59:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Procedure.cpp
r640 r641 44 44 , realSecondParmNum( 1 ) 45 45 , isExport( isExport ) 46 , is System( false )46 , isAutoGenerationSystem( false ) 47 47 , isAutoGeneration( false ) 48 48 , isCompiled( false ) … … 65 65 , realSecondParmNum( userProc.realSecondParmNum ) 66 66 , isExport( userProc.isExport ) 67 , is System( userProc.isSystem )67 , isAutoGenerationSystem( userProc.isAutoGenerationSystem ) 68 68 , isAutoGeneration( userProc.isAutoGeneration ) 69 69 , isCompiled( false ) … … 138 138 return false; 139 139 } 140 bool UserProc::IsSystem() const 141 { 142 // "_System_" を名前の先頭に含む関数 143 if( memcmp( this->GetName().c_str(), "_System_", 8 ) == 0 ) 144 { 145 return true; 146 } 147 148 // "_System_" を名前の先頭に含むクラスのメソッド 149 if( this->HasParentClass() ) 150 { 151 if( memcmp( this->GetParentClass().GetName().c_str(), "_System_", 8 ) == 0 ) 152 { 153 return true; 154 } 155 } 156 157 return false; 158 } 140 159 const NamespaceScopes &UserProc::GetNamespaceScopes() const 141 160 {
Note:
See TracChangeset
for help on using the changeset viewer.