diff data/model/Model.h @ 1824:1cd161242250

Merge
author Chris Cannam
date Tue, 28 Jan 2020 14:34:13 +0000
parents c546429d4c2f
children 21c792334c2e
line wrap: on
line diff
--- a/data/model/Model.h	Tue Jan 28 14:32:34 2020 +0000
+++ b/data/model/Model.h	Tue Jan 28 14:34:13 2020 +0000
@@ -274,6 +274,17 @@
                QString indent = "",
                QString extraAttributes = "") const override;
 
+    /**
+     * Emit a label for each column that would be written by
+     * toDelimitedDataString, separated by the given delimiter.
+     */
+    virtual QString getDelimitedDataHeaderLine(QString delimiter,
+                                               DataExportOptions options) const = 0;
+    
+    /**
+     * Emit the contents of the model within the given range to a
+     * delimited (e.g. comma-separated) data format.
+     */
     virtual QString toDelimitedDataString(QString delimiter,
                                           DataExportOptions options,
                                           sv_frame_t startFrame,