MCPcopy Create free account
hub / github.com/Tencent/libpag / getExportNum

Method getExportNum

exporter/src/ui/exportPanel/ProgressListModel.cpp:72–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72int ProgressListModel::getExportNum() const {
73 int exportNum = 0;
74 for (const auto& session : sessionList) {
75 if (session->progressModel.getExportStatus() ==
76 static_cast<int>(ProgressModel::ExportStatus::Success)) {
77 exportNum++;
78 }
79 }
80 return exportNum;
81}
82
83int ProgressListModel::getTotalExportNum() const {
84 return static_cast<int>(sessionList.size());

Callers

nothing calls this directly

Calls 1

getExportStatusMethod · 0.80

Tested by

no test coverage detected