Mercurial > hg > svcore
comparison data/fileio/CSVFileReader.h @ 1488:53fa8d57b728 import-audio-data
Add wave model as possible target for CSV import
author | Chris Cannam |
---|---|
date | Thu, 28 Jun 2018 14:49:46 +0100 |
parents | 1bf38a4b91c4 |
children | 1dc64d3d323c |
comparison
equal
deleted
inserted
replaced
1487:71202259002d | 1488:53fa8d57b728 |
---|---|
33 public: | 33 public: |
34 /** | 34 /** |
35 * Construct a CSVFileReader to read the CSV file at the given | 35 * Construct a CSVFileReader to read the CSV file at the given |
36 * path, with the given format. | 36 * path, with the given format. |
37 */ | 37 */ |
38 CSVFileReader(QString path, CSVFormat format, sv_samplerate_t mainModelSampleRate); | 38 CSVFileReader(QString path, CSVFormat format, |
39 sv_samplerate_t mainModelSampleRate); | |
39 | 40 |
40 /** | 41 /** |
41 * Construct a CSVFileReader to read from the given | 42 * Construct a CSVFileReader to read from the given |
42 * QIODevice. Caller retains ownership of the QIODevice: the | 43 * QIODevice. Caller retains ownership of the QIODevice: the |
43 * CSVFileReader will not close or delete it and it must outlive | 44 * CSVFileReader will not close or delete it and it must outlive |
44 * the CSVFileReader. | 45 * the CSVFileReader. |
45 */ | 46 */ |
46 CSVFileReader(QIODevice *device, CSVFormat format, sv_samplerate_t mainModelSampleRate); | 47 CSVFileReader(QIODevice *device, CSVFormat format, |
48 sv_samplerate_t mainModelSampleRate); | |
47 | 49 |
48 virtual ~CSVFileReader(); | 50 virtual ~CSVFileReader(); |
49 | 51 |
50 virtual bool isOK() const; | 52 virtual bool isOK() const; |
51 virtual QString getError() const; | 53 virtual QString getError() const; |