comparison data/fileio/CSVFileReader.h @ 631:3a5ee4b6c9ad

* Complete the overhaul of CSV file import; now you can pick the purpose for each column in the file, and SV should do the rest. The most significant practical improvement here is that we can now handle files in which time and duration do not necessarily appear in known columns.
author Chris Cannam
date Mon, 19 Jul 2010 17:08:56 +0000
parents 183ee2a55fc7
children 59e7fe1b1003
comparison
equal deleted inserted replaced
630:11a664058dd8 631:3a5ee4b6c9ad
37 37
38 protected: 38 protected:
39 CSVFormat m_format; 39 CSVFormat m_format;
40 QFile *m_file; 40 QFile *m_file;
41 QString m_error; 41 QString m_error;
42 mutable int m_warnings;
42 size_t m_mainModelSampleRate; 43 size_t m_mainModelSampleRate;
44
45 size_t convertTimeValue(QString, int lineno, size_t sampleRate,
46 size_t windowSize) const;
43 }; 47 };
44 48
45 49
46 #endif 50 #endif
47 51