comparison data/fileio/CSVFileWriter.h @ 1452:6e9615bde1f9 streaming-csv-writer

For sparse models, write whole model to CSV in one go
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 17 Apr 2018 10:37:50 +0100
parents 9d4d4de3dced
children
comparison
equal deleted inserted replaced
1451:b40f67578976 1452:6e9615bde1f9
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _CSV_FILE_WRITER_H_ 16 #ifndef SV_CSV_FILE_WRITER_H
17 #define _CSV_FILE_WRITER_H_ 17 #define SV_CSV_FILE_WRITER_H
18 18
19 #include <QObject> 19 #include <QObject>
20 #include <QString> 20 #include <QString>
21 21
22 #include "base/DataExportOptions.h" 22 #include "base/DataExportOptions.h"
48 48
49 virtual bool isOK() const; 49 virtual bool isOK() const;
50 virtual QString getError() const; 50 virtual QString getError() const;
51 51
52 virtual void write(); 52 virtual void write();
53 virtual void writeSelection(MultiSelection *selection); 53 virtual void writeSelection(MultiSelection selection);
54 54
55 protected: 55 protected:
56 QString m_path; 56 QString m_path;
57 Model *m_model; 57 Model *m_model;
58 QString m_error; 58 QString m_error;