| 48 | StatisticsFileBase::~StatisticsFileBase() { this->abortParsingDestroy = true; } |
| 49 | |
| 50 | InfoData StatisticsFileBase::getInfo() const |
| 51 | { |
| 52 | InfoData info("Statistics File info"); |
| 53 | |
| 54 | // Append the file information (path, date created, file size...) |
| 55 | info.items.append(this->file.getFileInfoList()); |
| 56 | info.items.append(InfoItem("Sorted by POC", this->fileSortedByPOC ? "Yes" : "No")); |
| 57 | info.items.append(InfoItem("Parsing:", QString("%1%...").arg(this->parsingProgress, 0, 'f', 2))); |
| 58 | if (this->blockOutsideOfFramePOC != -1) |
| 59 | info.items.append( |
| 60 | InfoItem("Warning", |
| 61 | QString("A block in frame %1 is outside of the given size of the statistics.") |
| 62 | .arg(this->blockOutsideOfFramePOC))); |
| 63 | if (this->error) |
| 64 | info.items.append(InfoItem("Parsing Error:", this->errorMessage)); |
| 65 | |
| 66 | return info; |
| 67 | } |
| 68 | |
| 69 | } // namespace stats |
nothing calls this directly
no test coverage detected