comparison layer/Colour3DPlotExporter.h @ 1593:32171776fcc9 sensible-delimited-data-strings

Switch to the StringExport api now found in svcore
author Chris Cannam
date Fri, 03 Apr 2020 17:12:37 +0100
parents 9095fbec4e52
children
comparison
equal deleted inserted replaced
1592:1da52d5e6700 1593:32171776fcc9
71 Colour3DPlotExporter(Sources sources, Parameters parameters); 71 Colour3DPlotExporter(Sources sources, Parameters parameters);
72 ~Colour3DPlotExporter(); 72 ~Colour3DPlotExporter();
73 73
74 void discardSources(); 74 void discardSources();
75 75
76 QString getDelimitedDataHeaderLine(QString, DataExportOptions) const override; 76 QVector<QString>
77 getStringExportHeaders(DataExportOptions options) const override;
77 78
78 QString toDelimitedDataString(QString, DataExportOptions, 79 QVector<QVector<QString>>
79 sv_frame_t, sv_frame_t) const override; 80 toStringExportRows(DataExportOptions options,
80 81 sv_frame_t startFrame,
82 sv_frame_t duration) const override;
81 83
82 // Further Model methods that we just delegate 84 // Further Model methods that we just delegate
83 85
84 bool isOK() const override { 86 bool isOK() const override {
85 if (auto model = ModelById::get(m_sources.source)) { 87 if (auto model = ModelById::get(m_sources.source)) {