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

Function parseCSVLine

YUViewLib/src/statistics/StatisticsFileCSV.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48constexpr unsigned STAT_MAX_STRING_SIZE = 1u << 28;
49
50QStringList parseCSVLine(const QString &srcLine, char delimiter)
51{
52 // first, trim newline and white spaces from both ends of line
53 QString line = srcLine.trimmed().remove(' ');
54 // now split string with delimiter
55 return line.split(delimiter);
56}
57
58} // namespace
59

Callers 3

loadStatisticDataMethod · 0.85
readHeaderFromFileMethod · 0.85

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected