(FullFileName)
| 571 | return FileID |
| 572 | |
| 573 | def GetIncludeFileList(FullFileName): |
| 574 | if os.path.splitext(FullFileName)[1].upper() not in ('.H'): |
| 575 | return [] |
| 576 | IFList = IncludeFileListDict.get(FullFileName) |
| 577 | if IFList is not None: |
| 578 | return IFList |
| 579 | |
| 580 | FileID = GetTableID(FullFileName) |
| 581 | if FileID < 0: |
| 582 | return [] |
| 583 | |
| 584 | Db = GetDB() |
| 585 | FileTable = 'Identifier' + str(FileID) |
| 586 | SqlStatement = """ select Value |
| 587 | from %s |
| 588 | where Model = %d |
| 589 | """ % (FileTable, DataClass.MODEL_IDENTIFIER_INCLUDE) |
| 590 | ResultSet = Db.TblFile.Exec(SqlStatement) |
| 591 | IncludeFileListDict[FullFileName] = ResultSet |
| 592 | return ResultSet |
| 593 | |
| 594 | def GetFullPathOfIncludeFile(Str, IncludePathList): |
| 595 | for IncludePath in IncludePathList: |
no test coverage detected