MCPcopy Create free account
hub / github.com/IENT/YUView / getInfo

Method getInfo

YUViewLib/src/statistics/StatisticsFileBase.cpp:50–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48StatisticsFileBase::~StatisticsFileBase() { this->abortParsingDestroy = true; }
49
50InfoData 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

Callers

nothing calls this directly

Calls 3

InfoItemClass · 0.85
appendMethod · 0.80
getFileInfoListMethod · 0.80

Tested by

no test coverage detected