comparison data/fileio/CSVStreamWriter.h @ 1679:0d89abd631ac single-point

Re-add the toDelimitedDataString stuff
author Chris Cannam
date Thu, 28 Mar 2019 16:03:36 +0000
parents ea4f3593c39c
children 21c792334c2e
comparison
equal deleted inserted replaced
1678:1078f0ef3012 1679:0d89abd631ac
66 while (readPtr < endFrame) { 66 while (readPtr < endFrame) {
67 if (wasCancelled()) return false; 67 if (wasCancelled()) return false;
68 68
69 const auto start = readPtr; 69 const auto start = readPtr;
70 const auto end = std::min(start + blockSize, endFrame); 70 const auto end = std::min(start + blockSize, endFrame);
71 const auto data = model.toDelimitedDataStringSubsetWithOptions( 71 const auto data = model.toDelimitedDataString(
72 delimiter, 72 delimiter,
73 options, 73 options,
74 start, 74 start,
75 end 75 end - start
76 ).trimmed(); 76 ).trimmed();
77 77
78 if ( data != "" ) { 78 if ( data != "" ) {
79 if (started) { 79 if (started) {
80 oss << "\n"; 80 oss << "\n";